Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8065

How to pass a multiline value to event container

$
0
0

Hello Gurus,

 

I am using FM sap_wapi_create_event to trigger an event to start a workflow. In my event I have purchase order multiline element, how can i populate it?

 

I have all the purchase orders in a table so the last code i wrote was (i have not been able to test it because i am not being able to connect to the client server at the moment).

 

LOOP AT it_pos

INTO wa_pos.

 

     wa_container-element = 'PurchaseOrders'.

     wa_container-value     = 'wa_pos-order.

     Append wa_container TO it_container.

 

ENDLOOP

 

I was going to use swc_set_table instruction but i can not include it in a BADI, if this is the way to go i will create a FM to do this.

 

Please your input

 

 

Regards,

 

Gustavo Yong Morales


Viewing all articles
Browse latest Browse all 8065

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>