Object Type BUS2081 - Post Invoice

Keohan, Susan keohan at ll.mit.edu
Mon Nov 3 17:54:09 EST 2008


Hi Kim,
How are you trying to fill the fields?  The only way I know to influence a standard transaction from  a workflow task
is using SET Parameter, as below:

if ekpo-bukrs is initial.
    set parameter id 'BUK' field ekko-bukrs.
    rbkp_v-bukrs = ekko-bukrs.
  else.
    set parameter id 'BUK' field ekpo-bukrs.
    rbkp_v-bukrs = ekpo-bukrs.
  endif.
  set parameter id 'FWS' field ekko-waers.
  rbkp_v-waers  = ekko-waers.
  export rm08m-ebeln rm08m-ebelp to memory id 'SAPMM06E_EBELN'.
export rbkp_v-zterm rbkp_v-zbd1t rbkp_v-zbd1p rbkp_v-zbd2t rbkp_v-zbd2p
           rbkp_v-zbd3t to memory id 'SAPMM06E_ZTERM'.
  call transaction 'MIRO'.

Good luck,
Sue
---
Susan R. Keohan
SAP Workflow Specialist
MIT Lincoln Laboratory
244 Wood Street
LI-200
Lexington, MA. 02420
Phone: 781-981-3561
Fax:   781-981-1607
keohan at ll.mit.edu<mailto:keohan at ll.mit.edu>




From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of kim.fields at L-3com.com
Sent: Monday, November 03, 2008 4:10 PM
To: SAP Workflow Users' Group
Subject: Object Type BUS2081 - Post Invoice

To all,
   I have created a WF that has a task for posting an invoice which uses object type BUS2081.  When the user initiates this task, he is taken to the MIRO screen.  I am trying to pass data in order to populate the Invoice Date, Reference, and Amount fields when MIRO is called.  The fields are getting passed between the Task Containers and Workflow Containers, but they never populate into the MIRO screen.  Anyone have any ideas what I am doing wrong?

E. Kim Fields
L-3 Communications Integrated Systems
Business Programming Tech
SAP Support
903-457-7712
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20081103/6e81e817/attachment.htm


More information about the SAP-WUG mailing list