Trigger Process Chain from Source System into Target System

Hello...actually in source system BZD, we have a process chain, in the target system BWD, we have another process chain as well. We want to have a process of combining these two process chain together. When the process chain in source system is completed successfully, the system will sent out some sort of signal to start the process chain in BWD. I am not sure how this can be done, I try to use the function module "BP_EVENT_RAISE" in the BZD and when this module is called, it does not start the process chain in BWD after the process chain in BZD is completed. I just wondering am I using the correct method. If will be good if anyone here can help...thanks alot.

>
FluffyToffee wrote:
> Hello...actually in source system BZD, we have a process chain, in the target system BWD, we have another process chain as well. We want to have a process of combining these two process chain together. When the process chain in source system is completed successfully, the system will sent out some sort of signal to start the process chain in BWD. I am not sure how this can be done, I try to use the function module "BP_EVENT_RAISE" in the BZD and when this module is called, it does not start the process chain in BWD after the process chain in BZD is completed. I just wondering am I using the correct method. If will be good if anyone here can help...thanks alot.
Hi Fluffy,
Check RFC connection between the two sysems.
Try using remote process chain process type in the process chain. the fllowing link may help you.
http://help.sap.com/saphelp_nw70/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
Regards,
sunmit.

Similar Messages

  • Trigger process chains from UNIX

    Hi,
    I just wanted to know how can we trigger Process chains from UNIX Server.
    Any pointers will be appreciated.
    Thanks

    I suggest to use the sapevt.exe.
    With it you can trigger an event in the SAP system with the execution of a simple command file (.bat for ex.)
    So the event will start the chain as you require.
    You can find more info for sapevt in:
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm
    Regards,
    Sregio
    Did you try that?
    Message was edited by: Sergio Locatelli

  • Process chain - Two source system issue

    Hi Experts,
    I face problem when i transport a process chain from BW DEV to Quality.
    I have two source systems in Quality ECI and EXS.EXS is a sandbox server(Source system) which we no longer use.
    When i transport the process chain from DEV to QA, i get two DTP's automatically added to Process chain in quality for two source systems ECI and EXS whereas i do not want the data to be loaded from EXS client.
    I checked the BW dev system, it has only one DTP in the process chain.
    Now I want to elminate the other DTP in the process chain in quality.
    Please suggest.
    Regards,
    Srini

    I Dont think so a DTP for EXS system has got created automatically when you transport the PC to QA (which actually doesn't exist in DEV).
    Please check you DEV system once again, there might a DTP from EXS system also.. other wise go the Release TR and then check the contents-->iif you find two DTP's there then it is there in the dev system..
    Any ways if you want to delete the other DTP from the PC in QA.. you can Delete it directly from the PC itself.. Goto change mode of the PC and then select the DTP which you want to delete-->then right click and hten Click on Remove Process -->then activate the PC..
    Note: You might have authorization to edit the PC in QA then only you will be able to do the changes..

  • Trigger process chain using event

    Hi all,
    I’d like to know if someone ever faced this kind of situation.
    I have a process in R/3 and it must run every day, and when it’s finished I have to start a process chain in BW.
    I thought to do this using events. So, I created a Job that executes this process and added a step( an ABAP program ) that generates an event in a target system, BW.
    The program is this one:
    PARAMETERS:
        p_eventi   TYPE btceventid,
        p_eventp   TYPE btcevtparm,
        p_server   TYPE btcserver.
    Obligatory parameter: EventID.
    EventID should be an existing event already defined in transaction
    SM64 or using CREATE method of class CL_BATCH_EVENT:
    p_eventi   = 'SAP_TEST'.
    Optional parameters: event parameter and target server.
    p_eventp = 'Event parameter'.
    p_server    = ''.
      CALL METHOD cl_batch_event=>raise
        EXPORTING
          i_eventparm                    = p_eventp
          i_server                       = p_server
          i_eventid                      = p_eventi
        EXCEPTIONS
          excpt_raise_failed             = 1
          excpt_server_accepts_no_events = 2
          excpt_raise_forbidden          = 3
          excpt_unknown_event            = 4
          excpt_no_authority             = 5
          OTHERS                         = 6.
      CASE sy-subrc.
        WHEN 0.
          EXIT.
        WHEN 1 OR 2 OR 3.
    Raise failed.
        WHEN 4.
    Event does not exist.
        WHEN OTHERS.
    Raised failed due to unknown reason.
      ENDCASE.
    The execution of the job appears to be OK, but I checked the log at SM62 and couldn’t find any entrie, and the process chain didn’t start too.
    I created the event at BW and R/3 side,  informed the variant with event / server in R/3, etc.
    I’m missing some step??
    Best Regards,
    Tomas

    This is what this note does.  From R/3, it will trigger an event in BW.
    You can also read this post:
    Triggering a Process Chain From R/3 pgm
    Hope this helps.

  • PI Interface Posting Files - Trigger Process Chain Issue

    Dear Reader,
    Situation -
    We get multiple flat files from source system via PI interface. To process this in BW 7.0 side we have created the web service interface. In the function module we have written a code to trigger process chain, once a data is posted.
    Issue -
    As there are multiple files being posted, the PC runs on completion of the every single post, which is not desired. We need to run the process chain only once at the end of all the files being posted.
    Notes -
    1. Number of files keep varying.
    2. Clubbing all the files in a single file and then posting it would cause performance issues.
    Request your help in find a way like -
    1. A file being posted of name, say 'START PC', which can be trapped in the funciton module and controll the PC call.
    2. <any Other idea>
    regards,
    vinay gupta

    Hi Dhanya,
    This is the code i have in the ABAP program in the process chain. I just included the API_SEMBPS_POST part, but still it doesn't work. Please give me your email address so that i can send some screenshots.
    REPORT  ZHTEST.
    DATA: l_subrc TYPE sy-subrc.
    DATA: ls_return TYPE bapiret2.
    CALL FUNCTION 'API_SEMBPS_POST'
    IMPORTING
       E_SUBRC         = l_subrc
       ES_RETURN       = ls_return.
    CALL FUNCTION 'RSAPO_CLOSE_TRANS_REQUEST'
      EXPORTING
        I_INFOCUBE               = 'ZMAP_TAB'
    EXCEPTIONS
      ILLEGAL_INPUT            = 1
      REQUEST_NOT_CLOSED       = 2
      INHERITED_ERROR          = 3
      OTHERS                   = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Process chains for loading data to target is not functioning

    Hi SAPians,
    Recently, we have upgraded the firmware on IBM P590 with the help of IBM on Saturday i.e. 06/12/2008 (The firmware of P5-590 was SF235_209. It was upgraded to SF240_XXX) and since then the process chains for loading data to targets are not functioning properly.  We have stopped all the SAP services, database services & OS services from our end and services have been rebooted after firmware upgrade.
    However, the problem with the process chains that load transaction data and hierarchies is solved but the chains that load master data are still not working as scheduled.
    We tried to load the master data manually, by running DTP to load data to an object analysis code (attributes) the request remained YELLOW. After refreshing it several times, the request turned into RED. The error message was - PROCESSING TERMINATED (screenshot 1 attached).
    To mitigate this we tried deleting the bad request and it prompted with the below message:
    "Cannot lock request DTPR_4C37TCZGDUDX1PXL38LVD9CLJ of table ZANLYSIS for deletion (Message no. RSMPC178)" (screenshot 2 attached)
    Please advise us how the bad request should be deleted?
    Regards,
    Soujanya

    Hi Sowjanya,
    Follow the below procedure to make yellow request to RED:
    Use SE37, to execute the function module RSBM_GUI_CHANGE_USTATE
    From the next screen, for I_REQUID enter that request ID and execute.
    From the next screen, select 'Status Erroneous' radiobutton and continue.
    This Function Module, change the status of request from Green / Yellow to RED.
    Once it is RED, you can manually delete that request...
    Releasing LocK
    Gott Transaction Code SM12 and release the lock.
    Hope It helps you.
    Regardss,
    Nagaraju.V

  • Delta and Full process chain for same master data target.

    Hi  Friends,
    Can I do full update and delta update through process chain for same master data target and from same source ?
    Regards
    shekar reddy

    Hi Sriram,
    why you want to load full and delta for same master data object?
    you can achieve this but make sure that you select repair full option for full load IP.
    you have this option in scheduler in menu bar
    Regards,
    Venkatesh

  • Trigger process chain in ABAP program

    Hi Experts,
    We have a requirement to trigger the process chain from an ABAP program. I used the function module RSPC_API_CHAIN_START to trigger the process by passing the process chain name in 'I_CHAIN' and it worked. However, the client wants to trigger this using batch user name as few planners do not have authorization when they executed the custom transaction.
    Based on the return code of the function module I am capturing the status for tracking.
    Please suggest if there is any alternate solution to pass the user name while triggering a process chain in an abap program.
    Thanks and Regards,
    Pavithra

    hi Chintai,
    in bw side, you create a abap program to trigger an event in r/3,
    and include this abap program in your process chain, the abap program like
    CALL FUNCTION 'BP_EVENT_RAISE'
    EXPORTING
    eventid = 'ZRUNJOB_DEL'
    and in r/3 schedule the program to delete previous data with 'after event',
    the event name is same as raise by bw process chain, in this sample ZRUNJOB_DEL.
    hope this helps.

  • Trigger Process Chain Via R/3

    Hi All
    I need to trigger a process chain in BW using a RFC program or FM from R/3, as we have a situation where once R/3 jobs are completed the RFC program should trigger the start variant of the process chain.
    Please provide a sample code if you have.
    Any kind of ideas are appreciated.
    Thanks
    Chris

    Hi Chris,
    check out this link
    Triggering a Process Chain From R/3 pgm and
    Triggering Process chain from r/3
    Hope this helps
    Janardhan KUmar
    Message was edited by: Janardhan
            Janardhan Karmala

  • Restarting Process chain from the middle

    Hi all, I have a question about process chain in BW7.0.
    When the error has occured in the process chain, is there any way to restart the process chain from where the error has occured?
    One of the way I came up with was to set the process type into Repairable from Repeatable,but when I try to change the status,the warning message shows up and I can't change it.
    Is this the right idea,or is there any other way to do it?
    Can any one tell me?
    Thanks in Advance,
    Hiroshi Iwanaga

    First of all, find out the rootcause of the failure of the process step that failed and finish it manually. Then, go to the process chain...
    Open the messages of a failed step by right clicking on it and selecting 'display messages'.
    In the opened popup click on the tab 'Chain'.
    In a parallel session goto transaction se16 for table rspcprocesslog and display the entries with the following selections:
    1. copy the variant from the popup to the variante of table rspcprocesslog
    2. copy the instance from the popup to the instance of table rspcprocesslog
    3. copy the start date from the popup to the batchdate of table rspcprocesslog
    Press F8 to display the entries of table rspcprocesslog.
    Now open another session and goto transaction se37. Enter RSPC_PROCESS_FINISH as the name of the function module and run the fm in test mode.
    Now copy the entries of table rspcprocesslog to the input parameters of the function module like described as follows:
    1. rspcprocesslog-log_id -> i_logid
    2. rspcprocesslog-type -> i_type
    3. rspcprocesslog-variante -> i_variant
    4. rspcprocesslog-instance -> i_instance
    5. enter 'G' for parameter i_state (sets the status to green).
    Now press F8 to run the fm.
    Now the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.
    Of course you can also set the state of a specific step in the chain to any other possible value like 'R' = ended with errors, 'F' = finished, 'X' = cancelled ....
    Check out the value help on field rspcprocesslog-state in transaction se16 for the possible values.
    Assigning points is the way of saying thanks in SDN.

  • Trigger Process chain at set time or when an event is raised.

    Hi All,
             I have a requirement where a process chain should get scheduled at fix time, say at 1:00 AM. Also, it should get scheduled when an event is raised by one BSP application. So, its like Set time OR Event should trigger the chain. Can you please guide, how can i implement this without using a special SM37 job?
    Thanks and Regards,
    Harpal

    Hi Gohil,
    The steps to create an event is as follows:
    1. Create the event with SM62.
    2. In the process chain, maintain your Start process. In the change selections screen, choose the button 'After event'. On the bottom, select your event. Click also on 'Periodic job'.
    3. Activate and schedule your process chain. It will then be visible in SM37, waiting for the event.
    4. Then you may raise this event from any ABAP program with function module BP_EVENT_RAISE. Each time you raise the event the process chain will start. You can raise the event also manually with SM64.
    If you want to fix a time i.e., at 1:00 A.M, you need to got RSPC tcode --> click on the chain --> right click on Start variant --> Click on maintain variant --> Change selections --> Click on Date/Time --> Give the date and time.
    If you want to ru7n your chain daily or weekly like periodically, check Periodic Job and click on "Period Values" and select accordingly. Now save everything and click on start variant and activate and schedule your chain.
    Also check below thread for more info on Event:
    Triggering a Process Chain From R/3 pgm
    Regards,
    KK.

  • SAP System copy without shutting down the source and the target system

    Hi,
    We need to need to System refresh without shutting down both the source and the target system, i read the docs from SAP looks like we need to shutdown the source system during export and import phase, is there any way to do the system refresh without shutting down the system.
    Sathish

    Hi,
    Think a little bit about what is a database and you'll get the answer that what you "need to need" is impossible.
    Of course it is possible to keep the source running (hopefully, because ususally it is the production system !) by using an online backup, but you need to stop the target system because you will restore a backup on it.
    If you use the export/import way, you have to stop both source and target system.
    Regards,
    Olivier

  • Planning a process chain from 2 to 15 every month

    Dear Gurus,
    I have created a process chain but I must plan it daily from day 2 to day 15 every month. If I check the period values to plan it I can just select: daily, weekly, monthly... but I need it to be daily but just those days.
    Can anybody help me with it?
    Many thanks!
    Regards,
    Jordi

    Hi,
    You can do it by using simple programs/events.
    See some usefull Blogs/Articles/Wiki in the following URL..
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Triggering  the Process Chains at Particular Date using Events
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/triggering%20%20the%20process%20chains%20at%20particular%20date%20using%20events.pdf
    BI-ABAP (Trigger Process Chains on evry month 3rd and 4th day).
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=81428842 
    How to trigger the Process Chains in BW from ECC
    /people/surendrakumarreddy.koduru/blog/2009/03/18/how-to-trigger-the-process-chains-in-bw-from-ecc
    Thanks
    Reddy

  • I want to kill a particular process chain from a meta chain..

    Hi All,
    I want to kill a particular process chain from a meta chain as, its having some technical issues.So what is the procedure.to handle this process..
    Thanks..

    follow these steps
    1.Go to the chain which you want to kill .
    2.Go in the log view->top menu bar execution tab.>Remove from schedule.
    you are done
    Another way (bit complex but will work )
    1.Go to the process chain running (which you want to kill) in the log view copy the logid (lef hand side of screen you can get that)
    2.Open a new session ,Go to se37 enter function module RSPC_PROCESS_FINISH -->execute it
    3.Now again go Log view of the process chain right click on the start variant>display messages>Chain tab
    copy the variant ,instance ,date time etc
    4.IN execution screen of RSPC_PROCESS_FINISH enter the variant,instance,data time,logid and Type=TRIGGER
    status = R.
    Actually you will see something like this in input screen
    I_LOGID -
    >from log view in RSPC
    I_CHAIN
    I_TYPE   -
    >TRIGGER for start variant
    I_VARIANT----
    >from log view in RSPC
    I_INSTANCE------>from log view in RSPC
    I_STATE     -
    >R
    I_EVENTNO                       00
    I_HOLD
    I_JOB_COUNT
    I_BATCHDATE   -
    >from log view in RSPC
    I_BATCHTIME                     00:00:00
    I_DUMP_AT_ERROR
    Thats all and your are done.
    But I would suggest Remove from Schedule will surely work....If you have any doubts let me know.
    Regards,
    Rocks

  • Is it possible to have duplicate columns from source List to target List while copying data items by Site Content and Structure Tool in SharePoint 2010

    Hi everyone,
    Recently ,I have one publishing site template that has a lot of sub sites which  contain a large amount of  content. 
    On root publishing site, I have created custom list including many custom fields 
    and saved it as  template  in order that 
    any sub sites will be able to reuse it later on .  My scenario describe as follows.
    I need to apply Site Content and Structure Tool to copy   a lot of items
     from  one list to another. Both lists were created from same template
    I  use Site Content and Structure Tool to copy data from source list 
    to target list  as figure below.
    Once copied  ,  all items are completed.
     But many columns in target list have been duplicated from source list such as  PublishDate ,NumOrder, Detail  as  
    figure below  .
    What is the huge impact from this duplication?
    User  can input data into this list successfully  
    but several values of some columns like  “Link column” 
    won't  display on “AllItems.aspx” page 
    .  despite that they show on edit item form page and view item form page.
    In addition ,user  can input data into this list  as above but 
    any newly added item  won't appear on 
    on “AllItems.aspx” page
    at all  despite that actually, these 
    item are existing on  database(I try querying by power shell).
    Please recommend how to resolve this column duplication problem.

    Hi,
    According to your description, my understanding is that it displayed many repeated columns after you copy items from one list to another list in Site Content and Structure Tool.
    I have tested in my environment and it worked fine. I created a listA and created several columns in it. Then I saved it as template and created a listB from this template. Then I copied items from listA to listB in Site Content and Structure Tool and it
    worked fine.
    Please create a new list and save it as template. Then create a list from this template and test whether this issue occurs.
    Please operate in other site collections and test whether this issue occurs.
    As a workaround, you could copy items from one list to another list by coding using SharePoint Object Model.
    More information about SharePoint Object Model:
    http://msdn.microsoft.com/en-us/library/ms473633.ASPX
    A demo about copying list items using SharePoint Object Model:
    http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-copy-list-items-in-a-generic-way/
    Best Regards,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • 3G not working in iPhone 5

    Dear, My iPhone 5 was not available these days after the 3G network,the ICON display 3G,but not working, Safari,App depend on network are all unavailable.i just try to switch on/off the 3G and Cellular buttons in Setting. after that it looks fine to

  • How to remove credit card details from my ipad 4

    how can i remove credit card details from my ipad 4

  • Is it possible to use parameter in a user query with subquery ?

    Hi , i need to use parameter ( [%0] ) in user query using a subquery , but i have errors message when i execute the query  example : SELECT T0.[DocNum] as docnum, T0.[DocTotal] as cde , 0 as fact FROM ORDR T0 WHERE T0.[CardCode]  =N'[%0]' union all S

  • You are not authorized to read entries in the cash journal

    Error while trying to access Cash journal " You are not authorized to read entries in the cash journal ".

  • Enable comments & markup

    Hello all, We create postscript files and then have the distiller convert the files to PDF. A user with adobe reader 9 is trying to use comments & markup to write his comments etc...  Just until recently when he upgraded to 9, he can't add comments a