on 06-05-2009 4:31 PM
Hi All,
Iam doing Idoc -- File
We have so many plant values upto 200, in Ztable we are storing Plant , Environment values
Plant values are coming in Idoc field,in mapping we are using mapping Lookup and if the plant value is 123 then pass UK, if plant value is 999 then pass US.
Now in Receiver det. we have to send the Idoc based on the condition, like if the plant environment = UK then send to ABC System ELSE if Plant Environment = 999 the send to XYZ system.
To mention like this is not possible, why because we r not getting the Environment value directly from Idoc. we r getting plant value like 123 or 999
In the receiver determination it is difficult to mention all these Plant values, how can we mention the environment value in receiver det.
Regards
Edited by: Vamsi Krishna on Jun 5, 2009 5:32 PM
Hi Vamsi,
This Scenario we have to do two ways one is that
We have to write the condition in Receiver determination level
Here Plants are more but we have to two systems either US or UK.So Based upon the plants only it passed to the particular system.
So here we have to mention of each and every plant in the condition like If Plant = 123 it pass to ABC
If Plant =999 it pass to XYZ.
So we have to maintain all the plant conditions in Receiver determination level.
Or
We have to write the ABAP Class(Abap mapping), we maintain the two codes Either US or UK.
Once data retrieve from the table Check the if code =US then plants values pass to the ABC system system.
and if code = UK then related plant values pass to the XYZ system.
Regard's
Sateesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
But you know that
123=UK=ABC system
999=US=XYZ system etc etc
so why not use Plant=123 or Plant =999 in your receiver determination.
In receiver determination you can only use the sender side payload,receiver determination is the first step of message processing and happens before message mapping(Look Up) so you wont be able to use values which are returned back as result of Look-up.
Thanks
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.