Skip to Content

Automatically fill serial numbers in SO processing

Hi Experts,

Is it possible to automatically populate the serial number fields in technical objects with the value of a customized field in VBAP (e.g. vbap-zsernr)?

For example, I have two line items with 'SERNR00001' & 'SERNR00002' as the value of vbap-zsernr respectively.

When I go to Extras -> Technical Objects, two serial number fields will be populated by the values of vbap-zsernr of the two line items.

I hope I am clear with what I want to achieve, for I have a requirement that needs such function.

Thanks for your help in advance and God bless.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Mar 25, 2013 at 11:19 AM

    Hello Aldrin,

    Please refer my suggestion inparticular in following discussions apart from other contents:

    - To create SD Sales Order with Serial numbers

    - Serial Number in Sales order

    Please revert back in case of any further information or concern.

    Thanks, JP

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 02, 2013 at 03:17 AM

    Hi Everyone,

    After a series of trial and error, I was able to sort it out.

    I created a custom BDC program that edits and fills the serial numbers of the reference document, just as the specification requires.

    I placed the logic on before output of screen 4001 of program SAPMV45A.

    Thanks for the helpful information anyway.

    Sincerely,

    Aldrin

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 25, 2013 at 08:18 AM

    Dear,

    I have done Serial Numbers for Materials to get into Sales Order and Delivery Level but upto my knowledge I dont know to make it as automatically to get these Serials Numbers Sales Order Level .Every time , I was going to give this Serial Numbers manually in Sales Order Level as you said above way .

    Note : Let you wait any results from another Users on this to get automatically Serial Numbers into Sales Order Level .

    Thanks,

    Naren

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 25, 2013 at 10:24 AM

    Dear

    Have you added ZSERNR field in VBAP with append structure? Your requirement is to fill the value of ZSERNR into SERNR or just to populate the fields with ZSERNR values?

    Please explain.

    Thank$

    Add comment
    10|10000 characters needed characters exceeded

    • Ok. I got it now. You can copy ZSERNR value from inquiry into SERNR in quotation through user exit. No need to populate the Serial Number screen. Just copy values and fill SERNR in quotation. Ask your ABAPER to write logic in MV45AFZZ USEREXIT_MOVE_FIELD_TO_VBAP.

      Thank$