on 08-17-2011 10:53 AM
Hi All,
I have a requirement in PI 7.0 and the scenario is synchronous which is as follows:
- XI will read a flat file which has the naming convention Plant_100.txt where 100 is the plant number , after reading the file XI will trigger standard BAPI call to ECC system.
- ECC system will return an response message back to XI , XI need to need write this message in to a log file and the file name should be Plant_100_logs.txt.
- Here plant value 100 is neither passed to ECC system nor this value will be returend back from ECC system . So , is there anyway where we can make sure that plant value can be added to the log file without using an BPM in between ??
Regards
Vinay P.
Hi,
Using Dynamic configuration in Message mapping you can read the source file name and creta the target file name as same as source file.
For BAPI call in Mapping you can use RFC lookup.
So crete a scenario FILE to log FILE
In mapping using RFC lookup make a BAPI call.
And use dynamic configuration to set the file name.
Refer this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I have the same requirement. But i am not allowed to use RFC Lookup. instead will be using RequestResposeBean. is it possible to achive the above funtionality without using RFC lookup and BPM. Is there any container object that can hold a value and is visible across mappings in a synchronous scenario?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then try to store the file name in a properties file in PI server in first request mapping
and in response mapping retrive it using UDF.
Refer this
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/503e9bea-ea09-2e10-ec8a-cdf369de99d3
In this case synchronization problem may occur if multiple files comes at a same time.
For that reason maintain a large poll interval in sender channel so that in a single poll intervakll the total processing of the previous file completed,
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.