Application Development 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: 

F4 functinality to Application Server.

Former Member
0 Kudos

Hi,

Can u pls tell me how to giv F4 functianlity to Application server.

2 REPLIES 2

Former Member
0 Kudos

Hi, U can use the Function Module /SAPDMC/LSM_F4_SERVER_FILE

please find the sample code...for the same....

where PA_FILE IS the parameter where u want the f4 functionality

AT SELECTION-SCREEN ON VALUE-REQUEST FOR PA_FILE.

CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'

EXPORTING

DIRECTORY = ' '

FILEMASK = ' '

IMPORTING

SERVERFILE = PA_FILE

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.

Regards,

Swaroop

andreas_mann3
Active Contributor
0 Kudos

Hi,

create your own search-help with se11

A.