Sitemap

Amicuk Programming Answers

File Receiver Adapter:Run Operating System COmmand after message Processig:

2015-10-11   Views:6

Advertisement

Dear All, I have gone through this link [http://help.sap.com/saphelp_nw2004s/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm] But i have a problem. In the scenario which we have, File name is DYNAMICALLY GENERATED by a UDF I want to call th

Dear All,
I have gone through this link
[http://help.sap.com/saphelp_nw2004s/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm]
But i have a problem.
In the scenario which we have, File name is DYNAMICALLY GENERATED by a UDF
I want to call the file at run time after message processing via Command Line and execute some os commands.
But since the file name is Dynamic....How will i call the file at run time in Command Line:
SYNTAX: %f(FileName)
How will i specify the file name in the above syntax as the file name is Dynamic and not constatnt.
Please Advice.
Senthilprakash.

The replay answer
Advertisement
Dear All,
Yes just now i got the answer from this thread[OS command line script - Need help;
Actually i have another doubt now
In REVEIVER FILE ADAPTER:
when we give Run Operating system Command After Message processing
does the OS command get executed after the output file is placed in the Receiver folder/server or before its placed in the receiver folder?
Regards,
Senthilprakash.

Go to See the other 4 answers

File Receiver Adapter:Run Operating System COmmand after message Processig:

Category:DefaultRelease time:2015-10-11Views:130

Dear All, I have gone through this link [http://help.sap.com/saphelp_nw2004s/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm] But i have a problem. In the scenario which we have, File name is DYNAMICALLY GENERATED by a UDF I want to call th[More]

RUN OPERATING SYSTEM COMMAND BEFORE MESSAGE PROCESSING

Category:DefaultRelease time:2015-10-11Views:130

hi. just i want to know what is the purpose of run operating system command before message processing,after message processing under file sender adapter. waiting for your great answer. bye. regards. seeta ram.Hello Seeta, let me see if I give it usin[More]

Run operating system command for sender File adpter (NFS)

Category:DefaultRelease time:2015-10-11Views:130

Hi All, iam doing a file to RFC scenario, using 'Run operating system command' in sender file adapter to change the file name while archiving (after processing completed). I mention OS command like this: sample_server\scripts\Test\Rename.bat" Rename.[More]

Run Operating Systems command.

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts, Please provide information on Run Operating Systems commands for File adapter. I have gone through t he below mentioned link already: [http://help.sap.com/saphelp_nw04s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm] Also , pl[More]

Run Operating System Commands

Category:DefaultRelease time:2015-10-11Views:130

Hi, There is an urgent requirement, i want to know about Run Operating System Commands in file adapter. What are all possible commands for windows operating system? and how it works? Kindly send me your suggestions and links at the earliest. Your hel[More]

How to Run Operating System Command Before/After Message Processing SAP PI

Category:DefaultRelease time:2015-10-11Views:130

Hi, We are trying to execute multiple commands via "Operating System Command Before/After Message Processing". When we use single command say for example cp or mv (copy or move) the commands get executed fine. eg: cp %F /var/opt/data/outbound/Te[More]

Regarding Run operating system command

Category:DefaultRelease time:2015-10-11Views:130

Hi experts, I have a requirement of creating an empty file onto the same folder where my reciever file adapter writes the result file. Is it possible in case of FTP as well or is just supported for NFS? Regards, AmolHi Amol, I have no experience with[More]

Operating system command in file receiver adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi, How to use the Run Operating system command after message processing option in the parameters tab of the file receiver adapter. I am working on a scenario wherein a batch file needs to be invoked after the file is written on the file system. So h[More]

External command is not working in File Receiver Adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi,    I have tried to copy the file which is mentioned in my File Adapter (Receiver) to 3 different folders thru OS command. The purpose is to save time. I have created one CC for Source(File) and one CC for target(File). After the target file is cr[More]

Check if file exists in file receiver adapter

Category:DefaultRelease time:2015-10-11Views:130

hello,   we have following scenario -> proxy to file   before appending to the file, it should be copied/renamed to a "tmp" file   xi should then append to that tmp file and copy/rename the file back to the normal name I tried it with "R[More]

Unable to run a Batch File Operating System Command

Category:DefaultRelease time:2015-10-11Views:130

Using XI 3.0, I am unable to run a Batch File Operating System Command After Message Processing. My Batch file: gpg -se -r BOA3RSKY --armor --passphrase-fd 0 %1 < C:\Progra~1\GNU\GnuPG\gpgin My Command Line (ID scenario) exec "cmd.exe /c C:\Progra[More]

Hot
Dear all, While entering of MM01, MM02, MM03 T codes, The system showing the error message - "Record Y1 01 does not exist in Table T133A" - for this what do I do, Plz suggest. reg Vishnu.ChHi Madhu,     Thanks for your reply. But, I have one mor [More]
hi, i want delete record from the form and the database ,but the record is only delete from the from !!! this is my code : if //condition then delete_record; commit; end if ; Any solutions ?? thnxYou have unique key field(s) on the table you are tryi [More]
How do i get music that i have put into my itunes folder, i.e. it was not purchased in itunes but from another source, onto my ipod? I have looked at a number of different discussions and none have given me the solution.  I have recently had to do a [More]
i have downloaded over 400 songs from the itunes store, these songs all show up on the ipod. when i select a song to be played it will not play. it just skips to the next song in order, and the next, and the next, etc etc etc...however all the songs [More]
Hello all, I have several photos. I also have three computers that I regularly use: my Windows PC, my Macbook Pro, and a very new iMac. Rather than place all my photos on each computer... I thought I could place them on a Western Digital Passport por [More]
My ipad is freezing up because it needs an icloud update. It says that I need to have it plugged in to wifi. I can't connect to wifi because it's frozen. What should I do?If you have the 'this iPad hasn't been backed up' message then try a soft-reset [More]
Hi All, Is there way to dundle up multiple projects(apps) into one image? Basically I would like to deploy mutltiple apps with one instanceof runtime(jre). Thanks.One possibility: 1) See if the other app is already running: // The following only work [More]
Dear Experts, I would like to trace other user's session, I am on Oracle 10g R2 (10.2.0.4) on a Windows box. I did search on google and found tons of articles explaining about tracing techniques. But unfortunately, trace file is not getting generated [More]
Dear Expert, i've 2 CoCd A and B which use differnet Purchase Org and Sales Org. B is a customer A and A is a vendor for B. If B make Purchase Order to A and A make Sales Order to B. how to set automatic posting in OBYA ? In CoCd A i had make Account [More]
in the html file , when I put the swf file inside a table, the fscommands does not work. how do i make it work? should i make any changes in the html? ? notice: when the swf is out side the table , it is working fine.Found the solution to the problem [More]