Ansicht
Dokumentation

ABAPGET_PROPERTY - GET PROPERTY

ABAPGET_PROPERTY - GET PROPERTY

Vendor Master (General Section)   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

GET PROPERTY, OLE

Short Reference



GET PROPERTY OF ole attr = dobj $[NO FLUSH$] $[QUEUE-ONLY$]
                                $[EXPORTING p1 = f1 p2 = f2 ...$].

Additions

1. ... NO FLUSH

2. ... QUEUE-ONLY

3. ... EXPORTING p1 = f1 p2 = f2 ...

Effect

Assigns the content of the attribute attr of an automation object ole to the data object dobj. The automation object must have been created using the special statement CREATE OBJECT for automation objects. The description of the statement CREATE OBJECT applies to the typing of ole. The typing of the data object dobj depends on the properties of the automation attribute attr.

System Fields

sy-subrc Meaning
0 Object attributes passed successfully.
1 Error in communication with SAP GUI.
2 Error in function call in SAP GUI.
3 Error when setting an attribute.
4 Error when reading an attribute.

Addition 1

... NO FLUSH

Addition 2

... QUEUE-ONLY

Effect

The description of the statement CREATE OBJECT applies to the meaning of the NO FLUSH and QUEUE-ONLY additions.

Addition 3

... EXPORTING p1 = f1 p2 = f2 ...

Effect

The addition EXPORTING can be used to assign the actual parameters f1 f2 ... to the parameters p1 p2 ... of the attribute, where the data type of the data objects f1 f2 ... depends on the requirements of the attribute.

Example

This example reads the "Visible" property of an Excel table that was created at runtime. This attribute specifies whether the table processing is visible or runs in the background. The variable vis is typed as an integer because Excel passes an integer value.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3814 Date: 20240504 Time: 220027     sap01-206 ( 61 ms )