Skip to Content

Running Process Chains via abap

Hi all,

I have scenario in loading text file to cube via chains using abap, here the step:

Start from abap code to check the file, if exist run the Process chains

<b>Process Chains</b>

a. <b>start</b>

b. <b>load data</b>

c. <b>updt from PSA</b>

d. <b>program</b> "move file to err folder if loading error

e. <b>Attrbute Change</b>

f. <b>program</b> "move file to suc foled if loading successfull

g. <b>program</b> check file is still exist

it's looks like machine gun 😊

The problem is always create two job "loading" (sm37) each file after abap code for checking file run the event 4 chains. This happened makes loading process takes time event the file only 20 records.

Why this happened? Please 😊

Any suggestion is highly appreciated would be thankful for all



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2005 at 06:57 AM

    Hi Supriatna,

    I would recommend to have 2 process chains. One, just for the abab that is checking the file. If the file exists, the abap should raise an event. Second, waiting for the event, raised by the previous abap, doing the upload and all the rest.

    In the abap, use the fm


    to raise the event.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.