‎2007 Sep 26 9:05 AM
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..
‎2007 Sep 26 9:42 AM
use the logic LOOP AT SCREEN.
and try to make it active.
reward points if useful......
‎2007 Sep 26 9:42 AM
use the logic LOOP AT SCREEN.
and try to make it active.
reward points if useful......
‎2007 Sep 26 10:55 AM
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
‎2007 Sep 26 12:26 PM
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
‎2007 Sep 26 12:31 PM
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