SAP Function RPTRA_FORM_LAYOUT_CREATE - Function module to create form layout

Parameter Reference Type Length Default Optional Text
FORM_NAME T51T5-ALTTF C 16 Take definitions of other tax form
MAINFORM T51T5-TXFRM C 16 Tax form

Functionality
This function module imports user selected mainform/alternate form.
Logic in this function module checks whether the form exists (or) not.
(1) If exists loads the form.
(2) If the form does not exists, asks the user to create/Copy form.
,,(2a) For copy, copies the layout from selected form (with theinterface from the mainform).
,,(2b) For create, creates a new form with blank layout (interfacefrom the mainform).