Skip to Content

Adding 2 new fields in PI mapping

I am having a interface in which i have to add 2 new fields in the existing structure which i have to map with 2 RFC(One to one) where in

Source side - External Message

Target Side - RFC

Can you please guide through the complete process for implementing this change where i need to do the changes.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 06 at 04:32 AM

    Hi Guns sharma

    I see 3 options, if this works, please mark as answered to close the thread:

    1. Implement the new fields in your RFC, an reimport that metadata in your current mapping. LINK: https://apps.support.sap.com/sap/support/knowledge/preview/en/1535964

    2. If you dont want to reimport, export RFC as XML or as XSD and then add manually the new fields. LINK: https://answers.sap.com/questions/5399024/convert-bapi--rfc-enabled-fumction-module-to-xml--.html

    LINK 2: https://answers.sap.com/questions/11489493/copy-bapi-structure-to-data-type.html

    3. Then map your new fields if step 1 or 2 was or not required you can map new fields, then save, then activate, then test with an XML or directly from your system:

    REFERENCE:https://www.tutorialspoint.com/sap_pi/sap_pi_creating_message_mapping.htm

    File to File Scenario

    Go to ESR

    Success!!

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Guns sharma

      Sorry it is not clear your doubt for me, please confirm:

      1. You reimported the RFC successfully in PI, after confirmation of ABAPer that he implemented the new fields,

      2. I'm not abap expert but even for us D08 it seems is a table in SAP, so that activity should be transparent for PI consultants (but is good to know it to have the whole vision in our professional career),

      3. If you don't see new fields that you need in the RFC after reimporting in PI, maybe something is missing in ECC, or even the way as is implemented the RFC is not correct (maybe is a BAPI that you are implementing), maybe that way or some structure is not supported by PI (maybe).So a new way is required...

      If the assumpitons above are correct, you can see that when you reimport RFC in PI and you want to see new fields this activity dont require anything else in PI regarding the compatibility, so my suggestion is to review the BAPI, and ABAP team must to find the way to find that compatibility (you can help them just reimporting in PI and confirming if you see as you need it in PI, but avoid test and error strategy), Or option 2: you and abap team, can implement another solution like expose web services via function modules in SOLMAN (and you can avoid RFC adapters, but is going to be a complex solution), this decisions depends of your time, company, etc...

      Maybe this can help you with a little example with BAPI that i found: https://wiki.scn.sap.com/wiki/display/XI/RFC+to+FILE

      After this if you have ABAP doubts, my recommendation is to open a new thread and copy ABAP, PI tags, and one expert in this kind of situations can give you more recommendations in ABAP side... Years ago, i had something similar, but was an issue in the BAPI as i expain more or less but depends because the bapis are not same...

      Success...

  • Posted on May 11 at 04:17 PM

    Yes Correct this is the same situation that you explained above i am into.Ok i will check on this as per your Suggestion with Abap Team.Thanks for Your Prompt and your detailed reply .

    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.