SAP Note 162991 - Generation tools for ABAP programs

Component : Syntax, Compiler, Runtime -

Solution : https://service.sap.com/sap/support/notes/162991 (SAP Service marketplace login required)

Summary :
This SAP Note addresses inconsistencies between ABAP programs or between ABAP programs and DDIC elements, causing runtime errors such as DDIC_COMP_CNT_INCONSISTENT and LOAD_PROGRAM_INTF_MISMATCH among others. These inconsistencies often occur due to improper imports or changes in the system, advised against especially in production environments. The recommended solution is regenerating all affected programs using Transaction SGEN for releases >= 46A, or other tools like TOUCHALL and SAMT for different scenarios. TOUCHALL reinitializes all program times, requiring a system restart, whereas SAMT permits targeted program generation across multiple servers. Furthermore, specific reports like RSGENDUMP automate the regeneration process for programs listed in runtime error logs.

Key words :
- ddic_comp_cnt_inconsistent- getwa_cant_clear- getwa_wrong_length- load_common_part- conne_import_wrong_comp_type- load_program_class_mismatch- load_class_version_mismatch- load_intf_version_mismatch- load_program_intf_mismatch- load_typepool_version_mismatch- load_type_version_mismatch-, planning large-scale program generations, 'generate program' create program set, short dumpsreport rsgendumpfor inconsistencies, create program set select, ddic structure/tablereport touchtabif, transaction sgenthe online documentation, report touchallall time stamps, relevant runtime error - highlighted, subsequently generating existing loads

Related Notes :

1230076Generation of ABAP loads: Tips for the analysis
672268Runtime error LOAD_VERSION_LOST
664679Installing 6.40 kernel in SAP WEB AS 6.10/6.20
544787PP-IS: Deadlocks during mass processing in R/3 or from APO
517534STACK_BLOCK_ILLEGAL_STATE with CHECK with functional method
425948Catching exceptions is not activated
379918Redesign of the SGEN transaction
351695LOAD_PROGRAM_CLASS_MISMATCH
324912Dump TMDIR_CLASS_NOT_EXISTS
318846Installing the 4.6D kernel in 4.6A/B/C SAP systems
309335Update terminations in LIS
185745Mass generation due to incorrect load format
175089Garbage Collector/data references in DD structure
170039Kernel upgrade 4.5A/4.5B: -> Mass generation
162166DDIC_COMP_CNT_INCONSISTENT / GETWA_CANT_CLEAR ...
144918In large volume: GETWA_CANT_CLEAR or CONNE_IMPORT...
144382CALL_FUNCTION_CONFLICT_LENG
129114Terminations in posting transactions after OXK3