Ansicht
Dokumentation
ABENOO_OBS_CLUSTER_WA_2 - OO OBS CLUSTER WA 2
BAL_S_LOG - Application Log: Log header data General Data in Customer MasterThis documentation is copyright by SAP AG.
No Use of Table Work Areas
-
If user data fields are to be transported to or from cluster databases or the cross-transaction application
buffer, the addition FROM|TO wa must be specified with the statements EXPORT/IMPORT ... TO/FROM DATABASE/SHARED BUFFER in ABAP Objects.
The following cannot be used in ABAP Objects:
dbtab-... = ...
EXPORT ... TO DATABASE dbtab(ar) ID id.
EXPORT ... TO SHARED BUFFER dbtab(ar) ID id.
IMPORT ... FROM DATABASE dbtab(ar) ID id.
IMPORT ... FROM SHARED BUFFER dbtab(ar) ID id.
... = dbtab-
Correct syntax:
DATA wa TYPE dbtab.
wa-... = ...
EXPORT ... TO DATABASE dbtab(ar) ID id FROM wa.
EXPORT ... TO SHARED BUFFER dbtab(ar) ID id FROM wa.
IMPORT ... FROM DATABASE dbtab(ar) ID id TO wa.
IMPORT ... FROM SHARED BUFFER dbtab(ar) ID id TO wa.
... = wa-...
Reason:
If the addition FROM|TO wa is not specified, the system tries to transport the
user data fields of the table work area declared by TABLES. If the table work area is not found, the user data fields are not transported. A table work area can be declared in the
main program of local classes; however, it should not be used. In global classes the table work area cannot be used at all.
Addresses (Business Address Services) BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 1695 Date: 20240420 Time: 065309 sap01-206 ( 25 ms )