creating a purchase requisition item (BUS2009) object refference inside a workflow
Ronen Fox
ronenfox at gmail.com
Sun Apr 6 01:38:08 EDT 2008
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.htm
More information about the SAP-WUG
mailing list