POST_TMBPGEN SAP Method Write data of table /SCMB/D_BPTMGEN into DB
Below is documentation, parameters and attributes of ABAP Method POST_TMBPGEN 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_TMBPGEN can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method POST_TMBPGEN
.| Name | Type | Data Type | Description | Default Value |
| IT_DATA_DELETE | Importing | TYPE /SCMB/T_BPTMGEN | BP: Additional general data for TM | |
| IT_DATA_INSERT | Importing | TYPE /SCMB/T_BPTMGEN | BP: Additional general data for TM | |
| IT_DATA_MAINTAIN | Importing | TYPE /SCMB/T_BPTMGEN | BP: Additional general data for TM | |
| ET_DATA_NEW | Exporting | TYPE /SCMB/T_BPTMGEN | New image | |
| ET_DATA_OLD | Exporting | TYPE /SCMB/T_BPTMGEN | Old image | |
| ET_DELETED | Exporting | TYPE /SCMB/T_BPTMGEN | Successfully deleted | |
| ET_INSERTED | Exporting | TYPE /SCMB/T_BPTMGEN | Sucessfully inserted | |
| ET_UPDATED | Exporting | TYPE /SCMB/T_BPTMGEN | Successfully updated | |
| EV_DBCNT_DEL | Exporting | TYPE SYDBCNT | Processed Database Table Rows | |
| EV_DBCNT_INS | Exporting | TYPE SYDBCNT | Processed Database Table Rows | |
| EV_DBCNT_MAINT | Exporting | TYPE SYDBCNT | Processed Database Table Rows | |
| EV_SUBRC_DEL | Exporting | TYPE SYSUBRC | Return Value of ABAP Statements | |
| EV_SUBRC_INS | Exporting | TYPE SYSUBRC | Return Value of ABAP Statements | |
| EV_SUBRC_MAINT | Exporting | TYPE SYSUBRC | Return Value of ABAP Statements |
Exceptions of Method POST_TMBPGEN
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_BPTM_HELPER.
DATA: lv_ET_DATA_NEW TYPE /SCMB/T_BPTMGEN,
lv_ET_DATA_OLD TYPE /SCMB/T_BPTMGEN,
lv_ET_DELETED TYPE /SCMB/T_BPTMGEN,
lv_ET_INSERTED TYPE /SCMB/T_BPTMGEN,
lv_ET_UPDATED TYPE /SCMB/T_BPTMGEN,
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_BPTMGEN,
lv_IT_DATA_INSERT TYPE /SCMB/T_BPTMGEN,
lv_IT_DATA_MAINTAIN TYPE /SCMB/T_BPTMGEN,
lv_other TYPE c.
CALL METHOD lo_class=>POST_TMBPGEN(
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