on 12-06-2005 10:26 PM
Currently
My scenario : File to XI to IDOC
Based on the Employeenumber in the File I need to Group them as IDOC and then I need to send to the R/3 for further processing. This has been acheived with a simple BPM and its working fine now. I am hardcoding in the Message type in the Message Mapping.
Sender Adapter : File and Receiver Adapter IDOC
*************************************************
XI 3.0, SP 14
**************************************************
-
In Future
I have 3 Files from 3 vendors (3 Message types) , but they are mapped to the same IDOC.(1 IDOC)
Whether it is possible to know from which vendor we have received the file? If so How should I do that? (No Header record in the file says its from which Vendor!!!)
But these 3 files are stored in 3 different locations in the server.
-
If I can determine from which vendor the data has arrived, with simple BPM switch step I can branch the control and further necessary actions I can perfrom.
-
Please assist me. If you need any further info keep me informed.
Thanks
hi,
have a look at my weblog:
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
so for sure you'll be able to do that in the future
cause SP14 is already available
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mich, when I used the code int he blog
have a look at my weblog:
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 in my message Mapping as a User Defined Function.
When I dropped the function , its asking for the Input. What should I send as an Input?
Thanks
I Created the Userdefined Function. Sending a constant as an input and getting the result in a target field.
I got the following error
Source code has syntax error: /usr/sapDX1/DX1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map578a9c7066b011dab462f6f8a000f002/source/com/sap/xi/tf/_AFLAC_IDOC_MM_.java:231: <identifier> expected public String FileName$(String ,Container container){ ^ /usr/sapDX1/DX1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map578a9c7066b011dab462f6f8a000f002/source/com/sap/xi/tf/_AFLAC_IDOC_MM_.java:260: ')' expected } ^ 2 errors Source code has syntax error: /usr/sapDX1/DX1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map578a9c7066b011dab462f6f8a000f002/source/com/sap/xi/tf/_AFLAC_IDOC_MM_.java:231: <identifier> expected public String FileName$(String ,Container container){ ^ /usr/sapDX1/DX1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map578a9c7066b011dab462f6f8a000f002/source/com/sap/xi/tf/_AFLAC_IDOC_MM_.java:260: ')' expected } ^ 2 errors
hi,
sure you can with SP14
you can check insde your mapping not only the filename
but albo the directory from which the file was teken:)
Regards,
michal
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.