10-05-2009 12:09 PM
Hi All,
I am using function 'C_RSTS_READ' with following parameters
DATA: BEGIN OF UP_TAB_TEMSE OCCURS 100,
length(5) type X,
LINE(133) TYPE C,
END OF UP_TAB_TEMSE.
CALL 'C_RSTS_READ'
ID 'HANDLE' FIELD HLP_FBHANDLE-HANDLE
ID 'BUFTAB' FIELD UP_TAB_TEMSE-sys
ID 'BUFFLG' FIELD '*'
ID 'MAXIX' FIELD 0 "Sonderbedeutung: unendlich lesen
ID 'SHOWLG' FIELD 'X'
ID 'RC' FIELD HLP_RSTS_RC
ID 'ERRMSG' FIELD HLP_RSTS_MSG.
This code is working fine in ECC4.6 but if I am trying to execute it into ECC6.0 giving dump CONVT_NO_NUMBER.
Please provide with the possible solution
10-05-2009 12:13 PM
Hello Nishu,
CALL 'XXX' is an SAP kernel level function. Better advised not to use in customer programs.
My question is why are you using this function in first place ?
BR,
Suhas
10-05-2009 12:26 PM
SAP Says As of Release 6.20, you should use Kernel Methods instead of system functions.
A kernel method is declared like a normal ABAP method, in the Class Builder or in the declaration section of a local class. It is completely irrelevant fro the declaration that a method is declared as a kernel method. In ABAP, a kernel method can therefore be used just as a normal ABAP method.
But you should not call system functions in application programs.
Seems like you are modifying some SAP written code to meet your requirement by hook or crook?
10-05-2009 12:31 PM
Use FM RSTS_READ.
NB: Also, if you copyied some program in 46C, look in ECC 60 for modifications of the original program thru OSS notes and apply those back to your copy, or get back to standard programs.
Regards,
Raymond