on 08-17-2012 4:25 PM
Hi,
I am working on File To IDoc Scenario. I am implementing Multi Mapping in my scenario.
An IDoc is not getting generated because the below lines :
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
Can anyone please tell me how to remove the above lines.
Regards,
Deepthi Premnath.
Hi Deepthi,
If u want to generatre multiple idocs then simply export your idoc structure and change the occurances to 0..Unbounded and use the new XSD structure to generate multiple IDOCs. Not required to go for multimapping.
Thanks,
Madan Agrawal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Deepthi,
that is default tags for multi mapping because whenever we changed the occurrence in mapping for multi mapping then automatically added and can you post what is the exactly your requirement .
pls refer below doc for step by step procedure :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>> I am working on File To IDoc Scenario. I am implementing Multi Mapping in my scenario.
there is no need to use multi mapping to do IDOC split if you want to post multiple IDOCs from one file - just use my blog and you'll understand how to change your mapping to make it work
inside the mapping you work on a simple 1 - 1 mapping (you will just create many IDOC segments inside)
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you change occurance in message mapping it automatically adds
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
tags , this is multi mapping behaviour.
What is your requirement? explain your requirement we will help you how to achieve it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We are getting fixed length flat file with more than 5 levels of hierarchy.
So we have the below process :
1. Developed a custom module to convert fixed length flat file to xml file.
2. Message mapping - To map xml file to IDoc ORDERS05.
A file consists multiple records and for every record i need to create an IDoc ORDERS05.
I have changed the occurance of ORDERS05 to 0..unbounded.
I have tested with a file consisting of 20 records. If any of the record in the file consists of error, the IDoc should not created for the particular record but IDoc should be created for the other files.
But in my case no IDoc is get created.
Is there any approach to achieve this?
Regards,
Deepthi Premnath.
I have tested with a file consisting of 20 records. If any of the record in the file consists of error, the IDoc should not created for the particular record but IDoc should be created for the other files.
But in my case no IDoc is get created.
as per my understanding, just u can use some satandard functions for ur equirement like exits,createif...
Approach 1: if idoc will be created based on any ITEm node then follw below logic
for ex:
in above logic, u can use any filed insted of header....
Approach2: if idoc will be created based on any field then follow belog logic
for ex:\
otherwise if above 2 approaches are not supported to ur logic then u ll post ur structures and examples....
thanks,
Are you using the same idoc type or different? Did you change the idoc segment 1 to unbounded occurence? After doing this test end to end, it will work. The above lines generate only in the test mapping tool. Test end to end.
Also you might want to see some blogs in SCN about idoc multimapping.
https://wiki.sdn.sap.com/wiki/display/XI/File%20to%20Multiple%20IDOC%20Splitting%20without%20BPM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.