06-11-2008 12:30 PM
hai all this is pradeep,
i would like to have coding for the above requirement plz help me out.
thanks and regards....
abpk
06-11-2008 12:50 PM
for text reports look into the verb
LEAVE TO LIST-PROCESSING.
Addition:
... AND RETURN TO SCREEN scr.
for grid.. look into ALV and Custom Controls on the screen.
06-11-2008 1:03 PM
Hi Pradeep,
In the screen place a push button and give it a function code.
create a transaction for the report.
and in the PAI module write this code
when 'REPORT'.
set parameter id 'AUN' field it_vbak-vbeln.
call transaction 'ZVA03' and skip first screen.
in the report use the statement get parameter id.
data : vbe type tpara-paramid value 'AUN'.
parameters : pr_vbeln like vbak-vbeln.
get parameter id VBE field pr_vbeln.
so if you press the button now the report will be triggered.
Regards,
Charumathi.B
06-20-2008 5:40 AM
hai charu
ur answer is very helpful to me thank u so much..and what about the forms calling from dynpro....
06-23-2008 2:59 PM
Hi Pradeep,
You can follow the same logic to dynpro's.
Coming to Forms,You can call the driver program by assigning a Ztransaction to it.
Regards,
Charumathi.B
06-12-2008 1:11 PM
You might want to explain the requirement a little further... but if you have an existing report then check into the "submit ???? and return"... if you are running a SAPScript form from a dynpro, this would also be an appropriate technique i.e. generate the form from from the report, and submit the report from the module pool.
Jonathan