07-16-2009 6:45 AM
Hi,
i have one Report Program(ZEXAMPLE).i want to call report program from one module pool program and i need to paas one
value to report program.pla tell me the sytax for that one...by using sumbit statement using some value. i didn't remember excatly..
plz help me on the same any one
07-16-2009 6:47 AM
SUBMIT ZReport2 WITH PA_CARID = ZDYN_CONN-CARRID.
where PA_CARRID is the parameter or field in your Report program
07-16-2009 7:03 AM
i want to call my report program(ZRP_EXA) from my module pool program with value.
my Module pool program name : ZDYN_POOL in this program i have one field aufo-aufnr.
i want to to call ZRP_EXA from ZDYN_POOL wih that field..with submit statement...plz tell me the syntax
07-16-2009 7:18 AM
submit ZRP_EXA with varible = aufo-aufnr.
here variable is the variable in ur program ZRP_EXA in which u want to pass the value
07-16-2009 7:34 AM
Hi,
This is with reference to the above reply.
write this statement in your module program(where you want to call the report program)
SUBMIT ZRP_EXA WITH PA_AUFNR = aufo-aufnr.
where PA_AUFNR is the parameter or field in your Report program (ZRP_EXA )
Regards
Nishant Malhotra
07-16-2009 7:43 AM
Hi,
you can use IMPORT/EXPORT statments in calling and called program to accomplish your requirement
you also might have to use 'AND RETURN' addition if the requirement demands.
Regards,
Nirmal
07-16-2009 7:57 AM
HI srinathtc,
You can use Submitt and retrn for this purpose.
e.g., I have called RM06BA00 with the parameters and select options.
if any select-options is there in the report's selection screen then define a ranges for that.
RANGES: L_R_WERKS FOR MARD-WERKS.
L_R_WERKS-SIGN = 'I'.
L_R_WERKS-OPTION = 'EQ'.
L_R_WERKS-LOW = LT_FINAL-WERKS.
SUBMIT RM06BA00
WITH BA_MATNR-LOW = LT_FINAL-MATNR
WITH P_LSTUB = 'ALV'
WITH S_WERKS IN L_R_WERKS
WITH S_BANPR IN L_R_BANPR
AND RETURN.
Hope this will help you.
Regars,
Nitin
09-14-2011 6:57 AM