on 04-07-2011 7:17 AM
Hi I am working on IDOC to file sceanrio,
in my file structure, I have Subheader under this i have detail node.
now, depending upon the existenc of one of the idoc field i have to populate Subheader node.
i.e. if TDLINE field from source idoc exist then SUbheader node shoould come if not it shouldnt come..since my detail node is under this subheader node.even this is getting suppressed or deleted whenever therz no entry in TDLINE field which should not happen..
Irrespective of SUBHEADER node exist or not DETAIL node should come...
Can someone help me in acheiving this.
Regards
Hi ,
TDLINE -> exists----> IF (true) -
> createIf -
> SUBHEADER
else(false) -
createIf -
> DETAIL
If TDLINE exists then you can create the SUBHEADER node and if TDLINE does not exist you need to creat only DETAIL node.
You can check the below link for help :-
http://help.sap.com/saphelp_nw04/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/frameset.htm
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
as you want to create target field depending on existence of source field.. following is the step..
use combination of function "createIf" and "exists".. and map it to target field.
Check first existence of source field by using "exists" then use "createif" and in condition map this to target field.
Thanks,
Bhupesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use node function createif function Subheader whenever TDline present in source.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.