I need to call a screen from an Include program and call that screens PBO and PAI modules which are in two other different includes.How do I do that ?
This is because if I include the other two includes(one having the PBO and the other having the PAI modules) within the first include and try to compile the program , it gives the following error message -
" Incorrect nesting: Before the statement "MODULE", the structure introduced by "FUNCTION" must be concluded by "ENDFUNCTION" "
Plz help... Thx..
Srinivas Adavi replied
Go into the main program of the user exit EXIT_SAPLCOIH_018 which is SAPLXWOC. In there, you will see an include ZXWOCZZZ. This is meant for your PAI and PBO modules. Since you already created two includes, all you need to do is, double click on this ZXWOCZZZ include. It will ask if you want to create it. Say yes and create it. Once created, add your two includes in this one. You should be good to go.