Skip to Content
0
Former Member
Aug 04, 2009 at 08:49 PM

Passing multiline element to workflow container ? how do i ?

447 Views

Hello Folks,

I need to pass an internal table to the workflow container...In this container i had already created an Multiline element which the right table type assigned..

I need to call this Workflow using FM SAP_WAPI_START_WORKFLOW.... Eg:

CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'

EXPORTING

TASK = WFNAME

LANGUAGE = SY-LANGU

DO_COMMIT = 'X'

USER = SY-UNAME

START_ASYNCHRONOUS = 'X'

  • DESIRED_START_DATE =

  • DESIRED_START_TIME =

  • DESIRED_START_ZONLO = SY-ZONLO

  • IFS_XML_CONTAINER =

IMPORTING

RETURN_CODE = lv_return_code

WORKITEM_ID = lv_workitem_id

  • NEW_STATUS =

TABLES

INPUT_CONTAINER = lt_container_wf

MESSAGE_STRUCT = lt_message_struct

MESSAGE_LINES = lt_msg_lines.

lt_container_wf values should have an internal table to be passed a multiline element.....

I am unble to pass it this way and the error i get is that " Single Line element <XXXX> is being passed several times...

How do i tell the system the the element which is passed is a mulitple element..

Regards,

Anand