Changes To Park Document

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


Hi Nat,
I am not sure in what context your users are executing these tasks, but we have some workflows that update invoice information in the background using BAPI_INCOMINGINVOICE_CHANGE.  When an invoice created in the prior FY is changed by this background task, the BAPI returns a new invoice number and new fiscal year.  The 'old' invoice is deleted.
We deal with this feature by checking the results of the BAPI; if it does return the new invoice and FY, then we do the following:

  CONCATENATE new_invoice new_year INTO new_key.
  swc_free_object self.
  swc_set_objectkey new_key.
* new object reference
  swc_create_object self 'BUS2081' new_key.
  swc_refresh_object self.

This binds the new invoice document number back into the workflow and it proceed to deliver dialog tasks to the end-user with the new document number.

Not sure if this is helpful in your scenario or not.
Cheers,
Sue
----
Susan R. Keohan
SAP Workflow Specialist
Enterprise Applications
Information Services Department
MIT Lincoln Laboratory
244 Wood Street, LI-200
Lexington, MA. 02420
781-981-3561
keohan at LL.MIT.EDU

________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Nat 4 Govender
Sent: Sunday, November 02, 2008 11:55 PM
To: SAP Workflow Users' Group
Cc: SAP Workflow Users' Group; sap-wug-bounces at mit.edu
Subject: Changes To Park Document


Hi All,


We have small issue with the changes to parked document.

When a user changes the parked document and saves it first before doing a document check and document complete the old workflow is deleted and a new one starts however when the user changes a parked document and just performs a document check and document complete this does not happen.

Has any had this experience.

Please advise.



Regards

Nat Govender
E-mail : ngovender4 at toyota.co.za<mailto:ngovender4 at toyota.co.za>

If you tell the truth, you don't have to remember anything.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20081103/b107b9ec/attachment.htm


More information about the SAP-WUG mailing list