Process chain on a particular day and multiple times

i have a requirement to run a process chain 2 times on saturday (one at 3pm and another at 8 pm) for a particular process chain only  !!
how do i do this ?? some one please help....

Here's one idea:
Create an ABAP program that calls the RSPC_API_CHAIN_START Function Module. In this program, create a selection screen that has the same selection criteria as this Function Module. When you have tested the program and ensures that it works properly, create a variant for that program, for the selection selection screen criteria, and save that. After you have transported the program and variant throughout your landscape, schedule two separate jobs in tcode SM36 of your production environment. One as a weekly periodic job that is scheduled to start on a Saturday @ 3:00 PM and another weekly periodic job that is scheduled to start on a Saturday @ 8:00 PM.

Similar Messages

  • Process chain failing on particular day

    Hi Experts,
    I am new to BW.I have an issue with one of the daily running process chain.
    It is a time based daily running process chain and usually completes in 10mins.It is running fine from monday to saturday but on every sunday this chain is getting failed at one of the Infopackage.
    And this infopackage is loading to the data target, which is a standard cube 0TCT_C01 and no other infopackge is loading to this target when this chain runs.So no conflicting issue araises.
    Upon analysis, this infopackage is getting failed with short dump issue on every sunday.On checking the dumps in T-code : ST22 , it shows the error " DBIF_RSQL_SQL_ERROR".
    Could anyone please suggest me, what all other things I need to check, to find and analyse the exact root cause of the failure on every sundays?
    Appreaciate the for your quick responses.

    Hello Cris,
    Normally the Error DBIF_RSQL_RSQL_Error  corresponds to the tablle deadlock related Error.
    It includes various reason like
    1. Some process is using the table and your  process tried to intervene
    2. Duplication of data in table where not allowed. etc etc
    Please closely observe the Dump, you will get the particular reason for that Error definitely.
    or please copy paste dump here we can analyze.
    Hope this helps !
    Regards
    YN

  • Run process chain on last three days of the month

    Hello
    I need to run process chain on last three days of the month. For example , It should run on 28, 29 and 30th dates of June.
    There is no option to put a code in the start process of the process chain.
    I can run it every day and put a code in the infopackage/DTP so that empty load (0 records) will be done on other days.
    This doesnt sound as a good option.
    Do u know any other options?

    Hi
    See the code and details how to do it, and change the code as per your requirement.
    http://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 
    Thanks
    Reddy

  • Reg:process chains could be started manually and automatically

    Hi
    Each process chain could be started manually and automatically
    >If i want to start the process chain manually, how should i start and what are the settings shall i mark
    >If i want to start the process chain automatically, is there any tool are there to start the process chain at that particular time
    Plz clarify my doughts it is use full too me
    Thanks & Regards
    manikanta

    Hello,
    PC can be started both manually and automatically.
    Every PC has a start variant, when you right click on the start variant and go in the edit option, select the option direct scheduling. Then in change selection, check the box immediate and keep the periodic job at the bottom unchecked.
    Hit the tick, save on the other screen. And when back on the PC screen, from the menu option select the schedule option.
    This will run the chain manually.
    To run it automatically, follow the same procedure but instead of using immediate choose, data and time, provide date and time when you want to run, you can check periodic option if you want the chain to run daily, weekly or monthly.
    Regards,
    Shashank

  • I imported a different catalog. It brought all images in but not in their folders and multiple times on many images. How do I undo?

    I imported a different catalog. It brought in all images but not in their folders and multiple times on many images. How do I undo?

    Restore your catalog from a backup of your catalog which was made before you did this.

  • Problem in process chain running for 3 days

    Hi Experts,
    Please help me
    We have process chain like below
    1.     delete index
    2.     full loads going 3 cubes (16 infopacs)
    3.     loading to ods and then update to cube
    4.     delete overlapping requests (16 infopac)
    5.     create index
    6.     aggregate filling
    7.     delete PSA
    Now the issue is, from last Saturday onwards
    Process chains was still in Yellow status till date, so now, 1,2,3,4, are still running
    In process chains, out if 16 infopacs, 12 are green, remaining 4 are stopped
    And in ODS activation of ods data variant shows yellow, but when checked the data is activated, but not pushed to cube. When checked log it show u201Csystem exception error_messageu201D, so process terminated.
    When we checked for shortdump,
    It says u201Clocal time on the application server is incorrectu201D
    Experts please let me know how to solve this and correct the load.

    Hi Experts,
    Thank u for your help,
    I have done the steps manually yestarday, checked todays, still it is in yellow status.
    let me explain the scenario,
    The data is going to 3 cubes,
    the process chain is designed like this,
    1. initially delete index
    2. full load to cube using 16 infopac and loading from (2)ODS to cube.
    3. delete overlapping requests
    4. create index (3 cubes)
    5. fill aggregates (only one cube)
    6. Delete PSA request
    so now , chain is having problem at
    1. data is loaded to ods
    2. data activation (showing yellow, but when checked data is activated)
    3. further update to cube  (2 cubes) in process chain this is not started atall ( so y'day I've done manually)
    4. out 16 infocpack, only 12 infopacs are green and remaining 4 are not started.
    so yestarday I've manually schedule remaining 4 infopacs.
    and deleted previour requests in infocube as they are full load, but I did'nt done create index and fill aggregate steps.
    now the problem is , out of 3 cube report available request is present for 2 cubes, but for 3 cube  this report request is not available, but QM status is green
    please let me know how to proceed.
    one small silly question, do i need to  fill aggregate step to get this report available request.....please suggest.
    Thanks & Regards,
    Raghu

  • Process chains problems : Working every day with error (red)

    Hi All,
    I have a next question, about process chains problem.
    When I start my process chains immediate, then working without errors,  but I want this process chains work every day and chainged properties, selected date/time and periodicaly (every day) but now it work with error.
    How to I find problems? What are yours offers?
    p.s. I see logs, but every day have diffence between errors.
    Regards,
    Mahir M. Quluzade

    HI,
    just check the time which you have given is OK or is overlappintg with some other job which is locking your table in process chain
    or is colliding with attribute change run
    or it fails because of lack of background processes.
    There could be numerious reasons and you need to analyze the log for this.
    But as you said the job is failing everday for different reasons..try to find the most common errors and try to remove it or mention that here.
    Thanks
    Ajeet

  • Process chain - schedule for certain days

    Hello all,
    How can I schedule a process chain that :
    -should run 3 times per day
    -between the 8th and the 12 workingday of a month
    Any sugesstions?
    Thank you.

    Maybe I cna help others with my solution.
    So...
    I made the chain to run 3 times per day as Debjani advidced me in this thread.
    I put 3 jobs, at the hours I wanted, the period daily, without weekends and holidays.
    I made a reports that tests the 18-th working day (for example) and some others:
    REPORT  Z_DAYS.
    TABLES : TFACS.
    DATA: GI_CURSOR TYPE CURSOR,
          GI_TABIX  TYPE SY-TABIX,
          GT_TFACS  TYPE TABLE OF TFACS.
    DATA: TEXT(50) TYPE C,
          LEN TYPE I,
          IND TYPE I,
          POS TYPE I,
          CNT_ONE TYPE I,
          CNT_ZERO TYPE I,
          DAY_VAR TYPE I,
          IND_VAR(3) TYPE C.
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
    FIELD-SYMBOLS:  <GT_TFACS> TYPE TFACS.
    DAY_VAR = SY-DATUM+6(2).
    OPEN CURSOR GI_CURSOR FOR
    *select data for factory calender Germany (01) and year 2009
    SELECT * FROM TFACS
      WHERE IDENT EQ '01' AND JAHR EQ SY-DATUM+0(4).
    IF SY-SUBRC NE 0.
      EXIT.
    ENDIF.
    MOVE 100 TO GI_TABIX.
    DO.
      FETCH NEXT CURSOR GI_CURSOR
       INTO TABLE GT_TFACS
       PACKAGE SIZE GI_TABIX.
      IF SY-SUBRC NE 0.
        EXIT.
      ENDIF.
    *loop on internal table
      LOOP AT GT_TFACS ASSIGNING <GT_TFACS>.
        TEXT = <GT_TFACS>-MON01.
        LEN = STRLEN( TEXT ).
        WRITE : 'len' , LEN.
        DO LEN TIMES.
          IND = SY-INDEX.
          POS = SY-TABIX.
          IND = IND - 1.
          IND_VAR = IND + 1.
          WRITE: / 'ind', IND_VAR.
          WRITE : 'pos'.
          WRITE POS.
          IF TEXT+IND(POS) = '1'.
    *number of working days increases with 1
            CNT_ONE  = CNT_ONE + 1.
            IF CNT_ONE EQ 8 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '8th working day'.
              EXIT.
            ELSEIF CNT_ONE EQ 9 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '9th working day'.
              EXIT.
            ELSEIF CNT_ONE EQ 10 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '10th working day'.
              EXIT.
            ELSEIF CNT_ONE EQ 11 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '11th working day'.
              EXIT.
            ELSEIF CNT_ONE EQ 17 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '17th working day' COLOR 5.
              EVENTID = 'ZE_PROD'.
              EVENTPARM = 'ZEP_PROD'.
              CALL FUNCTION 'RSSM_EVENT_RAISE'
                EXPORTING
                  I_EVENTID              = EVENTID
                  I_EVENTPARM            = EVENTPARM
                EXCEPTIONS
                  BAD_EVENTID            = 1
                  EVENTID_DOES_NOT_EXIST = 2
                  EVENTID_MISSING        = 3
                  RAISE_FAILED           = 4
                  OTHERS                 = 5.
             IF NOT SY-SUBRC IS INITIAL.
               WRITE:/ 'EVENT DID NOT START'.
             ENDIF.
              EXIT.
            ELSEIF CNT_ONE EQ 18 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '18th working day' COLOR 5.
              EVENTID = 'ZE_PROD'.
              EVENTPARM = 'ZEP_PROD'.
              CALL FUNCTION 'RSSM_EVENT_RAISE'
                EXPORTING
                  I_EVENTID              = EVENTID
                  I_EVENTPARM            = EVENTPARM
                EXCEPTIONS
                  BAD_EVENTID            = 1
                  EVENTID_DOES_NOT_EXIST = 2
                  EVENTID_MISSING        = 3
                  RAISE_FAILED           = 4
                  OTHERS                 = 5.
             IF NOT SY-SUBRC IS INITIAL.
               WRITE:/ 'EVENT DID NOT START'.
             ENDIF.
              EXIT.
            ENDIF.
          ELSEIF TEXT+IND(POS) = '0'.
    *number of holidays days increases with 1
            CNT_ZERO = CNT_ZERO + 1.
          ENDIF.
        ENDDO.
        WRITE : /.
        WRITE: 'January :' COLOR 1, <GT_TFACS>-MON01.
      ENDLOOP.
      REFRESH GT_TFACS.
    ENDDO.
    WRITE / .
    WRITE ' The number of working days is :'.
    WRITE CNT_ONE COLOR 5.
    WRITE / .
    WRITE ' The number of holiday days is :'.
    WRITE CNT_ZERO COLOR 7.
    WRITE : /  DAY_VAR.
    CLOSE CURSOR GI_CURSOR.
    When I am in the 18-th day, I raise an event. I test the year,the calender of the system and the month (January).
    This report is called in the chain, as ABAP process.
    Then, in my chain , I put a local chain , that starts after it receives the event 'ZE_PROD' and the parameter for it 'ZE_PROD'.
    This event with parameter has to be created in SM62.
    I hope this helps and thank you all for the advices.
    PS: - the factory calender method seems not to be to good, because need special rights to create it and I don' t think it's possible to customize it (because the holiday calender has to be changed and I did not see how).
    Edited by: EMI on Jan 27, 2009 4:21 PM

  • Process Chain - Decision Step - 1st Day of Month

    Hi All,
    I have a process chain decision that detemines if it is 1st of Month,
    1st Line
    Command -> IF
    Formula -> WORKINGDAY_MONTH( Current Date, 'IE', '' ) = 1
    then
    Event - > Option 1
    2nd Line
    Command -> Else IF
    Formula -> WORKINGDAY_MONTH( Current Date, 'IE', '' ) <>1
    then
    Event -> Option 2
    3rd Line
    Command -> Else
    then
    Error.
    However, this month it has failed to work correctly.  It was sucessful on 1st Jan, but it is also triggering Option 1 on 2nd, 3rd & 4th Jan.  Can you help me to understand why it is doing this?
    Thanking you,
    Michelle

    Thank you Npathak,
    The process chains should run everyday therefore I don't understand how this would affect the process chain.
    This is just a decision step at the end of the Daily Meta Chain, where if it is the 1st of the Month, it will continue and process a DTP for Stock Balances.  The problem I have is that for the last 3 days, it has continued to process final step eventhough it is not 1st of Month.
    For info; When I check the decision logic in the variant, I can see that the date that is being used in syst-datum.
    Have you any other ideas?
    Thank you,
    Michelle

  • Creation of Multiple Activities for same Employee,same day and same time

    Hi Experts,
    In CRM 2007 I am creating an Activity(e.g Customer Visit) for a particular day for a particular employee. I am selecting the Option "Whole Day".
    When again I am creating another Activity same day and for same employee the ideally system should not allow me to create further activities as I have already scheduled for the whole day but its is allowing me to create as many activities i want irrespective of Time frame.
    I want to block overlappped activities created for  same emloyee same time.
    Can you please suggest me with your ideas inorder to achieve same???
    Regards
    Arup

    Hello,
    If there is no standard solution you can implement the BADI : CRM_ORDERADM_H_BADI
    Here you can see when a new activity is created, and then maybe you can cancel the creation or even replace the new activity by the existing one.
    Regards,
    Benoî

  • Process chain for a particular selection profile

    Hi, How can I create a process chain in DP to run only for selected selection profiles?

    Hi Gurucharan
    If you want DP back gorund jobs in the process chain, you will select the DP background processing step under demand planning. However the system will ask you to create a job and an activity so that you can attach the same to the process varaint while adding the step in the process chain.
    While creating the job, you can select the selection profile and the aggregation level at which you want to run the job.
    It is here that you can that you restrict your step to be executed only to your selection profile.
    For creating the selection profile, you can either create the same in //MC77 or use the selection ids that you create the in the DP planning books.
    Let me know if this helps.
    Rgds, Sandeep

  • Process Chains - Like to see elements and affected info providers

    Hi,
    I am wondering if there is any possibility to get an overview of all active process chains with their process elements/steps and the affected objects within these steps/process chains (like infocubes, ODS etc.). In principle it's a process chain detailed view (like in RSPC chart) but not as a chart and not for one PC only but in a list for all PCs. So far I took a look into various tables like RSPCCHAIN (master table for process chains), RSPCVARIANT (attributes for certain process step types of a process chain), and RSPCVARIANTATTR (certain process types) but want to avoid any further effort to combine all these in Excel if there is an easier way to get that information.
    Background of my query is that we have a certain set of high-priority process chains and I need to know all involved info providers (Info Cubes, ODS, PSA etc.) to give the Operations guy a heads-up whenever something is not fine with these providers. So having a query where I can input the set of PCs would be great.
    Any feedback is highly appreciated.
    Regards,
    Oliver.
    P.S.: An overview of tables where this information resides (between RSPCCHAIN, RSPCVARIANT, and RSPCVARIANTATTR) would also be helpful.
    Edited by: Oliver Baer on Feb 25, 2009 9:33 AM

    Thanks for your replies. Transactions RCPCM and RZ20 are pretty helpful for monitoring purposes.
    Anyway, for my described purpose I have designed a query with the QuickViewer (SQVI) joining tables RSPCCHAIN (Process Chains), RSPCCHAINT (PC description), and RSPCVARIANT (attributes for the steps within a PC). When I filter for field RSPCVARIANT-FNAM = "DTA-CUBE" OR "DTA-ODSO" I get all Cubes and ODS for a given process chain (RSPCVARIANT-LOW). Only drawback so far is that I don't get the explosion of meta chains and have to select each of the included chains separately but that's feasible as we don't have many nested chains.
    Regards,
    Oliver.
    Edited by: Oliver B. on Feb 27, 2009 8:53 AM

  • Process chain failing past 3 days

    Hi,
    Process chain is failing since 3 days which suppose run 6 PM everyday, If i run manually it is working fine, again it is failing at schedule time 6 PM.
    In Canceled job log giving the following information. NO_MORE_SPACE: can not crate MTE: No more space: no more MESSAGE_CONTAINER slots available.Process chain variant XXXX not having scheduled variant for the event RSPROCSS.
    Please advice me to over come this issue.
    Regards,
    B J

    HI JB,
    Check in DB02 is there enough space available or not?
    Contact your basis people if space related issue means.
    NOTE: Assign points if it helps
    Regards,
    Arun.M.D

  • Process chain executed synchronously produces dump and hangs

    Process chain (RSPC) being executed synchronously hangs on a step (not first) with yellow status. Analysis of ST22 shows there is dump: RAISE_EXCEPTION
    The chain loads data from flat files on frontend to several characteristics (attributes and texts). All the steps are sequential.
    After the start first file is loaded successfully (info package), subsequent data transfer process has no errors too. But the second info package becomes yellow and hangs just after ( after some time timeout occurs and the step becomes red). In ST22 i see dump, text of the dump is below. Analysis of the dump reveals that 'GUI_UPLOAD' FM doesn't work during execution of the second info-package.
    The chain looks as follows:
    1. Info package 1
          V
    2. Data transfer process 1
          V
    3. Info package 2              <-------   hangs here because of dump
          V
    4. Data transfer process 2
         V
    Hangs on step 3 (infopackage 2).
    Text of the dump:
    Runtime Errors         RAISE_EXCEPTION
    Date and Time          10.10.2010 19:07:59
    |Short text                                                                                |
    |    Exception condition "NOT_SUPPORTED_BY_GUI" raised.                                            |
    |What happened?                                                                                |
    |    The current ABAP/4 program encountered an unexpected                                          |
    |    situation.                                                                                |
    |Error analysis                                                                                |
    |    A RAISE statement in the program "CL_GUI_FRONTEND_SERVICES======CP" raised the                |
    |     exception                                                                                |
    |    condition "NOT_SUPPORTED_BY_GUI".                                                             |
    |    Since the exception was not intercepted by a superior                                         |
    |    program, processing was terminated.                                                           |
    |                                                                                |
    |    Short description of exception condition:                                                     |
    |                                                                                |
    |                                                                                |
    |    For detailed documentation of the exception condition, use                                    |
    |    Transaction SE37 (Function Library). You can take the called                                  |
    |    function module from the display of active calls.                                             |
    |    -                                                                                |
    |How to correct the error                                                                          |
    |                                                                                |
    |    If the error occures in a non-modified SAP program, you may be able to                        |
    |    find an interim solution in an SAP Note.                                                      |
    |    If you have access to SAP Notes, carry out a search with the following                        |
    |    keywords:                                                                                |
    |                                                                                |
    |    "RAISE_EXCEPTION" " "                                                                         |
    |    "CL_GUI_FRONTEND_SERVICES======CP" or "CL_GUI_FRONTEND_SERVICES======CM00X"                   |
    |    "FILE_EXIST"                                                                                |
    |                                                                                |
    |    or                                                                                |
    |                                                                                |
    |    "CL_GUI_FRONTEND_SERVICES======CP" "NOT_SUPPORTED_BY_GUI"                                     |
    |                                                                                |
    |    or                                                                                |
    |                                                                                |
    |    "RSBATCH1 " "NOT_SUPPORTED_BY_GUI"                                                            |
    |    If you cannot solve the problem yourself and want to send an error                            |
    |    notification to SAP, include the following information:                                       |
    |                                                                                |
    |System environment                                                                                |
    |    SAP-Release 701                                                                               |
    |                                                                                |
    |                                                                                |
    |    SAP kernel....... 701                                                                         |
    |                                                                                |
    |    Patch level. 69                                                                               |
    |    Patch text.. " "                                                                              |
    |                                                                                |
    |User and Transaction                                                                              |
                                                                                    |
    |    Program............. "CL_GUI_FRONTEND_SERVICES======CP"                                       |
    |    Screen.............. "SAPMSSY0 1000"                                                          |
    |    Screen Line......... 6                                                                        |
    |                                                                                |
    |Information on where terminated                                                                   |
    |    Termination occurred in the ABAP program "CL_GUI_FRONTEND_SERVICES======CP" -                 |
    |     in "FILE_EXIST".                                                                             |
    |    The main program was "RSBATCH1 ".                                                             |
    |                                                                                |
    |    In the source code you have the termination point in line 8                                   |
    |    of the (Include) program "CL_GUI_FRONTEND_SERVICES======CM00X".                               |
    |Source Code Extract                                                                               |
    |Line |SourceCde                                                                                |
    |    1|method FILE_EXIST.                                                                          |
    |    2|* ...                                                                                |
    |    3|                                                                                |
    |    4|  CLASS CL_GUI_CONTROL DEFINITION LOAD .                                                    |
    |    5|                                                                                |
    |    6|*-check if valid GUI is available----
                             |
    |    7|  IF IS_VALID_HANDLE( ) NE 0 AND cl_gui_control=>www_active IS INITIAL.                     |
    |>>>>>|    RAISE NOT_SUPPORTED_BY_GUI.                                                             |
    |    9|  ENDIF.                                                                                |
    |   10|                                                                                |
    |   11|* check parameter, wild characters not allowed                                              |
    |   12|  IF FILE IS INITIAL OR FILE CA '*<>|"'.                                                    |
    |   13|  MESSAGE 'WRONG PARAMETER: FILE_NAME' TYPE 'I' RAISING WRONG_PARAMETER.                    |
    |   14|    EXIT.                                                                                |
    |   15|  ENDIF.                                                                                |
    |   16|                                                                                |
    |   17|* special handling for SAPGUI for HTML                                                      |
    |   18|  IF CL_GUI_CONTROL=>WWW_ACTIVE IS NOT INITIAL.                                             |
    |   19|                                                                                |
    |   20|    DATA: rc type i, filename(4096) type C.                                                 |
    |   21|    filename = file.                                                                        |
    |   22|    CALL FUNCTION 'ITS_QUERY'                                                               |
    |   23|      EXPORTING                                                                             |
    |   24|        filename = FILEname                                                                 |
    |   25|        query    = 'FE'                                                                     |
    |   26|      IMPORTING                                                                             |
    |   27|        return   = rc.                                                                      |
    |Active Calls/Events                                                                               |
    |No.   Ty.          Program                             Include                             Line   |
    |      Name                                                                                |
    |    8 METHOD       CL_GUI_FRONTEND_SERVICES======CP    CL_GUI_FRONTEND_SERVICES======CM00X     8  |
    |      CL_GUI_FRONTEND_SERVICES=>FILE_EXIST                                                        |
    |    7 FUNCTION     SAPLSFES                            LSFESU16                               96  |
    |      GUI_UPLOAD                                                                                |
    |    6 METHOD       CL_GUI_FRONTEND_SERVICES======CP    CL_GUI_FRONTEND_SERVICES======CM013     4  |
    |      CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD                                                        |
    |    5 METHOD       CL_RSDS_ACCESS_GUI_UPLOAD=====CP    CL_RSDS_ACCESS_GUI_UPLOAD=====CM001    74  |
    |      CL_RSDS_ACCESS_GUI_UPLOAD=>IF_RSDS_EXTRACT_DIRECT~EXTRACT                                   |
    |    4 FUNCTION     SAPLRSDS_BACKEND                    LRSDS_BACKENDU01                      304  |
    |      RSDS_DATA_PULL                                                                              |
    |    3 FUNCTION     SAPLRSSM                            LRSSMU17                             5422  |
    |      RSSM_CALL_RSAR_DATA_REQUEST_1                                                               |
    |    2 FORM         RSBATCH1                            RSBATCH1                             1327  |
    |      START                                                                                |
    |    1 EVENT        RSBATCH1                            RSBATCH1                              498  |
    |      START-OF-SELECTION                                                                          |

    If i load the step manually it works. The hung step is possible to re-execute after it gets red (with context menu) and it works then. After that it hangs on the 3rd info-package and so on.
    The file lays on a network drive, but i suspect it doesn't matter

  • Process Chain that uses a DTP and locks up with CX_RSBK_REQUEST_LOCKED

    Hello Experts,
    I am making a program to start a PC inside a loop. This Loop has several dates and ODS ID's. The problem is that inside the loop I make a call to FM RSPC_API_CHAIN_START, after this I have a WAIT UNTIL 30 SECONDS command so that the process has enough time to finish loading data. Each time the loop starts I change the name of the .txt flat file that te PC is going to load and store it inside a Z table with a rutine inside the DTP calling it every loop cycle. And so every time the Process Chain starts it should load a different file into a specifyc ODS. The problem comes at the second loop in which through the RSA1 transaction I find out that the chain is locked with an exception CX_RSBK_REQUEST_LOCKED and the subsequent calls to the Process Chain simply don't start at all. One solution I found was to delete the last Petition Request ID in the table RSSTATMANPART.
    I use RSSM_DELETE_REQUEST to delete that request using that ID and the cube name.
    Now this doesn't work either.
    PROGRAM SUMMARY:
    LOOP WITH ODS THAT NEED LOADING INTO BW ODS
        DELETE PETITION REQUESTS FROM RSSTATMANPART WITH YELLOW OR RED STATUS.(So that PC can start)
        CHANGE FILE THAT DTP ROUTINE WILL LOAD
        START PROCESS CHAIN
        WAIT A CERTAIN AMOUNT OF TIME FOR PC TO FINISH
    ENDLOOP.
    Edited by: Antonio Alejandro Ortega Vergani on Apr 12, 2011 12:05 AM

    Hi saveen,
    I've checked the transaction sm50 to check the available processes and I have 8 BTC(batch), 5 DIA(dialog), 2 UPD(update), 1 ENQ(enqueue) and 1 SPO(spool). Are these the ones you are asking about? I assume you refer to BTC which I believe 8 is enough....correct me if Im wrong here as Im starting out with this please.
    Thing is that Im trying to automate this whole process (for loading various file types(headers.txt, details.txt, payments.txt, etc), for various centers and several months...this is why I want to automate the whole process, so I dont have to go manually through all this data loading. So what I did was try to start the chain inside a loop for every new combination of dates that DIDN'T EXIST in the ODS tables. The process chain is supposed to call a DTP that uses a routine to see which file is going to upload to BW but only does it the first time.
    The problem comes with the second cicle of the loop in which the petition request for the DTP is already green, nevertheless the next start of the chain doesn't come as there seems to be no creation of another request and the exception CX_RSBK_REQUEST_LOCKED in the transaction RSPC.
    Appart from this whenever I try to delete the last request so that this way it does create another request(rnr) in RSSTATMANPART through the use of RSPC_API_CHAIN_START the data in my ODS does not stay and is deleted.

Maybe you are looking for

  • PRT's not printed on the SAP standard insp. instruction

    Dear forum, My client evaluates the possibility to use the insp. instruction program available in standard SAP, the pgm RQEEAS20, SAPScript INSP_INSTRUCTION. The client is generally satisfied with the layout, but unfortunately the PRT information fro

  • Technical Articles on Oracle BPM you might find useful

    A friend pointed me to http://www.oracle.com/technology/products/bpm/obpm_articles.html on OTN. It currently has these articles: Tuning Oracle BPM Directory Services Oracle BPM Clustering Tips and Tricks Oracle BPM Engine Troubleshooting Tips and Tri

  • How can i select Reference to employee as DataType

    Hi! All,   i am new in CAF World and trying to run the sample example available on SDN help.I created model Entity Service and trying to create attributes for Services.In one of the attribute(Keeper) of one Service(Travel), Data Type is of Service Ty

  • Software Update trashed my mac

    After running Software Update most of my apps won't run anymore. It is identical to the thread: "many applications quitting unexpectedly" Posted: Nov 25, 2008 12:46 PM By LilyGrace The two problems are actually the same. And please don't tell me to "

  • IMac , os x 10.9 crashes

    I have two 2 gb ram in two slots of iMac, I added one ram of 8 gb in to the third slot, crosair 8 gb ram. imac started good, but after about 10 minutes it crashes and restarts. it ask me to submit reports, but again crashes. Is it a hardware issue or