on 11-05-2014 10:05 AM
Hi,
I am trying to send an IDOC thru to an AS2 adapter and I can send the file thru. However I am now encountering issues with the file name....I have it set to rename it to be OB10.xml
This is causing issues with mass loads however so I need to add a timestamp/messageid in there
so what needs to go across is something like OB10_201411050900123.xml or OB10_xxxxxxx.xml (xxxxx can be the unique message id)....Most the blogs and posts are dealing with passing the filename from sender to reciever but I dont have a filename here as it is an IDOC
In fact I dont even need the OB10 at the start but it needs a unique name and .xml at the end. I have tried going thru blogs but I dont think i can you attribmapper as it is an IDOC coming in (so no sender channel) and when using the dynamic config I cant get the .xml at the end.
So how do I get messageid.xml or datetimestamp.xml into the filename ?
Any help is much appreciated
Brian
Hi Brian,
Please check the following for MsgID and DateTime stamp with xml extension:
(check : Adapter-Specific Message Attributes and Dynamic Configuration)
UDF to Read Message ID of a PI Message - Code Gallery - SCN Wiki
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brain,
Glad to know that this approach worked
Appreciate if you can close the discussion
How to close a discussion and why
Regards,
Azhar
It is also not mapping the file so we cant use the UDF route.
B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
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.