Process Chain - confirmation code

Dear Experts,
Based on a generic extractor, we load data in a delta mode from the datasource to the corresponding infocube via RSPC.
Unfortunately, when running the process chain in batch mode, the first stage consisting in data load to the PSA fails.
Actually, within the monitor, it appears there is no confirmation code releasing the process and after a certain time, it stops in error. When setting it to green before time out, the process chain goes till the end. Could you pelase let me know how to automatically return a confirmation when the PSA load has been correctly done.
Kind Regards,
Ludovic

Hi,
Your query is not clear. Are you telling that even though the dataload to PSA is happening, it shows that the dataload is still active?
If thats the case, it appears that IDOCs are not properly flowing between the 2 systems.
Check in WE02 in source system to see if any RSRQST/ RSINFO/ RSSEND idoc is in yellow status. If it is, take it to BD87 and process it. If the idoc was RSRQST type, it would start dataloading after execution in BD87. If it was of other types, it would send the details back to BW/ BI system about the confirmation of dataloads.
If your query is about anything else, please give more details.

Similar Messages

  • Process chain return code 8 error.

    Hi Friends,
    one of my process chain local process chain is getting failed due to the following error message,After checking the local chain inside it is fine only problem is with this local content master data showing as red,How to turn it to green.
    job got cancelled due to the below error message.
    Chain 0TCT_MD_C_FULL_P01 Was Activated And Scheduled
    Cannot activate job BI_PROCESS_TRIGGER (return code 8)
    Process did not report an instance -> no log
    Job cancelled after system exception ERROR_MESSAGE
    Please guide me.
    Thanks,
    V.Singh.

    HI VRV,
    Step 1: Goto Display messages on right click of your Process chain
    Step 2: Goto "Chain" tab and copy "Variant" and "Instance"
    Step 3: Goto SE11 and Select table RSPCPROCESSLOG
    Step 4: Paste the "Variant" and "Instance" and execute it, and the value of the other fields are returned: LOG_ID, TYPE, BATCHDATE and BATCHTIME
    Step 5: Goto SE38 and enter RSPC_PROCESS_FINISH
    Step 6: Enter the values in the fields received from RSPCPROCESSLOG  table. Additionally, make the STATE as "G‟ -> Execute
    Then your Process Chain will turn to green and proceed further......
    Hope this helps........
    Regards,
    Suman

  • CORUPROC (Process chain for confirmation, collective background processing)

    Hello Guru,
    Can you please explain me the program CORUPROC (Process chain for confirmation, collective background processing) that can be use in SE38. and how it its important for CO16N (Reprocessing Incorrect Production Order)?
    CORUPROC is also the same as CO1P transaction code.
    Please explain the use of this program.
    Thanks
    Edited by: Ryan on Feb 3, 2009 7:55 AM

    Hi Carina,
    It might take some time for the attribute change run.
    what you can do is right click on th running process , go to display messages and check if every thing is fine.
    also goto batch monitor from there and see if the job is still running.
    alternatively, if you are not sure if the job got strucked up, kill the job from batch monitor and run the attribute change run manually.
    you got two options two do now.
    1)Wait for some time for the process to complete and check the messages.
    2)kill the job and run att change run manually.
    i suggest you to go for option 1 and if it is taking too long ar there is any error message, analyze and then go for option 2
    hope this helps.
    cheers,
    Srinath.
    Edited by: Srinath Singamsetti on Aug 4, 2009 5:44 AM

  • 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.

  • Triggering Process chains through abap code

    Hi Experts,
    Can you please let me know if it is possible to trigger a BW Process chain using an abap code.
    If yes , kindly let me know the sample code.
    Help done would be appreciated.
    Regards,
    Uday

    Hi Thanks for your reply.
    When I am trying to execute process chain with variant as a APD ( In this APD data is getting loaded form one Query to Transactional ODS.) This process chain being executing through one ABAP program using the following code
    CALL FUNCTION 'RSPC_API_CHAIN_SCHEDULE'
    EXPORTING
    I_CHAIN = 'XYZ'. ( Dummy Process chain name)
    While executing this program I am getting following message :
    You can specify the name of the application server here
    on which all jobs in the chain are scheduled
    If you do not specify a name, the jobs from batch
    management are divided between the available servers
    How to avoid this message.
    Can we write any code in the above program to assign any fixed server name so that it will not ask for any server name.
    Your help is much appreciated.

  • Use ABAP code in "Decision Between Multiple Alernativesu201D in process chain

    Hi, does anybody know if it is possible to include ABAP code in formula definition when using u201CDecision Between Multiple Alernativesu201D in process chain.
    I wanted to read a specific parameter from one table in order to choose the next step in the process chain.
    If it is not possible, do you any workaround?
    Best regards,
    João Arvanas

    Hey.  You could create your own custom formula which you would code.  Then that formula is reuseable in the formula builder.  That should get you where you need to be.
    Here is a document on how to implement the custom formulas:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f095592f-42f7-2a10-6ab1-c836a559b48f?quicklink=index&overridelayout=true
    Hope this helps.
    Thanks

  • ABAP code to trigger Process Chain (Weekdays)

    Dear experts,
    I have a process chain which is triggered after an event in BW which is executed after a job in R3 is finished. This job in R3 is executed all days after another event.
    I would like this process chain to be executed only from Monday to Friday. What ABAP code should I write in the function module which triggers the BW event in order to execute it only the days I really need to?
    Thanks in advance for your help!
    Best regards,
    Cecilia

    Hello Surendra,
    Thakns as well for your help, but my problem is that I don't know any ABAP. With help of SDN posts I've been able to create the program in R3 which calls a FM in BW. My issue now is that I need the exact code which triggers my function module only from Moday to Friday......
    The FM I have created in BW which triggers the event is the following (here I suppose I will need a code which says something like, if today is Monday to Friday trigger the event, if not, do not do anything):
    FUNCTION Z_BW_EVENT_RAISE_PEDIDOS.
    ""Interfase local
    *"  IMPORTING
    *"     VALUE(EVENTID) LIKE  TBTCO-EVENTID
    *"  EXPORTING
    *"     VALUE(RESULT) TYPE  CHAR2
    *"  EXCEPTIONS
    *"      BAD_EVENTID
    *"      EVENTID_DOES_NOT_EXIST
    *"      EVENTID_MISSING
    *"      RAISE_FAILED
    *"      OTHERS
    *data: eventid LIKE TBTCO-EVENTID.
    *data: RESULT    type CHAR2.
    call function 'BP_EVENT_RAISE'
    EXPORTING
    eventid = eventid
    EXCEPTIONS
    bad_eventid = 1
    eventid_does_not_exist = 2
    eventid_missing = 3
    raise_failed = 4
    others = 5.
    if sy-subrc eq 0.
    result = 'OK'.
    endif.
    ENDFUNCTION.
    *& Title: Raise Event for BW                                           *
    Best regards,
    Cecilia

  • Trigger Process chain using ABAP code

    Hi All,
    As per my knowledge there are 2 ways to trigger a process chain using ABAP code :
    1) Using FM ‘RSPC_API_CHAIN_START’ and passing process chain name as the parameter
    2)Using FM 'BP_EVENT_RAISE' and passing process event as the parameter, which you can create using SM62 transaction.
    I would like to know which one is better to use, in terms of advantage and disadvantage.
    Thanks,
    Praveena

    Hi praveena,
    check these links ..u .may get some help
    Process Chain
    Process Chain
    How to run a Process Chain
    Process chain-parallel process
    Regards
    BILL

  • Code to fail a Process Chain

    Hello everybody,
    I am using a ABAP Program in a Process Chain ( Chain of Processes that load data to the BW Cube). I do some check in the Program. If the check is OK, then I will continue with the Process Chain. If the Check Fails, then I should fail the Process Chain.
    How do I accomplish this? If you can give me Piece of code, that will be very helpful.
    Thanks in advance.
    Shameem

    Hi Shameem,
    Plss Set the value of the sy-subrc to a non zero value so that the ABAP program step in Process Chain turns RED and Hence the Process Chain will stop.
    Shreya

  • Transacton codes for production support and process chain

    hi guys,
    please any one tell me the Transacton codes for production support and process chain

    For event creation - SM64
    For Job - SM36 to Define . However for process chains you can define job in Start Process maintenance itself.
    Regards.
    Sanjay

  • ABAP Code not getting executed through process chain

    Hi Friends,
      I have program which when executed with respective varient Popup system message (SM02 Messages).  This program work fine when executed in forground or in background.
       However same program when i added in process chain with respective varient. The output is not genertaed as expected (i.e the program is not populating SM02 message)
      The process chain work's fine without giving any error.
    Does any setting we need to do ???
    i have followed the procedure given in "How to…
    Integrate an ABAP program in a process chain" document from OSS.
    Regards,
    Jayant.

    Hi,
    you will not see in the log of the process chain if your program failed or not. You only receive a message that the programm has been triggered successfully.
    Your program is then started in a new background process with a new log - try to find it via the job overview (transaction SM37) via date and time selection. (Of course you can only find there what your program writes to the log).
    Another idea would be to check the profile of user ALEREMOTE (Transaction SU01 or SU01D) if there is an authorization for transaction SM02.
    Stephan

  • BW - Process Chain for Service Orders and Confirmations

    Hi,
    I need advice on the creation of my process chain and basically I'm still new in this BW technical area.
    I have done on the infopackage (full update) , DTP from PSA (delta once update) and DTP from ODS (delta update). My datasource is 0CRM_SRV_PROCESS_H and my ODS is ZSOL_O01. while my cube is ZSOL_C01.
    my plan for the step of the process chain is as below. this is based on my understanding after doing 'try and error' things using the update mode for infopackage and DTP.
    1. delete the old PSA/datasource - the infopackage is run in full update
    2. delete the old ODS - after afew loading, seems there are afew ODS request created with same number of record and data. that's why i plan to delete the old ODS
    3. run the infopackage - new PSA request will be created
    4. run the DTP (PSA to ODS) - new ODS request will be created based on the new PSA request
    5. run the DTP (ODS to Cube) - new cube request will be created based on the new ODS request
    izzit ok with my above step? i'm not sure on the deletion of cube index. izzit needed?
    thanks

    i need advice on below things since this is my 1st BW task..
    1. transport list - how do i group all the objects into this transport list? if the object is attach to other TR, how do i trace it and put into my transport list? should I group all the objects into 1 TR or is there any sequence should i follow? maybe characteristic/key figures 1st or DTP first...
    i'll tel you the most easy way to collect transport that you will never have issues
    go to RSA1--> transport conenctions
    when you get your item on on left ,you have to set up few things.. on the right there is a display mode ,, do the drop down on it and do it a list and do cloeection mode manually.
    you wil always get alist of items under or over then way you can pick waht you want to transport very easily withouth missing objects or figuring out what did you miss
    and you can collect all in 1, Bw is smart enough to transport and activate dependences on its way as long they are in 1 transport
    2. currently my source data is from my solution manager (SOLMAN) development server. should i create 1 more infopackage for SOLMAN testing server? how about production? is that means, at the end i will have 3 different infopackage for dev, testing and prod?
    once you transport infopackages they autmatically gets assigned to the new system.
    3. is there any step i left or missed?
    not that i can think off. if any transports are locked go to se03 and unlock your transport , make sure you unlock any underlying transports, youc an find the transports in se09 or se10

  • Process chain too slow in source system .

    Good morning
    during a process chain from BW 3.0B to a source system R3 46C i've seen that sometimes it goes very slow also with few data to load.
    Here is the log of a BIREQU_* in R3 system:
    29.10.2008 03:07:29 Job started                                                                        
    29.10.2008 03:07:29 Step 001 started (program SBIE0001, variant &0000000370248, user name ALEDABWP)    
    29.10.2008 03:07:30 Asynchronous sending of InfoIDOCs 2 in task 0001 (0 parallel tasks)                
    29.10.2008 03:07:30 DATASOURCE = ZYIFB_STATO_RICHIESTE_URGENTI                                         
    29.10.2008 03:07:30 *************************************************************************          
    29.10.2008 03:07:30 *           Current values of selected profile parameter                *          
    29.10.2008 03:07:30 *************************************************************************          
    29.10.2008 03:07:30 * abap/heap_area_nondia......... 2000000000                              *         
    29.10.2008 03:07:30 * abap/heap_area_total.......... 2000000000                              *         
    29.10.2008 03:07:30 * abap/heaplimit................ 100663296                               *         
    29.10.2008 03:07:30 * zcsa/installed_languages...... DEI                                     *         
    29.10.2008 03:07:30 * zcsa/system_language.......... I                                       *         
    29.10.2008 03:07:30 * ztta/max_memreq_MB............ 256                                     *         
    29.10.2008 03:07:30 * ztta/roll_area................ 6500000                                 *         
    29.10.2008 03:07:30 * ztta/roll_extension........... 3000000000                              *         
    29.10.2008 03:07:30 *************************************************************************          
    *29.10.2008 03:07:30 1 LUWs confirmed and 1 LUWs to be eletedwithFBSC2QOUT_CONFIRM_DATA*_           
    *29.10.2008 07:20:00 Call up of customer enhancement BWBTE_CALL_BW204010_E (BTE) with 4.330 records*_    
    29.10.2008 07:20:00 Result of customer enhancement: 4.330 records                                      
    29.10.2008 07:20:00 Call up of customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 4.330 records        
    29.10.2008 07:20:00 Result of customer enhancement: 4.330 records                                      
    29.10.2008 07:20:01 Asynchronous sending of data package 1 in task 0002 (1 parallel tasks)             
    29.10.2008 07:20:01 IDOC: InfoIDOC 2, IDOC no. 270934742, duration 00:00:00                            
    29.10.2008 07:20:01 IDOC: Begin 29.10.2008 03:07:30, end 29.10.2008 03:07:30                           
    29.10.2008 07:20:02 Through selection conditions, 0 records filtered out in total                      
    29.10.2008 07:20:02 Asynchronous sending of InfoIDOCs 3 in task 0003 (1 parallel tasks)                
    29.10.2008 07:20:02 IDOC: InfoIDOC 3, IDOC no. 271010440, duration 00:00:00                            
    29.10.2008 07:20:02 IDOC: Begin 29.10.2008 07:20:02, end 29.10.2008 07:20:02                           
    29.10.2008 07:20:07 tRFC: Data package 1, TID = C0A800031827490800917395, duration 00:00:06, ARFCSTATE =
    29.10.2008 07:20:07 tRFC: Begin 29.10.2008 07:20:01, end 29.10.2008 07:20:07                           
    29.10.2008 07:20:07 Synchronous sending of InfoIDOCs 4 (0 parallel tasks)                              
    29.10.2008 07:20:07 IDOC: InfoIDOC 4, IDOC no. 271010441, duration 00:00:00                            
    The strange thing is the time gap form 3 to 7:20. what could be the problem?
    Thanks
    Nick
    Edited by: Nicola Blasi on Oct 29, 2008 11:28 AM

    Hi,
    Check any exits are there in DataSource and where the data is picking whether the code is working fine or not.
    Thanks
    Reddy

  • Process chains time outs and hangs with no error msg - in SP13

    Hi all,
    We are having all kind of weird problems after we patched our system with SP13. Our process chain time outs and hangs, but surprisingly we never get any error msg. And scarier part is, the problem seems to be intermittent. PC runs fine on some days and hangs on some.
    Further analysis into the dump – as below
    Termination occurred in the ABAP program "SAPLRSSM" -
    in "RSSM_SLEEP_DEBUG".
    The main program was "SAPMSSY1 ".
    In the source code the termination point is in (Include) program "LRSSMU39".
    This refers to an issue that appears to have been addressed by OSS Note
    934648(meant for SP8). This notes also indicates to populate RSADMIN table to
    exclude "RSSM_SLEEP_DEBUG". Not sure if this note is valid for SP13? However we went ahead and populated the RSADMIN table.
    So now we have no clue what’s going on and where to fix the issue.
    As per SAP suggestion we applied the following notes:
    0000653996  Analyzing lock situations
    0000893563  Correction: Deadlock on completion of a remote chain
    0000994007  Corrections: Deadlock with external status query
    0001005481  Correction: Process successful, but there is no instance
    0001047174  Correction: Incorrect scope when locking in process chains
    0001051957  Correction: TIME_OUT during dialog confirmation of processes
    0001083660  Report for error stack analysis
    Nothing seems to help us. And SAP suggested a few options, which we implemented to no rescue.
    I’m sure that many of the customers have applied SP13, and want some feedback from them, if this is happening in their systems too?
    If so, how did you fix this issue?
    Or this situation is unique to us?Please note that no settings were changed as of SP13 to that of what they were in SP12(unless it is a side effect of the patch itself). Everything worked fine with SP12 and is still working on the BIP system. All the problems are in BIQ patched to SP13.
    Any pointers or insight would be appreciated. We have a customer msg open with SAP, and going back and forth, but nothing seemed to work as of today.
    Thanks,
    Voodi

    Not sure which OSS helped us get past the issue, as SAP asked us to apply a ton of notes. But along which the notes, SAP has some suggestions for us, which we think did the magic. After the implementation of the suggestin we never faced the same issue again. The suggestion by SAP:
    move the process chain callback in a batch job by executing
    program RSSM_TRACE_SWITCH and selecting the flag "verifcation
    of asynchronous processes - execute in batch".
    Lemme know if this doesnt fix the issue, I can give all the notes that SAP asked us to apply.
    Message was edited by:
            voodi

  • Calling Process Chain after a program

    I have written a trigger program to spool RSA7 in BW
    every 1 minute to check if a datasource has come to the queue and if so check if it has got data. Once I confirm that there is data I want to EXECUTE a process chain.
    Is there a program/function module to execute a process chain in background within BW? Pls help..
    Suja

    Hi Suja,
             You can write a code to trigger a event in your program once the check is done and then give this event in the start condition for the process chain. I think you can trigger a event using call transqaction statement in ABAP. Transaction to trigger a event is SM64. Hope this helps.
    Regards,
    Shilpa

Maybe you are looking for