2012 Feb 28 10:33 AM
Hi All,
i need to create a new sales order with reference to an existing sales order using the bapi: 'BAPI_SALESORDER_CREATEFROMDAT2'
or 'BAPI_SALESORDER_CREATEFROMDAT1'.
I am able to generate the new SO using 'BAPI_SALESORDER_CREATEFROMDAT1'. but the reference doc no is not updated.
Could you plz help me to do so.
Thanks in advance !
Hi All,
i need to create a new sales order with reference to an existing sales order using the bapi: 'BAPI_SALESORDER_CREATEFROMDAT2'
or 'BAPI_SALESORDER_CREATEFROMDAT1'.
I am able to generate the new SO using 'BAPI_SALESORDER_CREATEFROMDAT1'. but the reference doc no is not updated.
Could you plz help me to do so.
Thanks in advance !
2012 Feb 28 10:46 AM
2012 Feb 28 2:44 PM
Hi Raymond,
Thanks for your help. Its helping a lot.
But when i m trying to create SO using BAPI_SALESORDER_CREATEFROMDAT2, it shows that a new SO number is generated but when i go to VA03 to check tht SO, it says there that this SO number does not exist.
I even checked in the tables also. The new SO is not created there.
Any help plz..
2012 Feb 28 2:49 PM
2012 Feb 28 2:50 PM
Hi Raymond,
I did that in the code so tht will work fine.
But when i m trying to extract the data for the reference document using 'BAPISDORDER_GETDETAILEDLIST', its not giving any output in the program.
When i m going through SE37, its showing me the output there.
I tried to execute the same code that was attached in the SAP note.
Any help plz..
2012 Feb 28 2:53 PM
2012 Feb 28 2:56 PM
Could you please explain it more..since i am doing this for the first time.
Thanks
2012 Feb 28 3:24 PM
2012 Feb 28 5:06 PM
2012 Feb 29 5:30 AM
Hi,
I am getting th following return message:
Unpermitted combination of business object BUS2032 and sales doc. category L
When i m checking my ref doc category, it shoes 'C'.
Any help plz
2012 Feb 29 7:28 AM
2012 Feb 29 9:16 AM
Hi Priya,
Change the Business object and Check.
Regards,
Prakash.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |