on 04-09-2012 7:01 AM
Hi All,
I am working of RFC to file interface, where my RFC consists multiple number of employee numbers, and one employee consists it own number of Data records,
so based on emp number and last name of the employee i need to generate the that number files at target receiver in same folder. I am using dynamic configuration process to generate file name dynamically at runtime. but here problem is when data sent for multiple employees , file name is generating the only first employee data only and rest of emp records same file name is getting assigned.
for exmaple
my rfc having
emp 1, abcd, we,39,p3
emp 1, abcd, gh,45,p1
emp 2, edcv, gh,45,p2
emp 2, edcv, jh, 23,p4
my output files should be
file one
emp 1, abcd, we,39,p3
emp 1, abcd, gh,45,p1
file two
emp 2, edcv, gh,45,p2
emp 2, edcv, jh, 23,p4
this i achived in mapping, but now the issue is file name genration, file name is getting gerating only for emp1abcd ( for 1st file), but not generating for emp2edcv ( for 2nd file)
please advice.
As suggested you can go for Variable substitution, get the file name in one of the fields and refer that path as a variable in the variable name section.
http://wiki.sdn.sap.com/wiki/display/XI/Combining+three+different+aspects+of+PI+in+one+shot
set the File Construction Mode as 'Append' in receiver channel to have one file for each employee.
-Zameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
chk this :
otherwise u can think of going with variable substitution (there is one wiki on SDN chk for the same)
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are using multi-mapping in your case. You can't use Dynamic configuration with multi-mapping unless you use ccBPM. You may however try using Adapter modules.
Regards,
Prateek Raj Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.