Application Development 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: 

Pull Serial Numbers on Delivery Creation using VL01n for the Sales order

shishupalreddy
Active Contributor
0 Kudos

Hello ,

Can anybody advice me about the proper userexit or any other enhancement to get the serial numbers into the delivery

at the creation of Delivery using VLO1n for the given sales order , if the Material within that is serialized one .

Thanks

10 REPLIES 10

shishupalreddy
Active Contributor
0 Kudos

Hello All,

Any ideas on this .

kesavadas_thekkillath
Active Contributor
0 Kudos

Hi,

In SMOD serach for pattern IQS*...you will get some 5 exits related to serial no.

Among that one gets triggered...Right now i dont remember the exact one

0 Kudos

Hello Kesava,

Thanks for the reply .Can you please provide me the sample code , about how to et the serial numbers .It seems you did with the same requirement .

Thanks

0 Kudos

Can you please explain your exact requirement.

Did you check the exits, whether it suits your requirement ?

0 Kudos

Hello Keshav,

Thanks for the reply .

Here is my requirement :

sometimes plant purchases material from a vendor and sells the same to the customer. when the sales order is created, automatically the purchase requistion and subsequently Purchase order is created. the goods receipt is done for the above PO and sometimes the serial numbers of the material purchased is entered in the GR document, now the customer wants the serial numbers if they are present in the GR document to be automatically populated into the delivery document they will create

Here I can pick up the serail numbers from the GR document and from tht I need to get into the Delivery document on creating the same with VL01N .

Thanks

0 Kudos

Hello Keshav,

It seems the enhancements starting with IQS* are not supporintg to this requirement .Can you please correct me if i m wrong .

Thanks

0 Kudos

Hi,

What you can do is check whether the serial numbers are available in stack, so that you can copy it.

Keshav

0 Kudos

Hello Keshav,

In which Stack i need to check for the serial numbers and how to copy them .

Fyi ..

I could get the serail numbers for the Material document from SER* table but after that how to get them updated into the delivery ?

We are in 4.6C version of SAP .

Can you please elobarate a bit more with sample code if possible .

Thanks

0 Kudos

Hi,

There are some function modules used for serial no updation to delivery.

Create a Update function module in which you can select the data from SER tables , then wrap the fm for serial no updation.

Choose a appropriate exit which gets triggered in the process , in the exit call this fm in update task.

Keshav

0 Kudos

Hello Keshav,

Is it mandatory to have Object Number(OBKNR) value of Material document serail numbers list and the Delviery Number serail numbers list in SERxx TABLES.

Thanks