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.

Similar Messages

  • 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

  • How to run process chain in day of 20 and 2 every month?

    Dear all,
    I have to run process chain in day of 20 and 2 every month,but the settting of PC just allow Scheduled start every month once
    time.
    Please tell me the way of setting process chain.
    Thanks.

    Hi,
    (1) Create an event in the BW system
    Define a system event (for example SAP_BW_TRIGGER) with Transaction SM62. Lets says it is "EVENTX". Use this even in the Process chain and execute the process chain as repeative job.
    (2) Use the below lines of code in the program for calling a Fucntion which trigeres the event created above . Here in this program you will call the the Below FM if and only id the sy-datum is 20 th or 2nd of the month ( as mentioned by our friend suggested).
    call function 'BP_EVENT_RAISE'
    exporting
    eventid = EVENTX
    exceptions
    bad_eventid = 1
    eventid_does_not_exist = 2
    eventid_missing = 3
    raise_failed = 4
    others = 5.
    endfunction.
    Regards,
    Anil Kumar Sharma .P

  • How to identify the meta chain in which the Process Chain is used

    Hi,
       I had a Process Chain which is designed to Load Transaction Data.
       This process chain is scheduled to start as a part of Meta Chain...
       How can i locate that META chain in which this Process Chain is used
    Thanks

    Hi
    There is no where used list for Process chain, but you can check it in table RSPCCHAIN.
    Give details as below:
    Version is 'A'.
    Process Type is 'CHAIN'.
    Process Variants = 'enter technical name of the local chain'.
    now hit execute button.
    You can see the list of process chains under Chain  ID column.
    Ravi

  • Possible help I bought this iPhone, and after that I told him and lock

    Possible help I bought this iPhone, and after that I told him and lock, and I went to a companions did not know what should I do help me
    <Personal Information Edited by Host>

    If you are trying to activate an iPad or iPhone and it is asking for a previous owners Apple ID and password, you have encountered the Activation Lock. This is a security feature that prevents thieves from setting up and using a stolen or lost iPad or iPhone. You have no alternative. You must contact the previous owner to get permission to use the device. If you cannot contact the previous owner return the device to where you bought it and get a refund. You will never be able to activate the device and no one can help you do it.

  • Is there a way to play video clips that use adobe flash and if not when are you going to resolve your problem with them ? I won't buy another apple product until you do and I Know I,m not the online.

    Is there a way to play video clips that use adobe flash and if not when are you going to resolve your problem with them ? I won't buy another apple product until you do and I Know I,m not the only one.

    Use the search feature and type in Flash and there are like thousands of posts on this.
    You seem to think you are addressing Apple with your post.  This is a user forum and we are all users just like you.

  • I just updated to Pages 5.0 and I am writing a document that uses both, Spanish and English...I used to use the inspector to change spelling and languages. How do I do that in this new version?

    I just updated to Pages 5.0 and I am writing a document that uses both, Spanish and English...I used to use the inspector to change spelling and languages. How do I do that in this new version?...HELP!!!

    jedimaster Master wrote:
    how do I do both?
    By choosing SET UP for the "automatic" item at the bottom of the list I referred you to earlier

  • My problem is a sudden loss of ability to get to PSE12 Organizer when I tried to load a saved scan. Had been using the Organizer and the Editor with no problems for several hours just before that.     Can not load the Organizer from the icon at the bottom

    My problem is a sudden loss of ability to get to PSE12 Organizer when I tried to load a saved scan. Had been using the Organizer and the Editor with no problems for several hours just before that.  
    Can not load the Organizer from the icon at the bottom of  Editor screen, from the icon on the MacBook Air dock (OS 10.10.2),  nor from the file in applications located with Finder.
    I have tried without success to access Organizer after turning off and on the scanner, turning off and on the computer, loading a fresh copy of PSE12 from the CD, and restoring default preferences.  I have searched on line for other options but not  found any. 
    Can you help me?

    Not Charge
    - See:    
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - If a 5G iPod               
    Iphone 5 lightning port charging problem - SOLUTION!
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • Just updated my ipad4. now its in recovery mode it wont leave it and even tried that fancy little home and lock screen trick. It is telling me i need to restore. I do not want to because i have not backed up my pictures. HELP!!!!!!!

    just updated my ipad4. now its in recovery mode it wont leave it and even tried that fancy little home and lock screen trick. It is telling me i need to restore. I do not want to because i have not backed up my pictures. HELP!!!!!!!

    It's too late now to worry about not having backed up. You have to restore the iPad or .....
    A. You can have a device that still has all of the photos on it but you can't get to them because the device doesn't work
    or.....
    B. You can restore, lose the photos and have a functioning device again.

  • My iphone has been lost in spain what can I do besides make a complaint to the police and lock it with the located iphone ?

    my iphone has been lost in spain what can I do besides make a complaint to the police and lock it with the located iphone ?

    The only way to locate/disable/erase any lost/stolen iPhone/iPod Touch is through Find My Phone or a similar app. However, this requires that Find My Phone be setup/activated, on your phone, before it was lost/stolen. You would then login at iCloud.com & try to locate it. This requires the phone be turned on & have an Internet connection. There is no other way to locate a lost/stolen iPhone. Apple can't/won't help you, nor will your carrier. Report the loss to the Police, your carrier & Insurance company. Change all of your passwords.
    If your carrier offers Blacklisting & they Blacklist the phone, it will be unusable as a phone.
    If locked with a passcode, all a thief or whoever finds it has to do is force the phone into recovery mode & restore it. While this deletes all data on the phone, it also removes the passcode so the phone can then be used as a phone or touch.

  • HT4623 Is anyone else having issues with scaling down photos to fit the screen for home and lock screens with ios7??

    Is anyone else having issues with scaling down photos to fit the screen for home and lock screens with ios7??  Installed ios7 this morning. Tried to use one of my photos from camera roll as background for lock screen and I can't scale the photo to fit the screen.  Never had a problem before and now when I pinch the photo to get it to the right size of the screen, it won't stay that way. The photo is enlarged way beyond the screen size so it doesn't look right. Does anyone know how to fix this?

    Hello, cliffiapp4.  
    Thank you for visiting Apple Support Communities.  
    Here are the steps that I would recommend going through when experiencing this issue.  
    Resolution
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If the above steps do not resolve the issue, contact Apple.
    iOS: Not responding
    http://support.apple.com/kb/TS3281
    Cheers, 
    Jason H.  

  • Iam using iphone 4s and Iphone 5s with same apple ID but my network is different and whenever Iam getting call in i5s and in my both handset same calls are coming. Please provide me solutions

    Iam using iphone 4s and Iphone 5s with same apple ID but my network is different and whenever Iam getting call in i5s and in my both handset same calls are coming. Please provide me solutions

    On both devices, go to Settings>Facetime and turn off cellular calls.
    ~Lyssa

  • Can I use an iPad and a ipad2 with the same iTunes in my computer? I want to use both

    Can I use an iPad and a ipad2 with the same iTunes in my computer? I want to use both. Want to give one to wife.do I need to open a new iTunes account for her?

    bashepard wrote:
    Can I use an iPad and a ipad2 with the same iTunes in my computer? I want to use both.
    Yes, No problem at all.
    Want to give one to wife.do I need to open a new iTunes account for her?
    No - you can share the same iTunes account (my wife and I share the same account). But when you sync the iPads, just remember to select the correct content for her iPad and the correct content for your iPad.

  • My iphone 6 turned off while i was using face time and it returns with the screen saying Hello mean its reset automatically how is this possible ? Now it requires an id and password to activate which i do not remember need help ?

    My iphone 6 turned off while i was using face time and it returns with the screen saying Hello mean its reset automatically how is this possible ? Now it requires an id and password to activate which i do not remember need help ? but i do remember the id and password which i was using on itunes and Apple store. please i almoost buy it in 890$ so it will be a big lost please help me.

    shahzadfromlahore wrote:
    Now it requires an id and password to activate which i do not remember need help ? but i do remember the id and password which i was using on itunes and Apple store. please i almoost buy it in 890$ so it will be a big lost please help me
    Who set up the phone? Who's Apple ID was used to activate it?

  • I'm trying to play a purchased DVD movie using a superdrive and apple tv with a projector - i just get a checkerboard pattern?  Help - 18 students are frustrated

    I'm trying to play a purchased DVD movie using a superdrive and apple tv with a projector - i just get a checkerboard pattern?  Help - 18 students are frustrated

    I'm afraid this is by design.
    You cannot Airplay Mirror a DVD using DVD Player - Apple block  screen mirroring of certain image data which might be protected.
    I've a funny feeling Airplay mirroring can potentially be interecpted and decoded so someone could potentially copy the video stream (which would be poorer than DVD anyway).
    Try VLC Player:
    VideoLAN - Official page for VLC media player, the Open Source ...

