PO release workitem won't clear - 'Check FM ends with exception'

Hi all,
I've got a workflow with multiple approval steps even after all steps in the PO complete successfully, i have one work item in the middle of the approval process that won't clear and the event log shows 'Check FM ends with exception' even though the PO is released successfully.
i've got the BUS2012 RELEASED event set as a terminating even to task TS20000166 as standard but i think the release code might not be getting received correctly.  How can i debug this or fix it?
Regards
Amir

Hi Kjetil
Unfortunately it is not a customer function.  ME_REL_CHECK_EVENT_PARAM is a SAP standard Check Function and has trapped me before.  Basically it checks the workitem container (before image if you like) against the event container.  (see Below)
Get the release code from the workitem container.
swc_get_element wi_container 'RELEASECODE' wi_release_code.
  if sy-subrc ne 0.
    raise container_error.
  endif.
Get the release code from the event container.
swc_get_element event_container 'RELEASECODE' evt_release_code.
  if sy-subrc ne 0.
    raise container_error.
  endif.
Compare the two release codes; if not equal: raise exception.
   if wi_release_code ne evt_release_code.
     raise release_codes_different.
   endif.
Weird, huh.
Regards
Gareth

Similar Messages

  • Check FM - SGOSSUB_CHECK_FB  having error 'Check FM ends with exception'

    Hi All,
    System ECC 6.0
    Scenario --> When inbound IDOC type ORDERS05 fails system should sent notification.
    Event linkage is active for for
    BO --> BUS2032
    Event --> Changed
    Receiver Type --> Subscribe
    In Linakage setting following has been set
    Receiver Call - Function Module
    Receiver FM - SGOSSUB_REC_FB_SEND_MAIL
    Check FM - SGOSSUB_CHECK_FB
    Event Delivery - Using tRFC
    Both check box are  checked  'Linkage Activated' and 'Enable Event Queue'
    Check FM - SGOSSUB_CHECK_FB further debugged based on the event data and found it calls the method - GET_DLI_VIA_OBL of Class - CL_GOS_SRV_SUBSCRIPTION where it does not find any roles with role type ''SUB_LIST''
    Can anyone help me for this?

    Hello Hari,
    I don't know, if this fits your situation, but let me describe one aspect of the instance-terminating event of .Released (for BUS2012 as well as for BUS2105).
    If several release codes are open at a given time (e.g. 01, 02 and 03) there are three work items present in the system: One is waiting for release code 01 to be set, another one for 02, and so forth.
    Now, when the event .Release is processed (let's say that release code 02 was just set), the parameter "ReleaseCode" will be compared with the work item, that is waiting for this event. This is: For each of the three work items, there's a separate check, if the event parameter "RelaseCode" fits the container element "ReleaseCode" of the work item that is going to be terminated.
    If this check fails, which will happen for the work items waiting for 01 and 03, the check-FM will raise an exception.
    This behaviour is normal.
    An error/exception here in this case means: The release code of the event, doesn't fit to the release code of the work item.
    Best wishes,
    Florin

  • Calendar icon won't clear notifications

    My Calendar (aka iCal) icon won't clear the notification 'bug' (the little red/white number in the corner) even after I've cleared my pending calendar notifications. If I quit Calendar, the icon remains. When I restart it again, the icon remains. If I get a new notification/invitation, the icon is updated with the new number of notifications, but then the new number remains.

    Check under the View menu/Show Notifications. If it is grayed out, you don't have any invitations. If you can select it, see what is there.
    https://discussions.apple.com/message/21040891#21040891

  • Alert 'There were problems downloading some purchased items' won't clear for the same 6 songs.

    Alert 'There were problems downloading some purchased items' won't clear for the same 6 songs (see screenshot). Every time I download something new this alert comes up, yet when I check for available downloads there aren't any (see second screenshot). Also the 6 songs that are being flagged as having problems are already downloaded to my library, so literally it's just the alert/ notification that seems to be stuck. I've tried signing in and out of iTunes, re-installing itunes, re-starting the computer, emptying the cache etc, and but everytime I sign back in or re-open itunes the alert comes straight back up and it's driving me insane.
    Can anyone help either clear the alert or stop it so that it doesn't pop up every time I try and download something else??

    P.S the error message i got during the download is (err = - 5000)
    Thanks in advance

  • ID3 comment data won't clear on iPhone.

    I have some songs that have a little advert in the ID3 comment field and I removed them using two different ID3 tag editors and as well as the iTunes Get Info option, it's blank in everyone as well as when I right click the song in the folder and check the Detals tab under properties it's clear as well, so I delete the songs on my iPhone and put them back on and same advert is still there even though I have four different sources telling it's blank. The only way I was able to get rid of it was by clearing ALL of the ID3 tag data, and obviously that is not very useful and I do not feel like rebuilding all the ID3 tag data for every song. My theory is that the first time I put the songs on my phone it had the advert and it just stays even after you delete it and add again with blank comment data. So im just looking for suggestions because it is kind of an eyesore when I start playing my tracks.
    Thank you for taking the time to read this.

    You're welcome.
    Contact them anyway.
    After contacting your carrier and there is no problem on their end with your account - they may want to reset your account which will require powering the iPhone off, if there is no change after resetting network settings on your iPhone and/or after doing a reset which is similar to a computer restart, try restoring the iPhone with iTunes from the iPhone's backup.

  • Unable to clear "Check Paper" light PSC 1350xi

    Unable to clear "Check Paper" light
    1) Upgraded from XP to Win7 x32
    2) Installed HP PSC 1350xi Win7 driver software using Printer Install Wizard
    3)After many Print attempts, unable to clear "Check Paper" error message
    4) After several uninstall/reinstalls using several HP approved methods, all software diagnostics checked normal except for the blinking "Check Paper' light.
    5) And, yes, I tried adding, removing, adding paper to the tray which appeared normal.
    My guess is a hardware problem.
    Any suggestions?
    Thanks in advance.
    Bill

    Hi @wflint,
    Welcome to the HP Forums!
    I see that you are unable to clear the "Check Paper" light on your HP PSC 1350xi. I am happy to help!
    Please take a look through this guide, Blinking Lights on the HP PSC 1200, 1310, 1340, and 1350 All-in-One Printer Series. Scroll until you see, Issue: The Check Paper light blinks, then click on, Solutions, under Figure 19: The Check Paper light is blinking, and follow the steps.
    Hope this will resolve your issue, and have a wonderful day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • EBS - How does it clear Check/ACH Clearing GL Account ?

    Hi
    I have a query about specific aspect of EBS processing. Please let me know-
    Scenario:-
    1. Vendor Invoice is created through PO.
    2. F110 Payment run creates ZP document and clears vendor invoice line item. It has following entries -
    Dr Vendor
    Cr Check Out / ACH Out Clearing GL Account
    3. When EBS file is imported and processed, Will it clear multiple Check / ACH Clearing GL Account ( in ZP documents ) together ? OR Will it create separate accounting document to clear Check/EFT Clearing GL Account entries ?
    example:- If two vendor invoices ( of different vendors ) were paid in same F110 run by ACH payment.
    Will Bank Reconciliation process create two accounting document to clear 'ACH Out Clg' GL Account ? or Will it create a single accounting document that will have debit to "ACH Out Clg" for total sum ?
    Hope I have made myself clear.
    -Regards
    Kapil

    Hello,
    Could you please give one example for NCHK trans type
    how that will appear in bank statement?
    Say. I have one open item in O/G GL for
    vendor                ABCD
    Check#               123456
    Amount               1010.00
    Payment Doc#     2000000000
    Will it appear like this?
    :60F:C140825INR0,00             
    :61:1408250825D1010,00NCHK123456-ABCD/2000000000
    :86:123456-                             ABCD
    :62F:C140826INR0,00
    :64:C140826INR0,00
    -}{5:}
    Please help urgently..
    Sunil

  • Release strategy complex customer specific checks

    Hi MM guys,
    does anybody knows whether there are UserExits for the release strategy functionality in 46C? We´re already using this strategy functionality via classification. But now we´ve got further request concerning the checks which have to be processed to determine wether a PO will be released or locked. These checks cannot be implemented over the classification system cause they´re more complex.
    Thx, for any tips.
    Andy

    Hi,
    The Enhancement for this purpose is M06E0004 and the user exit is EXIT_SAPLEBND_002.
    You can use this user exit to pass values in user defined fields (e.g. USRC1, USRC2 etc) in structure CEKKO. If the user fields given in the structure not enough then this structure can be expanded and new fields can be added.
    While using this user exit, please keep in mind that the user exit gets called while you start the transaction (e.g. ME29N) and you check or save the document. So when you want to pass values, you will do so only at the time of saving the document.
    Regards.

  • Show itunes in the cloud purchases won't stay checked

    For months now, when I open iTunes the option "show itunes in the cloud purchases" won't stay checked.  I have to restart, sign out and sign back in and then the option only shows up half the time.  This is VERY frustrating.  What gives?!?

    I think I restored a very old system and must install a newer itunes. Not sure how to erase this.

  • On one of my albums covers the cover is not the right artist and it won't clear the artwork.

    One of my album cover is noyt the right artist and it won't clear the artwork?

    Delete and redownload it if doing so is free in your country.
    (84513)

  • How to view cleared checks on a particular day.

    Hi All,
    How to view the cleared checks which was cleared in the past on a particular date.
    Ex: APP Run 4 times on the 07-Aug.11, if i want to view all the checks on 08-Aug.11 that were cleared on the 07-Aug.11.
    Thanks and Regards,
    Boppana

    Dear,
    The T-Code for the same is S_ALR_87012348.
    You can use FCHN for check register.
    Br,Vivek

  • I have an MX722, with error code 6000. Have powered down and unplugged. code won't clear. what now?

    I have an MX722, with error code 6000. Have powered down and unplugged. code won't clear. what now?

    Hi jactoday,
    To try and resolve the issue, you will want to ensure that there are no obstructions in the printer that may be causing the error. To do this, please follow the steps located here.  If you still receive the error, the printer will require servicing.  Please call or email us using one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Iphoto library inconsistencies says it is 100% complete but it still shows it is running and the message won't clear

    Iphoto library gave message it had inconsistencies.  I clicked the button to complete the changes and it shows & says it is 100% complete.  The message won't clear and it is still running the app but it is completely frozen and won't let me do anything.
    Help please

    http://support.apple.com/kb/HT2638
    if all else fails try http://www.fatcatsoftware.com/iplm/

  • Message about iCloud backup and it won't clear.  It also won't allow me to do anything else.  iPad. It is plugged in and now locked, the slides for getting in and the power off don't work, but the message stays.  I have hit ok numerous times.

    Message about iCloud backup and it won't clear.  It also won't allow the iPad to do anything else.  It is plugged in and now locked.  The slides to open iPad and the one to power off do not work.  I have the iPad plugged in and have pressed ok on the message numerous times.

    Welcome to the Apple Community.
    Try restarting the iPad and seeing if that helps.
    If your back up continually fails, you might try turning off back up on your mobile device (settings > iCloud > storage & backup) and then deleting the backup file from iCloud by swiping the backup file on the mobile device (settings > iCloud > storage & backup > manage…) and then turning back up on again.

  • My ipad has a message that i need to  back up to Icloud that won't clear and let me access any other apps or settings?  how do i clear this message?

    My ipad has a message that i need to  back up to Icloud that won't clear and let me access any other apps or settings?  how do i clear this message?

    Welcome to the Apple Community.
    The first back up to iCloud may take some considerable time. Just how long isn't really possible to say without knowing how much is in your back up and your connection speed.

Maybe you are looking for

  • Problems scanning from HP Photosmart to MacBook Pro

    I have a MacBook Pro (about 3 years old) which I have been using with an HP Photosmart printer/scanner.  I can print documents, and used to be able to scan photos from the Photosmart to my Mac, but recently the Mac says it "can't find printer".  How

  • Time-lapse video unfocused

    Hello, i got a problem  When i make a time-lapse video , after adjusting my photo and synchronizing  all , i'm doing the slide show at 24fps, but the final video is unfocused, what i'm doing wrong ?

  • Ringtones for iphone 5

    can you select ringtones for iphone 5 for Verizon Wireless

  • IE Table Problem

    I have a sliced image in 2 ajoining cells in a table that looks fine in Firefox & Safari but does not in IE 6 or 7. I have the table's border, cell spacing and cell padding all set to 0. www.eabnet.com/hilton Thanks Ernie

  • QT Streaming from Network Camera?

    Hi everyone! We were wondering if we could do QT streaming via network cameras? We purchased a few AXIS 206W network cameras. We realised that they only produce MJPEG movies. Is it possible to do QT streaming with these cameras? Could you recommend s