on 11-25-2009 9:14 AM
Hi,
My source file is like this:
1,SYSTEM1,TIME
2,F1,F2,F3,F4,F5
2,G1,G2,G3,G4,G5
1,SYSTEM2,TIME
2,K1,K2,K3,K4,K5
2,L1,L2,L3,L4,L5
my target file will generate like this
F1,F2,F3,F4,F5
G1,G2,G3,G4,G5
K1,K2,K3,K4,K5
L1,L2,L3,L4,L5
Target file will generate only if SYSTEM1 and SYSTEM2 exists in the source structure other wise it will not generate target.
please give me an idea how to implement this.
thanks & Regards
venkat.
Hi
You need to check for the key field ='1' and if values = SYSTEM1 or SYSTEM2 exist. The target fields or nodes to be created depending upon existence of key field ='2'.
Regards
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi , Suppose if you dont have SYSTEM1 and SYSTEM2 in source message i dont hink its possible to stop creating structure in Target,
we can check the condition at mapping level only,if two values present in Source then you can create target no isses,but in other case its not possible,becuase it givs error message when u giv condition like dont create target message.
even you are using AAE,so i dont think you can stop creating target structure.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In receiver determination you can add condition 'exists' for both fields. If not then the input will not be processed and target not created.
Kind regards,
Radek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
one thing we are doing this with AAE in pi 7.1
You can still make use of [Validation by Adapter|http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/0bf1b3ec732d2fe10000000a11466f/content.htm] option when you configure IC.....your sender channel will pick the file....FCC will convert the file...Adapter will validate it....if not validated it will throw an error....file wont be created....
Regards,
Abhishek.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.