Call an ABAP program from process chain

Hi experts,
How do I include an abap program in R/3 sandbox in my process chain in BW.
I know how to do it in BW but this program is in the ECC sandbox.
what I did was to create a job in R3 through SM36,this job had two steps one to run my program and another step to call the FM RSPC_ABAP_FINISH,which would inform the PC that the job is executed and continue to the next step.
I was triggering this job trough an event in R3.
In my PC I added a process type ABAP program,where i made an asynchronous call to the event in the ecc sandbox.
But this is not working.Any ideas?
Regards
Ankit

Hi Mario,
Would RSPC_API_CHAIN_START work?

Similar Messages

  • Calling r/3 program from process chain

    Hi
    I did the following steps to call r3 program from process chain :
    Steps in R/3 system
    1. Created a program  which needs to be called from bw and at the end of the program i have calling 'RSPC_ABAP_FINISH' function module & passing the rfc id of bw system and bw process variant.
    2. created a even in r/3 (please note that this is not there in bw)
    3. Created a job  and  under start condiion selected 'after event' and mentioned the event created earlier. And under step1 enter the abap program to be executed
    Steps in BW system :
    1. Created a process chain
    2. inserted a process type 'abap program' and selected the call mode 'Asynchronous' and under destination entered the RFC destination of R/3 system. Under scheduled program enterd the event name created in R/3
    after executing above process chain,  the abap program node is becoming green but the abap program is not getting executed in r/3 system. And also the process after the program node in process chain is not getting executed.  The job which was created in r/3 still showing the released status
    Kindly advice where i am wrong.
    Thanks
    RKS

    any input

  • Trigger abap program from process chain

    hello...i have an external source system which is a SAP client, I have a table with the fields i wanted, when the field of the table change to "ctmd end", the abap program in this source client will trigger the process chain in SAP BW and the selection of the infopackage which is a business date will be triggered as well to load the data based on the business key date in the source systems. I am new in abap program and wanna know can this be done so? If can, how can this be done? Thanks!

    generate an event through ABAP program and use that event to trigger that start process type of that process chain
    -- Amit

  • How to integrate an ABAP program in process chain

    Hello Experts :
    I need to call an ABAP program in PROCESS CHAIN from a different system, using Process type "ABAP program", option "scheduled program".
    Sombebody have the step by step or some examples
    Regards,
    Diana

    If you search this forum for RSPC_ABAP_FINISH you will find some good answers such as:
    Start an ABAP program in R/3 from a process chain in BW

  • Call ABAP Program in Process Chain

    Dear BW Gurus,
    I need to call an Process chain which includes ABAP Program.
    The ABAP Program doesn't have the variants but it accepts the inputs from the user and sets into a YXXXX table.
    I am not getting how to proceed in this regard.
    Kindly guide.
    Best Regards,
    Harsh

    hi,
    chk these links below.. they contain the resolution for your query
    Call ABAP Program in Process Chain
    ABAP in Process Chains
    Also chk this relase which ia an entire guiding one to ABAP Program in Process Chain
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7

  • Call an ABAP Program from Web Application designer

    Hi Gurus,
    I have an requirement in which I need to fetch an CSV file from the server and place the file into an internal table in R/3.I got the function module and wrote the program for this,but now I need to call this ABAP program from Web Application designer.
    To make it more explicit ,I need to call an ABAP Program /function module from the WAD.I am new to WAD Please help.
    Ankit

    Hi Ankit,
    take a look:
    /thread/725385 [original link is broken]
    WAD and ABAP
    How to call a ABAP or ABAP Class from the WEB
    /people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
    Regards
    Andreas

  • Calling an ABAP Program from source system in a process chain

    Hi,
    I need to call an ABAP program (Extract program RMBWV308) from R/3 within a Process Chain in BW 3.5
    Your urgent advice please

    Hi,
    check the following link:
    Start an ABAP program in R/3 from a process chain in BW
    regards,
    raju

  • Log from ABAP program in Process chain

    Hello.
    I have some problem. I wrote the ABAP program and insert this program in process chain. This program a correctly work, but I canu2019t view the steps of work this program. In help:
    You can write logs by outputting success messages. (Error messages terminate the task!)
    Example: MESSAGE s051(rsar) WITH 'Process successfully ended'.
    You can see these logs on the tab page Batch in the detail monitors of the process chain.
    I append this code to my program, but nothing in process chain.
    Help me, please - what code I need to insert in my program so that view this message in a process chain logs?

    We have an ABAP that outputs a message.  The output from the following code is visible when you click on a process chain step icon, and select the middle tab that says "Backg" for background.
    IF sy-subrc = 0.
        CONCATENATE text-005 p_date INTO l_msg SEPARATED BY space.
        MESSAGE i162(00) WITH l_msg.
      ELSE.
        CONCATENATE text-003 p_date INTO l_msg SEPARATED BY space.
        MESSAGE e162(00) WITH l_msg.
      ENDIF.

  • Capturing failure event of Process Type ABAP program in Process Chain

    Hi all
    I am calling an ABAP program in a Process Chain, there are subsequent steps after the ABAP program. The subsequent steps should execute if the ABAP program fails. While running the process cahin, if the ABAP program fails, then a pop-up comes up asking for triggering subsequent process. Since this Process Chain has to run in background mode, we dont want this pop-up. How can this be stopped?
    Please help.

    Hi Arnab,
    Welcome to SDN!!
    When you define the next step after the ABAP program select the action for as "error".
    Hope I have made things clear.
    Bye
    Dinesh

  • Return code from ABAP program in process chain?

    Hi,
    I have situation where I want to run some little part of my process chain only on mondays. So I am thinking of writing a little bit of ABAP that checks if is monday today. If it is, then return true, and if not return false. Then I want to branch on the outcome of my ABAP process...
    ...but how do I return that value?
    ...and what about the overall status if I use this trick to branch off?
    I have looked at:
    How to… Integrate an ABAP program in a process chain.pdf
    How to… Implement custom-defined process type.pdf,
    but those documents have not lead me to a solution yet...
    Best regards,
    Christian Frier

    Sorry I missed the code:
    *& Report  ZBW_STATUS_RED_GREEN                                        *
    *& sets Status at End on Red(default) or Green                         *
    *& History:                                                            *
    *&          02.11.2005 M.Schulze Author                                *
    REPORT  zbw_status_red_green.
    SELECTION-SCREEN BEGIN OF BLOCK eins WITH FRAME.
    PARAMETERS: red   RADIOBUTTON GROUP radi,
                green RADIOBUTTON GROUP radi.
    SELECTION-SCREEN END OF BLOCK eins.
    IF NOT green IS INITIAL.
      MESSAGE i162(00) WITH 'Status' 'Green'.
    ELSE.
      MESSAGE e162(00) WITH 'Status' 'Red'.
    ENDIF.

  • ABAP program on process chain

    Hi, 
       I'm trying to create an ABAP program in the process chain. I Know how to do this, so the problem that I'm having is that I need to know <b>WHO is</b> the process chain that is call me because this same ABAP program can we caller from another process chain. Exist any function code to interpret this ? I need to know this and then save it.
    Thanks a bunch.

    Hi Sebastian,
    please post questions like this in the another BI forum, e.g. BI General or Data Warerhousing. This forum is dedicated to SAP NetWeaver 2004s only topics.
    Nevertheless, please see the online documentation for the information you need
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/06/efd63b54e56276e10000000a11402f/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/06/efd63b54e56276e10000000a11402f/content.htm</a>
    (GET_INFO)
    For the implmenetation of a custom defined process type, please see
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/45d8a990-0201-0010-a290-f22083728179">https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/45d8a990-0201-0010-a290-f22083728179</a>
      Cheers
        SAP NetWeaver BI Organisation

  • Call an ABAP program from BIW

    Hi experts,
    How do I include an abap program in R/3 sandbox in my process chain in BW.
    I know how to do it in BW but this program is in the ECC sandbox.
    what I did was to create a job in R3 through SM36,this job had two steps one to run my program and another step to call the FM RSPC_ABAP_FINISH,which would inform the PC that the job is executed and continue to the next step.
    I was triggering this job trough an event in R3.
    In my PC I added a process type ABAP program,where i made an asynchronous call to the event in the ecc sandbox.
    But this is not working.Any ideas?
    Regards
    Ankit

    Hi Ankit,
    take a look:
    /thread/725385 [original link is broken]
    WAD and ABAP
    How to call a ABAP or ABAP Class from the WEB
    /people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
    Regards
    Andreas

  • How to add Abap program in process chain to check the another process chain status and do accordingly

    Hello All,
    My requirement is related to process chain 1 . I have one process chain in that i have to  put abap program in middle of that chain . This program will check the status of one another process chain 2 status ( whether it was completed or it is going on). if it is completed then continue the Process chain 1  to further activity else wait to complete Process chain 2 .
    Here i have to use process chain 2 as a parameter.
    Kindly provide me solution .
    Regards
    Saurabh

    Hi Saurabh,
    You need to create ABAP program in which you check the values for required process chain in
    following table
    RSPCLOGCHAIN (Feilds ANALYZED_STATUS LOG_ID)
    Depend on values you can trigger next process or you can wait unitil this process chain complete.you need to check status from table using ABAP.
    If you are not aware about how to write ABAP program then take help from ABAP Team.
    Regards,
    Ganesh Bothe

  • ABAP program in process chain running under another user

    Hi, gurus
    I have a process chain that load three DSO in order to generate authorizations. I wish to add a new process at the end of this process chain which calls ABAP program RSSB_GENERATE_AUTHORIZATION. I wish to run this ABAP program under a different user rather than using ALEREMOTE, our general purpose load user. The user to run authorization generation must be a system user specially created for this purpose.
    My question is: is it possible to define a different user to execute only a process (ABAP program) inside a process chain while the previous steps can be run by a general purpose load user?
    Is there any other approach? What about separating it into two tasks? How to sincronize them, that is, how to run generation just after successful ending of the load process?
    Thanks for ideas.
    Fernando

    Let us assume that you have two parts to this -
    1. Process chain for Data Loads
    2. Program for authorizations.
    Schedule the authorization program in the background and have it run after a particular event - this way your authorization program is run with a specific user.
    In your process chain put in a program to raise the event at the appropriate time so that the authorization program can run. The authorization program in the meanwhile will be runnnig and waiting for the event to occur.

  • Problem in triggering abap program in process chain

    i m running a infopackage in a process chain .
    this infopackage creates the request in the DSO .
    after infopackage i m including the abap program to delete the same request in the process chain .
    but the abap program is not getting triggered .i have maintained the variant correctly for the program in the process chain .
    what can be done so that the program gets triggered .

    Hi,
    You can trigger you ABASP program from
    1. SM64  : copy the ABAP program's Afer event and parambeter and give it there and execute
    2.or go to
    SE37 >>Program : BP_EVENT_RAISE  >> say test execute
    and give the same after event and parameter ..and execute
    this might trigger your program
    Hope this helps you,
    Regrads,
    shikha

