on 11-27-2007 7:19 AM
Hi,
in file to Idoc I need to create the Idoc in the receiver side only if the field1 inthe file is X. how can we do this?
a workaround can be to use abap server proxy instead of idoc adapter if u r on WAS > 6.20. check for the condition in the proxy code before loading the data in r/3.
regards,
latika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use createIf function
check condition -> CreateIf---> Target IDoc element
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi sudhakar,
while doing message mapping you map your field1 with condition , <b>if else</b> you can try easily, in receiver IDOC side you map all the mandatory fields with constant, it will generate the Idoc with your condition.
you can check it in <b>TEST in Message Monitoring</b>.
hope this will help
regards
HONEY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can anyone send me the related example with screen shots!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
No one can actually desing your sceanrio and send you the screen shot.
Only here we can give you the idea of how to do it and after understanding you can implement that related to your scenario.
As I said, First check the input value with the value for which you want to generate IDOC. USe equals functions and it will result either true or false.
Now give this input to if loop and if its true then pass the value as constant to IDOC otherview it will pass supress value to output.
This mapping is mapped to the IDOC root element.
Thanks and Regards,
Chirag Gohil
Hi,
When you r doing the mapping.....in the Integration respository specify the required field (field1) with particular value and specify the condition(idoc)...........I think when you want to create the idoc on the recevier side you need to call Server Proxy(Outbound Interface).....
Reward with points if hepful
Regards
Sai Ganesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
You can check the condition and map it to the IDOC root node. When that condition is satisfied then only generate the IDOC otherwise it will not generate the IDOC.
Use the IF condition.
Thanks,
CHirag Gohil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.