Fonction SAP BAPI_ADV_MED_GET_LAYOBJ_DESCR - Read Long Text for Layout Area or Layout Area Item

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
AREA BAPILAYA-AREA N 10 Layout Area
CATALOG BAPIADMID-PRODCAT C 10 Product Catalog
FOR_CAT_REPLICATION BAPILAYHLP-XFELD C 1 SPACE X Called by the Catalog Replication ('X')
ITEM BAPILAYIT-ITEM N 10 SPACE X Layout Area Item
VARIANT BAPIADMVID-VARIANT C 3 Variant

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Return Value

Paramètre Reférence Long. Facultatif Description
LINES BAPILAYLT 133 Text Lines

Functionality
This method returns long texts for a layout area or a layout area itemof a product catalog.

Notes
The variant (parameter VARIANT) determines the languages in which thelong texts are returned.
Since only one language can currently be assigned in variantmaintenance, the long text is only returned in one language.
The object for which the long texts are to be determined is defined bythe parameters AREA (layout area) and ITEM (item). If ITEM is inital,the long texts are requested for a layout area. Otherwise they arerequested for a layout area item.
Messages are returned in the parameter RETURN. The return values andtheir meaning can be found in the parameter documentation.

Description
Return values for errors

Value range
TYPE = "E" CODE = "W+402" Product catalog does not exist
TYPE = "E" CODE = "W+403" Variant does not exist
TYPE = "E" CODE = "W+401" Unknown error
TYPE = "E" CODE = "W+544" No authorization to read catalog
TYPE = "E" CODE = "W+254" No authorization to read layout area

Description
Key uniquely identifying a layout area.

Description
For further information, please see the data elementdocumentation.

Description
For further information, please see the data elementdocumentation.

Default

Description
For further information, please see the data elementdocumentation.

Default

Description
In this table the long texts are returned line by line.
The table consists of the following fields:

  • LANGU:,,Language of the text returned in LINE

  • LINE:,,Long text line