Skip to Content
Former Member
Aug 17, 2007 at 04:33 AM

How to Update Quotations/Sales order with Bapi


Hi all,

My requirement is as follows..

Initially Quotation will be created with a dummy material using VA21/VA01.

Later through Program we have to reject the dummy Material with the reason as duplicate and add the right Material.

for the above said process,Iam using BDC recording of VA22 transaction,where in in iam entering the reason as duplicate for dummy material in 'Reason for rejection' Tab and adding the new material by coming back to sales tab.This works fine without any ambuiguity....

But we have to Replace the Entire BDC recording with BAPI,in Production server VA22 has tabs position differently that is the position of reason for rejection tab in PRD is 6 which is 7 in dev,so we get an error there...

So Can anyone Please suggest a BAPI to replace va22 recording for updating quotation with New line item by Rejecting the old line item...

Useful answers will be awarded,

Thanks in advance.