Getting F4 help for files on Application Server

By Kameswara Rao, IBM India

REPORT  zf4_applicationserver.
**Parameters**
PARAMETERS: p_file TYPE rlgrap-filename.
***AT Selection-Screen*******
AT SELECTION-SCREEN ON  VALUE-REQUEST FOR p_file.
***Function  module for F4 help from Application  server
  CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
* EXPORTING
*   DIRECTORY              = ' '
*   FILEMASK               = ' '
   IMPORTING
   serverfile             =  p_file
   EXCEPTIONS
   canceled_by_user       = 1
   OTHERS                 = 2
            .
  IF sy-subrc = 0.
    MESSAGE 'Successful'  type 'I'.
  ENDIF.

Execute the program. 

 

Press F4 . The following pop-up screen would appear. 

 

 

Let us select a file from the given list (see the screen-shot above). 

For our testing purpose, we have issued a success message if the F4 help is successful. Following is the success message: 

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image