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 to application layer

Former Member
0 Likes
771

Hi,

f4 functinality for storing data in Application server, ie on the selection screen I have to have the f4 functionality which has to navigate to the application layer (AL11), is there any FM for this, please let me know what I have to pass, a sample code is welcome.

Thanks & Regards,

Varun.K

Edited by: vikram kagada on Jun 20, 2008 3:28 PM

6 REPLIES 6
Read only

Former Member
0 Likes
730

USE FM : /SAPDMC/LSM_F4_SERVER_FILE

Read only

Former Member
0 Likes
730

use this ....F4_DXFILENAME_4_DYNP

DYNP_VALUES_READ

Read only

Former Member
0 Likes
730

Vikram,

Check with this FM 'SAPDMC/LSM_F4_SERVER_FILE'.

Regards,

Suresh Kumar.

Read only

Former Member
0 Likes
730

hi,

Use FM F4_dxfilename_toprecursion F4 help of application file

Regards,

Santosh

Read only

Former Member
0 Likes
730

Hi,

DATA:

c_fnh_mask TYPE dxfields-filemask VALUE '.',

search_dir TYPE dxfields-longpath VALUE 'F:\USR\SAP\',

file_path LIKE dxfields-longpath.

CLEAR p_fpath.

  • To provide the F4 help for Application Server File Path

CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'

EXPORTING

i_location_flag = 'A'

i_server = ' '

i_path = search_dir

filemask = c_fnh_mask

fileoperation = 'R'

IMPORTING

o_path = file_path

EXCEPTIONS

rfc_error = 1

OTHERS = 2.

IF sy-subrc EQ 0.

p_fpath = file_path.

ENDIF. " IF sy-subrc EQ 0

Reward if helpful.

Bye

Read only

Former Member
0 Likes
730

Hi,

Check this out....

PARAMETERS:

p_input LIKE ibipparms-path OBLIGATORY.

CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'

EXPORTING

directory = './'

IMPORTING

serverfile = p_input

EXCEPTIONS

canceled_by_user = 1

OTHERS = 2.

IF sy-subrc NE 0.

MESSAGE e767(3f).

ENDIF.

Thanks.