IF_SWF_IFS_BIND_TRANSFORM - transforming from BOR to ABAP object
Kjetil Kilhavn
list.sap-wug at vettug.no
Tue Feb 4 08:06:33 EST 2014
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)
More information about the SAP-WUG
mailing list