02-11-2005 10:19 AM
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
02-11-2005 10:31 AM
02-11-2005 11:11 AM
I am trying to create Sales Order , but although the
order gets created, it does not GIVE ME THE SALES DOCUMENT NO .
The BAPI I am using is BAPI_SALESORDER_CREATEFROMDAT2.
Would someone know which parameters I have to papulate,or have any other suggestion
how to accomplish my task?
02-11-2005 11:22 AM
Hi Nandan,
The note 611553 contains SAP correction to a standard program for displaying the Log.
Thanks
Lakshman
02-11-2005 2:13 PM
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