on 08-25-2005 10:56 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.