CREATE_SC_MAT SAP Method Create Shopping Cart for Materials









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

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_DPR_UI_LOG_SRM 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 CREATE_SC_MAT can also be found below:

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


Parameters of Method CREATE_SC_MAT

.

NameTypeData TypeDescriptionDefault Value
IS_OBJ_EVENTImportingTYPE
DPR_TS_OBJ_EVENT
Identification of Object
IT_OLD_SCImportingTYPE
DPR_TT_SC_UI
Table of Shopping Cart Data for UI
IV_DATE_FROMImportingTYPE
DATS
Field of Type DATS
IV_DESCRIPTIONImportingTYPE
DPR_TV_SC_DESCR
Description of Request
IV_INT_DESCRIPTIONImportingTYPE
STRING
Internal information
IV_PROD_CATImportingTYPE
DPR_TV_SRM_PROD_CAT
Identification of an SRM Product Category
IV_QUANTITYImportingTYPE
DPR_TV_SC_QUANTITY
Requested Quantity from the Shopping Cart Item
IV_UNITImportingTYPE
DPR_TV_UNIT
Unit
EV_REJECTEDExportingTYPE
BOOLE_D
Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')



Exceptions of Method CREATE_SC_MAT

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO CL_DPR_UI_LOG_SRM.
DATA: lv_EV_REJECTED TYPE BOOLE_D,
lv_IS_OBJ_EVENT TYPE DPR_TS_OBJ_EVENT,
lv_IT_OLD_SC TYPE DPR_TT_SC_UI,
lv_IV_DATE_FROM TYPE DATS,
lv_IV_DESCRIPTION TYPE DPR_TV_SC_DESCR,
lv_IV_INT_DESCRIPTION TYPE STRING,
lv_IV_PROD_CAT TYPE DPR_TV_SRM_PROD_CAT,
lv_IV_QUANTITY TYPE DPR_TV_SC_QUANTITY,
lv_IV_UNIT TYPE DPR_TV_UNIT,
lv_other TYPE c.

CALL METHOD lo_class=>CREATE_SC_MAT(
EXPORTING
IS_OBJ_EVENT = lv_IS_OBJ_EVENT
IT_OLD_SC = lv_IT_OLD_SC
IV_DATE_FROM = lv_IV_DATE_FROM
IV_DESCRIPTION = lv_IV_DESCRIPTION
IV_INT_DESCRIPTION = lv_IV_INT_DESCRIPTION
IV_PROD_CAT = lv_IV_PROD_CAT
IV_QUANTITY = lv_IV_QUANTITY
IV_UNIT = lv_IV_UNIT
IMPORTING
EV_REJECTED = lv_EV_REJECTED ).

Links to Related Class(s)

CL_DPR_U...
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!