Skip to Content
0
Former Member
Nov 30, 2009 at 01:02 PM

Problem: Payment Terms change in Sales Oder using BAPI

191 Views

Hi,

I am using BAPI_SALESORDER_CHANGE, to change the Payment Terms at header level in Sales Order. BAPI is executed using SE37.

Following Import parameters are used.

1) SALESDOCUMENT

2) ORDER_HEADER_IN

field used is PMNTTRMS

3) ORDER_HEADER_INX

fields used are UPDATEFLAG ( = U ) & PMNTTRMS ( = X )

After execution of BAPI, following are the return messages.

-> ORDER_HEADER_IN has been processed successfully

-> OC Standard Order XXXXXX has been saved

But Payment Terms in the Sales Order has not been chaged to new payment terms.

What could be the problem here?

Thanks,

Prasad