Skip to Content

Transmitting text in IDoc

Hello,

I have a scenario wherein I have text object (like sales text in Material master) attached to an IDoc.

I want to transfer text that the user enters (within SAP) via IDoc to XI. XI then need to call a webservice and post this text information to the webservice.

Later the legacy application returns some text back and this needs to be mapped by XI to inbound Idoc which will be posted within SAP.

Can you propose some protocol/mechanism to handle such scenario.

I looked at the MATMAS03 Idoc. There we have segments E1MTXHM (long text header) and E1MTXLM (long text line). Within the E1MTXLM we have TDFORMAT which will take care of formatting the text.

Now I need to put some logic in XI mapping or within legacy application to read these formatting information in IDoc and make full text lines out of it and post it into legacy application.

Similarly in the inbound side the Legacy text needs to mapped to the incoming idoc (with proper codes filled in TDFORMAT) and posted into SAP.

How feasible is this approach? Any other better way to handle text transmission?

Any help in this regard is highly appreciated.

Regards,

Gajendra.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 24, 2007 at 05:52 AM

    What is the problem you are facing here?

    Seems to be a simple IDOC-WS-IDOC scenario.

    Is there a problem with text formatting? If so, explain that briefly here.

    Regards,

    Jai Shankar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 24, 2007 at 05:52 AM

    The approach is feasible using BPM. U start with the sender Idoc. Receive the data and then perform the mapping with the SOAP Request structure. U may use UDF or java mapping for formatting of the texts. The mapped request is then sent using a synchronous send step. The response is again mapped to the Idoc structure. Again the UDF or java mapping can be used. Then send the data finally to the SAP system using a send step.

    Regards,

    Prateek

    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.