on 03-12-2014 12:30 PM
Hi Group,
I am doing file to file scenario without using ESR , my requirement is to update z-table with file name in ECC, can any body suggest how we can achieve this.
Rajiv,
Not sure if you want to send the file also to ECC. If yes, then better way to implemet is File to File and call proxy.
In this case you will have one sender interface and 2 receiver interfaces in ICO.
1st one for file to file
2nd one for just passing the file name,
So create 2 Inbound SI's , one for file and one for Proxy. Ask ABAPer to write a code to take the file name and update into Ztable.
You can captrure the file name using below code.
String filename;
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
filename = conf.get(key);
return filename;
Create 2 DT's
one DT for File with subelement record.
another DT for file name with subelement filename.
I hope his helps.
Thanks
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rajiv,
You don't need to do the FCC in this case. You will just pick the file and put the file in ECC and then call proxy.
Only thing you do is select the ASMA with File Name in sender file channel and use the above mentioned function in the mapping to get the file name to trigger the proxy.
Hope this helps.
Thanks
Arun
Hi,
One of the best sol for is to use dummy graphical mapping for picking the file name and sending to ECC to update the table (RFC/IDOC/Proxy -->up to you/ECC folks feasibility)
Use dummy structure at sender side and make you don't select software component version in SA/Interface determination.
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Dummy mapping in the sense ,you need to create DT,MT,SI in ESR but structure is dummy .
I would recommend you to go with FIle -->PI-->RFC/IDOC/Proxy rather than File-->PI(RFC look up)-->File ,because i think some time back i remember 2nd design thrown some error in mapping and more over you are trying to update right .
Regards
Venkat
Hi ,
You don't use dummy namespace in ID.You will use same name space that you used in ESR.
I just want to know why do you want to store file name in ECC tables.Why I'm asking in the sense we do have a similar requirement some time back where we are passing filename to ECC to check whether it is duplicate file or not .In our case ours is not bypass interface.
Hi,
you can transfer files to ECC without using ESR objects. if you want to keep the file names use ASMA.
you have to check with ABAPer to pick the files and write it to z-table.
for classical check this.
SAPTechnical.COM - File-to-File Scenario without creating Repository Objects
for ICO check this
Regards,
Muni.
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.