Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

from BAPISDORDER_GETDETAILEDLIST to BAPI_SALESORDER_CHANGE

Hello,

I need to use both BAPIs to update some Sales Orders' positions from a report.

I cannot use 'BAPI_SALESORDER_CHANGE' alone, because the field I need to change (Item category -> PSTYV) is blocked in 'VA02' transaction due to customizing. So, I will have to get all positions with 'BAPISDORDER_GETDETAILEDLIST', delete them with a first call to 'BAPI_SALESORDER_CHANGE' and create them again, with the small change, with a second call.

The problem is that the item structure of the table parameters in the two BAPIs is different (one is named 'BAPISDIT' and the other 'BAPISDITM') and, even the names of the fields (and their related data elements!!!) are different too. Therefore I cannot perform a "move-corresponding", nor use some RTTS dynamic progamming (relating them by data type).

I have found some 'MAP2E*' functions related to each one, but none for both (to act as an interface "bridge").

Has anyone faced the same problem?

Thanks a lot!,

Eloi

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question