I AM USING BAPI_SALES_CREATEFROMDAT1 AND BAPI_SALES_CREATEFROMDAT2 HERE IN FIRST FN IAM GETTING THE SALES ORDER NO BUT NOT IN 2ND FN.EVEN THOUGH ITS EXECUTING PROPERLY ITS GIVING
*Please enter sold-to party or ship-to party
*Sales document was not changed
but here both the internal tables of bapi are same as its mentioned in the function module documentation,
can I get the soln
Hi Nandan,
Check OSSNOTE 611553.
Thanks
Lakshman
There are some other structures and tables that need to be supplied to BAPI_SALESORDER_CREATEFROMDAT2 that BAPI_SALESORDER_CREATEFROMDAT1 doesn't require. For example BAPI_SALESORDER_CREATEFROMDAT2 has import structure BAPISDHD1. That structure has a corresponding structure BAPISDHD1X. For every field you supply data for in BAPISDHD1, you need to put an 'X' in the same field in BAPISDHD1X. Look at transaction BAPI for the documentation.
Brian
Add a comment