Skip to Content
0
May 13, 2008 at 04:00 PM

How to pass value into a BO attribute using sap_wapi_create_event

22 Views

Hi all gurus,

Currently I have encountered a problem with passing values into my workflow. This is my object.

BO: ZTEST

key:

pernr

attributes:

lname,

fname,

and pay.

event:

create with 2 parameters:

test1

test2

Using sap_wapi_create_event,

I pass in the following value

object type = 'ZTEST'

object key = '12345678'

event = 'create'

container = ?

This is where i am stuck.

How should I pass values into the 3 attributes (lname, fname and pay) using the container parameter?

I was able to pass in only event paramters by specifying the following

example my_cont

my_cont-element = 'test1'

my_cont-value = '123'

append my_cont

my_cont-element = 'test2'

my_cont-value = '456'

append my_cont.

How do i pass values into the 3 attributes?

Many thanks and points will be awarded, thank you!