on 04-24-2009 5:05 PM
Dear Experts,
We have to choose the interface in interface determination based on the characters 4-6 in the filename.
I am using the context object for filename in the condition for interface determination. How to get the characters 4-6 of filename in the condition ? Please help
Thanks,
Aju
In an enhanced interface determination you do not enter the inbound interfaces manually, but instead first select a multi-mapping. You get the inbound interfaces from the target interfaces of the multi-mapping. The inbound interfaces are determined at runtime during the mapping step
step by step guide [http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/frameset.htm]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aju,
It is quite obvious that in context based Interface mapping, you will get entire filename and not 4-6 characters. for this purpose there are two options available.
(1)use BPM as suggested by someone in this thread
(2)Include the filename(4-6) characters in your input file, so that you can read it in your source message structure and then use the XPath base Interface determination. this would be easy for your instead of
having twice message mappings.
Thanks & Regards
Jagesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
this is strange...........? should also work in your condition..........
just to check - first give only one ? in condition and give such an input file and see whether your condition is working..........then increase the number of ? in condition and check the filename also for spaces and other characters in the filename to see if the condition is getting satisfied or not........
if nothing works, then ask your basis guys to do a full CPACache refresh using PIDIRUSER....then rerun your scenario.
Regards,
Rajeev Gupta
Add one more mapping and in that you store the file name in some field, now use the target of this mapping as source for your second mapping. So now when you do your conditional Interface determination then you can chose the file name from the source of second mapping.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I dont think it is possible because, even message mapping also not gets executed by that time..!!
VJ
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.