Skip to Content
0
Former Member
Jan 06, 2008 at 03:55 PM

Select-Options Help

117 Views

Hi.

I have this small program with a select-options s_tran.

I need to call function Z_UNLOCK for each entry in s_tran.

How can I make that?

Thanks

Best regards

PARAMETERS: p_warn TYPE ltap-LGNUM.

SELECT-OPTIONS: s_tran FOR LTAK-tanum.

loop at ......................?????

CALL FUNCTION 'Z_UNLOCK'

EXPORTING

iv_warehouse = p_warn

iv_tanum = s_tran-tanum

language = sy-langu

IMPORTING

return = return.

IF return-type = ''.

EXIT.

ENDIF.

Endloop.