‎2006 Nov 11 9:05 AM
iam using call function 'IDWT_READ_MONTH_TEXT'
How to declare the output parameter T247 .
‎2006 Nov 12 4:19 AM
Hi,
Sorry to say ..but can you confirm the name. I tried to go to this FM in my dev and it is saying that this FM does not exist. Or can you write in which mod can i get this
Regards,
Sameer
‎2006 Nov 13 2:57 AM
Hi Ram
Maybe below code can help you:
data: it_t247 type table of t247, ---> <b>Contents of Internal Table</b>
wa_t247 type t247. ---> <b>Work Area</b>
CALL FUNCTION 'MONTH_NAMES_GET'
EXPORTING
LANGUAGE = SY-LANGU
IMPORTING
RETURN_CODE =
TABLES
MONTH_NAMES = it_t247
EXCEPTIONS
MONTH_NAMES_NOT_FOUND = 1
OTHERS = 2.
Kind Regards
Eswar
‎2006 Nov 16 1:58 PM
Hi,
Can You reconfirm the name of the FM which you have mentioned. i didnt find any FM with such name. Can You mention in which SAP release you are working.
Thanks,
sksingh
‎2006 Nov 17 6:59 AM
Hello,
You can create an internal table for T247 and the work area for it and specify the internal table with the output parameter( as long as the output parameter has the type of a internal table - open up FM in se37 and check the import parameter tab)
Regards,
Shehryar Dahar
‎2006 Nov 17 2:52 PM
Hi,
T247 is a structure :
SPRAS, type SPRAS, LANG[1] Language Key
MNR, type FCMNR NUMC[2] Month number
KTX, type FCKTX CHAR[3] Month short text
LTX, type FCLTX CHAR[10] Month long text
Hope that helps.
Dieu