Problem with PRE_DISP Activity Hook and Scrap of SFC

We have a scenario where we want to check the max loop count against the times processed counter of a SFC on this routing step after a NC incident (with disposition configured) happened
So we wrote an activity hook for NC disposition and attached it
I have different problems with this scenario
When I use a PRE_DISP activitiy hook I will get the current router/step of the SFC before the disposition happened. So I can get the counters I need
But when I try to do a scrap of the SFC via API I get the error (after the hook completed):
Caused by: java.lang.IllegalArgumentException: QTY cannot be <=0
     at com.sap.me.demand.SFCRoutingReleaseWorker.addRouter(SFCRoutingReleaseWorker.java:188)
     at com.sap.me.demand.SFCRoutingBOBean.addRouter(SFCRoutingBOBean.java:131)
I guess this is because the system tries to do the disposition after the hook and will get an error since it has been scrapped already
When I use a POST_DISP hook I can do the scrap without errors. But I didn't find any method to get the router/step from where the disposition was started. In the DTO object of the hook I get the old operation but the router is already the new one
So what is the best solution to the scenario? Is there a possibility to cancel the disposition in the PRE_DISP hook? Or are there methods for getting the router/steps for the SFC before the route was changed to a new one?

Gentlemen,
Please do not forget to share a solution with the community.
Thank you,
Alex.

