on 07-29-2009 6:16 AM
Hi Experts,
Good Morning !
I have a requirement to hide columns which has no data. Example : In columns we have Jan to Dec but now we are in July Month so we have to display upto July and hide Aug to Sep columns dynamically. Is there any solution to do this in WAD/ Query Desiner 7.0.
Kindly provide me the inputs.
Thanks in Advance,
Suvarna
Dear Suvarna,
Please try the option 'zero suppression' in the Query Designer. Go the the properties of the query itself -> select tab 'Rows/Columns' -> choose the option 'suppress zeros': 'active (all values = 0)' -> 'effect on': 'columns'.
Afterwards in the executed template in java web choose settings -> data provider -> uncheck the option '"Key Figures" As Group: Apply Zero Suppression Only if All Elements Are 0'.
This works dynamically to suppress all columns which have no data.
Best regards,
Janine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suvarna,
U can do in this way!!!!
In u r query properties supresss with Zero --> and select the Colums radio button This will help u!!!
Thanks
Allu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Suvana,
how is the defineing of the rows and columns? I think you have no static structure in the columns.
I guess you have the time characteristic 0CALMONTH in your column tab defined. Now you can restrict with a value range selection BETWEEN. In the FROM parameter you can define 01.2009 and in the TO parameter you select from list and then in the SHOW dropdown box 'variable'. You find a standard SAP variable 0CMONTH with descrption current calendar month. It is a Exit variable. choose it. Now you get automatically and dynamically only values up to the current month. also you have to mark in the properties advanced tab ONLY VALUES IN INFOPROVIDER. If you have zero values in the infoprovider you go to the properties of the query tab rows/columns and mark in the sub tab effect on the entry columns.
Now it must work or I need the exact definition of your query.
take care
Leo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try out with cell defination if the month column value is zeor. then do not show.
regards,
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suvarna,
I guess you can create a restricted key figure where you select the key figure and restrict it by current month. This way no data would be available for later months. I am not sure if SAP calculates the current month automatically. If not possible you can calculate the current month using a variable in user exit and restrict based on the variable.
Bye
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.