10-08-2007 12:44 PM
Hi All,
Will anybody let me know why the PBO is calling again when triggering the PAI.
what might be the reason, what might have done wrong by me.
please anybody le me know,
I am struggling with this problem from long ;;;
10-08-2007 12:47 PM
hi
Flow Logic
It is the code that processes a screen in SAP. The various event blocks of flow logic are as follows
· Process Before Output PBO
Code that is executed before the current screen is displayed
· Process After Input PAI
Code to be executed when the user does any interaction with the screen. At the end of PAI the system goes to the PBO of the next or the current screen
reward if u find useful
regards
Nagesh.Paruchuri
10-08-2007 12:48 PM
hi
after PAI event is triggered it should generate 'PBO' its nature...
ex..
if u click a button on a screen it will genrate first PAI module then it will generate to 'PBO' module..
can u send me your coding and what your facing an error?
flow login is there..
1. Process before output
2. process after input
3. process on value-request
4. process on help-request.
regards
baskaran.
Message was edited by:
baskaran nagamanickam
10-08-2007 4:46 PM
Hi bhaskaran,
This is my code ,
will you pls analyse and let me know its urgent,,,
tables mara.
data: gs_makt type makt , okcode type syucomm.
data: gv_matnr type matnr, gv_makt type maktx.
start-of-selection.
end-of-selection.
call screen 100.
&----
*& Module STATUS_0100 OUTPUT
&----
text
----
module STATUS_0100 output.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
clear gs_makt.
select matnr from mara into gv_matnr up to 1 rows. endselect.
endmodule. " STATUS_0100 OUTPUT
&----
*& Module USER_COMMAND_0100 INPUT
&----
text
----
module USER_COMMAND_0100 input.
case okcode.
when 'GETT'.
select single * from makt into gs_makt where matnr = gv_matnr.
when'CANCEL'.
leave to screen 0.
endcase.
endmodule. " USER_COMMAND_0100 INPUT