SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Development resources, articles, tutorials, code samples, tools and downloads for SAP HANA and ABAP, HANA Database, SQLScript, SAP UI5, Screen Personas, Web Dynpro, Workflow

Table Type Selection for VBFA


On a recent ATC check on one of SAP HANA AMDP procedure codes, I realized that TT_VBFA (Sorted Table Type of VBFA) is not the correct ABAP dictionary object and VBFA_T (Table Type for Structure VBFA) should be used for code quality for your ABAP developments.

Instead of using the correct table type for VBFA, I mean wrong selection of TT_VBFA instead of VBFA_T caused listing of following ATC checks in the error list.

Package Check for Source Code Objects and ABAP Dictionary Objects
Package Violation - Error - Missing use access (USEM). ... ...
Missing use access for usage of TTYP TT_VBFA.
The package /KODYAZ/SOM_INFO_ORDER of the client object CLAS /KODYAZ/SOM_INFO_ORDER_AMDP does not have sufficient use access to use the development object TTYP TT_VBFA (package ERP_SD_ANALYTICS_CORE).
Cannot be hidden using a pragma or pseudo-comment

S/4HANA: Search for usages of simplified objects
Syntactically incompatible change of existing functionality
(TTYP TT_VBFA, see Note(s): 0002228056)
SAP S/4HANA - Simplification Item SI9: SD_ODP - Operational
Cannot be hidden using a pragma or pseudo-comment

As seen in below, all above ATC checks are violated because the AMDP class method parameter uses an inappropriate data type for VBFA table type.

choose VBFA_T table type for VBFA instead of TT_VBFA in ABAP programs

After replacing TT_VBFA with VBFA_T in method definition in ABAP code, all above errors are resolved in one correction.



SAP HANA and ABAP

Install SAP Free
CRM Companies List
Web Based CRM Software


Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.