Adding BAPI jobs in Process Chain

Hi All,
I want to add BAPIs in process chain in BW 3.5.Can anybody help me in this???????

Hi,
There will be no impact on the work processes but the main concern here is for all jobs that run in dialog/fore ground there will be some specific time limit defined...so if a job/process crosses that limit it'll go to ABAP dump....
At a max there'll be no timelimit for the bkgd processes so a job can run for a long time without any interruption...
To know the time limit for foreground processes u can chk wit ur BASIS team or use Tcode- RZ11...
Now If any of the job in ur process chain takes long time it may go thru dump, so it depends on the step howmuch it is taking....(Eg: Attribute change runs take long time sometimes)
rgds,

Similar Messages

  • Triggering Process chain based on execution of R3 job and Process Chain

    Hi All,
    I need your help in arriving at a solution for a reqirement.
    Scenario is., I need to trigger a process chain B based on successful execution of Process chain A and an R3 job. If both conditions(Completion of R3 job and Process Chain A) are met then only it has to trigger process Chain B.
    I know that we can use events to trigger a process chain using R3 job.But my case is differenet I need to consider the success message from both process chain and R3 job.Is there any way to solve it ?
    Please provide me with your valuable inputs.
    Thanks,
    Bindu

    Hi Hima,
    You can use the  'AND' variant for both, If both are success then trigger the process chain.
    Regards,
    Ravi Kanth
    Edited by: Ravi kanth on Apr 30, 2009 3:36 PM

  • Cancel the scheduled jobs for process chains - urgent

    Hi,
    How do I cancel the scheduled jobs for process chains which are going to run tonight.
    thanks,
    Radha

    Hello,
    Go into transaction code RSPC and then select the particular process chain by going into the edit mode and in the menu...
    Look for Execution --> Remove from Schedule.
    Let me know if that answered your question.
    Thanks
    Dharma.

  • How to find triggering job for Process chain

    Hi,
    I have a process chain and its triggering by some other system using an event.
    I want to know how to find which ystem is triggering this job means process chain and on what basis it is starting?
    I have an event for this process chain and also FM : BP_EVENT_RAISE. So how to find the with those details?
    Thanks,
    Phani

    HI,
    some other system means either dev, qas, prd?
    for every process in a process chain there is a chain id which is same as the name of your chain,
    for every chain id there exist some log ids , this both information you can find from the standard table RSPCLOGCHAIN
    From this log id you can find the status of the process from  table RSPCPROCESSLOG.
    here u will find the status of your process whether is has been completed successfully or ended with errors.
    Thanks,
    Phani.

  • Hot to add a Background Job to process Chain

    Hi Guys,
    I have created a background job via Sm36, but I wanted to include all this jobs to Process Chain, is it possible?
    thanks.

    Hi,
    Welcome to SDN.
    Please try this ( a quick and dirty solution)
    1.Create a batch event in SM62 (e.g. Z_EVENT1D)
    2.Allocate this event as start event of batch job in SE36
    3.Create a report to trigger this event
    REPORT  Z_RAISE_EVENT.
    Call Function 'BP_EVENT_RAISE'
             EXPORTING
             EVENTID = 'Z_EVENT1D'
    4.Add a process type abap program calling this report to PC
    Of course, you can add a parameter to report and save different variants to make it more flexible, if required.
    Regards
    Joe

  • BAPI call from Process Chain

    Hi,
    in our system , a Program runs everyday in R3 system to fill the customized delta tables and we run the process chain to load the data in BW from Delta tables in R3 system.But problem in the above scenario, after completion of R3 Job in R3 system the BW system does not aware of R3 job status so we have schedule the process chain in such a way that the process chain start after 2 Hours of completion of R3 jobs.
    to overcome this, i need to implement either of the below requirement.
    a BAPI call so that the R3 job can be triggered from BW from a process chain, and then the BW metachains can start once it is finished.
    Or
    we are using a ABAP program in R3 system to fill Delta table. So at the end of the ABAP code, send an RFC message to BW, which can trigger a job in BW which will start 1 meta chain.
    please tell me which is the better option and how can i
    Regards
    Atul

    hi
    i have tried below logic in R3 side
    Create a Customized FM with Remote Enabled in BW system
    call that FM with RFC destination and Event name as Export parameter from a ABAP program in R3 Side
    i have given the Event name in Variant  as same as i have created in BW system SM62
    when i had run the Program in R3 side the program run successfully but the process chain did not run in BW system.
    please let me know what is the reason behind this.
    below code i have written in ABAP program in R3 side
    parameters: rfcdest like rfcdisplay-rfcdest,
                zevent type char32.
    CALL FUNCTION 'Z999B_CB_F_EVENTRAISE' destination rfcdest
      EXPORTING
        EVENTID                      =  ZEVENT
    EXCEPTIONS
       BAD_EVENTID                  = 1
       EVENTID_DOES_NOT_EXIST       = 2
       EVENTID_MISSING              = 3
       RAISE_FAILED                 = 4
       OTHERS                       = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Below FM i have developed in BW system with Remote Enabled in Attribute tab page of  FM.
    FUNCTION Z999B_CB_F_EVENTRAISE.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(EVENTID) TYPE  CHAR32
    CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
        eventid                      = eventid
      EVENTPARM                    = ' '
      TARGET_INSTANCE              = ' '
    EXCEPTIONS
       BAD_EVENTID                  = 1
       EVENTID_DOES_NOT_EXIST       = 2
       EVENTID_MISSING              = 3
       RAISE_FAILED                 = 4
       OTHERS                       = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFUNCTION.
    Regards
    Atul

  • Rename ABAP-Job in process chain

    Hello experts,
    how can I change the job-name (SM37) of a ABAP-Program that starts within a process chain?
    Now all ABAPs that are started within a process chain are called: "BI_PROCESS_ABAP"
    Thank in advance

    Not sure where you want to go with this idea.  If you are trying to create a new naming scheme in general, e.g. ZBI_PROCESS_ABAP, or if you want to change indiviusla job names so you can more readily identify what a particular BI_PROCESS_ABAP job does.
    If it's the latter, I thin kyou will end up creating a maintenance headache, because when you modify and reschedule a chain it wouldn't delte teh old job and it would create a new one with the standard BI_PROCESS_XXXXX  job name.
    Have you looked at Tran RSM37 ?  It provides process chain name info when you pull up a list of jobs, not a perfect eample, but this should give an idea of, e.g.
    Background Job Name     Status     Selection     Selection value     Selection     Selection value     Selection     Selection value
    BI_PROCESS_ABAP     Released     CHAIN     0TCT_C2_INIT_P01     TYPE     ABAP     VARIANT     0TCT_START_DATALOAD_PC
    BI_PROCESS_ABAP     Released     CHAIN     0TCT_C0_INIT_P01     TYPE     ABAP     VARIANT     0TCT_START_QUERYRUNTIME_PC
    BI_PROCESS_ABAP     Released     CHAIN     ZMD_D_METACHAIN     TYPE     ABAP     VARIANT     ZBW_START_PM_DAILY_PC
    BI_PROCESS_ABAP     Released     CHAIN     ZSR_D_MD_META     TYPE     ABAP     VARIANT     ZSR_D_MD_COMP
    BI_PROCESS_ABAP     Released     CHAIN     ZMD_D_METACHAIN     TYPE     ABAP     VARIANT     ZBW_START_FI_DAILY_PC
    BI_PROCESS_ABAP     Released     CHAIN     ZMD_D_METACHAIN     TYPE     ABAP     VARIANT     ZBW_START_FM_DAILY_PC
    BI_PROCESS_ABAP     Released     CHAIN     ZMD_D_METACHAIN     TYPE     ABAP     VARIANT     ZBW_START_GS_DAILY_PC
    BI_PROCESS_ABAP     Released     CHAIN     ZMD_D_METACHAIN     TYPE     ABAP     VARIANT     ZBW_START_SRM_DAILY_PC
    BI_PROCESS_ABAP     Released     CHAIN     ZMM_D_META_1     TYPE     ABAP     VARIANT     ZBWPR_V3_BEGIN_03
    BI_PROCESS_ABAP     Released     CHAIN     ZMM_D_META_1     TYPE     ABAP     VARIANT     ZBWPR_V3_BEGIN_02

  • Canceled Status in Job Detail, Process Chain triggering w/event

    Hi All,
    I have created event, PC and trigger event with SM64 or with ABAP, everything is ok
    if I activate and Schedule PC, I see BI_PROCESS_TRIGGER job with released status, and when I trigger the event nothing  is happened but when I checked the Job detail I see canceled status job.
    I donu2019t understand why this problem occurs ?
    I can trigger the event but before event trigger the PC, scheduled job detail directly turn to the chancel status.
    if any one give me a clue to solve this problem I will appreciate
    Note : No Job log !!!
    Thanks
    Ali

    Ali,
    Check authorizations.
    Try to run process chain with out event(immediate) and check.
    Srini

  • Collection jobs in Process Chains

    Hi ALL,
    I want to know what is the real importance of using AND, OR and EXOR Processes in Process Chains.I have gone through all the material available on SDN.But i could not clearly understand these Processes as of what's the real purpose it serves when used in Process chains.
    We have Process Chains in our system which contains Planned data as well as Actual data which are parallelly loaded using our Process Chains.Where in we have Different infopackages.With every infopackage,If it is successful ,it is connected to AND Process And in case,if it is a failure,It is connected to an OR Process.
    So ,if it is Successful ,then it goes to And Process or else it connected to OR Process which triggers an ERROR event for that particular process chain.
    So,Please Do Provide an good answer as I have to implement certain changes to my process chains.I have added 3 more infopackages to my process chain and now ,I want to know whether I should connect them to OR process,if a Failure occurs and what will be the consequences ,if I connect/Do not these new packages to OR process when a failure occurs.
    I hope you understand this Problem and reply as it is very urgent.
    Points will be assigned.
    Regards,
    samir

    Hi,
    AND = the following process starts only if all processes before (running parallel) are finished sucessfully.
    OR = the following process starts each time a process before finished successful
    EXOR = the following process starts if one of the processes before finished successful
    Hope this helps!
    regards
    Siggi
    PS: here some additional information: http://help.sap.com/saphelp_nw04/helpdata/en/01/15843b74f7be0fe10000000a114084/frameset.htm
    Check out the information in folder collection processes

  • DP process implemented as process chain or jobs

    Hello sapiers:
    I would like to get some examples of how to define PC for DP process like CVC creation, Forecast calculation, snp release.
    I know these are new functionalities but dont know if incopatible with ver 3.5 (that I am using) or the difference (adv/disadv) to define them simply as jobs
    please if possible email me  to [email protected]
    tia
    KCA

    Hi,
    What is the scheduling option that you have selected in the start variant of your process chain? If the chain has been successfully scheduled then you can see that in t-code SM37 under your id, the job for process chain should show as scheduled. If you cannot see anything there then please maintain the start variant properly and rechedule the process chain.
    Regards,
    Arminder singh

  • Include Delete DM log files program in a BPC process chain

    Hi All,
    We are currently referring to a 'how-to' article which deletes the data manager log files stored at the backend. There is a custom program which does this job. This program can also be scheduled as a backend job to be run periodically as per the guide.
    Our requirement is bit different.
    What we need, is it possible to create a data manager package where this program can be run by the business user. We have tried creating a BPC process chain and included a BW process type 'ABAP Program' in it. In this we are calling the custom program and also used a variant based on which the program is expected to run.
    - Created a BPC process chain by including BPC process types 'Modify Dynamically' and at the end of the process chain 'BPC clear tables (with close_mode = 0)
    Is the above a workable solution? Though the package is successful from BPC excel, it is not doing the required job for us. How to make it work from a data manager package?
    Thanks

    Hi Ramya,
    if you want to see the result it should run first.
    after adding abap program to process chain, activate it.
    now right click on process chain start --> display variant --> change selection.
    check what is the start condition, if it is nto in immediate then comback
    click on edit --> change selection
    select immediate --> unchek the periodic values. and save. come back
    again click on save. come back.
    now schedule your process chain by clikc on clock symbol.
    after successfull completion of your process chain you can check in SE16
    Regards,
    Venkatesh

  • Decision type in process chain

    Hi
    I have added decision type in process chain with below formula.
    WORKINGDAY_MONTH( SYST-DATUM, 'US', '' ) <= 7
    now, i want to run this same process for last working day of the month as well,,
    How can i add that here.
    Please guide.
    Thanks
    Anuja

    Hello Anuja,
    You can try with below formula !
    DATE_MONTH( SYST-DATUM + 1 ) <> DATE_MONTH( SYST-DATUM )
    This will check  if today is the last day of current month, means this code will check if today's month is equal to tomorrow's month . If not then this is last working day of the month.
    And on every lst working day it will be successful.
    Secondly you can try writing the ABAP Code ( Customer Exit) for this.
    Hope this helps !
    Regards
    YN

  • Best practices to modify process chain

    Hi,
    What is the best practice to modify the  process chain whether in in the production or transport back to the dev.
    Does Query performing tuning setting should be done in production like read modes,cache settings.
    Thanks
    nikhil

    Hi Nikhil,
    The best practice to modify the process chains will be making the change in Development system and transporting to Quality and Production. But if you are making a simple change like changing the scheduling time ( change of scheduled date and time by editing the variant) you can do it directly in Production. But if you are adding new steps to process chain, it is better to make change in Dev and move it to Prod.
    Also once the change reach production you may need to open the chain in edit mode and activate it manually.
    It is a common issue for the process chains containing delta DTP, that the chain will be saved in modified (M)  version and not in active version by transports.
    The query read mode and cache settings, you can do it in Development and move it to production.
    But the pre-filling of cache using broadcaster settings can be done directly in production.
    Also creating of cube aggregates to improve query can be done directly in production rather than creating in development and transporting to Prod.
    Again, it depends on project, as in some projects they make changes directly in Prod, while in some projects changes in Prod are not allowed. I think it is better always start the changes in dev and move it to P.
    Hope it helps,
    Thanks,
    Vinod-

  • Eveny Based issue in Process Chain.

    Dear Bw Experts,
    In our Project we need to trigger the process chian based on Event. The parent chian is located at one server and dependent chain is located at another server.
    I created event and added to the parent process chain at end  and trying to give the same event in dependent process chian start variant . But it's giving an error message as this event does not exist.
    Please let me know how we could achieve this task. I want to trigger dependent process chian automatically after the completion of parent proceess chain.
    Thanks for your help.
    Regards,
    Nag

    Hi Nagarjuna,
    The event needs to be created in the target system i.e. server where the dependent chain is located.
    It can then be used in the start variant of that dependent chain.
    The parent chain in the source system should have the ABAP program at the end which would raise this event in target system. The ABAP program should have the FM 'BP_RAISE_EVENT' which will raise the event in target system using the parameters defined in the variant (event, target system etc).
    Hope this helps.
    Regards.
    Nikhil

  • Process Chain Maintenance

    Hi,
    I have a process chain for calculating the forecast.
    In my process chain, I have ensured that at a time only 4 jobs run.
    Last week, when I ran the process chain it had failed.
    When I look in the log of the jobs from process chain, it does not show any error.
    Also the status of job in SM37 is "Finished"
    If the job had failed it would have shown as "Cancelled".
    Also, when I look for these jobs in Process Chain, it is shown as failed, but in logs it is shown as success.
    Has anyone come across such a situation?
    Also can share me some information on Process chains, where process chains has behaved differently from the expected?
    May be notes id or documents.
    Thanks,
    Vikas

    Vikas,
    we have this problem...long back i posted in this forum...one close answer is monitor RSPC seperately...u can not catch any abend in process chain through any ABAP program..
    regards
    umamahesh

Maybe you are looking for