Skip to Content
0
Former Member
Jul 04, 2006 at 09:11 AM

SD Sales Order with serial numbers

45 Views

Hi, all,

I want to create a Sales Order (in 4.6 C) with serial numbers info attached to the items.

Today I do it like this:

1. Create the order with BAPI_SALESORDER_CREATEFORMDAT2

2. Then add the serials to the already saved SO (with batch-input, hmm, I know, but quick & dirty)

This approach has a problem: the SO is printed automatically, and the output is pulled upon first save. This means that the serials will never be printed automatically (even if the functionality exists in the printing program & SapScript), because, at the moment of the first save, the SO does not contain any serial numbers yet!

The second output (pulled manually) will ofcourse contain the serials...

I'm looking for a way to add the serials to the SO before actually saving it. I think BAPI_SALESORDER_CREATEFROMDAT2 is of no help, in this case.

Grateful for all suggestions...

Thanks,

Bogdan

Message was edited by: Bogdan Cioc