ADD_TRIGGER_COUNT SAP Method Add Trigger Counts
Below is documentation, parameters and attributes of ABAP Method ADD_TRIGGER_COUNT within SAP class /SCMB/IF_TRIG_COUNT. 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/IF_TRIG_COUNT 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 ADD_TRIGGER_COUNT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_TRIGGER_COUNT
.| Name | Type | Data Type | Description | Default Value |
| IS_TG_ATR | Importing | TYPE /SCMB/TG_ATR_STR | Trigger Attributes | |
| IT_LOCPROD_ID | Importing | TYPE /SCMB/MDL_LOCPRODID_TAB | Internal Key for Product and Location | |
| IT_LOC_ID | Importing | TYPE /SCMB/MDL_LOCID_TAB | Internal Key for Location | |
| IT_PROD_ID | Importing | TYPE /SCMB/MDL_MATID_TAB | Internal Key for Product | |
| IV_PPR_ID | Importing | TYPE /SAPAPO/PE_PPR_ID | Planning Profile | |
| IV_PSM_TST | Importing | TYPE TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| IV_SELENAME | Importing | TYPE /SCMB/SELENAME | Selection Name | |
| IV_VRSIOID | Importing | TYPE /SCMB/MDL_VRSIOID | Planning Version GUID |
Exceptions of Method ADD_TRIGGER_COUNT
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/IF_TRIG_COUNT.
DATA: lv_IS_TG_ATR TYPE /SCMB/TG_ATR_STR,
lv_IT_LOCPROD_ID TYPE /SCMB/MDL_LOCPRODID_TAB,
lv_IT_LOC_ID TYPE /SCMB/MDL_LOCID_TAB,
lv_IT_PROD_ID TYPE /SCMB/MDL_MATID_TAB,
lv_IV_PPR_ID TYPE /SAPAPO/PE_PPR_ID,
lv_IV_PSM_TST TYPE TIMESTAMP,
lv_IV_SELENAME TYPE /SCMB/SELENAME,
lv_IV_VRSIOID TYPE /SCMB/MDL_VRSIOID,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_TRIGGER_COUNT(
EXPORTING
IS_TG_ATR = lv_IS_TG_ATR
IT_LOCPROD_ID = lv_IT_LOCPROD_ID
IT_LOC_ID = lv_IT_LOC_ID
IT_PROD_ID = lv_IT_PROD_ID
IV_PPR_ID = lv_IV_PPR_ID
IV_PSM_TST = lv_IV_PSM_TST
IV_SELENAME = lv_IV_SELENAME
IV_VRSIOID = lv_IV_VRSIOID ).
Links to Related Class(s)
/SCMB/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects