Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sales Order with Serial number in Technical Objects

former_member213851
Active Contributor
0 Likes
3,460

Hi Team,

I am using the BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order.

That is working without problems. I am not able to update the Serial # ( ANZSN ) at item level as there is no field in BAPISDITM.

Can anybody suggest how to add serial # using BAPI while createing sales order.

Thanks.

Hi Team,

I am using the BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order.

That is working without problems. I am not able to update the Serial # ( ANZSN ) at item level as there is no field in BAPISDITM.

Can anybody suggest how to add serial # using BAPI while createing sales order.

Thanks.

1 REPLY 1
Read only

Former Member
0 Likes
1,291

Hi Sachin

Can you try to use this FM after you creating the Sales order by passing that in the document field DOCUMENT and then as the output it will update the field ANZSN

Is this what you are looking for?

SERNR_ADD_TO_AU ; SERNR_ADD_TO_DOCUMENT

Refer similar threads posted below which talk about the same issue

https://archive.sap.com/discussions/thread/224764

https://archive.sap.com/discussions/thread/1039611

Let me know if that helps.

Regards

Vinita