Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

PLS SEE THIS CODE

Hi Experts ,

I want to execute the report by selecting the variant for that particular report so iam writing the coding for that one but it is not taken the values so

iam given as

A Report check box and A Report variant (here i want to select the varinat for this A Report )

B Report check box and B Report variant (here i want to select the varinat for this B Report )

so when iam selecting the particular report and variant for this one it wants to execute pls provide the solution

Code is as follows

CASE SY-UCOMM.

WHEN 'PRI'.

IF C1 = 'X'.

SELECT * APPENDING TABLE T_VARID1

FROM VARID

WHERE REPORT EQ 'ZRM07MLBD'.

LOOP AT T_VARID1.

if VARR1 is initial.

submit ZRM07MLBD

  • line-size p_linesz

  • line-count p_linect

via selection-screen

exporting list to memory

and return.

else.

submit ZRM07MLBD

  • line-size p_linesz

  • line-count p_linect

using selection-set VARR1

exporting list to memory

and return.

endif.

Edited by: Mohan Reddy on Oct 7, 2008 5:50 AM

Tags:
Not what you were looking for? View more on this topic or Ask a question