Hi Gurus,
I'm facing a problem in creation of an event.
I'm in SAP ECC 6.0 for a migration project from 4.6B
In an ABAP program I'm trying to create an event in order to launch a workflow.
1st step : Set datas in the container -> In INTERNAL_TABLE I have 5 lines.
...
swc_set_table event_container 'INTERNAL_TABLE' t_cnp_container.
....
2nd step : Create an event :
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = w_wf_objtype
objkey = w_wf_objkey
event = w_wf_event
creator = applicant
start_recfb_synchron = 'X'
TABLES
event_container = event_container
EXCEPTIONS
objtype_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
WRITE sy-subrc.
ENDIF.
Now when I check my container with SWI2_FREQ I see that INTERNAL_TABLE has just one ligne, the rest disapears.
I have this problem only when I set an internal table in an container
I don't know why, but it perfectly works on 4.6B.
Thanks a lot
Walid