2011 Oct 13 9:03 PM
Per the link below, I used to be able to activate "dynamic date calculation" in variant.
<link to blocked site removed by moderator>
Our system has been upgraded to 6.0 and now we do not the same variant attribues screen where I can activate the "D" variable. It brings me to program/screen SA38/281.
Any suggestion how I may activate the "D" dynamic date calculation variable in a variant?
Edited by: Thomas Zloch on Oct 14, 2011 11:34 AM
2011 Oct 14 2:14 PM
Hi Stacy.
Keep in mind that you can only apply the 'D Variable' to fields of type D (Dates), for other data types like character, decimal or integer you can not apply it.
That may be your case?
Regards.
Per the link below, I used to be able to activate "dynamic date calculation" in variant.
<link to blocked site removed by moderator>
Our system has been upgraded to 6.0 and now we do not the same variant attribues screen where I can activate the "D" variable. It brings me to program/screen SA38/281.
Any suggestion how I may activate the "D" dynamic date calculation variable in a variant?
Edited by: Thomas Zloch on Oct 14, 2011 11:34 AM
2011 Oct 13 10:03 PM
Hi Stacy
Actually in 6.0 you do have this option in the new variant Attributes screen.
Check this image: http://img834.imageshack.us/img834/2180/testgmb.jpg
Regards
2011 Oct 13 10:44 PM
Thanks Jose Maria for your response. The attached link does not work. It "Connecting..." for long time and finally times out. Please check your link.
2011 Oct 13 11:24 PM
I think your company, firewall/ASA server is blocking the imageshack.us domain name.
In the column "Selection Variable" corresponding to the date row click match code or select that cell and press F4 in the pop up window the double click on D. Do the same thing for the column "Name of the variable".
Edited by: Jeevan Sagar on Oct 13, 2011 5:24 PM
2011 Oct 13 10:08 PM
In ECC 6.0, In the Variant Attributes screen, F4 Selection variable and select 'D' and in the Name of Variable select the function needed.
2011 Oct 14 12:00 AM
Hi you can follow the below steps for Dynamic date selection
1>> Execute the report
2> Click on save button ( as variant )
3> Goto "Objects for selection screen" , select the date field -> set selection variable as 'D' and select select the name of variable ( Dynamic date )
4> Save the variant
2011 Oct 14 2:09 PM
Thank you for all your responses.
For some reports, the "T" (table TVARVC) and "D" (dynamic date calculation) are visible in the Selection Variable" column. But some reports only have "T" variable type. For those reports the "D" variable type not visible, how we may activiate to make "D" visible?
2011 Oct 14 2:14 PM
Hi Stacy.
Keep in mind that you can only apply the 'D Variable' to fields of type D (Dates), for other data types like character, decimal or integer you can not apply it.
That may be your case?
Regards.
2011 Oct 14 2:19 PM
I have two reports side by side, both are custom built, use the same data field, and both are type "P". One has the "D" varible (possibly activated prior to upgrade) and the other one doesn't. Strange!
2011 Oct 14 2:25 PM
That's really strange indeed. Which data type is using if i may ask?
Could you paste here the relevant selection screen code?
2011 Oct 14 3:13 PM
Jose Maria:
Thanks for taking your time in helping on this. Both reports are using the same field P_DATEHG (to-date), prgram screen SAPLSVAR, and screen #281.
Program (GUI) - SAPLSVAR
GUI status - ALV_ATTR
Stacy
2011 Oct 14 4:22 PM
Actually I meant the relevant code of your custom report, you just provided me with the info of the standard variant screen.
You can go to SE38, enter your custom report name, display the code, and paste the definition of that parameter. (It would be something like
PARAMETERS: P_DATEHG TYPE XXX_TYPE.
What I am interested in is to know which data type is being used, since this functionaliy will only apply to date type fields. So, bottom line: this field must definitely be a date, which makes me think that either something has changed in the custom report or after the upgrade to ECC 6.0 this data type might have changed as well.
Best regards.
Edited by: Jose Maria Otero on Oct 14, 2011 5:26 PM
2011 Oct 17 7:06 PM
Hi Jose Maria:
You are right about the data type of the date field. We have reset it to be DATS, now It works properly and the "D" Dynamic Date Calculation visible. Thank you for taking your time in helping me.
Regards,
Stacy
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |