Skip to Content
avatar image
Former Member

Triggering process chain from BW ABAP program

Dear experts

Situation: In the BW system 4 different process chains are triggered to process 4 different files (Header file, Item file, etc etc). Each process chain currently reads a file on the application server and performs reconciliation (match up with the database). Currently the BW associate is processing each file manually. He provides the file name to the process chain and executes it. Each file's file name has a specific prefix which is fixed followed by date and time stamp. For example ZMATCH_HEADER_20170101_042035.DAT.

The requirement: Automate this process using ABAP program that is run on the BW environment as a batch job. The program should read the files from the application server, pick them one by one and trigger the relevant process chain. When the process chain completes, the ABAP program should delete the file from the application server.

Now, I know the entire ABAP part of reading a file from app server, processing it, deleting it etc. However I need info on:

1) How to trigger the process chain and pass the the file name read by the program to the relevant process chain. If it needs to be done using FM call and which is the most suitable function module to call ?

2) Also I want the program to know when the process chain ends so that the file can be removed and the next file can be picked up for processing.

Thank you,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 14, 2017 at 06:14 PM

    Did you look for RSPC_API_* function modules in SCN answers ?

    Add comment
    10|10000 characters needed characters exceeded