on 05-14-2008 7:50 AM
Hi experts,
I am working on the single file (containing 3 parts) mapping to 2 basic Idocs, by the following conditions need to trigger two idocs from XI .
1)Based on the condition file (part-1 field) transaction_ID =20 0r 30 then have to execute the entire mapping.
2)If the order_no field is coming from the File(part -1) then need to map file part-2 field to one basic idoc else file part-1 and part-2 field to map the same basic idoc.
3)File part-2 fields not equal to file part -3 fields then need to map the part-3 fields to another basic idoc.
In all the conditions mapping of file and IDOCS are direct (1-1) mapping.
Thanks,
Praveen.
Hi Praveen,
If my interpretation is correct, you would need two trigger two target messages from a single source message based on the conditions you've stated. You can use 1:n mapping, this can be done by declaring two external messages as your target messages in one message mapping. Then you can use node functions (if-else) or udf's to trigger these idocs. You still have to make sure that the occurrences for the IDOCs are 0..1 or 0..unbounded, the udf's or node functions (whichever you will be using) will take care of the problem of triggering IDOC1 or IDOC 2. You will also need to use enhanced receiver determination here. Please reward points if helpful.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi praveen,
First prepare the messsage mapping according to ur requirement.
i hope that, u need to prepare the 3 message mappings .
3MM-then 3IM to be preapre.
put the condititions at Interface determination step.
to trigger corresponding interface mapping.
regards
mahesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1)u need to create separate receiver communication channels,receiver agreement if u have different business systems(each with correct logical name of R/3)
2)if you dont have seperate business systems
Check the Section "Configured Receivers", you can add as many receivers as you wish, based on the condition you specify, your message will be routed to the appropriate receiver
reward points if solution found helpfull
regards
chandrakanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sekhar,
In my scenario sender File(divided into 3 parts) and receiver 2 basic IDOCS
I am having the conditions,
1) file field Trans_id(part-1 field) = 20 or 30 then only entire mapping required to transfer the file fields into SAP.(total scenario required)
a)In that po_no( part-2 field) is coming from file then need to map part-2 fields of file to one idoc.
else need to map (file part1 and 2) fields to same IDOC-A
b)If all the fields of part-2 and part-3 equal then part-1 and part-2 fields to one IDOC-A and Part-3 fields to another IDOC-B.
which mapping is suggested to achive the requirement and procedure.
Thanks,
Praveen.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.