on 11-17-2015 5:19 PM
Hi Experts,
Can anyone please respond to the below query ASAP.
My requirement is PI will get the main payload and attachment data from SAP ECC through Proxy.
From mainpayload I will get one field "FileName" , the same name I should use as the attachment name before sending to target with PGP encryption.
Here are the steps I have followed.
Please Help me how to resolve this issue. I read several Blogs on this but none of them worked.
It would be very great if you provide the solution soon..
Thanks,
Gayathri.
Hi All,
Thanks for the solutions which you provided.
By using UDF I have completed my development without any error.
Now I got another Requirement for sending mail to Bank(third party Receiver).
Once the file leaves from PI I should send an acknowledgement to Bank. Please help me with the steps.
Thanks,
Gayathri.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gayathri,
Try defining the parameter value like below
payload:MT_MERCER_BOA,1,Recordset,1,FileName,1
and also I guess you cant use PGP with Variable substiton,since PGP encrypts the payload.
Try using Dyanmic UDF instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also for variable substitution try remove the SWC from sender agreement...
Yes, you have to use UDF in Mapping to set dynamic configuration, for example:
DynamicConfiguration conf1 = (DynamicConfiguration) container .getTransformationParameters() .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION); DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http:/"+"/sap.com/xi/XI/System/File","FileName"); String NFname= Var1+".csv";
You can refer the below link.2nd approach
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.