creating a purchase requisition item (BUS2009) object refference inside a workflow (Ronen Fox)
Shai Eyal
shai.eyal at yahoo.com
Sun Apr 6 15:08:01 EDT 2008
Ronen,
How r u ? haven't heard from u 4 a while...
As per you're question, in the past I was unable to implement without little coding (and I still do not think it is possible).
However I have a general solution for such occasions: I suggest creating STRCONCATENATE method for object ZSYSTEM which just receives, for example, 5 strings and return these concatenated as one string. Afterwards create background task for this method.
In such way you can create your key, this time for PReq item, tomorrow can be used for other objects.
Good luck,
Regards,
Shai Eyal
SAP Logistics senior consultant
SAP Workflow specialist
Mobile: 972-52-5816633
----- Original Message ----
From: "sap-wug-request at mit.edu" <sap-wug-request at mit.edu>
To: sap-wug at mit.edu
Sent: Sunday, April 6, 2008 19:09:36
Subject: SAP-WUG Digest, Vol 41, Issue 18
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. creating a purchase requisition item (BUS2009) object
refference inside a workflow (Ronen Fox)
2. Nicholas Brand/UK/IBM is out of the office. (Nicholas Brand)
3. Re: creating a purchase requisition item (BUS2009) object
refferenceinside a workflow (Florin Wach (gmx))
----------------------------------------------------------------------
Message: 1
Date: Sun, 6 Apr 2008 07:38:08 +0200
From: "Ronen Fox" <ronenfox at gmail.com>
Subject: creating a purchase requisition item (BUS2009) object
refference inside a workflow
To: sap-wug at mit.edu
Message-ID:
<d2ce9c060804052238y77a24ca4x974104c096637cef at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hello all,
A custom WF is built around the following objects:
BUS2012 - Purchase Order
BUS2105 - Purchase Requisition
BUS2009 - Purchase Requisition Item
The problem is creating the object reference for BUS2009 (req. item)
I have two container elements - one has the requisition number and one has
the item number.
The key of BUS2009 is the req. no + item no. together.
For example, if the req. no is 10000045 and the item no. is 00010, than the
key for
BUS2009 should be: 1000004500010
The way I tried to "build" the key from the two container elements is as
follows:
1. A container element *preq_key *is defined for BUS2009 key
2. Container operation to add the req. number:
Result Element preq_key preq_key
Assignment = Assign (contents of table are deleted first)
Expression &PURCHASEREQ_SINGLE&
PurchaseReq_single
3 Container operation to add the item number
Result Element preq_key preq_key
Assignment <- Add only to table (contents are extended)
Expression &REQ_ITEM_NO& req_item_no
The problem is - the item number is not added to the container element, only
the req. number.
I would like very much to be able to solve this "inside" the WF builder,
without having to implement new methods or attributes in the business object
itself.
Your help is much appreciated !
Thanks & best regards,
Ronen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080406/f11c683a/attachment-0001.htm
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/20080406/7c04f1cd/attachment.htm
More information about the SAP-WUG
mailing list