Maybe you are looking for

  • Getting subreport (tab) of a Webi report

    Hi all, I'm looking for a way (with Web Services SDK or/and with Business Objects Enterprise SDK) to refresh a tab (subreport) of a Webi report and to download it. I'm knowing how to refresh and download a webi report already but I do not find a way

  • Keep saying the project is locked by the user ~~~. can't open my project.

    i made my first idvd project almost a year ago. now i tried to open the project with my different user id. i changed my id when my hardware crushed about 6months ago. i don't have my previous id anymore. when i tried to open the dvdproject that i bur

  • Using a Forward Slash (/) in CFFILE Destination

    Hi everyone, I couldn't find this anywhere in the forums (at least not searching for "cffile forward slash", "cffile /", or "cffile destination") and hope I'm posting this in the correct place (please let me know if not). I need to use a forward slas

  • Firefix (V33) will not upload files in Yahoo Mail - Works fine in IE. Why not?

    I have latest Firefox, Windows 7, 64 bit. Yahoo Mail - latest version When I try to attach a file, it just sits there with the progress bar and never completes. Doing the same thing with Internet explorer it happens just fine in a couple of seconds.

  • I just blew up all the windows on my Mac!

    I do not know what was clicked, it was control or apple or some combination, but all my windows in all my applications have Blown up in size. I can not find where or how to decrease all to get it back to normal. Changing the resolution under Display