How to pass a user exit value to the business object method?
Shai Eyal
shai.eyal at yahoo.com
Mon Oct 29 15:13:43 EDT 2007
Dear Prasad,
Object attributes are calculated at runtime; meaning you can't store you're userexit calculation within attributes.
What I did regarding the subject is:
Created FM to calculate PO value.
Called this FM from userexit.
Called this FM from object type ZMBUS2012 attribute or method.
In this way you have single source code used for both purposes.
BTH, EXIT_SAPMM06E_013 is also FM; you can simply try to call it from ZMBUS2012 attribute or method and have PO value returned at append structure field within one of it's table.
I'd recommend my first suggestion.
Regards,
Shai Eyal
SAP Logistics senior consultant
SAP Workflow specialist
----- Original Message ----
From: "sap-wug-request at mit.edu" <sap-wug-request at mit.edu>
To: sap-wug at mit.edu
Sent: Monday, October 29, 2007 6:15:12 PM
Subject: SAP-WUG Digest, Vol 35, Issue 58
Send SAP-WUG mailing list submissions to
sap-wug at mit.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
sap-wug-request at mit.edu
You can reach the person managing the list at
sap-wug-owner at mit.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of SAP-WUG digest..."
Today's Topics:
1. How to pass a user exit value to the business object method?
(Prasad, Prashanthi)
2. 'Junk Characters' in Email (Lalitha Sankaran)
3. Re: WI Content not displaying (Lalitha Sankaran)
4. Re: WI Content not displaying (John A Haworth)
----------------------------------------------------------------------
Message: 1
Date: Sun, 28 Oct 2007 23:35:19 -0500
From: "Prasad, Prashanthi" <pprasad at citgo.com>
Subject: How to pass a user exit value to the business object method?
To: <sap-wug at mit.edu>
Message-ID: <1EB8FA84EA27B64892B8822C697B51E51809C1 at houex01.citgo.com>
Content-Type: text/plain; charset="us-ascii"
Hello SAP GURU's
I am working on the Purchase order release workflow. There is this PO
value which is a calculated value. We already have a bunch of code in an
user-exit to calculate the PO value. I need this value in my workflow.
Is there a way of passing this value from the user exit
EXIT_SAPMM06E_013 to the business object BUS2012(I have a Z version of
this method ZMBUS2012).
In the user exit, can I write this value to an attribute in the BO
ZMBUS2012 and have this available in my workflow?
Please advise.
Send instant messages to your online friends http://uk.messenger.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20071029/4eba6e62/attachment.htm
More information about the SAP-WUG
mailing list