on 11-06-2007 5:43 AM
Hi Gurus,
i had a flat file format in sender side as below:
H_ID TYP_CODE line_elemet Quantity
-
-
-
-
5896 STANDARD 1.transmitter 1
5896 STANDARD 2.xxxxxxxxx 1
5896 STANDARD 3.yyyyyyyyy 2
6895 STANDARD 1.aaaaaaaaa 1
9436 STANDARD 1.bbbbbbbbb 4
9436 STANDARD 2.ggggggggg 3
The above file need to be send to an Idoc.
for which same header_ID values should create only one header segment, under that many a line segments should create as many line items appear on that header_id value.
Here my query is how to suppress the repetetive header values to create onlyone header segment. And how to create as many line_item segments as the number of line items appear.
points obvoius for the response
Thanks in advance,
Sekhar.
ok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
About map problem I suggest youn to see the following link that are really helpful to improve knowledge about mapping:
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
I suggest you to see the following link to learn more about mapping:
Mapping functionality in XI
SAP Exchange Infrastructure - Graphical_Mapping
SAP Exchange Infrastructure - Graphical Mapping Exercise
SAP Exchange Infrastructure - Graphical Mapping - Advanced
SAP Exchange Infrastructure: Mapping Patterns - Understand Context Handling in Message Mapping - Webinar Powerpoint
SAP NetWeaver Exchange Infrastructure Mapping Troubleshooting - Webinar Powerpoint
Mapping Lookups a RFC API
XI 3.0 New Mapping Features
I hope these links will be usefull.
Regards,
Salvatore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Das
how the line items are differentiated in the flat file u can given?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can be done easily in mapping...use node functions....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can be done easily in mapping...use node objects..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use context objects in Mapping....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
After u read in the flatfile in an XML format, u can always use a graphical mapping to change the structure to a structure u desire. I think that may be the simplest way....maybe there is a better way...but only this comes to my mind.
Thanks and Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Das,
>>>><i>how to create as many line_item segments as the number of line items appear.</i>
You need not have to create line item, if the Idoc segment occurance is more than one this will be done automatically in IDoc, need not be explicitly created.
regards
Ramesh P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.