Skip to Content
0
Feb 18, 2007 at 06:31 PM

Read contents back after 'Starting new task'...?

90 Views

I am using <b>WS_DELIVERY_UPDATE_2</b> to do batch split on already created delivery.

I am using the below syntax to counter the 'E' message that occurs if the function module fails.

call function 'WS_DELIVERY_UPDATE_2'

<i><b>destination 'NONE'

starting new task 'batch</b>'</i>

exporting

vbkok_wa = wa_vbkok

delivery = p_vbeln

no_messages_update = 'X'

synchron = 'X'

commit = 'X'

nicht_sperren = 'x'

if_database_update = '1'

if_error_messages_send = 'x'

tables

vbpok_tab = t_vbpok[]

IT_HANDLING_UNITS = it_hu[]

et_created_hus = i_hus[].

<b></b>

Now i want to:

1) read the contents of t_vbpok[], i_hus[] back in main program or

2) if the function module had failed i want to read that error message back in my main program.

is it possible to achieve this.

Subba