GET_TEST_MATERIAL_RANDOM SAP Method Get Test Material (Random)









Below is documentation, parameters and attributes of ABAP Method GET_TEST_MATERIAL_RANDOM within SAP class /SCMB/CL_PB_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_PB_HELPER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

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

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


Parameters of Method GET_TEST_MATERIAL_RANDOM

.

NameTypeData TypeDescriptionDefault Value
IV_RANDOM_MAT_COUNTImportingTYPE
I
ET_MATERIALExportingTYPE
TY_T_MATERIAL
ET_PRD_PKG_ASSIGNMENTExportingTYPE
/SCMB/IF_PB_PRD_PKG_ASSIGN=>TY_T_PRD_PKG_TYPE_ASGN



Exceptions of Method GET_TEST_MATERIAL_RANDOM

This method does not have any exceptions

Example ABAP coding


DATA: lv_ET_MATERIAL TYPE TY_T_MATERIAL,
lv_ET_PRD_PKG_ASSIGNMENT TYPE /SCMB/IF_PB_PRD_PKG_ASSIGN=>TY_T_PRD_PKG_TYPE_ASGN,
lv_IV_RANDOM_MAT_COUNT TYPE I,
lv_other TYPE c.

CALL METHOD /SCMB/CL_PB_HELPER=>GET_TEST_MATERIAL_RANDOM(
EXPORTING
IV_RANDOM_MAT_COUNT = lv_IV_RANDOM_MAT_COUNT
IMPORTING
ET_MATERIAL = lv_ET_MATERIAL
ET_PRD_PKG_ASSIGNMENT = lv_ET_PRD_PKG_ASSIGNMENT ).

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!