on 06-13-2016 8:40 AM
Hi Experts,
I am passing a file reference number in RFC lookup to get the number and upate it in ECC system this is
a bank file and it is needed to retirieve for another response interface based on the filenumber.
I am using getFielname- > RFCLookup-> Filereference
constant -->
For getfilename am using UDF as
try {
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;
}
catch(Exception e)
{
String exception = e.toString();
return exception;
}
For header level am using variable to get the filename in the respecitve filename format as
Ex: WPS.0111.CY.USD.20160602-085646-868.0208064578791
But when ever am calling this with RFClookup to update in ECC am missing the filename
and getting like this WPS.0111.CY.USD..0208064578791
Please help as this is urgent. Is my UDF code is missing the value or how can i get the full name of the file.
Any help would be appreciated.
Regards,
Mohammad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Navdeep,
I am getting a file name Ex: DT100912 and for this file am using variable to get the file name as
WPS.0111.CY.USD.20160602-085646-868.0208064578791 for this I have written the UDF and am getting it correct for the filename whenever I generate.
And in the details tab I have a file reference number filed which I need to map in the file and pass the value to ECC system for this am using Zfiletable the value which is getting from ECC system.
Now I want to update the filename (wps...)to ECC system, for this am using RFCLookup. But here am not getting the full filename in the ECC system.
Please see the above fields.
Regards,
Mohammad
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.