Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 2169

Not able to pass internal table from prog to wf

$
0
0

HI ALl,

I am trying to pass data if an internal table using followiinng programme.Can anybody guide me why internal table is not getting passed as a multiline event parameter?

 

 

REPORT

 

ZTEST_WF.

include <CNTAIN>.

data:
objkey
type sweinstcou-objkey,
objtype
type sweinstcou-objtype,
event type sweinstcou-event.

data: SWC_CREATE_CONTAINER.
data: SWC_SET_TABLE.
data:swc_container.

data: wa_mara type standard table of mara.

select * from mara into table wa_mara UP TO 10 ROWS.

swc_container it_cont
.
swc_CREATE_CONTAINER IT_CONT
.
SWC_SET_TABLE IT_CONT
'zmara' WA_MARA.


objtype
= 'ZSA_BO'.
event = 'ZSA_EV'.
objkey
= ' '.

CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING
object_type
= objtype
object_key
= objkey
EVENT = event
COMMIT_WORK
= 'X'
* EVENT_LANGUAGE = SY-LANGU
* LANGUAGE = SY-LANGU
* USER = SY-UNAME
* IFS_XML_CONTAINER =
* IMPORTING
* RETURN_CODE =
* EVENT_ID =
TABLES
INPUT_CONTAINER
= IT_CONT
* MESSAGE_LINES =
* MESSAGE_STRUCT =

.


Viewing all articles
Browse latest Browse all 2169

Latest Images

Trending Articles



Latest Images