on 05-21-2007 12:54 PM
Hi Friends,
when "add timestamp" option is used in receiver file adapter, the timestamp is added in the format YYYYMMDD-HHMMSS-milliseconds
However the timestamp is required in following format :
YYYYMMDD_HHMMSS.
How can this be done.
thanks
hi,
you can only change it in message mapping
with adapter specific identifiers
(dynamic configuration)
but it will have the time when the mapping was done and not
when the adapter was started
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Friends,
thanx for your answers- im using sender idoc & receiver file adapter.
In that case, can this technique be used ?
Also the date/timestamp is not included in any of the message fields.
I saw the blogs/sap help on adapter specific message atributes but it seems more suitable for a sender file adapter- & to use the attributes of sender file name.
Regards
Datta,
You add one more field in your target datatype as last field. You map accordingly to your requirements it to the date and time using the standard functions. Then you use this fields as a variable substitution. In your reciever communicaiton channel if it is fixed length file then you cut this field.
---Satish
Datta,
If you are getting the date and the timestamp in any of your target fields then you can use them using variable substituion. So please chech that else as other posts reply you have to do in the message mapping.
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
u can dynamically create a filename using the adapter specific mesage attributes with the file format u want
refer this blog
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I know the timestamp format is standard.
One option is to generate the timestamp in the mapping runtime and then use the dynamic File name concept to append this timestamp.
For how to create filenames dynamically,
http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.