on 09-20-2018 1:48 PM
Hi Everyone,I have a File to File scenario where the sender is placing the file in a designated FTP folder location and PI is picking the file and placing the file in AL11 folder in SAP ECC. Now this file is being used by an ABAP program to produce a report.I need to know if it is possible to have a OS command to run this ABAP program so that it can be used in the Communication channel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you can do this. I think you want a synchronous call to SAP that runs the upload report. The method will depend on the type of OS:
Windows - Use .NET connector to call a RFC enabled function module. See OSS note 2512851.
Linux - I think you must use JAVA connector to call RFC enabled function module. See this site.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"Is it possible to trigger an ABAP program using a scripting language"
Yes.
If it can call web services, for example.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rohit, May be you can create a wrapper program (For every 5 mins this program will look at the folder for file) which will call the main program (Right now it is running in back ground). This wrapper program would check for the file, if there is a file main program should be kicked in as a back ground job.
But please wait for the experts suggestions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohit,
I would like to know why do you want to run the ABAP Program from PI , instead schedule a Job at ECC.
Regards,
Vivek Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek,
There was a Job which was scheduled to run at a specific time(for example 2 am ) for this purpose. But the problem which we encountered was whenever the file got placed beyond that specific time (for example 2:15 am) then the job would have already ran and since the file was still not there it created error.
Hope it explains.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.