CHECK_USAGE_PACKAGE_DATA SAP Method Check Packages for Use









Below is documentation, parameters and attributes of ABAP Method CHECK_USAGE_PACKAGE_DATA within SAP class MPLAN_CYCLE_DB_ACCESS. 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 MPLAN_CYCLE_DB_ACCESS 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 CHECK_USAGE_PACKAGE_DATA can also be found below:

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


Parameters of Method CHECK_USAGE_PACKAGE_DATA

.

NameTypeData TypeDescriptionDefault Value
CALL_OBJECTImportingTYPE
CALL_TYPE
Call Object for Maintenance Plan
DATE_BEGINImportingTYPE
SYDATUM
Current Date of Application Server
ITEMImportingTYPE
MPLAN_MPOS
Maintenance Items for API
PACKAGE_DATA_INImportingTYPE
WC_T_PACKAGE_DATA
PACKAGE_DATA_OUTExportingTYPE
WC_T_PACKAGE_DATA_ST_TL



Exceptions of Method CHECK_USAGE_PACKAGE_DATA

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 MPLAN_CYCLE_DB_ACCESS.
DATA: lv_CALL_OBJECT TYPE CALL_TYPE,
lv_DATE_BEGIN TYPE SYDATUM,
lv_ITEM TYPE MPLAN_MPOS,
lv_PACKAGE_DATA_IN TYPE WC_T_PACKAGE_DATA,
lv_PACKAGE_DATA_OUT TYPE WC_T_PACKAGE_DATA_ST_TL,
lv_other TYPE c.

CALL METHOD lo_class=>CHECK_USAGE_PACKAGE_DATA(
EXPORTING
CALL_OBJECT = lv_CALL_OBJECT
DATE_BEGIN = lv_DATE_BEGIN
ITEM = lv_ITEM
PACKAGE_DATA_IN = lv_PACKAGE_DATA_IN
IMPORTING
PACKAGE_DATA_OUT = lv_PACKAGE_DATA_OUT ).

Links to Related Class(s)

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