Add serial numbers in sales document

Hi everyone
In case of third-party businnes we use the workflow sales order -> purchase order -> invoice.
In this case we have to add the serial numbers in the sales document under Extras->Technical Objects.
Is there any function or bapi that I can use???
PS:
I've try the combination:
SERNR_ADD_TO_AU and
IWOL_WV_ADD_OBJECTS but is not working since the second function expects to have an equipment with the material nr and the serial nr that I try to add ( and this equipment is not existing yet ).
Thanks.
Anca

Hi,
Have you tried function modules SERIALPROFILE_CHECK,  SERNR_ADD_TO_DOCUMENT or SERNR_MAINTAIN_IN_DOCUMENT?
Also check the function modules in table T377X for Serial Procedures related to SD (e.g. SDAP is for "Post serial numbers for SD order" and may have function module SERIAL_LISTE_POST_AU as its form value).
By the way, in VA02 the function for Extras -> Technical Objects branches to include program MV45AF0F_FCODE_POTO, form FCODE_POTO.  Investigating or debugging this logic may provide you some clues if none of the functions suggested above are of use.
Best Regards,
James Gaddis

Similar Messages

  • How do you add Serial Number in Sales AR Invoice

    How do we add Serial Numbers in AR Invoice.What is the query. Can anybody guide me with the procedure.

    Sanjay,
    The sql sample I have given is to demonstrate the use of functions and not the exact SQL to be used for your requirement. BP Contacts is not relevant for you.
    Serial numbers by default print on a seperate sheet along with the Invoice if your business process is Sales Order > Invoice (without the delivery step)
    If you process involved the delivery step, then the serial number will be printed on a seperate sheet along with the delivery.
    The $\[$ is SAP's syntax to dynamically use Form values in your queries. 
    To understand the usage of this you need to completely understand about formatted seaches.
    I was suggesting the usage of functions so that when you add the Invoice, the function would go to the OSRI and SRI1 tables and go in a loop to gather all the Serial number and add them to the User field which can be later printed on the PLD.
    Suda

  • Add page numbers to a document in Pages

    How do I add page numbers to a document in Pages on the iPhone?

    When I tap the spanner I don't see Document set up.
    I see this:

  • How do I add page numbers to my document without the page numbers automatically changing. I do not want the page numbers the software automatically places into my document.

    How do I add page numbers to my document without the page numbers automatically changing? The title page is blank, I can type in 1 on the 1st typed page, but the #1 automatically goes into the next page and will not change.

    Click at bottom of the first page:
    Menu > Insert > Section break
    Click somewhere in the 2nd page (not the header/footer)
    Inspector > Layout > Section > Page Numbers > Start at 1 > Configuration > uncheck use previous headers and footers
    Click into the header or footer of the second page:
    Menu > Insert > Auto Page Numbers…
    If there is anything in the header or footer on the first page that you don't want just select it and delete it.
    If you really wanted to manual place page numbers on each page you will have to use a section break between each and every page. I can't imagine that would be useful.
    Peter

  • How do I add page numbers to a document in Pages 5.2

    How do I add page numbers  to a document in Pages 5.2?   I'm sure there's some way to do this but it's less obvious than in the previous version of Pages.

    Click on one of the Header or Footer fields and you will get a pop-up asking if you want to add page numbers, and a choice of formats.
    You also may use Insert > Page Number.
    Jerry

  • How to add serial number contolled item with serial numbers in sales order.

    Hi OM Functional Experts,
    I need a help on sales order booking.
    We have serial controlled items in our inventory. At the time of booking a sales order, we need to call the items with the appropriate serial numbers [ for example, if i book an item for a qty of 10, then, the system should get the details ( serial number ) of the 10 item's serial number ].
    And the serial numbers are Pre-defined by the organization for their internal tracking from the porcess 1 till end of the assembly line.
    The purpose of this step, is to reduce the particular serial numbered item from the inventory, when we reserve/pick release the sales order.
    thanks in advance.
    Rdx,
    J kannan
    Edited by: J Kannan on Feb 17, 2009 1:23 AM

    Kannan
    OK. Unfortunately reservations cannot be created at the serial number level. So the unsupported way of doing this is updating the mtl_serial_numbers tables. I hope you would know (by some means) which serial numbers you want to allocate to a specific sales orders. If you know, update group_mark_id column in mtl_serial_numbers table with your order_line_Id, This will avoid any one from picking the serial numbers (they will not come up in the LOV or will not be auto allocated).
    But you have to make sure to take it off when you actually want to pick this order line and allocate this serial number. So just before you pick release/ confirm this order line you need to update column back to null so that you can allocate that serial number.
    Thanks
    Nagamohan

  • Problem with updating serial numbers in sales order!

    Hi,
    I am trying to update serial numbers for a sales order in SAP. I tried using both SERNR_ADD_TO_AU and SERNR_ADD_TO_DOCUMENT. However, in both cases the FM returned the number of serial numbers created but these did not reflect in the sales order. The code for both is as below:
    WA_SERXX-SDAUFNR = '0000001733'.
    WA_SERXX-POSNR = '000010'.
    WA_SERXX-KUNDE = '0000009000'.
    WA_SERXX-VBTYP = 'C'.
    WA_SERXX-SD_AUART = 'OR'.
    WA_SERXX-SD_POSTYP = 'TAN'.
    WA_SERNR-SERNR = '000000001234ABCDAR'.
    APPEND WA_SERNR TO IT_SERNR.
    WA_SERNR-SERNR = '000000001234ABCDAQ'.
    APPEND WA_SERNR TO IT_SERNR.
    CALL FUNCTION 'SERNR_ADD_TO_DOCUMENT'
      EXPORTING
        operation                       = 'SDAU'
        objkopf                         = 'SER02'
        serxx                           = wa_serxx
        material                        = 'P1-TEST'
       PROFILE                         = 'Z001'
        quantity                        = '2'
      M_CHARGE                        =
       J_VORGANG                       = 'PMS2'
      KMATNR                          =
      CUOBJ                           =
      R_MATERIAL                      =
      BSTCH                           =
      BSTUP                           =
      SNBWG                           =
      EMATN                           =
      KDAUF                           =
      KDPOS                           =
      AUTOMATIC                       = ' '
      NO_ENQUEUE                      = ' '
      MORE_ALLOWED                    = ' '
      BUDAT                           =
    IMPORTING
       ANZSN                           = anzsn
       NEW_OBKNR                       = new_obknr
       SERIAL_COMMIT                   = serial_commit
       STATUS_NOT_ALLOWED              = status_not_allowed
      tables
        sernr                           = IT_SERNR
        r_sernr                         = it_ser1
      XVBPA                           =
    CHANGING
      T_SMESG                         =
    EXCEPTIONS
      KONFIGURATIONS_ERROR            = 1
      GENERAL_SERIAL_ERROR            = 2
      NO_PROFILE_OPERATION            = 3
      DIFFERENCE_IN_HEADER_DATA       = 4
      OTHERS                          = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    commit work and wait.
    CALL FUNCTION 'SERNR_ADD_TO_AU'
      EXPORTING
        sernr                       = '000000001234ABCDAR'
        profile                     = 'Z001'
        material                    = 'P1-TEST'
      M_CHARGE                    =
        quantity                    = '1'
      J_VORGANG                   = 'PMS2'
      KMATNR                      =
      CUOBJ                       =
        document                    = '0000001733'
        item                        = '000010'
        debitor                     = '0000009000'
        vbtyp                       = 'C'
        sd_auart                    = 'OR'
        sd_postyp                   = 'TAN'
    IMPORTING
       ANZSN                       = ANZSN
      ZEILEN_ID                   =
       SERIAL_COMMIT               = SERIAL_COMMIT
    EXCEPTIONS
      KONFIGURATIONS_ERROR        = 1
      SERIALNUMBER_ERRORS         = 2
      SERIALNUMBER_WARNINGS       = 3
      NO_PROFILE_OPERATION        = 4
      OTHERS                      = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK AND WAIT.

    hi,
    In order to maintain customer specific serial numbers you can do the following steps:
    1. Maintain the serial numbers provided by your client in tcode IQ01. this will create the customer serial numbers in the system.
    2. In the material master under Sales View maintain the serial number profile as 0002. this is sap standard.
    3. Once the above has been maintained you can assign serial numbers at the time of delivery and NOT in sales order.
    I hope this helps.
    Regards,
    Vishesh

  • Add Serial Numbers

    Hi, I have a little problem that I hope someone can help me with. A client of ours will be adding a Goods Receipt PO. I then want to use the DI API to add internal serial numbers to the items in the Goods Receipt PO after it has been added.
    I was wondering if someone could inform me of what objects I need to use. I tried using this:
    private SAPbobsCOM.SerialNumbers oSerial;
    but I don't know what to use to connect it:
    oSerial = ((SAPbobsCOM.SerialNumbers)(Globals.oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.???)));
    Do I need to use it in combination with this :  private SAPbobsCOM.Items oItem;
    Thanks

    Hi,
    I have tried this:
      SAPbobsCOM.Documents oDoc;
    try
                    oDoc = ((SAPbobsCOM.Documents)(Globals.oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes)));
                catch
                    System.Windows.Forms.MessageBox.Show("Error connectAR");
    oDoc.GetByKey(38);
    oDoc.Lines.SetCurrentLine(0);
                oDoc.Lines.SerialNumbers.SystemSerialNumber = 1;
                oDoc.Lines.SerialNumbers.InternalSerialNumber = "1";
                oDoc.Lines.SerialNumbers.ManufacturerSerialNumber = "1";
                int x = oDoc.Update();
                if (x == 0)
                    Globals.SBO_Application.MessageBox("ok", 0, "", "", "");
                else
                    Globals.SBO_Application.MessageBox("Fail", 0, "", "", "");
    Even though x==0 in the end and I get the message box saying "ok" no serials are added. I think you cannot add them to an existing document. That is why I want to do it through Stock Management->Item Management->Serial Numbers->Serial Number Management.
    Does anyone have any idea how to do that?

  • Batch and serial numbers in Crystal Document Layouts

    I am attempting to write a set of document layouts using Crystal reports namely, Sales Order, AR Invoice (Items), Delivery Note. The stock items are either serial numbered items or batch numbered. I need to display the serial numbers or batch numbers on the Delivery Note, but cannot find a suitable link to the tables where the serial number/batch numbers are stored.
    I have identified the following tables as likely candidates for use in the document layout, but cannot see how I might join them to the ODLN or DLN1 tables:
    For the Batch Numbers OBTN; ITL1 and ILM1
    For the Serial Numbers OSRN and views OSRI; SRI1 and SRI1_LINK.
    Does anyone know or have suggestions on how to link these (or other?) tables to the DLN1? Thanks in advance
    David

    From memory, the link needs to be to SRI1 joined on Base Doc Type, Doc Entry / Base Doc entry, Item Code & row / line num (for serial numbers anyway...)

  • Serial numbers in material document

    Hello,
    I want to know the significance of Serial numbers and serialization in the material document or material master.
    How it can be maintained and what is the use of significance in the manufacturing scenario e.g. while posting Goods Receipt for a given Production order?
    Thanks & regards,
    Ravish

    HI,
    1) Material serial number activation as follows.
    Using T-Code MM01- material code creation to the respective plant,storage location,sales org and then give input data to the material view screen basic data1, basic data2...... In the view Plant data / Stor.2 input screen General plant parameters options Serial no.profile - '0001', SerLevel - '1' data to be given during material creation time. After that doing MIGO for the material, it will ask material serial number.
    2) Material serial number purpose as follows.
    a) Material identification based on serial number.
    b) Material serial number wise issues in FIFO method.
    c) Material stock.
    Hope, it is useful for you.
    Regards,
    K.Rajendran.

  • Serial numbers on sales orders

    Hi
    can somebody tell me how do we maintain the serial number in Sales order in VA01/02...
    Inputs on SD serial numbers also welcome
    Thanks
    Muthu

    hi,
    You can get the information you need in the below link
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOMDSN/LOMDSN.pdf
    page no 17
    thanks
    krishna prasad

  • How to create place holders for serial numbers in billing document

    Hey Guys,
    I want to create place holders for serial numbers in the billing documents so that the serial number information along with the material number is copied from the delivery document into the billing document. Could you please suggest how to do this.

    Hey friend,
    We have a user exit for that however I don’t remember it. It is known issue as it is essential in India for a telecom industry. They need to declare their invoice no. according to the area. So they are assigning there no ranges with plants. Here plants are nothing but different region.
    So you try to find out that exit as you have the similar requirement. And your problem will be solved. If your ABAPer don’t get the user-exit and it’s really urgent come back I will find it out for you.

  • Serial numbers in sales order/delivery

    Hi All
    I have a question question on Bar code number generation. Please note that this is NOT a question on bar code printing or issuing output to printer.
    One of our customers requires serial numbers for all the products that we supply to them and they give us a serial number range from time to time and every material that we supply to them must go with one new serial number from their range.
    It may not be able to possible achieve the above functionality by maintaining serial numbers in the Material Master as it is customer specific. I need to maintain this number range somewhere and when the sales order/delivery is entered for this particular customer, the system must check (or some function module) the next available number and assign a number to the material.
    I checked all the possible help sites, but they do not explain about getting it for  particular customer. Can you please suggest me any methods or procedures to do it
    Regards
    Monika
    Edited by: Monika2010 on Jul 20, 2010 3:14 PM

    hi,
    In order to maintain customer specific serial numbers you can do the following steps:
    1. Maintain the serial numbers provided by your client in tcode IQ01. this will create the customer serial numbers in the system.
    2. In the material master under Sales View maintain the serial number profile as 0002. this is sap standard.
    3. Once the above has been maintained you can assign serial numbers at the time of delivery and NOT in sales order.
    I hope this helps.
    Regards,
    Vishesh

  • Maxium number of serial numbers in delivery document (VL02n)

    Hi
    Can anyone know what is the maximum number of serial numbers that can be entered in delivery document (VL01N/VL02N)? I tried generating (automatically) serial numbers with line item quantity 999999 and system generated shot dump. Do let me know if there are any OSS notes for this.
    Thanks in Advance for your immediate feedback.
    thanks,
    Joseph Anand B

    Found Answer from OSS note
    Which note ??   Was the one suggested by me or a different one ??
    thanks
    G. Lakshmipathi

  • Serial Numbers for Sales Orders

    We have a business Process where we do not maintain any serial numbers for the products. How ever one of our customer maintains serial numbers for the products that come to their warehouse.
    This customer will send in the serial numbers for each material and quantity in the inbound 850 Idoc and he wants those serial numbers to be printed on top of the boxes. so that he can scan them while receiving the GR and do automatic posting at thier system.
    we have to store this serial numbers against this sales order and print them in the shipping tags for the finished products  that are to be sent to  this customer.
    Now
    1) we do not want to use serial number profiles because it effects every sales order / delivery created for that material. the serial numbers should be assigned only to the orders from this specific customer.  Is there any way to acheive this?
    2) in the sap idoc 850 ( message type ORDERS05) how do we store the serial numbers. what segment and fields are available for this purpose. 
    3) how to save this serial numbers in the sap system against the sales order created for this customer.
    Your answers will be highy appreciated.
    Thanks,

    Thanks for all those wonderful replies..
    I am looking more at  a standard solution. with minor changes..
    Storing the serial numers in text items is possible but not practical, the more the quantity the more difficult and time consuming is this process for ex if this customer orders 10,000 qty. then it would be tough.. and again to solve that problem we have to break   the qty into multiple line items and this is only a alternatve but not a good solution i guess.
    I thought  this scenario should be more in practice because, customers can request us to put their serial numbers on the packing boxes that we send them.
    So just wondering if any our colleagues have already worked in this scenario.. While doing a search I saw a couple of questions regarding the same situations back in 2005 and 2007  but the questions were marked as answered without mentioning the solution they approached to solve this problem.
    Can any of you suggest me whether is this scneario a standard one ?

Maybe you are looking for