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

Module pool ????

Former Member
0 Likes
439

Hi Experts,

I am sending my code. could anyone tell me what might be the wrong in that? and how it could be solved?

PROGRAM zdemo9.

TABLES:ess_life_event_menu.

DATA:BEGIN OF itab OCCURS 0.

INCLUDE STRUCTURE ess_life_event_menu.

DATA:END OF itab.

CONTROLS:tc1 TYPE TABLEVIEW USING SCREEN 100.

CALL FUNCTION 'ESS_GET_LIFE_EVENT_MENU'

EXPORTING

ess_live_event = 'PZM3'

uname = sy-uname

  • IMPORTING

  • LE_DESC =

  • LE_OPEN =

  • LE_OPEN_M =

TABLES

ess_le_menu = itab

  • ESS_LE_COLOR_TABLE =

  • ERROR_MESSAGE =

  • ESS_LE_EP =

  • EXCEPTIONS

  • NO_PERNR = 1

  • OTHER = 2

  • OTHERS = 3

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
414

Insert your CALL FUNCTION statement inside any module called from either the PBO/PAI of your screen as per your requirement. The call can be nested as well.

4 REPLIES 4
Read only

Former Member
0 Likes
414

Hi,

What is the problem that you are facing?

Thanks,

Sutapa.

Read only

Former Member
0 Likes
415

Insert your CALL FUNCTION statement inside any module called from either the PBO/PAI of your screen as per your requirement. The call can be nested as well.

Read only

Former Member
0 Likes
414

hi,

thisi is syntatically correct..where u r facing the problem exactly..and what is the error u r getting ?

regards,

pankaj singh

Read only

Former Member
0 Likes
414

Hi

this is syntactically correct.i executed it.

-charitha