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