How to call program through process chain

Hi Gurus,
I am in the position to execute the abap program through process chain, I have used  abap program as process type in process chain(First time I am using this process type).when I am executing the process chain, the abap program is not executing.Eagerly anticipating your reply.
Regards
Shiva

Hi
I managed the execution of rscrm jobs in PC as follows:
1. Execute query through RSCRM_BAPI transaction
2. goto sm37 and copy the Jobname (the active one)
3. Create following progromm
*& Report /WST/RSCRM_START *
REPORT /WST/RSCRM_START .
parameter: l_bid TYPE sysuuid_c.
CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
EXPORTING
i_barepid = l_bid
4. Execute Programm and fill the Parameter with the Jobname
5. Save as a new program variant and use in PC as a normal program
I hope that helps.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
regards
ashwin

Similar Messages

  • 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

  • How to include an ABAP program in process Chain

    Hello Gurus,
    I have a situation where I have to go to SE38 and run an ABAP program which fills the active table of ODS2 by taking data from another ODS1.The data from ODS2 is again fed to another ODS3. So my question now is how do I create a process chain which takes care of this scenario.Especially include ABAP program in the process chain.Looking forward to your replies.
    Regards,
    Kalyan

    hi,
    take a look 'how to' ABAP in process chain
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7

  • 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

  • How to stop the data loads through process chains

    hi,
    I want to stop all the data loads to BI through Process chains where load happens periodic.
    kindly suggest how can I proceed.

    Hi,
    Goto RSPC find your PC and double click on START then change the timings, i.e. give starting date is 01.01.9999 like that Save and ACtivate the PC, it won't start till 01.01.9999.
    Thanks
    Reddy

  • 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

  • Explain: how to include Infospoke in Process Chain where destination is  DB

    Explain: how to include Infospoke in Process Chain where destination is  local machine database [NOT Flatfile]

    Hi vijay,
    First you create an Infospoke with destination as a DB table in your local BI or BW Machine. Now add this infospoke by going through below steps.
    1. Call up the process chain maintenance. Choose This graphic is explained in the accompanying text Process Chain Maintenance from the Administrator Workbench toolbar. The Process Chain Maintenance Planning View screen appears.
    2. In the left-hand screen area of the required This graphic is explained in the accompanying text display component, navigate to the process chain in which you want to insert your InfoSpoke. Double-click to select it. The system displays the process chain plan view in the right-hand side of the screen.
    If no suitable process chain is available, you need to create a new process chain. You can find additional information under Creating a Process Chain.
    3. To insert a process for extraction by means of an InfoSpoke, choose This graphic is explained in the accompanying text Process Types in the left-hand area of the screen. The system now displays the process categories available.
      4.In the process category Loading Process and Post Processing, choose the application process type This graphic is explained in the accompanying text Data Export into External Systems.
      5.Insert the Data Export into External Systems application type with Drag&Drop into the process chain. The dialog box for inserting a process variant appears.
      6.In the Process Variant field, enter the name of the InfoSpoke that you want to include in the process chain, or select it by means of the input help.
    Once You have added the infospoke you have to write a program which will fetch the database table that you filled and transfer the data fetched to other legacy system with the help of XI System
    For more information on how to infospoke on 3rd party pls find the link below
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f12a03d-0401-0010-d9a7-a55552cbe9da
    Hope this help
    Harish

  • DSO request Deletion through Process Chain

    Hi All,
    Can anybody know how to delete the last request number of DSO. i need to delete the last request using ABAP program in process chain.
    I have 2 sources loaded to DSO..
    Ex: Cube1 ...> DSO (1 st request)
        Cube2...> DSO (2 st request)
    Please help me guys with abap code
    Regards,DS

    Dear DST,
    I found this code for the same purpose. I haven't used it till now. Go through it I hope it will fulfill your requirement.
    Create an ABAB report with desired modifications in this code and add that report to your process chain.
    REPORT ZV_DELETE_REQS.
    data: RSICCONT like rsiccont,
    rsseldone like rsseldone.
    data: begin of i_req occurs 0,
    rnr like RSICCONT-rnr,
    end of i_req.
    refresh i_req.
    select *
    from RSICCONT UP TO 1 ROWS
    where ICUBE = 'ZCS_D10'         " cube name
    order by TIMESTAMP descending.
    i_req-rnr = rsiccont-rnr .
    append i_req.
    clear i_req.
    endselect.
    loop at i_req.
    select single *
    from RSSELDONE
    where RNR eq i_req-rnr
    and source = '0CO_OM_OPA_5'.                " Data source name
    if sy-subrc eq 0.
    CALL FUNCTION 'RSSM_DELETE_REQUEST'
    EXPORTING
    REQUEST = i_req-rnr
    INFOCUBE = 'ZCS_D10'
    EXCEPTIONS
    REQUEST_NOT_IN_CUBE = 1
    INFOCUBE_NOT_FOUND = 2
    REQUEST_ALREADY_AGGREGATED = 3
    REQUEST_ALREADY_COMDENSED = 4
    NO_ENQUEUE_POSSIBLE = 5
    OTHERS = 6.
    IF SY-SUBRC 0.
    MESSAGE ID sy-MSGID TYPE 'I' NUMBER sy-MSGNO
    WITH sy-MSGV1 sy-MSGV2 sy-MSGV3 sy-MSGV4.
    else.
    message i799(rsm1) with i_req-rnr 'deleted'.
    ENDIF.
    endloop.
    Regards:
    Jitendra
    Edited by: Jitendra Gupta on Jan 16, 2012 12:02 PM

  • 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

  • Broadcasting Workbooks through Process Chain

    Dear friends,
    I want to broadcast workbooks through process chain. I have tried two programs
    1) RSRD_BROADCAST_STARTER
    2) RSRD_BROADCAST_BATCH
    My requirement is that, I want a log to be mailed to me stating the success or failure of the broadcast of the workbook.
    Through the first program, I am able to send the log to my e-mail ID however I am not able to send the workbook.
    Through the second program, when I execute the process chain, it immediately says process chain executed. After some time the log mail comes stating succss. After some more time the workbook gets broadcasted.
    I want the workbook to be broadcasted first and then the log should come specifying the success or failure of the precalculation of the workbook in the precal server.
    Please let me know if somebody knows how to do it.
    Regards
    Himanshu

    Hi Sapna,
    Yes You have to install pre-calculation server for broadcasting and the process for that is
    http://service.sap.com/swdc > Download>Support Packages & Patches>Entry by Application Group>SAP NETWEAVER -->SAP NETWEAVER 04 -->BI Precalculation
    and can check its status in transaction : RSPRECADMIN   or
    Transaction SPRO>SAP Referance IMG> SAP Netweaver> Business Interlligence>
      Settings for Reporting and Analysis> Settings for Information Broadcasting> Administrate Pre-calculation Server.
    and the precalculation is done : Open Query>Publish>BEx Broadcaster , then you can also make new settings --> three or foue tabs  and one of the tab is pre-calculate.
    Regards,
    Nisha Jagtap.

  • Incorrect data after activating the request through Process chain.

    Dear SDN chaps.
    Today morning. I encountered a strange issue in DSO..
    I have DSO which is updating from the AL11(application server) flat file.
    While i am loading it to PSA there were no issues and after loading it to the DSO there is no issue and its passing through the routine and the data is populating properly in NEW data Table .But after successful activation of  the request through process i am getting the wrong records in active data table.
    Then i deleted the request and reran it manually i mean triggered the DTP and ran the manual activation surprisingly accurate records are coming through manual process..
    I am just wondering why it is not working through process chain and why it is showing incorrect records through process chain execution and how it is showing accurate records through manual uploading process..'
    Could some one please help to come out from this..By the way mine is SAP BI 7 SP20 &SP05 for BW 7.01
    Thanks
    K M R
      

    Hi Pra
    Thanks for your response..
    We are doing PSA deletion and then we are uploading the data to PSA as well as DSO.
    Now the issue is not in the part of loading we are facing the issue in Actiation of request if i am executing the activation through process chain it is sucess but the values are incorrect. If i am doing the manual activation it sucess with correct data.
    Even i tried with a new chain but still i am facing the issue.
    Surprise thing is in new data table the data is perfect in both the ways like manual upate and Process chain update only during activation i am getting incorrect record in the active data table..
    Appreciate your help on this....
    Thanks
    K M R
    Edited by: K M R on Jul 9, 2010 11:09 AM

  • How to capture event in process chain....Please help...

    Hi All,
    Please tell me how can I capture any event triggred by ABAP program in process chain...The ABAP program is there in the process chain...ABAP prog is triggering one event based on some condition..Please tell me how can I capture that event in the process chain...
    Thanks in Advance...

    Also check this link...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=/help/sdn_nw04/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    Hope this helps...
    Thanks,
    Raj

  • Broadcasting through process chains

    How to broadcast reports to indivdual mailboxs in the company through process chains. say current data should be broadcasted into individual email account every time a new sales order or purchase order is created or by the end of the day , it should automatically trigger the mail with the report. can anyone help on this.

    Hi,
    Here see the blog details.
    The goal of information broadcasting is to distribute the right information, in the appropriate format, to the right people, through different channels, at the right time.
    With the BEx Broadcaster, you can precalculate queries, query views, Web templates, reports and workbooks and broadcast them by e-mail or to the portal. In addition to the precalculated documents in various formats (HTML, MHTML, ZIP and so on) that contain historical data, you can also generate online links.
    Accessing the Broadcaster
    The broadcaster can also be accessed via the Portal through the delivered BI Role.
    You can determine the Scheduling for Information Broadcaster
    Based on a data change event triggered by a process chain.
    Based on a pre-defined time point.
    Freely definable scheduling.
    Steps to Schedule Information Broadcaster based on a data change event triggered by a process chain
    Create the Query in the Query Designer.
    Execute the report in the BEx Web Analyzer.
    Click on u201CSendu201D to create the settings for broadcasting.
    The Broadcast Wizard takes you through a series of prompts where you supply the key information required to develop a broadcast. At any time you can leave the Wizard and use the standard settings dialogs which offer more settings.
    Then schedule the broadcast. If you start the Broadcaster for a query (or template or workbook) that gets data from an InfoProvider that will be selected in the process chain, you can select the InfoProvider for Scheduling.
    Create the process chain and include the event data change, include process type "Trigger Event Data Change (for Broadcaster), itu2019s available under "Load Process and Post -Processing".
    The Process Chain is created including the process types: (1) Start (2) Execute InfoPackage (3) Delta Data Transfer Process (4) Activate DSO (5) Trigger Event data Change.
    When you create the Variant for the Event Data Change, using checkbox we can indicate when the Broadcast should trigger.
    As soon as that InfoProvider is affected by a Process Chain, the Broadcasting is triggered.
    After successful activation you can now schedule your chain. Press button u201CScheduleu201D or menu u201CExecution -> scheduleu201D. The chain will be scheduled as background job. You can see it in SM37. You will find a job named u201CBI_PROCESS_TRIGGERu201D. Unfortunately every process chain is scheduled with a job with this name. In the job variant you will find which process chain will be executed. During execution the steps defined in RSPCPROCESSCHAIN will be executed one after each other. The execution of the next event is triggered by events defined in the table.  You can watch SM37 for new executed jobs starting with u201CBI_u201D or look at the protocol view of the chain.
    You can monitor the Broadcaster from the SOST transaction.
    Note:
    Depending on authorizations, end-users can schedule their Broadcasting Settings.
    Only for those queries which are checked "Execution with Data Change in the Infoprovider" while you schedule, will be triggered by process chain event.
    You may wish to refer the Note on Settings for Information Broadcasting- 760775
    Hope this help you
    Regards,
    Rakesh

  • How to check the parent process chain of a meta chain

    Hello Friends,
    Recently I joined a new project, which is of environment BW 3.0. I am trying to find the dependent process chain's parent, but could'nt able to find them. I went through all the process chains manually to check whther the dependent process chain is mentioned in them, but could'nt find any......
    Can any of you help me to know how to find the parent process chain of a meta chain ?
    I really appreciate your time, will be awarding points to any answers.......
    Thanks,

    Hello Radhan,
    thanks for your quick reply. I searched the table based on your advice, but i could'nt get the parent process chain's name. Can you throw some more ideas please..........
    Thanks,

  • Compression through process chain

    Hi Gurus,
    I have 76 cubes in my producation system.
    I want compress all cubes through process chain in every weekend.
    adding all cubes in one process chain...
    pls suggest me ,
    thanks,alex

    When using the 'Compression of the InfoCube' Process Variant, you don't have the capability of given a date range or year/month of requests to compress. It only has the capability of n days old.
    So, you'd have to create two Process Variants, one with marker and one without, for each month of requests to be compressed. Since you haven't compressed for two years, the values to put in the 'Collapse only those requests that were loaded XXX days ago' would be:
    730
    700
    670
    640
    610
    580
    550
    So in total, you're going to end up with something like 50 Process Variants (25 with marker and 25 without marker). You'd want then to execute in inverse order (730 first, then 710, then 670, and so on) so that it does only 30 days worth of work.
    Then once you have completed compressing the InfoCubes, you can then remove all of these Process Variants and only have one with marker and one without and set to how many days old you wish (SAP recommended to us not to compress requests that are less than 21 days old in the case there's an issue with a request - once you compress a request you can't identify and delete data by request).

Maybe you are looking for