on 10-28-2009 3:42 PM
I want to read the archive directory name in sender file adapter at runtime in the message mapping?
Please suggest how can i achive this?
Want to read the archive directory name in sender file adapter at runtime in the message mapping?
Why?
For a given sender file channel, the Archive Directory is constant. One sender file channel can be used only in one Sender Agreement. That means for given combination Communication Component, Interface, Namespace there is only one Communication Channel (Archive Directory). These three variable can be accessed in UDF using
map = container.getTransformationParameters();
headerField = (String) map.get(StreamTransformationConstants.INTERFACE_NAMESPACE);
/* similarly Communication Component, Interface */
http://help.sap.com/saphelp_nw04/helpdata/EN/43/09b16006526e72e10000000a422035/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/EN/78/b4ea10263c404599ec6edabf59aa6c/content.htm
i.e. if this combination of Communication Component, Interface, Namespace then this is Archive Directory, if this combination of Communication Component, Interface, Namespace then this is Archive Directory.
Now we have 2 option:-
1. Hard code in UDF for this combination this is Archive Directory.
2. Store these values in a database (this combination this is Archive Directory) and access it in message mapping by database lookup.
There is other option, write a Adapter module, which populate the Archive Directory in SOAP header of messages in Adapter Engine. And access Archive Directory in UDF, similar to this http://help.sap.com/saphelp_nw04/helpdata/EN/78/b4ea10263c404599ec6edabf59aa6c/content.htm
. But, this option is not recommended as it is performance overhead, and as for a Communication Channel, Archive Directory will not change (we have to do manual edit), At least very less in production (we don't change it very day ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
1. Choose Tools -
> Datafeed -
> User log -
> Read archive.
The SAP R/3 System calls up a screen where you can select the files of the archived user logs.
2. Select the user log you need to read.
3. Press ENTER
Regards from Pakistan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any Help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any Updates?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
try this
Regards
Suraj
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.