Hello ABAPfreaks out there,
I raised a ticket at SAP regarding creation of methods using the #ADT wizzard.
During the creation of methods using the Quick Assistant ( Strg + 1 ) parameter types are not correctly computed.
Example:
Data: t100 type t100.
“Success Case:
t100-msgnr = any_class_instance->get_msgnr( ). “Methode get_msgnr created using STRG+1 wizzard. Type detected correct
“Error cases – value Statement:
data: t100 type t100.
t100 = value #( msgnr = integra_file_dao->get_msgnr( ) ). “type of returning is not determined -> ANY.
t100 = value t100( msgnr = integra_file_dao->get_msgnr( ) ). “type of returning is also not determined -> ANY.
“Success Case 2
t100 = value t100( msgnr = conv msgnr( integra_file_dao->get_msgnr( ) ) ). ” Typisierung wird auf msgnr erkannt.
3655122 – ADT improve type determination for quickfix to create method from call
https://me.sap.com/notes/0003655122
Note is available for:
Support Package
Enjoy better coding experience!
Best Timo
Hello ABAPfreaks out there, I raised a ticket at SAP regarding creation of methods using the #ADT wizzard.During the creation of methods using the Quick Assistant ( Strg + 1 ) parameter types are not correctly computed.Example:Data: t100 type t100.
“Success Case:
t100-msgnr = any_class_instance->get_msgnr( ). “Methode get_msgnr created using STRG+1 wizzard. Type detected correct
“Error cases – value Statement:
data: t100 type t100.
t100 = value #( msgnr = integra_file_dao->get_msgnr( ) ). “type of returning is not determined -> ANY.
t100 = value t100( msgnr = integra_file_dao->get_msgnr( ) ). “type of returning is also not determined -> ANY.
“Success Case 2
t100 = value t100( msgnr = conv msgnr( integra_file_dao->get_msgnr( ) ) ). ” Typisierung wird auf msgnr erkannt. 3655122 – ADT improve type determination for quickfix to create method from callhttps://me.sap.com/notes/0003655122Note is available for:Support Package Software Component VersionSupport Package SAP_BASIS 754SAPK-75413INSAPBASIS SAP_BASIS 755SAPK-75511INSAPBASIS SAP_BASIS 756SAPK-75609INSAPBASIS SAP_BASIS 757SAPK-75707INSAPBASIS SAP_BASIS 758SAPK-75805INSAPBASIS SAP_BASIS 816SAPK-81601INSAPBASIS Enjoy better coding experience! Best Timo Read More Technology Blog Posts by Members articles
#SAP
#SAPTechnologyblog