Ansicht
Dokumentation

ABAPSET_PROPERTY - SET PROPERTY

ABAPSET_PROPERTY - SET PROPERTY

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

SET PROPERTY, OLE

Short Reference



SET PROPERTY OF ole attr = dobj $[NO FLUSH$]
                                $[EXPORTING p1 = f1 p2 = f2 ...$].

Additions

1. ... NO FLUSH

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

Effect

The attribute attr of an automation object ole is set in accordance with the content of 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

Effect

The meaning of the addition NO FLUSH is included in the description of the statement CREATE OBJECT.

Addition 2

... 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

Calls the Office application Excel and displays an empty Excel table by assigning the value 1 to the attribute "Visible".






Fill RESBD Structure from EBP Component Structure   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3372 Date: 20240425 Time: 081400     sap01-206 ( 66 ms )