Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI/FM to change schedule lines in sales contract(VA42)

gowrinath_gundu
Participant
0 Kudos

Hi All,

My requirement is to change quantities by adding reduced rejection quantity & reason for rejection in schedule lines of a sales contract using BAPI/FM. I have searched BAPI's

BAPI_CUSTOMERCONTRACT_CHANGE and BAPI_SALESDOCUMENT_CHANGE but couldn't find fields to update item number, quanities(cumulative order quantity, reduced rejection quantity) etc..

Please suggest the BAPI suitable for my requirement.

Thanks,

Gowrinath.

1 REPLY 1

Jarosław
Active Participant
0 Kudos

Hi,

You should try with SD_SALESDOCUMENT_CHANGE with BUSINESS_OBJECT       = 'BUS2034' (used in BAPI_CUSTOMERCONTRACT_CHANGE).

You have acces to reason for rejection in ITEM_IN table and schedule lines in SCHEDULE_IN.

Regards,

Jarek