Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hi experts Regarding function module

Former Member
0 Likes
612

Hi experts,

I want to know a function module . Whenever we click f4 on application server it should allow to browse,like we do in presentation server. Whenever we click f4 it wil allow to browse.

Plz help if there is any such function module available.

Good answers will be rewarded for sure.

Thanks and regards,

shilpa.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
591

Hi ,

try these

SUBST_GET_FILE_LIST

F4_DXFILENAME_TOPRECURSION

regards

Prabhu

5 REPLIES 5
Read only

Former Member
0 Likes
592

Hi ,

try these

SUBST_GET_FILE_LIST

F4_DXFILENAME_TOPRECURSION

regards

Prabhu

Read only

former_member195383
Active Contributor
0 Likes
591

use...

FM

F4_DXFILENAME_TOPRECURSION

reward points if helpful...

Read only

Former Member
0 Likes
591
Read only

sachin_mathapati
Contributor
0 Likes
591

Hi ,

use this FM '/SAPDMC/LSM_F4_SERVER_FILE'


* Read the directory from application server
  CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
       EXPORTING
            directory        = '/usr/sap/'
       IMPORTING
            serverfile       = pa_dirnm
       EXCEPTIONS
            canceled_by_user = 1
            OTHERS           = 2.

  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

Read only

Former Member
0 Likes
591

hi,

DATA : WF_FNAME LIKE RLGRAP-FILENAME. "To get the filename

  • To get the filename

CALL FUNCTION 'KD_GET_FILENAME_ON_F4'

CHANGING

FILE_NAME = WF_FNAME

EXCEPTIONS

MASK_TOO_LONG = 1

OTHERS = 2.

revert back if any queries

Mark the post answered once ur problem is solved ....