Release Invoice - Workflow not working in Background - Need Help

Business Object : BUS2081.
The Requirement is : We need to release an Incomming Invoice.
For this we are using a FM : bapi_incominginvoice_release
and for Database updation : bapi_transaction_commit
Now we are setting the workflow in foreground and so a workitem is created in Inbox, when we execute that workitem, the Invoice is getting released.
But our client wants the release of the Invoice in background with our user intervention.
Now, when we r trying in background, commit is not working.
If we remove commit, Status is successful, but the Invoice is not getting released.
Please help me out on this issue. Its a imp req.
Thanks and Regards
Sowjanya Meegada.

Hi sowjanya,
I think you must have created the custom method to release the invoice, if not please create a custom method and write a zfunction module as below :
ZBAPI_INCOMINGINVOICE RELEASE( Inside this FM just call the standard FM)
BAPI_INCOMINGINVOICE RELEASE
COMMIT WORK.
ENDFUNCTION.
Then use the above FM to release the invoice.
It will work.
Thanks and Regards,
Swaminathan

Similar Messages

  • U10i sony ericsson speaker not working...need help

    u10i sony ericsson speaker not working...need help...thanks

    Anyway thanks... Yesterday my handphone drop again,than the speaker suddenly recover.

  • Workflow not working in Background Processing

    Hi All,
    I am relatively new to Workflow.  Currently, I am creating Deliveries (preferably in background) once a Sales Order is created.  I am using an ABAP Class as the object method to submit the sales order number to the delivery processing method (which just submits basic information to standard SAP transaction VL04).  I found that if the execution of the delivery creation task is not in Background Processing (the user manually kicks off the Delivery creation in SBWP) the workflow works as expected and creates the deliveries.  However, if the Background Processing is checked, the workflow does not process and does not create a delivery.  Is there any specific reason as to why the workflow will not work in background?
    Any help you can give would be greatly appreciated.  Thanks.
    John

    Hi,
    John
    See to process a Back ground task, there should be a proper parameter flow.
    Please look at the import parameters in the method you are using to process the back ground task..
    If proper import parameters are passed then the task will work
    This should help..
    Thanks,
    Shanky

  • Purchase order release strategy Workflow not working

    Hi All,
    I am working on PO Approval release strategy and it is not working fine . The release strategy set up is configured by my functional consultant . I just copied the standard workflow template WS20000075 and making changes to my custom workflow template . When ever po is created an event "RELEASESTEPCREATED" get triggered and the first approver receives an workitem and when he approves it goes to Second Approver and it is working fine . But when rejected then a notification email goes to initiator . Now when an initiator login into ME22N and made any changes ( even material text change ) in it then again "RELEASESTEPCREATED" event getting triggered . But I need to trigger my workflow only when there is change in PO Net value .
    Kindly help me how to achieve this functionality .
    Thanks and regards
    Dilip

    Hi Vikram,
    There is already an existing entry for BUS2012 with event CHANGED against the change doc EINKBELEG .
    Acutlly when login as initiator and try to change PO through ME22N here are my observations :
    case 1:   When Buyer click on  " Cancel Reject " button and do any changes ( even text change ) then RELEASESTEPCREATED and CHANGED events  are triggering  . But since the event linkaged is set to RELEASESTEPCREATED workflow get restarted again.
    Even the CHANGE event does'nt have 'RELEASECODE' as parameter to restart workflow .
    Case 2:  When Buyer doesn't click on " Cancel Rejection" buttion and do any changes then only CHANGE event get triggered
    which do nothing since there is no event linkage .
    Is to  click on " Cancel Reject" button mandatory ? .  But even though we make " Cancel Reject"  as Button mandatory then RELEASESTEPCREATED Button triggering for any change but we need to trigger it for only net Value change .
    Thanks and regards,.
    Dilip Kumar

  • BDC on COGI not working in ECC-need help

    Hi,
    We are doing a SAP upgrade from 4.6c to ECC. One of the custom tcodes which were using BDC programming on COGI is now broken.Since , COGI is now changed in Ecc 6.0 with respect to the output which is now inALV and the earlier Date funtionaliy button is no more there in ECC6.0.
    We are still not to able to find relevant BAPI/function module/alternative for that matter.Rerecording COGI for new environment is not working since it involves alv call functions, which cannot be recorded in BDC.
    Please provide any inputs/valuable suggestions for same.

    Hi sowjanya,
    I think you must have created the custom method to release the invoice, if not please create a custom method and write a zfunction module as below :
    ZBAPI_INCOMINGINVOICE RELEASE( Inside this FM just call the standard FM)
    BAPI_INCOMINGINVOICE RELEASE
    COMMIT WORK.
    ENDFUNCTION.
    Then use the above FM to release the invoice.
    It will work.
    Thanks and Regards,
    Swaminathan

  • Itunes is not working..i need help!!!

    Its been 3 months without an ipod ... now that i finally got a new ipod my itunes doesnt work.... i dont know why its not working i click it to open it up and it says itunes has encountered a problem and needs to close.... i uninstalled it and than installed it many times... than someone told me to uninstall quicktime but it wont let me uninstall it.... please help mee

    hi Scott!
    I showed an error -3 when installing 7.0 quick time and now I can't access my any I tunes.
    let's do a "diagnostic"
    b careful
    standalone QT 7.0.3 install:
    b noir, "QuickTime Installation FAILED!! "Error Code: -1"" #1, 09:31am Oct 22, 2005 CDT
    let us know
    b precisely
    what error messages and error message numbers you get on the install attempt.
    love, b

  • HT4623 My iPhone4s updated to 7.1.1 and now my internet and email is not working. I need help?

    Sorry, I'm new to this, I installed IOS 7.1.1 on my iPhone 4s and now my internet and email is not working. 
    I have googled this on my computer and can't find any reference to this sort of problem.
    I need help. 
    Thanks in advance. 

    Try this:
    Go to Settings > General > Reset > Reset Network Settings
    See if you are able to connect now.

  • I am using iphone 3gs 4.3.5 and my push notification is not working. I need help

    I have an iphone 3gs using IOS 4.3.5, my push notification is not working, i need help please

    I have restored the phone and synced it after that, but the problem is still there, i have not deleted the mail account because the mail is working, it only the applications that have push notifications are not working i.e Whatsapp, viber, ebuddy etc

  • GCU Not Working In-Store NEED HELP

    I have GCU and for some reason it does not work in store.  It is not possible to get it straightned out in store every time I tried.  Also I can not find on the phone app where ut says it is unlocked just to show the employees so they believe me. 
    Also with there is trade in bonus, like the 30% now, it stack with the 10% right making it 40%? 

    Hello AlbertMarsh,
    I've tried, and wasn't able to locate your My Best Buy Member ID with the information you provided to the forums.  I'm going to need you to send me a private message by clicking the blue box at the end of my signature with your My Best Buy member ID. 
    I’m going to add more clarity to enuf's Trade-In post. The 10% bonus is on the total amount prior to the additional 30% promotion. So if you got $10 Trade-In credit and had 30% bonus ($13), you would get $1 additionally from original base value for Gamers Club Unlocked not $1.30.  I hope that makes sense.  
    Blake|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Audigy SE not working...NEED HELP BAD!

    I have been really frustrated over the past week trying to fix this "no sound" problem. There is no sound coming from speakers and yes, I already checked if it was my speakers and they work perfectly fine. For some reason whenever I play a music file from either iTunes or Windows Media Player it says its playing and no sound is coming out. I checked all drivers in device manager and they are all updated, all enabled, and all working. I already checked if it was on mute and if the volume was on. I need desperate help with this extremely difficult problem because im really, REALLY frustrated with this issue. Thanks and please HELP!! =(

    Hi folks,?Initially my audigy 2 nx was not working. But after installing the drivers for vista it started to work. But unfortunately, the other application from creative media source is not working. When I press EAX it says '[color="#000099">the application with the device not found'. But the sound card is working fine.[color="#000099">?[color="#000099">I have even mailed creative with the details. They have sent me a mail with the drivers and an application driver. I have installed the application driver too, but still no luck.[color="#000099">?[color="#000099">Kind regards,[color="#000099">Jwell[color="#000099">?

  • IChat not working?? NEED HELP!!

    My iChat is messed up. It will show my friends offline but when I send them an instant message, they recieve it but I cant recieve any. In the iChat preferences, I want to change it so I can recieve a im from anyone, but it says I am signed out so I can;t. I tried reinstalling Leopard and erasing the iChat settings. Also, iChat works on my guest not but not mine. NEED HELP!!!
    Message was edited by: iphoneguy22

    The iChat App is the same no matter which User Account on your Mac uses it.
    What you have done is effectively put a copy of the same App on the Drive but in a different Location (Users/Your Name)/Desktop in fact)
    Launching the way you state will rewrite all the com.apple.iChat..... .plist items in Users/(your account)/Library/Preferences (where as dragging it to the applications folder just rewrites the app and uses the same .plist files.
    The problem was with the .plist files most likely com.apple.ichat.AIM.plist (possibly com.apple.ichatAgent.plist)
    But it is an interesting solution.
    10:42 PM Friday; June 27, 2008

  • HT201359 Hello I purchased some soft ware (Dragon Express $49.99) from the Apple. The program will not work. I need help.

    Hello, I purchased the Dragon Express yesterday for my son who has dyslexia, to help him with his home work. It's not working at all. Not sure what's going on. need help.

    Your first responsibility is to seek assistance from the app's developer.

  • BDC program on COGI not working in ECC-need help

    Hi,
    We are doing a SAP upgrade from 4.6c to ECC. One of the custom tcodes which were using BDC programming on COGI is now broken.Since , COGI is now changed in Ecc 6.0 with respect to the output which is now inALV and the earlier Date funtionaliy button is no more there in ECC6.0.
    We are still not to able to find relevant BAPI/function module/alternative for that matter.Rerecording COGI for new environment is not working since it involves alv call functions, which cannot be recorded in BDC.
    Please provide any inputs/valuable suggestions for same.

    Hello AlbertMarsh,
    I've tried, and wasn't able to locate your My Best Buy Member ID with the information you provided to the forums.  I'm going to need you to send me a private message by clicking the blue box at the end of my signature with your My Best Buy member ID. 
    I’m going to add more clarity to enuf's Trade-In post. The 10% bonus is on the total amount prior to the additional 30% promotion. So if you got $10 Trade-In credit and had 30% bonus ($13), you would get $1 additionally from original base value for Gamers Club Unlocked not $1.30.  I hope that makes sense.  
    Blake|Social Media Specialist | Best Buy® Corporate
     Private Message

  • I just bought an Iphone4 from straight talk and my camera does not work. The shutter wont open and when it does open there is a black screen. I am very upset. I have wanted this phone for awhile and now that I have it, it does not work properly. Need help

    I just bought an Iphone 4 from straight talk. My camera does not work. The shutter does not open and when it does open there is a black screen. I am very upset. I have wanted this phone for awhile. I want the issue fixed.
                                                                                                                                                     Thanks

    Take the iPhone to an Apple store genius bar for testing, and if it is defective and under warranty they will replace.  Since you say iPhone 4, was this a used or refurbished iPhone? 

  • LOADVARS not working ...NEED HELP!!!

    I am trying to create a phonebook with mx 2004 pro, asp, and
    sql (access for now) using IE 6 sp2
    if i use the following it loads the returning variables into
    the textbox -but I don't know how i am unable to create an array
    and send them to a datagrid:
    on (release) {
    loadVariablesNum("dbphone0.asp?Record=" add myrecord, 0);
    myrecord="";
    firstName="";
    lastName="";
    City="";
    errorMsg="Please wait";
    if i use the following i get nothing back:
    var submitListener:Object = new Object();
    submitListener.click = function(evt:Object) {
    var result_lv:LoadVars = new LoadVars();
    result_lv.onLoad = function(success:Boolean) {
    if (success) {
    firstName = result_lv.firstName;
    } else {
    firstName = "Error connecting to server.";
    var send_lv:LoadVars = new LoadVars();
    send_lv.myrecord = myrecord.text;
    send_lv.sendAndLoad("dbphone0.asp", result_lv, "POST");
    submit_button.addEventListener("click", submitListener);
    and if I use the following i get my results back in a new IE
    window:
    var submitListener:Object = new Object();
    submitListener.click = function(evt:Object) {
    var result_lv:LoadVars = new LoadVars();
    result_lv.onLoad = function(success:Boolean) {
    if (success) {
    firstName = result_lv.firstName;
    } else {
    firstName = "Error connecting to server.";
    var send_lv:LoadVars = new LoadVars();
    send_lv.myrecord = myrecord.text;
    send_lv.send("dbphone0.asp", "POST");
    submit_button.addEventListener("click", submitListener);
    I have played with it for hours trying to use this.firstName
    or firstName.text so on and so on the debugger doesn't seem to work
    (remote debugging with the activex plugin does nothing) the
    internal one doesn't hit the database to pull the info.
    PLEASE HELP!!!!

    You need to restore the iPod via iTunes. Try the following to get iTunes to see the iPod so you can restore the iPod
    iTunes: Restoring iOS software
    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              

Maybe you are looking for

  • Required items in Forms 9i

    I have several forms with a single, multi-record block, where the first few fields in the row are non-database, followed by database fields. Most of the ndb fields are 'Required' but when entering the form or a new record the cursor goes to the first

  • How to send a dashboard page as selection with ibot

    Hi, I am trying to send a dashboard page via email, but with a previous selection I have done through prompts. This is what I have done: 1.Created the selection and saved as "Generic" 2.Selection is saved in my user OBIUSER under /users/obiuser/_sele

  • Is there any standard Atrition Report Available

    Hi Experts, Is there any standard Atrition Report Available. Regards, IFF

  • ASA 5510 - Version 8.2(1) - SSH, ICMP and NAT not working

    I have an ASA 5510 using version 8.2(1) and I have enabled ssh, icmp and they work from the inside network but not from the outside network.  Further to this, I exposed one site from the inside interface on the ASA (192.168.1.100) to outside (1.1.1.7

  • Icloud calendar lost

    With the latest operating system update all of my iCloud calendar entries are lost. Any suggestions on  how to get those back?