Binding user-exit with BOR-Container + SIBFLPORB

BPT Consulting bptconsulting at sbcglobal.net
Fri Jan 27 13:54:41 EST 2012


Florin,

You can look at include <SWFCNTN01> which has the macros for accessing the ABAP-OO-container.  Refer to FM SWA_BINDING_TEMPLATE for the container interface type necessary.  Your code would look something like:

 TRY.

      call method WF_CONTAINER->get
        EXPORTING
          name  = 'Releasable'
        IMPORTING
          value = RELCODE.

    CATCH cx_root. " 
  ENDTRY.

Regards,
Thomas Maue

--- On Thu, 1/26/12, Florin Wach <florin.wach at gmx.net> wrote:

> From: Florin Wach <florin.wach at gmx.net>
> Subject: Binding user-exit with BOR-Container + SIBFLPORB
> To: sap-wug at mit.edu
> Date: Thursday, January 26, 2012, 6:49 AM
> Dear wuggies,
> 
> I'm using a BOR programmed binding function module to create
> a custom binding for the workflow start.
> 
> There's the called container (destination) and the calling
> container (source) available and the usual elements are
> there.
> 
> Once the ABAP-OO element is used, the reference to the
> structure SIBFLPOR(B) becomes converted into some kind of
> portablity interface. The structure is ripped as following:
> 
> ELEMENT / ... type / VALUE
> _WF_IBF_PORTAB |000001   |004   
>    |u   |SWFTSTRUCT 
>    <
> _WF_IBF_PORTAB |000002   |032   
>    |C   |RELEASABLE 
>    <
> _WF_IBF_PORTAB |000004   |032   
>    |C   |1CC21000C 
>     <
> _WF_IBF_PORTAB |000005   |104   
>    |C   |006324037000032<
> 
> When I use the container macro (as suggested from the
> example function module), I cannot simply access the element
> "Releasable", as this is striped into these four elements.
> 
> Question:
> Is there another macro / function method which I could use
> to access the new kind of element?
> 
> No, I don't want to use the other exit-binding for XML
> container. I have other restrictions that make me use the
> BOR container here.
> 
> 
> 
> With the very best,
>    Florin
> _______________________________________________
> 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