POST_TMBPREG SAP Method Write data of table /SCMB/D_BPTMREG into DB









Below is documentation, parameters and attributes of ABAP Method POST_TMBPREG within SAP class /SCMB/CL_BPTM_HELPER. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/CL_BPTM_HELPER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method POST_TMBPREG can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method POST_TMBPREG

.

NameTypeData TypeDescriptionDefault Value
IT_DATA_DELETEImportingTYPE
/SCMB/T_BPTMREG
BP: Supplying regions
IT_DATA_INSERTImportingTYPE
/SCMB/T_BPTMREG
BP: Supplying regions
IT_DATA_MAINTAINImportingTYPE
/SCMB/T_BPTMREG
BP: Supplying regions
ET_DATA_NEWExportingTYPE
/SCMB/T_BPTMREG
New image
ET_DATA_OLDExportingTYPE
/SCMB/T_BPTMREG
Old image
ET_DELETEDExportingTYPE
/SCMB/T_BPTMREG
Successfully deleted
ET_INSERTEDExportingTYPE
/SCMB/T_BPTMREG
Successfully inserted
ET_UPDATEDExportingTYPE
/SCMB/T_BPTMREG
Successfully updated
EV_DBCNT_DELExportingTYPE
SYDBCNT
Processed Database Table Rows
EV_DBCNT_INSExportingTYPE
SYDBCNT
Processed Database Table Rows
EV_DBCNT_MAINTExportingTYPE
SYDBCNT
Processed Database Table Rows
EV_SUBRC_DELExportingTYPE
SYSUBRC
Return Value of ABAP Statements
EV_SUBRC_INSExportingTYPE
SYSUBRC
Return Value of ABAP Statements
EV_SUBRC_MAINTExportingTYPE
SYSUBRC
Return Value of ABAP Statements



Exceptions of Method POST_TMBPREG

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/CL_BPTM_HELPER.
DATA: lv_ET_DATA_NEW TYPE /SCMB/T_BPTMREG,
lv_ET_DATA_OLD TYPE /SCMB/T_BPTMREG,
lv_ET_DELETED TYPE /SCMB/T_BPTMREG,
lv_ET_INSERTED TYPE /SCMB/T_BPTMREG,
lv_ET_UPDATED TYPE /SCMB/T_BPTMREG,
lv_EV_DBCNT_DEL TYPE SYDBCNT,
lv_EV_DBCNT_INS TYPE SYDBCNT,
lv_EV_DBCNT_MAINT TYPE SYDBCNT,
lv_EV_SUBRC_DEL TYPE SYSUBRC,
lv_EV_SUBRC_INS TYPE SYSUBRC,
lv_EV_SUBRC_MAINT TYPE SYSUBRC,
lv_IT_DATA_DELETE TYPE /SCMB/T_BPTMREG,
lv_IT_DATA_INSERT TYPE /SCMB/T_BPTMREG,
lv_IT_DATA_MAINTAIN TYPE /SCMB/T_BPTMREG,
lv_other TYPE c.

CALL METHOD lo_class=>POST_TMBPREG(
EXPORTING
IT_DATA_DELETE = lv_IT_DATA_DELETE
IT_DATA_INSERT = lv_IT_DATA_INSERT
IT_DATA_MAINTAIN = lv_IT_DATA_MAINTAIN
IMPORTING
ET_DATA_NEW = lv_ET_DATA_NEW
ET_DATA_OLD = lv_ET_DATA_OLD
ET_DELETED = lv_ET_DELETED
ET_INSERTED = lv_ET_INSERTED
ET_UPDATED = lv_ET_UPDATED
EV_DBCNT_DEL = lv_EV_DBCNT_DEL
EV_DBCNT_INS = lv_EV_DBCNT_INS
EV_DBCNT_MAINT = lv_EV_DBCNT_MAINT
EV_SUBRC_DEL = lv_EV_SUBRC_DEL
EV_SUBRC_INS = lv_EV_SUBRC_INS
EV_SUBRC_MAINT = lv_EV_SUBRC_MAINT ).

Links to Related Class(s)

/SCMB/CL...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!