IF_SWF_IFS_BIND_TRANSFORM - transforming from BOR to ABAP object
Mike Pokraka
wug at workflowconnections.com
Tue Feb 4 09:46:28 EST 2014
Hi Kjetil,
I haven't encountered this because I usually take the easy route :-)
Instantiate an OO equivalent early on in the WF via container operation, and use that whenever it's needed.
Regards,
Mike
On 4 Feb 2014, at 13:06, Kjetil Kilhavn <list.sap-wug at vettug.no> wrote:
I decided to venture into the unchartered (for me) lands of mixed
implementations, so I have a task which is triggered by a BUS2009 event but
needs a ABAP object as well.
This is a simple solution (SelfItem::SendTaskDescription), so I really want
this to just be a single task. “No problem” - that can be done using a
transformation, all that is needed is an implementation of
IF_SWF_IFS_BIND_TRANSFORM.
Sounds easy, and is not too bad up to and including implementation of the
Check method where I can query the type of the source and target elements to
ensure only the supported object types are passed. This method can be tested
in the binding editor.
However, implementing the Transform method seems to be a tad bit worse.
SAP have been kind enough to implement a couple of examples with addition and
subtraction of numbers, and I have previously implemented the interface to
transform a decision (SWYFORM-RETURN0) to a text representation of that
decision. Easy peasy - but that was values, not objects!
Now, with objects it seems it is not so easy - and I am unable to figure out a
way to test the transform method.
Even if the mighty google fail to be of assistance. Surely someone on this e-
mail list must have encountered this problem before me.
--
Kjetil Kilhavn / Vettug AS (http://www.vettug.no)
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
More information about the SAP-WUG
mailing list