Skip to Content

SAP AIF Equipment Master - Partner Update

Hi All


I am new to SAP AIF & need some assistance. I have tried to setup the inbound equipment master interface from ECC to S/4HANA system with Basic Type EQUIPMENT_CREATE01. The incoming IDOC does create the equipment in S/4 system successfully. However, post the equipment is created (or may be even while creating, if there is a way), I need to update the just created equipment with the partner details via the FM: PM_PARTNER_UPDATE. I am guessing I need to create a wrapper FM for this and declare somewhere in the AIF setup. How & where to do this? Can anyone help.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on Jun 24, 2020 at 07:58 AM

    Hi Harsh Talesra,

    you can do that in AIF within your structure mapping and the actions.

    The action is used to process the IDoc and post the equipment. Afterwards you can use and implement your second function module to update directly the posted equipment.

    As a pre-requisite, you need to use AIF runtime and process the IDoc within AIF. Otherwise it is not feasible and your IDoc will just be monitored within AIF.

    Let me know, if you need further help.

    BR,
    Sebastian

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 24, 2020 at 07:09 AM

    Harsh Talesra,

    Sorry, but I've never worked with AIF, however, here is some useful info: https://blogs.sap.com/2019/06/06/sap-application-interface-framework-all-you-need-to-know-about-sap-aif/

    .

    PeteA

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 24, 2020 at 08:09 AM

    Thank You Peter.

    Sebastian Gottmann - You are right. I can try this in my ACTION FM after I am calling the FM: /AIF/IDOC_ACTION_FUNCTION for equipment creation.

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 10, 2020 at 02:57 PM

    Sebastian Gottmann - One more thing. My value mapping is not working.

    The incoming IDOC has the equipment category as 'N' while I need to maintain to change it to 'C'.

    I have maintained the value mapping table in /AIF/VMAP and other configurations related to it in /AIF/CUST->'Define Value Mappings' & 'Define Structure Mappings'.

    What else am I missing here?

    Thanks in advance.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 13, 2020 at 08:30 PM

    Hi Harsh Talesra ,

    I can see, that the category is part of a sub-segment. So I believe, that you didn't build up the indirect mapping correctly. Then the value mapping is not performed.

    Can you check your structure mapping?

    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.