|
Functionality You use this method to get the details of a given template. This method can be used to get template values forBAPI_TEMPLATECO_CREATE. The authorization object K_TEMPL is checked for the activity code 03(Display) with parameters Controlling Area, Environment, and Template. Use the import parameters to define the template to read as follows: - CONTROLLINGAREA : Controlling area - ENVIRONMENT : Environment - TEMPLATE : Template name - LANGUAGE : Language Export parameters contain the values of the template: - POSITIONS : Definition of the visible lines of the template - CELLFIXVALUES : Fix values of the template - CELLSOURCES : Sources of the formulas of the template - FLEXFUNCSOURCES : Sources of the flexible functions of the template Messages are returned with the parameter return. Description Template description Value range TEMPLATETEXT has type CHAR 30 Description Template language Default System language Description Cell fixed values Value range CELLFIXVALUES is a structure: - POSITIONNUMBER (NUMC 8) : Template item, reference to parameterPOSITIONS-POSITIONNUMBER - COLUMN (CHAR 1) : Template column ID - VALUE (CHAR 72) : Fixed value Description Cell formula sources Value range CELLSOURCES is a structure: - POSITIONNUMBER (NUMC 8) : Template item, reference to parameterPOSITIONS-POSITIONNUMBER - COLUMN (CHAR 1) : Template Column ID - SOURCELINEID (NUMC 8) : Control block number - FLEXFUNCID (NUMC 4) : ID of the flexible function the formula refersto; reference to FLEXFUNCSOURCES if needed - SOURCELINE (CHAR 72) : Source line Description Flexible functions formula sources Value range FLEXFUNCSOURCES is a structure: - FLEXFUNCID (NUMC 4) : ID of the flexible function - QUAN_BOOL_FLAG (CHAR 1) : Q (Quantity) or B (Boolean), defines thepart of the flexible function formula - SOURCELINEID (NUMC 8) : Control block number - SOURCELINE (CHAR 72) : Source line Description Postition: Visible rows of the template Value range POSITIONS is a structure: - POSITIONNUMBER (NUMC 8) : Template item - LINETYPE (CHAR 1) : Template row type - LINE_OBJECT_TEXT (CHAR 30) : Text for the row Description Messages Value range Tables of the relevant messages with parameter information. Rows andcolumns are given for table parameters. |