Maybe you are looking for

  • Songs aren't showing up in iPod but are on iTunes

    Certain songs aren't showing up on my iPod, but I see them in the iPod music list on iTunes. They show up in the library. They are also in the iPod when it is open in iTunes. But they dissapear when I disconnect the iPod from the computer. Any sugges

  • CPU issues on MacBook (over 70%) - where is the problem?

    Hello! This week, all of a sudden, my CPU percentages went up, approx. to 70%. And now it is running really slow. I have made an EtreCheck and can't really figure out, what is causing it. On my activity monitor, this particular program is called "Ink

  • Javax.faces.FacesException: Problem in renderResponse: null

    Hi, I have a portal application deployed on weblogic 10.3 application server in Clustered enviroment with 2 nodes. ( Server 1 and server2). My application running well on Server1 but when i try to access application from server2 i got the following e

  • Why the video calls under the Skype are still not fixed in the last update?

    I am deeply dissapointed with the last update to the operating system of my new (2013) MacBook Air. The video calls didn't work, but I have followed one of the remedy on the net and made it working. After the update the problem returned. This problem

  • Reg - J2sdk 1.4.2._09  64bit software

    Dear Friends, I have plan to Install ECC 6.0 64 Bit OS - windows 2008 server (64 Bit) SAP version - ECC 6.0 Latest one (64 Bit) DB - MS SQL Server 2005. Now i want 64 bit J2sdk 1.4.2_09 to j2sdk 1.4.2._17. where can i get 64 bit  j2sdk software. Rega