on 07-11-2008 9:49 AM
Hi all,
Here is my scenario
File(windows sys)XI-File(Unix sys)--->SAP(Using Batch program)
Here my sender Windows system having file with extension .xfr and XI has to pick all these files and place it in Unix system.From unix system Batch Program will run and fetch all the files and place it in SAP.
But here the Batch program only triggers when it finds .wrk file in the target folder.
if it doesn't find .wrk file it will not run.So to make run that Batch Program we have to add the extension of first file(which is other than .wrk) with .wrk.
If XI finds no file with *.wrk in the folder Output(UNIX sys), then it adds extension .wrk to the
first file and triggers the SAP batch program, then it reads the file and processes it from
UNIX file system.
Any Suggestions..??
Thanks,
Kalyan.
Hi Kalyan,
Can you be more specific...
If the batch machine always looks for a .wrk file can't u create all the outbound files with extension .wrk in the receiver file adapter.
Thanks
SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalyan,
If you want to modify the filename or extension, you can use Dynamic configuration.
On the Advanced tab of the sender file adapter, under Adapter Specific Message Attributes, select the checkbox next to File Name. Thus filename will be added to DynamicConfiguration section of SOAP header and can be seen via SXMB_MONI.
In you mapping program, you can access and modify this filename. For details see [this link|http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm].
Again, in the receiver file adapter, on the advanced tab, under Adapter Specific Message Attributes, select the checkbox next to File Name. This would overwrite the target file name with the name modified in the mapping.
Hope this helps.
Regards,
Riyaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.