on 06-17-2014 9:45 PM
Hi all any one can please provide solution for my problem.....
I am working on outbound interface (IDOC TO FILE)
IDOC --- PI --- Destination via file adapter
1.based on line items in idoc no of files will generates in the destination.
Ex: 5 line items --- 5 xml files in the receiver side.
based on conditions destination will define.
2.for the generated files count is required.
Ex: 1-5-file.xml or file1.xml
2-5-file.xml file2.xml
3-5-file.xml file3.xml
---
file5.xml
i am working in 7.4
can please suggest the mapping process...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
You are being advised to change the occurance of receive data structure, something that we call multi-mapping. After that you need to map the root node of the target to the repeating node in the sender. This will help you create as many files as the repeating values in sender file.
Hope you get an idea now.
Thanks
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rajesh,
the hints by Venkat and Harish should give you a solid idea how to accomplish your goal.
Please double check if you really selected 0...unbounded in Message Mapping
(sorry for the image texts being in German. PI Version = 7.0 Dual Stack)
Also check (depending on your actual IDoc segments) if you mapped correctly including potential context change so that multiple target nodes get created when multiple source IDoc segments are there
HTH
Cheers
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried it but i am getting multiple line items as a multiple messages in the one file, but expecting output is each line item as a one xml file with filed values. can you help....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>5 line items --- 5 xml files in the receiver side.
Use multi mapping by putting occurrence of target MT with 0..unbound
lineitem-->Rec_MT
>>for the generated files count is required.
Use the counter option in receiver file channel (Processing/File construction mode/Add counter).
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
Please check the below blog and wiki
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harish
With the help of your inputs i have tried where as multiple messages are generated in one file but the requirement is one line item as one file. i am sharing my structure please help me...
zrdspikto (senderside line item) how many times it repeats thous many times Picktask_to details has to be generate as a individual files in receiver side for example (1.xml,2.xml,3.xml......)
Hi
i am posting the full details can u please help
Hi Gopal
I have a scenario IDOC to File
requirement is :
in Idoc one line item repeats multiple times then thous many xml files has to be generate in receiver location.
Ex: line item 5 times repeated 5 xml files in one location.
the above one is my structure
if ZRDSPICK to repeats 5 times 5 xml files
but i am getting 5 messages in one file but required 5 different files
In mapping i kept occurrence 0-UB
signature occurrence 0-UB
ICO occurrence 0-UB still same prob
can please help
I'm afraid we're running out of guesses here. If everything is like you describe it (especially multiplicity = Unbounded in ICO's receiver interfaces) then I would suggest opening an incident at SAP.
I'm pretty sure however, that there should be some misconfiguration somewhere which you / we overlooked so far.
Cheers
Jens
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.