sap_wapi_start_workflow

Mark Pyc mark.pyc at gmail.com
Thu Sep 28 09:43:37 EDT 2006


G'day Yifat,

There have been a few responses that suggest you're working with a normal
container when using this function but you're not. It's just a table of
name/value pairs as you've indicated. I'm not sure that what I'm suggesting
is best practice, but I've just done it in an ECC 5.0 system and it seems to
behave.

DATA: LV_OBJ TYPE SWOTOOJID.

LV_OBJ-OBJTYPE = 'BUS1065'.
LV_OBJ-OBJKEY = P0001-PERNR.   (or where ever you have the PERNR stored)

You can then set the container with name to be whatever you called the
BUS1065 object in your flow container and the value to equal LV_OBJ.

LV_OBJ does also have LOGSYS and DESCRIBE fields, but leaving these blank
seems fine.

Have fun,
Mark





On 9/26/06, Yifat Bar <YIFATB at il.ibm.com> wrote:
>
>
> hello!
> i created a program using this FM
> when using it i receive return code 2, eventogh
> i didn't use the container table.
> when i tried to use the table by assigning the element name and the value
> i keep getting this RC = 2.
> since there is no event what do i have to do in order to pass the value of
> the fields to WS CONTAINER.
> I used business object BUS1065 with subtype of the additional fields,
> but they don't have any values.
> how do i assign values to them through my program?
>
> regards
> yifat
> Yifat Bar
> Sap developer IBM
> mail-:   yifatb at il.ibm.com
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060928/d3ecd24c/attachment.htm


More information about the SAP-WUG mailing list