Skip to Content
avatar image
Former Member

Triggering structure to my workflow

Hi,

i created a new workflow with an element (named REQ_VENDOR) with data type zmm_struc_vendor, a specific structure that i created. Now i want to launch my workflow, for this i use the FM SAP_WAPI_START_WORKFLOW, in input_container i add the element 'REQ_VENDOR' with value g_vendor an ABAP variable of type zmm_struc_vendor.

In the PAI, i fill the g_vendor variable, i fill the container and i launch the FM SAP_WAPI_START_WORKFLOW, the workflow is launched. When i look at the element REQ_VENDOR, it is partially filled and i don't know why. All specifics fields are filled but fields resulting of dictionnary are empty.

The structure zmm_struc_vendor :

This fields are filled :

DATE_REQUEST ZDATE_REQUEST DATS 8 0

DATE_DESIRED ZDATE_DESIRED DATS 8 0

PHONE_REQUEST AD_TLNMBR CHAR 30

EMAIL_REQUEST MAILADDRESS CHAR 241

This fields are empty :

LIFNR LIFNR CHAR 10

NAME1 AD_NAME1 CHAR 40

STREET AD_STREET CHAR 60

HOUSE_NUM1 AD_HSNM1 CHAR 10

POST_CODE1 AD_PSTCD1 CHAR 10

Thanks for your help.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 02, 2008 at 10:44 PM

    Hello,

    I've long ago given up on reminding people to post their version, but here it is particularly relevant.

    There is a size limit on container element. This has grown throughout the versions, I am not sure but 250 and 1000 chars ring a bell in pre-ECC versions. Also make sure you're using XML persistence (Header -> Version Dep -> Control -> Persistence).

    An easy way to check is to remove a filled field from the structure and see if more data appears at the end.

    Cheers,

    Mike

    Add comment
    10|10000 characters needed characters exceeded