Skip to Content
0
Former Member
Dec 05, 2006 at 04:23 PM

Selection screen

24 Views

Hallow I wont to do a SELECTION SCREEN with tag mode that connected to the function that I biuled how can I do that that when I choose in the SELECTION SCREEN it do it in the function thankes

SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.

PARAMETERS: file_ser LIKE dxfile-filename .

PARAMETERS: file_in LIKE dxfile-filename .

<b>PARAMETERS: mode_opt TYPE ctu_mode DEFAULT 'N'.</b>

SELECTION-SCREEN END OF BLOCK blk1.

LOOP AT itab.

REFRESH messtab.

CLEAR messtab.

REFRESH returen_messege.

CLEAR returen_messege.

CALL FUNCTION 'YHR_VENDOR_BI'

EXPORTING

  • CTU = 'X'

<b>* mode = 'A'</b>

  • UPDATE = 'S'

  • GROUP =

  • USER =

  • KEEP =

  • HOLDDATE =

  • NODATA = '/'

lifnr_001 = itab-company_code

ktokk_002 = 'Z001'

anred_003 = 'Company'

name1_004 = itab-company_name

sortl_005 = itab-company_name

land1_006 = 'IL'

spras_007 = 'HE'

stceg_008 = itab-osek_morsh

IMPORTING

subrc = sucsses_messege

TABLES

messtab = returen_messege.

PERFORM write_message.