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

Declaration

former_member549415
Participant
0 Likes
608

Hi to all

I'm Developing infotype module pool program in that i hv declare one structure for letter type

like this in INCLUDE MP999910. " Data Definitions

TYPES : BEGIN OF ty_let_typ,

zlet_typ TYPE zhr006_letr_typ-zlet_typ,

let_typ_tx TYPE zhr006_letr_typ-let_typ_tx,

END OF ty_let_typ.

DATA : it_let_typ TYPE STANDARD TABLE OF ty_let_typ,

wa_let_typ TYPE ty_let_typ.

and now m attaching f4 search help for table type for tht i have define following module. in INCLUDE P999920." Output Modules

MODULE get_data_for_f4_help OUTPUT.

REFRESH it_let_typ.

SELECT zlet_typ let_typ_tx FROM zhr006_letr_typ

INTO CORRESPONDING FIELDS OF TABLE it_let_typ

WHERE massn = p9999-subty ORDER BY let_typ_tx DESCENDING .

ENDMODULE. " GET_DATA_FOR_F4_HELP OUTPUT

but it showing error that IT_LET_TYP is unknown .

Please guide me

Thanks .

Somnath K

3 REPLIES 3
Read only

Former Member
0 Likes
591

Check if INCLUDE is active and included in your main program.

Read only

Former Member
0 Likes
591

put ur query in flowlogic itself

PROCESS AFTER INPUT.

MODULE CANCEL AT EXIT-COMMAND.

FIELD CARRIER VALUES ('AA', 'LH').

FIELD CONNECTION SELECT *

FROM SPFLI

WHERE CARRID = CARRIER

AND CONNID = CONNECTION.

Read only

Former Member
0 Likes
591

Hi Somnath,

Please try creating the module get_data_for_f4_help as a PAI module in include MP999930.

Hope that wud solve your issue.

Thanks,

NR