SAP Function RPTRA_MAINFORM_CHECK_OBJECTS - To check the existance of objects

Parameter Reference Type Length Default Optional Text
MAINFORM T51T5-TXFRM C 16 Tax form

Parameter Reference Type Length Text
INTERFACE_NAME FPNAME C 30 Name of Form Object
STATUS 0
STRUCTURE_NAME DDOBJNAME C 30 Name of an ABAP Dictionary object
TABLETYPE_NAME DDOBJNAME C 30 Name of an ABAP Dictionary object

Functionality

This function module imports the mainform name and proposes names forform processing interface, DDIC table type and DDIC structure. Afterproposing the names, the logic in this function module checks forexistance of corresponding objects in the system. If any of them exists,user gets a popup to enter new names (for the objects which existsalready).

However, if the interface exists already, logic checks to see if theinterface is used for any other form in T51T8. If it is not used and hasthe same mapping (Interface with ALLFIELDS parameter to table type andtable type has structure), then this function module exports the STATUSas UPDATE. This scenario happens when a particular main form is deletedfrom the configuration.