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

Way to change the Message based on Imported IDoc

Hi,

I just want to know if there is way to change the message based on Imported IDoc?

Basically I imported an IDoc from R/3, this Imported Object would display just one of the Segment for where there are max allowable limit is n segment (the same segment), now during message mapping I need to have more than one Segment of same type...Wasn't sure how to add more segments?

Thanking in advance

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 Aug 25, 2005 at 10:03 PM

    Hi Rajan,

    You can do it by downloading the XSD of imported idoc .

    Open the XSD file in notepad and change the occurence of the segment to unbounded or what ever you want.

    Then in mapping import the updated xsd.

    Hope it helps.

    Thanx.

    Rekha

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Michal Krawczyk

      The occurrence comply with IDoc definition.

      There is 'Duplicate Subtree' in the context menu in Message Mapping (in Target Message), but while saving it discard that newly added subtree.

      And if I change from Imported Object (Idoc) to XSD (with changed number of segment), the old mappings are gone....

      I kind of in the middle, where I don't want to lose the already mapped data field (with Imported IDoc) and at the same time I want to add another similar type of segment

  • author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2005 at 08:06 AM

    Hi Rajan,

    If I have understood you correctly you,you mean that you have imported an Idoc with a segment with cardinality 0..unbounded(n) and you want to reproduce the segment n times in the target structure.

    you need not change the cardinality.This needs to be done in the mapping itself.just map the source structure to the target segment, handling the context properly such that for every occurence of the source structure the corresponding segment is produced in the target.

    Regards,

    Sulakshana

    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.