Skip to Content
author's profile photo Former Member
Former Member

Populating the Serial Number in SO automatically via Inbound IDOC

Hi All,

My requirement is to populate the serial number automatically via Inbound Idoc.

Outbound Idoc is trigerred from PO in R3 to PI middleware, which in turn will create a SO in R3 system.

I am sending the serial number information via outbound Idoc of PO and this in turn mapped to SERIAL_NUMBER field in PI side. But its not updating the serial number in SO.

Please Note: I am referring to the serial number EXTRAS->TECHNICAL OBJECTS->SERIAL NUMBER.

Kindly help me with right solution. Thanks.

Regards,

Pavithran

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2016 at 02:49 PM

    Not that I want to rain on your parade, but I thought it was possible to configure SAP to send out an ORDERS IDoc and have this this turned into an inbound ORDERS IDoc. This would remove the need for PI.

    This works similar to intercompany billing.

    With regards to the serial number not being populate. This is because the same ORDERS05 IDoc type is used to for outbound PO and inbound SO. Therefore the IDoc structure has to cater for both . So, just because the fields are there on the IDoc , does not mean it will post into the SO where you expect it. The best way to see if this is the case, is to search the inbound function module IDOC_INPUT_ORDERS to see what it does with the segment/field you have put the serial number into.

    Thanks


    Martin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Martin,

      Thanks for your response.

      Refereing to your last statement - I had analysed the FM "IDOC_INPUT_ORDERS" by debugging and found that a suitable logic is requred to update serial numbers automatically. I have used two FM "SERNR_ADD_TO_AU" and "SERIAL_LISTE_POST_AU" in one of the user exit to achive this functionality.

      Regrads,

      Pavithran

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2016 at 02:42 PM

    I believe there is Serial number segment at SO BAPI, I suggest to request your PI team to map Serial number segment to SO from Outbound idocs. you can discuss with your ABAPer as well.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.