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

F4 functinality to Application Server.

Former Member
0 Likes
345

Hi,

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

2 REPLIES 2
Read only

Former Member
0 Likes
321

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

Read only

andreas_mann3
Active Contributor
0 Likes
321

Hi,

create your own search-help with se11

A.