11-17-2012 11:16 AM
Dear Friends,
I am writing select query on TCURR table , but unable to get the values from table because of the GDATU field as I am passing this from input screen as fiscal year in where condition and this is not matching with the GDATU as this is in different format.
I mean to say i have to fetch year from this GDATU so that I can pass this to input screen in where condition so that I can get the records from TCURR.
Please help me if you have idea .
MY query is as follows.
SELECT kurst
tcurr
gdatu
ukurs
FROM tcurr
INTO TABLE gt_tcurr1
WHERE kurst = 'F'
AND tcurr = 'GBP'
AND gdatu = if2. (input screen project defintion(for ex: fiscal year as 2013 as I have to take year from gdatu))
soon reply is highly appreciated .
Thanks
11-18-2012 8:08 AM
About SCN is for general SAP Community Network related discussions only.
To get a quick (or any) response, create your new discussion in a space related to your query. This way it will be visible to topic experts who will then see and reply to it. The SCN Site Index contains a full listing of all SCN spaces.
I believe this belongs in so I will move it to that space now.
11-19-2012 3:43 AM
11-19-2012 7:23 AM
Hi jack.
Thanks for your reply,
Could you let me know how to pass this year to selection screen fiscal year from this select qyery. So that i can get the records depending on this condition.
11-19-2012 7:46 AM
Regards,
Raymond
11-19-2012 7:58 AM
Hi,
can you please write the code for the above query to get records from the tcurr table based on year from gdatu and fiscal year from selection screen..
thanks,
11-19-2012 8:20 AM
Moderator Message : Spoon feeding is not allowed here, enough details are already provided. Try to complete it yourself, if you still fail to get it then place your code here and ask for correction.