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

.

NameTypeData TypeDescriptionDefault Value
IS_TG_ATRImportingTYPE
/SCMB/TG_ATR_STR
Trigger Attributes
IT_LOCPROD_IDImportingTYPE
/SCMB/MDL_LOCPRODID_TAB
Internal Key for Product and Location
IT_LOC_IDImportingTYPE
/SCMB/MDL_LOCID_TAB
Internal Key for Location
IT_PROD_IDImportingTYPE
/SCMB/MDL_MATID_TAB
Internal Key for Product
IV_PPR_IDImportingTYPE
/SAPAPO/PE_PPR_ID
Planning Profile
IV_PSM_TSTImportingTYPE
TIMESTAMP
UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
IV_SELENAMEImportingTYPE
/SCMB/SELENAME
Selection Name
IV_VRSIOIDImportingTYPE
/SCMB/MDL_VRSIOID
Planning Version GUID



Exceptions of Method ADD_TRIGGER_COUNT

This method does not have any exceptions

Example 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



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!