Similar Messages

  • HT201210 nowadays have many user have problem with update to ios7 and need active with apple id maybe in the future in order escape from these problems must be stop use these products else. Because of simple user don't know about this technology and somet

    nowadays have many user have problem with update to ios7 and need active with apple id maybe in the future in order escape from these problems must be stop use these products else. Because of simple user don't know about this technology and sometime just hear from other user that it 's difficult to use then force they change phone that use to handle to another.

    It is a feature to discourage the theft of iPhones by making them useless if resold. It's not going anywhere. It's simple: just don't buy a phone until you make sure that the activation lock has been disabled.

  • I have a iPhone 4S 16 gb and I am having problem with sim activation please tell me what to do

    I have a iPhone 4S and I am having problem with its.activation plz tell me. The solution of this problem?

    Did you already try these steps?
    Restart the iPhone.
    Try another means of reaching the activation server and attempt to activate.
    Try connecting to a known-good Wi-Fi network if you're unable to activate using a cellular data connection.
    Try connecting to iTunes if you're unable to activate using Wi-Fi.
    Restore the iPhone.
    If you receive an alert message when you attempt to activate your iPhone, try to place the iPhone in recovery mode and perform a restore. If you're still unable to complete the setup assistant due to an activation error, contact Apple for assistance.
    copied from iOS: Troubleshooting activation issues

  • Problem with ODS activation -- Urgent

    Hi All,
    I have a problem with ODS activations, when I trying to activate ODS data automatically/ Manually. It is going to short dump.
    Could you anybody pls help me in this issue.
    Thanks in Advance
    Narendra

    Sorry for delay,
    I raised an OSS messsage and waiting from reply.
    The ODS fetch the data from 6 sources. all the 5 sources data is correctly updating in the ODS. I have ODS activation problem with only one soure data.
    The error is
    RSMO
    Inserted records 1-; Changed records 1-; Deleted records 1-
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
    No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
    Activation of data records from ODS object ZPMPRCST terminated
    SM37 Job log
    Error Message from Job log (SM37) (Highlights of the Job log)
    SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
    Inserted records 1-; Changed records 1-; Deleted records 1-
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
    Inserted records 1-; Changed records 1-; Deleted records 1-
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
    Inserted records 1-; Changed records 1-; Deleted records 1-
    No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
    SID assignment started at 07:41:12
    SID assignment finished at 07:42:22
    Activation started at 07:42:22
    Activation finished at 08:12:28
    Errors occured when carrying out activation
    Analyze errors and reactivate if necessary
    Activation of data records from ODS object ZPMPRCST terminated
    Activation is running: Data target ZPMPRCST, from 1.397.204 to 1.397.204
    Data to be activated successfully checked against archiving objects
    SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
    Inserted records 1-; Changed records 1-; Deleted records 1-
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
    No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
    SID assignment started at 07:41:12
    SID assignment finished at 07:42:22
    Activation started at 07:42:22
    Activation finished at 08:12:28
    Errors occured when carrying out activation
    Analyze errors and reactivate if necessary
    Activation of data records from ODS object ZPMPRCST terminated
    Activation is running: Data target ZPMPRCST, from 1.397.204 to 1.397.204
    Data to be activated successfully checked against archiving objects
    SIDs determined successfully for request REQU_49Y4VOQEDO6H73KDE354JNDB5 from ODS object ZPMPRCST
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 incorrect with status 4 in rsodsacstreq
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000002 not correct
    Inserted records 1-; Changed records 1-; Deleted records 1-
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000003 not correct
    Request REQU_49Y4VOQEDO6H73KDE354JNDB5, data package 000001 not correct
    No confirmation for request ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9 when activating the ODS object ZPMPRCST
    SID assignment started at 07:41:12
    SID assignment finished at 07:42:22
    Activation started at 07:42:22
    Activation finished at 08:12:28
    Errors occured when carrying out activation
    Analyze errors and reactivate if necessary
    Activation of data records from ODS object ZPMPRCST terminated
    Report RSODSACT1 ended with errors
    Job cancelled after system exception ERROR_MESSAGE
    RSODSACTREQ  Table Entries
    Table:          RSODSACTREQ                                                                               
    Displayed Fields:  10 of  10  Fixed Columns:                3  List Width 1000                                                                               
    InfoCube       Request ID                     Data packet number             Boolean    Boolean   Request ID                                                 ODS operation    Activ. status                                                                               
    ZPMPRCST     REQU_49Y4VOQEDO6H73KDE354JNDB5 000000             X       X             ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9     A                         0            
    ZPMPRCST     REQU_49Y4VOQEDO6H73KDE354JNDB5 000001             X                       ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9     A                        4            
    ZPMPRCST     REQU_49Y4VOQEDO6H73KDE354JNDB5 000002             X                       ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9     A                         4            
    ZPMPRCST     REQU_49Y4VOQEDO6H73KDE354JNDB5 000003             X                       ODSR_49Y5D1HMEA9OOGJD9VS1XTXY9     A                         4            

  • Problems with ESS in  "Career and Jobs" in option "Appraisal Document"

    hi
    My problem with ESS in "Career and Jobs" menu in the option "Appraisal Document" is not appear the appraisal documents or my my question is...
    What I can customize for appear the "Appraisal Documents"?
    My ESS shows the following screens:
    http://img295.imageshack.us/img295/3451/appraisalportal.jpg (there is also a problem with the flash player, I marked with red rectangle)
    I found looking on the internet that had to configure the Performance Management
    I entered in SPRO tcode, follow these steps
    http://img580.imageshack.us/img580/2598/appraisal1.jpg (Entered in "Define Templates in Performance Management")
    http://img215.imageshack.us/img215/6233/appraisal2.jpg
    http://img651.imageshack.us/img651/4243/appraisal3.jpg
    http://img340.imageshack.us/img340/622/appraisal4.jpg
    http://img52.imageshack.us/img52/1842/appraisal5.jpg (click in "End Configuration")
    http://img534.imageshack.us/img534/8746/appraisal6a.jpg (Error screen part 1)
    http://img4.imageshack.us/img4/1261/appraisal6b.jpg  (Error screen part 2)
    I hope the answers and posts, I wonder if my chosen way(configuring the Performance Managemente)  is correct
    thanks for posts
    Ivan

    thanks Chris for comments,
    Now I customize the "Appraisal Document"
    http://img18.imageshack.us/img18/4640/uiapraisal.jpg (Here I can see the evaluation that was done in the back-end)
    but, I clicked in the hiperlink of  "Appraisal Document Name",  I see this error:
    http://img80.imageshack.us/img80/8157/uiapraisal2.jpg (Error:<b>Page not found or not avaible</b>)
    even before I saw another error (<b>"There is no iView available for system "SAP_ERP_HumanResources": object "employee". For more information, contact your administrator."</b>) in others posts(questions in sap forums) mentioned, These included the following notes
    1468466 Performance Management Launchpad Configuration
    1463821 Performance Management Portal Configuration
    1416756 OBN Configuration in Performance Management
    1408243 Configuration for object-based navigation
    They recommended me in the back-end include roles in the resources:
    http://img401.imageshack.us/img401/8048/uiapraisala.jpg
    http://img689.imageshack.us/img689/9359/uiapraisalb.jpg
    The note number 1463821(especially), I recommend the following
    <a href="https://websmp230.sap-ag.de/sap(bD1lcyZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1463821" target=nieves>note 1463821</a> (link note)
    http://img88.imageshack.us/img88/7484/uiapraisal1.jpg (LPD_CUST tcode)
    http://img266.imageshack.us/img266/7405/uiapraisal1b.jpg (Check in "Restricted Parameters" and "Active" - "EXT_HEAD")
    but in these notes appointing a role that I could not find on my system that is:
    pcd:portal_content/com.sap.pct/line_manager/com.sap.pct.erp.mss.bp_folder/com.sap.pct.erp.mss.14.bp_folder/com.sap.pct.erp.mss.14.pages/com.sap.pct.erp.mss.hcm/com.sap.pct.erp.mss.appraisal_document_wd_ui
    because, I was looking at my porta's role  (With reference "Appraisals Document")
    http://img97.imageshack.us/img97/5167/uiapraisal3a.jpg
    http://img413.imageshack.us/img413/5643/uiapraisal3b.jpg
    http://img534.imageshack.us/img534/4585/uiapraisal3c.jpg
    http://img203.imageshack.us/img203/4605/uiapraisal3d.jpg
    Finally, my main error is :<b>Page not found or not avaible</b> (I referred at the beginning of the post http://img80.imageshack.us/img80/8157/uiapraisal2.jpg)
    Why I see this error (Page not found or not avaible)?
    http://img80.imageshack.us/img80/8157/uiapraisal2.jpg (Error:Page not found or not avaible)
    I hope the helps, and thaks very much.
    Ivan

  • Problem with the active version of the transfer rule ABAP program with sour

    Hi,
    I have a problem with the active version of the transfer rule ABAP program with source system EXCEL. 
    The system does not react to changes done in the transfer rule coding. For FISCPER I have hardcoded the result 'BABABA' and still the results delivered are those from the CSV.
    Resetting the system buffers does not help. The problem is systematic in combination with source system EXCEL (i.e. not only 1 InfoSource).  Checking the active program Extras->Display Program shows the coding (result='BABABA') being there, but
    as stated, the system does not produce the result BABABA, but instead the result of the CSV.
    It seems as if the original version from the very first activation of the transfer rule program remains somewhere and continues to be used.  Does anybody know how to flush it out and get the system to actually use the coding appearing as the active program.
    I have posted an OSS note, but SAP takes it time to answer and I am under time pressure so I figured that maybe one of you know who to solve it before SAP does.
    Greetings and thanks,
    Martin

    Hi martin,
    just try to go out the RSA1 and then return to your infopac. ...
    sometimes there some "cache" trouble

  • REAL problems with iMessage activation same with Face Time

    I'm having real problems with IMessage activation same with FaceTime, the phone shows the activation is being made but it does not activate!
    Apple ID and password is OK, it's working with other applications
    Any ideas guys?!

    My daughters had the same problem with both of their iPod Touches.  One logged back into iMessage and FaceTime, the other consistently would not login with the same error, "An error occurred during activation.  Try again." 
    Check your date and time.  Its likely incorrect.  Once the date is corrected.  Restart the device. 
    For what ever reason, some devices lose track of the date.  In my case, apparently, my daughters change the date to affect a particular game by advancing the date.  Little cheaters. (LOL)
    Hope this helps!

  • I have a problem with software activation of dedicated channel partners.

    I have a problem with software activation of dedicated channel partners.
    I find in the portal software and serial number for activation, but when I enter the serial (after you log in with the adobe id) tells me that the serial number is not correct.
    Tednto contact Customer Support directly (via chat) but nothing ever done offline.
    my adobe id is: [email protected]

    Error "The serial number is not valid for this product" | Creative Suite
    or contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html
    i know you've tried adobe support, but if they can't help you no one here can help you unless there's some problem support can but won't handle.

  • Many problems with software activation with software purchased online

    All:
    In the last few weeks, I have had a lot of problems with software activation.  
    I purchased 10 copies of Office.  5 would not activate.  I took the software back to the local as suggested by customer service, but was denied an exchange.
    I purchased 7 copies of Adobe Photoshop elements. 3 activated, the rest did not.
    What is going on?  Can I get these replaced, refunded, or activated?
    Thanks.

    Greetings captainkeys,
    That’s quite the amount of software to purchase! I’m sure you were quite disappointed to find that not all of the software codes seemed to be activated, delaying your use of the software. I’m glad you’ve reached out to us in multiple ways to see what options are available to you, and I apologize if we have been unable to find a resolution for you.
    Using the email address you registered with the forum, I was only able to locate eight copies of Microsoft Office, and couldn’t locate any copies of the Adobe Photoshop Elements. That being said, I was able to see that some of the codes did fail to process through the activation process. I would be happy to look into getting these activated for you.
    That being said, I am sending you a private message to gather further information from you. You may check your private messages by signing into the forum and clicking the envelope icon in the top right corner of the page.
    Sincerely, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • I have a problem with it activation.

    Hello!
    I bought  iPhone 4S it was purchased in France but i live in Ukraine and want to use it in my country. the phone is neverlocked.
    I have a problem with it activation.
    Part No. MD242F/A
    Serial No. C39GGL26DTD7
    The phone has latest firmware 5.0.1
    In my laptop installet latest iTunes 10.5.1.42
    The phone can accept my ukrainian sim-card and I can see my carrier network but activation is not possible. I get an error message about my sim card is not supported and I must insert the card carrier to support it. But I do not know for what carrier card I need, because the phone is neverlocked. And I have no cards of French carriers.
    can you advice me with the problem please how to solve it?

    No one can or will help you
    This is
    Find My iPhone Activation Lock - Apple Support
    It is a very successful anti theft device
    The only way to activate the iPhone is for the Owner whose Apple id is still on the iPhone to release it ,an easy task if you can find them
    There is no other way Activation lock cannot be broken and Apple will not assist you

  • Why I had no problems with the VZW employees and other people have?

    I think that most people who cannot resolve problems with the VZW have an attitude problem.
    Wise saying:  you can get more with honey than with vinegar.
    Since I “upgraded” my old Samsung Sway to a new Samsung Intensity III, in the past three weeks I spent many hours dealing with the VZW store employees, customer service reps, and tech support people. The phone was replaced two times, and I had no problem getting the replacements.
    The third phone did not working how I expected.
    Today I called VZW customer service and said I don’t need anymore trouble shooting and I wanted find a resolution, which will be satisfactory to both of us. After a short conversation with a customer service rep, I was connected with a tech support. I told him that I don’t need any more trouble shooting on the Samsung Intensity III because I already spent HOURS doing that on three devices.
    We spoke about what the VZW could offer me, about replacements with different phones, etc. Our conversation ended with me offering the resolution that could satisfy me, which was to keep this phone and my account will be credited for the $30.00 “upgrade” fee and I will buy Samsung Sway on eBay. NO PROBLEM. 
    My account was credited and I was advise about the ESN number and activation.
    Why I had no problems with the VZW employees and other people have? The answer is simple. I did not have attitude when I was spoke to them.
    So if you want the problem to be resolved, put your anger in you pocket before you start the conversation. You can say that you are angry, frustrated, etc like I did, but add that you understand that this is not their fault that the manufactures makes a crap phones.

    Yes, you are right. I lost my upgrade. Also, it’s true that I could buy the phone on eBay… if I knew then what I know now. In the past, I never had problem with any of my phones. Doing an upgrade with the VZW was a normal thing for me. I didn’t expect that Samsung Intensity III would be a junk phone.  My last upgrade was 4 years ago. I had $50.00 ‘new every two’ credit on my account, which was used for an upgrade.  I lost the $50.00 credit paying for Samsung Intensity III. Sometimes we learn from our mistakes or from a bad experience. Three weeks ago I did not know that I could buy a phone on eBay and activate with VZW without paying $30.00.
    Samsung Sway is coming from …eBay – keep your fingers crossed for me.

  • I downloaded a new version of firefox. It said it had problems with my norton toolbar and now it doesn't feature it in the window. I'm not that comp savvy. How do I either get the Norton toolbar up or go back to the old firefox? Thank you.

    I downloaded a new version of firefox. It said it had problems with my norton toolbar and now it doesn't feature it in the window. I'm not that comp savvy. How do I either get the Norton toolbar up or go back to the old firefox? Thank you.

    Please authorize ADE 3 with same credentials that you used with older version of ADE

  • After having yet another problem with my MacBook Pro and having to wipe the drive, I am now unable to sync my iPhones etc without erasing all the music on them. Is there a way around this? I have no other library!

    After having yet another problem with my MacBook Pro and having to wipe the drive, I am now unable to sync my iPhones etc without erasing all the music on them. Is there a way around this? I have no other library!
    iTunes is a mess! It couldn't find it's own libraries and I was forced to create a new one. Now I don't know where my music is or if any's missing.

    columbus new boy wrote:
    How crap is that?
    It's not crap at all.
    It's not that simple. For example, I've 3500 songs on my MacBook but don't want them all on my phone, so I have to manually select each song again???
    There has to be a solution.
    Why not simply make a playlist with the songs you want on the iPhone?
    and maintain a current backup of your computer.

  • I tried downloading a free app and it asked for my billing information and when i entered it, it says that there was a billing problem with a previoud purchase and i have to update it. I keep updating it and it wont let me verify it and i cant get apps

    I tried downloading a free app and it asked for my billing information and when I entered it, it said that there was a billing problem with a previous purchase and I have to update it. I keep updating it and it wont let me verify it and I cant get any apps even if they are free, and I just Deleted some apps to make room for my new upate!

    The message says: "The payment method has been denied, try another method"
    I'm living in the same country and city since I was born, so I don't think the location is the problem.
    And yes, I paid with the card a meal in Burguer King today. And nothing more.

  • HT3552 I have been trying to download apps from the app store and every time it tells me there is a problem with my previous billing and direct me to put in new billing information and every time i do that it still will not let me download any apps.

    I have been trying to download apps from the app store and every time it tells me there is a problem with my previous billing and direct me to put in new billing information and every time i do that it still will not let me download any apps.

    Have a look here >  http://support.apple.com/kb/TS1646

Maybe you are looking for