‎2009 May 19 1:27 PM
Hi,
plz send me how we fetch the data from report to module pools screen.
thank u
-Sudhakar
‎2009 May 20 8:41 AM
Hi,
Write your select statements in the PAI of the program.
For example, go through the standard program SAPMTZ10 .
Regards
‎2009 May 20 7:35 AM
hi
Step1 : create a Module pool program with a screen no
eg : YCOE_MODULE_SH8
in se51 click on layout and in the screen painter layout create one input/output field
eg : WK_SNAME, in the attributes of that field define
Parameter id : SAT &
select the GET Paramter check box save & activate.
then declare the field like
DATA : wk_sname TYPE ysrtmm-sname in the se38 program.
se51 screen
PROCESS BEFORE OUTPUT.
MODULE status_8900.
PROCESS AFTER INPUT.
MODULE user_command_8900.
set the PF Status in PBO & define PAI User Command Module then save and activate the program
create a tcode for it in se93 eg : YMODULE_SH8.
Step2 : Create a executable program in se38
eg : YCOE_MODULE_PARAM
declare the field like
DATA : wk_sname TYPE ysrtmm-sname here also with the same name for the field.
start-of-selection.
wk_sname = 'SACHIN'.
set parameter id 'SAT' field wk_sname.
call transaction 'YMODULE_SH8'.
Regards
Murali.M
‎2009 May 20 8:41 AM
Hi,
Write your select statements in the PAI of the program.
For example, go through the standard program SAPMTZ10 .
Regards
‎2009 May 20 9:13 AM
Hello Sudhakarmarri,
use this keyword.
CLAA TRANSACTION <tcode> USING bdc_tab.
in bdc_tab you can pass your details .
Component Description
PROGRAM Name of the program of the called transaction
DYNPRO Number of the dynpro to be processed
DYNBEGIN Flag for the beginning of a new dynpro (possible values are "X" and " ")
FNAM Name of a dynpro field to be filled or batch input control statement, for example, to position the cursor
FVAL Value to be passed to the dynpro field or to the control statement
Using the internal table bdc_tab, you can provide any number of screens of the called transaction with input and user actions.
Hope this discussion was helpful.
Cheers,
Suvendu
‎2010 May 11 7:06 AM