SWW_WI_START_SIMPLE and container elements with object refere nces

Raskin, Alon (Soliance) ARaskin at cps-satx.com
Wed Oct 17 12:10:51 EDT 2001


Try adding the line
 
        swc_container_to_persistent xwf_container.
 
Just before your call to the FM. You will need to add the include <cntn01>
to your report.
 
Regards,
 
Alon Raskin
Workflow Advisor - Soliance
 
 -----Original Message-----
From:   Sabine Blum [mailto:blum at zeiss.de]
Sent:   October 17 2001 9:18
To:     SAP-WUG at MITVMA.MIT.EDU
Subject:        SWW_WI_START_SIMPLE and container elements with object
references
 
Hi workflowers,
 
I've defined a method (in a SAP system with release 4.5B), which starts a
workflow (WS task) in
another SAP system (release 4.6B) with the following ABAP code:
 
call function 'SWW_WI_START_SIMPLE' destination <DESTINATION>
     exporting
          task                         = 'WS99000068'
     importing
          wi_id                       = xwi_id
     tables
          agents                    = xagents
          wi_container         = xwf_container
     exceptions
          id_not_created                               = 1
          read_failed                                      = 2
          immediate_start_not_possible = 3
          execution_failed                            = 4
          invalid_status                                 = 5
          others                                                = 6.
 
Everything is fine, but i've got a problem with following:
 
Container elements with object reference (not scalar values) will NOT
arrive in the other system (in workflow container there). With scalar
elements it works fine!
 
Can anybody helps me in this question?
 
Thanks a lot
Sabine Blum
 


More information about the SAP-WUG mailing list