LIV - Method to release invoice in background

Cristiana D'Agosto cristiana.dagosto at au1.ibm.com
Tue Oct 7 20:42:23 EDT 2003


G'day all,
 
we are in 4.6c
 
I am building a workflow to handle MM invoices blocked for quantity
reasons.
 
The workflow will send a work item to someone and after this someone
executes one of the options the next step is to run report RM08RELEASE
(Release Blocked Invoices - transaction code MRBR) in the background for
the relevant invoice number and setting radio button 'Release
automatically'.
 
Not being very successful!
 
I am still figuring out what method BUS2081.ReleaseSingle does? Maybe it
does what I am trying to do?
 
I wrote a little method that looks like this:
 
SUBMIT RM08RELEASE
    WITH SO_BUKRS-LOW = '1000'
    WITH SO_BELNR-LOW = object-key-invoicedocnumber
    WITH  SO_GJAHR-LOW = object-key-fiscalyear
   WITH PA_XMANU = ''
   WITH PA_XAUTO = 'X'
    EXPORTING LIST TO MEMORY
   AND RETURN.
 
The report runs okay but it does show me the output screen (e.g 'Blocking
reasons deleted in 0 lines' message is displayed in the bottom of the
screen), and I would like to avoid that (that's why I used EXPORTING LIST
TO MEMORY). I just want to run the report for that invoice and later in my
workflow I will check if the block was removed or not.
 
Any other ideas?
 
Thanks and regards
 
Cristiana
 


More information about the SAP-WUG mailing list