on 04-28-2008 7:19 AM
Hi experts,
I have one sender message as below :
Header
Idoc 1
idoc 2
idoc 3
receiver message is as below :
idoc
- header
- item
idoc 1 is mapped with idoc of receiver, header is mapped with header of idoc.
For idoc 1 one idoc is generated, for idoc 2 and idoc 3 different idocs are generated.
My query is for header data, it is coming only with idoc 1 when it is mapped with header, it should come with all the idoc data.
Please help,
Regards,
Study SAP
Hi,
1) I think you want multiple occurances of Header field.
2) Then please check occurance of Header field it should be 0..unbounded and not 1..1.
3) check the occurance of header field in data type it should be 0..unbounded.
Regards,
Rohit.
Reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use
You require the function useOneAsMany() if a field that only occurs once needs to be replicated as often as another field occurs in the outbound message so that the fields can be written to the target structure in pairs as a record.
Go through this link...
http://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/content.htm
Thanks,
Satya Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please go through the following links.
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2171] [original link is broken] [original link is broken] [original link is broken]; Message Mapping Simplified - Part I
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2792] [original link is broken] [original link is broken] [original link is broken]; Message Mapping Simplified Part II
Thanks,
Kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your have to uses the standard function useOneAsMany.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
As per your requirement you have one header at source side and multiple idoc at receiver side n u want the same header data should be used for all the idoc at the receiver side.
if you want the same header record at the receiver side idoc then you can map the header directly to the header of idoc.
if your header data is coming only with idoc1 then it will be only available in the first idoc only.
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.