i want to start a customer-workflow with BOR-objects in the container.
after reading several threads here i made it so far, that the WF is triggered and the first task is started. But the parameters dont reach the input fields.
When i try the WF in transaction SWDD i need to enter 2 parameters obligatory BUSINESSPARTNER and ISUACCOUNT and they are BOR-objects.
I tried to fill the container that simple way:
swc_create_object o_isupartner 'Businesspartner' o_isupartner_key-partner.
move: 'BUSINESSPARTNER' to CONTAINER-element,
'90' TO CONTAINER-ELEMLENGTH,
'o' TO CONTAINER-type,
'0080000008' to CONTAINER-value.
when i do this, the workflow is triggered, but nothing happens.
when i add (first time accidently) a letter in front of the container-value the first task starts, but like mentioned, the businesspartner doesnt reach the input-field. ISUACCOUNT i foll the same way, but there no letter is needed to start the first task, but the value doesnt reach the task either.
MOVE: 'BUSINESSPARTNER' TO container-element,
'90' TO container-elemlength,
'o' TO container-type,
's0080000008' TO container-value.
Now I'm pretty confused.
I'm thankful for every hint.
I tried SAP_WAPI_START_WORKFLOW filled with
ls_container-element = 'BUSINESSPARTNER'.
ls_container-value = '80000088'.
APPEND ls_container to container.
but it says the object type and value for element BUSINESSPARTNER are missing (translated from german)
But i only have element and value... where should i put the object type? and why does it say, the value is missing?