on 12-17-2009 6:43 AM
Dear All,
I am working on File-PI-RFC interface. In one of the columns of RFC, I need to pass the File Name as reference.
Kindly guide me on which UDF can be used for this requirement.
Regards,
NJ
Hi Nishu,
Basically my requirement to get Filename in idoc segments in order to validate the posting at month end.
Its an File to idoc scenario- GL Posting.
Please check attached UDF and it gives error. Kindly help. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thnx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
UDF Code is as below:
-
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String NameOfFile = conf.get(key);
return NameOfFile;
-
Assign output of this UDF to target element in Mapping.
User | Count |
---|---|
95 | |
11 | |
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.