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 Error

Former Member
0 Likes
761

Hi all,

i have added few text fields and a push button in additional tab B in va01 transaction header level.

now when i click on the push button the logic behind it works fine and all my ztables are getting updated properly but after updating it says an error message

in the screen 'Requested function CON is not available here' , CON is the function code of the push button which i have added.

and also the screen grays out,i mean the additional tab B.

how can i remove this error ?

Thanks..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
665

use the logic LOOP AT SCREEN.

and try to make it active.

reward points if useful......

4 REPLIES 4
Read only

Former Member
0 Likes
666

use the logic LOOP AT SCREEN.

and try to make it active.

reward points if useful......

Read only

0 Likes
665

Hi Naresh thanks for ur reply,

my code looks like this,

PROCESS BEFORE OUTPUT

MODULE ZZUSER_COMMAND_8309_PBO.

PROCESS AFTER INPUT.

MODULE ZZUSER_COMMAND_8309.

can u explain a bit more on how i can use loop coz it says screen not a database field.

Thanks..

Message was edited by:

ABAPer

Read only

0 Likes
665

Hi,

loop at screen.

if fieldnname = 'XXXX'.

screen-output = 1.

screen-input = 1.

modify screen.

endloop.

endif.

write a module in pbo for this code...will work only in pbo

reward if helpful

vivekanand

Read only

Former Member
0 Likes
665

hi..

can u tell me exactly where is the button placed?? i mean is it on the application toolbar or where???

plus make sure that CON (func code) is assigned to the button (in screen layout)..

give me a little bit more details abt ur problem??

also as far as LOOP AT SCREEN goes... u can do that inside the code of a PBO module (First PBO preferred 4 ur case).. also the contents of the screen table is the same as what u see in the ELEMENT LIST tab while u r defining the screen (in SE51).

regards,

sagar

Message was edited by:

Sagar Mehta