what is variable? give me one example? i want to display
12 months in a report..? how many varbles are used?

Answer Posted / dinesh5

Variables are place holders of values that are filled dynamically during query execution.

For your Example .

1) If you need 12 months of a year just use 0CALYEAR variable

EX : ZRP_YR_VAR

Get the cal year from user with following properties.
1) Manual entry/ default value
2) Variable is ready for input
3) Variable is Manditory



2) If you need any 12 months (maybe APRIL to March) variable use 0CALMONTH

create a new selection and add the keyfigure and ZRP_YR_VAR variable.

EX : ZRP_MONTH_ST_VAR

Get the Start calmonth from user with following properties.
1) Manual entry/ default value
2) Variable is ready for input
3) Variable is Manditory

create a new selection variable and restrict it to variable ranges

select start month as starting and
select Start month as end and offset it to 12 by right clicking and giving offset value.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the ?$? as an authorization value?

1863


You want to see if the execution of a query has been slow or fast. How would you do that?

715


how to getweekday,weekmonth,month,weekno,week order in the report by using routines?

1820


What is the process chain?

743


What is the Bex options for characteristics like F4 help for query definition and execution?

2800


what is direct schedule and what is meta chain

2118


How do perform real-time data acquisition in a bw system?

694


Explain the architecture of the sap bw system and its components?

734


describe how you have used excel as a compliment to bex?

756


is their any difference between bex 3.5 and bex 7.0?

3831


Can any 1 plz tell me How to identify the missing delta's to run the repair full request,and vat are the extractors used in lo cockpit,if i use filter on condition which 1 will execute first?,

2161


How we do the sd and mm configuration for bw?

799


How can you navigate to see the error idocs?

746


What are the load process and processing?

775


Explain ods?

764