‎2009 Oct 29 4:44 AM
Hi All,
We have custom transaction ZPRS(Module pool program)... which contains selection screens ..
usually user run give the values on selectin screens and press submit.. it displays the list of values on table control..
But user asking instead of table control .. after selection screen input they have run in BACK GROUND.
Please suggest how to that... I know submit is for executable program,...
Thanks...
reddy.
‎2009 Oct 29 7:35 AM
Try to create a batch input program for your (custom) module pool or use the available BAPI's (function modules for this). If your custom program also involves custom tables, you might want to consider to create your own BAPI's for this. You haven't provided that much info, but for background processing BAPI's could be your way to go.
‎2009 Oct 29 1:09 PM
Chandra,
After hitting submit button,
You will be having the data in internal table.
So, just call the ALV grid display function module..
like,
case ok_code.
when 'BACK'
Leave to screen 0.
when 'EXIT'
leave program.
when 'SUBMIT'
call function 'REUSE_ALV_GRIID_DISPALY.
...
..
..
if sy-subrc <> 0.
< message>
endif.
endcase.