on 05-25-2015 6:54 AM
Dear all,
I have a requirement to send an IDOC as an XML file via AS2 adapter. but need to set the XML file name dynamic (IDOC to XML - AS2 scenario ).
PI version - 7.4 (single stack)
Ex : File name --> DOCNUM + CREDAT + CRETIM (IDOC document number + Created Date + Created Time) in IDOC control document (EDI_DC40)
I referred to below responses about this issue but need more clarification..
http://scn.sap.com/thread/3745045
I have set the "Dynamic Configuration" option enabled in Receiver Communication Channel - (AS2)
Thanking all in advance....
Hi Fernarido,
-->> you can map the UDF to any output node (not the element).
-->> you can write any thing in receiver file, that name will be over right by the dynamic file name at run time.
-->> No configuration is req. at sender side.
-->> No
Hope it help!!
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Harish,
Thanks for always providing quick reply and proper answers for my queries.
little more things (as usual )...
(because file name is the combination of IDOC number and Date which relies in IDOC contral data . )
ex :
IDOC Number + Date ---> header node
Thanks again..
Hi Fernando,
The value of Filename will be set in dynamic configuration variable and the receiver channel will use the value of dynamic configuration variable to put in file name.
If you have any field in the output structure where you can input the file name (store the file name) then you can also use the variable substitution (which not required the file name).
refer the below links
For UDF
regards,
Harish
Write a dynamic configuration udf to generate file name as per your requirement. Place ur file name at http://sap.com/xi/XI/AS2/AS2Filename
You can map the udf value to parent node. file name will be fetched at runtime from above parameter automatically. Refer above doc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.