SAP CL_WSTN_PREPACK_DIALOG OO Class - Encapsulate the dialog to define prepack materials









CL_WSTN_PREPACK_DIALOG is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_WSTN_PREPACK_DIALOG including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events



Method list of CL_WSTN_PREPACK_DIALOG SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
APPLY_QUOTA_SCALEApply the selected Quota Scale to all selected linesPrivate
CALL METHOD cl_wstn_prepack_dialog=>APPLY_QUOTA_SCALE...more details

BUILD_PP_FCATBuild the field catalog and layout for the prepack ALV gridPrivate
CALL METHOD cl_wstn_prepack_dialog=>BUILD_PP_FCAT...more details

BUILD_QS_FCATBuild the field cat. and layout for the quota scale ALV gridPrivate
CALL METHOD cl_wstn_prepack_dialog=>BUILD_QS_FCAT...more details

CHANGE_CHAR_VALUES_CHOICEChange the choice of values for the secondary characteristicPrivate
CALL METHOD cl_wstn_prepack_dialog=>CHANGE_CHAR_VALUES_CHOICE...more details

CHECK_CHANGED_DATATrigger the event DATA_CHANGED for the prepack ALV gridsPublic
CALL METHOD cl_wstn_prepack_dialog=>CHECK_CHANGED_DATA...more details

CLASS_CONSTRUCTORGet the instance for the BAdIsPublic
CALL METHOD cl_wstn_prepack_dialog=>CLASS_CONSTRUCTOR...more details

CONSTRUCTORInitialize an instance of the prepack dialog classPublic
CALL METHOD cl_wstn_prepack_dialog=>CONSTRUCTOR...more details

COPY_PREPACK_ARTICLESCopy one or multiple prepack articlesPrivate
CALL METHOD cl_wstn_prepack_dialog=>COPY_PREPACK_ARTICLES...more details

CREATE_PREPACK_ARTICLES_1CCreate a new prepack (for gen. with one char.)Private
CALL METHOD cl_wstn_prepack_dialog=>CREATE_PREPACK_ARTICLES_1C...more details

CREATE_PREPACK_ARTICLES_2CCreate one or multiple prepack (for gen. with two char.)Private
CALL METHOD cl_wstn_prepack_dialog=>CREATE_PREPACK_ARTICLES_2C...more details

DELETE_PREPACK_ARTICLESDelete one or multiple prepack materialsPrivate
CALL METHOD cl_wstn_prepack_dialog=>DELETE_PREPACK_ARTICLES...more details

DETERMINE_EDITABILITYDetermine editable cells (existing variants)Private
CALL METHOD cl_wstn_prepack_dialog=>DETERMINE_EDITABILITY...more details

DISPLAY_PREPACK_WARNINGDisplay the warning message concerning the prepack articlesPrivate
CALL METHOD cl_wstn_prepack_dialog=>DISPLAY_PREPACK_WARNING...more details

FAST_COPYCopy the selected line to all the lines that are emptyPrivate
CALL METHOD cl_wstn_prepack_dialog=>FAST_COPY...more details

FREEDestroy the prepack dialog objectPublic
CALL METHOD cl_wstn_prepack_dialog=>FREE...more details

GET_QUOTA_SCALEGet all quota scales of the main characteristicPrivate
CALL METHOD cl_wstn_prepack_dialog=>GET_QUOTA_SCALE...more details

GET_SELECTED_PREPACKGet the selected prepack form the prepack ALV gridPrivate
CALL METHOD cl_wstn_prepack_dialog=>GET_SELECTED_PREPACK...more details

HANDLE_PP_BEFORE_USER_COMMANDHandle the event BEFORE_USER_COMMAND of the prepack ALV gridPrivate
CALL METHOD cl_wstn_prepack_dialog=>HANDLE_PP_BEFORE_USER_COMMAND...more details

HANDLE_PP_DATA_CHANGEDHandle the event DATA_CHANGED of the prepack ALV gridPrivate
CALL METHOD cl_wstn_prepack_dialog=>HANDLE_PP_DATA_CHANGED...more details

HANDLE_PP_TOOLBARSetup the prepack ALV grid toolbarPrivate
CALL METHOD cl_wstn_prepack_dialog=>HANDLE_PP_TOOLBAR...more details

HANDLE_PP_USER_COMMANDDispatch to the method that will take the appropriate actionPrivate
CALL METHOD cl_wstn_prepack_dialog=>HANDLE_PP_USER_COMMAND...more details

HANDLE_PREPACKS_CHANGEDHandle the event PREPACKS_CHANGED from the Prepack Defn. objPrivate
CALL METHOD cl_wstn_prepack_dialog=>HANDLE_PREPACKS_CHANGED...more details

LOAD_DATALoad prepack data into the dialog objectPublic
CALL METHOD cl_wstn_prepack_dialog=>LOAD_DATA...more details

LOAD_PP_GRIDPrepare prepack for display into the prepack ALV grid (Gen.)Private
CALL METHOD cl_wstn_prepack_dialog=>LOAD_PP_GRID...more details

LOAD_PP_GRID_1CPrepare prepack for display into ALV grid (One Char.)Private
CALL METHOD cl_wstn_prepack_dialog=>LOAD_PP_GRID_1C...more details

LOAD_PP_GRID_2CPrepare prepack for display into ALV grid (Two Char.)Private
CALL METHOD cl_wstn_prepack_dialog=>LOAD_PP_GRID_2C...more details

LOAD_QS_GRIDPrepack quota scale for display into the QS ALV gridPrivate
CALL METHOD cl_wstn_prepack_dialog=>LOAD_QS_GRID...more details

MAINTAIN_PREPACK_DESCRIPTIONAllow user to maintain the prepack descriptionPrivate
CALL METHOD cl_wstn_prepack_dialog=>MAINTAIN_PREPACK_DESCRIPTION...more details

MAINTAIN_PURCHASING_PRICEAllow user to maintain the prepack purchasing pricesPrivate
CALL METHOD cl_wstn_prepack_dialog=>MAINTAIN_PURCHASING_PRICE...more details

PREPARE_DISPLAYFormatted Output Table is Sent to ControlPublic
CALL METHOD cl_wstn_prepack_dialog=>PREPARE_DISPLAY...more details

REFRESH_PREPACK_ALVGRIDCalculate each line total and call the STD refresh methodPrivate
CALL METHOD cl_wstn_prepack_dialog=>REFRESH_PREPACK_ALVGRID...more details

RELOAD_PP_DATAReload prepack data into the ALV gridPublic
CALL METHOD cl_wstn_prepack_dialog=>RELOAD_PP_DATA...more details

RESETReset the prepack dialog objectPublic
CALL METHOD cl_wstn_prepack_dialog=>RESET...more details



CL_WSTN_PREPACK_DIALOG attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
CO_ANSWER_NOConstantPopup to confirm answer 'No''2'LIKE
C
Private
CO_ANSWER_YESConstantPopup to confirm answer 'Yes''1'LIKE
C
Private
CO_FCODE_ADD_MIXConstantFCode to add a mixed prepack'ADD_MIX'LIKE
SYUCOMM
Public
CO_FCODE_ADD_MULTConstantFCode to add multiple prepacks'ADD_MULT'LIKE
SYUCOMM
Public
CO_FCODE_ADD_ONEConstantFCode to add only one prepack'ADD_ONE'LIKE
SYUCOMM
Public
CO_FCODE_APPL_LOGConstantFCode to display the prepacks warning'APPL_LOG'LIKE
SYUCOMM
Public
CO_FCODE_APY_QSConstantFCode to apply a quota scale'APY_QS'LIKE
SYUCOMM
Public
CO_FCODE_CHG_CHARConstantFCode to change the choice of char. values'CHG_CHAR'LIKE
SYUCOMM
Public
CO_FCODE_CHG_DESCConstantFCode to change prepack description'CHG_DESC'LIKE
SYUCOMM
Public
CO_FCODE_CHG_PURCHConstantFCode to change prepack purchasing price'CHG_PURCH'LIKE
SYUCOMM
Public
CO_FCODE_CPY_PPConstantFCode to copy a prepack'CPY_PP'LIKE
SYUCOMM
Public
CO_FCODE_DEL_PPConstantFCode to delete a prepack'DEL_PP'LIKE
SYUCOMM
Public
CO_FCODE_FAST_CPYConstantFCode to fast copy a prepack line'FAST_CPY'LIKE
SYUCOMM
Public
CO_FCODE_REFRESH_PPConstantFCode to refresh the prepack ALV Grid'RFSH_PP'LIKE
SYUCOMM
Public
CO_LOG_OBJECTConstantApplication log: Object name (Application code)'W_ALLOCPP'LIKE
BALOBJ_D
Private
CO_LOG_SUBOBJECTConstantApplication Log: Subobject'PP_WARN'LIKE
BALSUBOBJ
Private
CO_ROWTYPE_SBTOT1ConstantSpecify the row type for subtotal level one'A 0101 0000000001'LIKE
LVC_RTYPE
Private
G_COLPP_ATZHLInstance AttributeColumn position of field ATZHL in the ALV gridLIKE
I
Private
G_COLPP_BOM_EMPTYInstance AttributeColumn position of field BOM_EMPTY in the ALV gridLIKE
I
Private
G_COLPP_CNT_COMPInstance AttributeColumn position of field CNT_COMP in the ALV gridLIKE
I
Private
G_COLPP_CPQTYInstance AttributeFirst column position of field CPQTY (F0001) in the ALV gridLIKE
I
Private
G_COLPP_CTInstance AttributeColumn position of field CT in the ALV gridLIKE
I
Private
G_COLPP_PPNRInstance AttributeColumn position of field PPNR in the ALV gridLIKE
I
Private
G_COLPP_QUOTAInstance AttributeColumn position of field QUOTA in the ALV gridLIKE
I
Private
G_COLPP_SCHARInstance AttributeColumn position of field SCHAR in the ALV gridLIKE
I
Private
G_COLPP_TOTALInstance AttributeColumn position of field TOTAL in the ALV gridLIKE
I
Private
G_COLQS_BEZEIInstance AttributeColumn position of field BEZEI in the ALV gridLIKE
I
Private
G_COLQS_QOLSTInstance AttributeColumn position of field QOLST in the ALV gridLIKE
I
Private
G_COLQS_QUOTEInstance AttributeFirst column position of field QUOTE (F0001) in the ALV gridLIKE
I
Private
G_COLQS_TOTALInstance AttributeColumn position of field TOTAL in the ALV gridLIKE
I
Private
G_CONTAINER_NAMEInstance AttributeName of the Screen CustCtrl Name to Link Container ToLIKE
SCRFNAME
Private
G_DISPLAY_ONLYInstance AttributeIndicator for display mode onlyLIKE
XFELD
Private
G_MSGIDInstance AttributeMessages, Message ClassLIKE
SYMSGID
Private
G_MSGNOInstance AttributeMessages, Message NumberLIKE
SYMSGNO
Private
G_MSGTXTInstance AttributeMessage textLIKE
NATXT
Private
G_NB_PP_DISPLAYInstance AttributeNumber of prepack currently displayedLIKE
I
Private
G_NEVER_DISPLAYInstance AttributeIndicates it contains data that have never been displayedLIKE
XFELD
Public
G_O_ALLOC_PLANNINGInstance AttributeAllocation planning dataLIKE
CL_WSTN_PP_ALLOC_PLANNING
Private
G_O_CONTAINERInstance AttributeCustom cont. that make the link between the class and dialogLIKE
CL_GUI_CUSTOM_CONTAINER
Private
G_O_EXIT_PREPACK_DIALOGStatic AttributeBusiness add-in interface IF_EX_WSTRN_PREPACK_DIALOGLIKE
IF_EX_WSTRN_PREPACK_DIALOG
Private
G_O_PP_ALVGRIDInstance AttributePrepack ALV gridLIKE
CL_GUI_ALV_GRID
Private
G_O_PP_CONTAINERInstance AttributePrepack containerLIKE
CL_GUI_CONTAINER
Private
G_O_PREPACKInstance AttributeInformation on the prepack article that have been definedLIKE
CL_WSTN_PREPACK_DEFN
Private
G_O_QS_ALVGRIDInstance AttributeQuota scale ALV gridLIKE
CL_GUI_ALV_GRID
Private
G_O_QS_CONTAINERInstance AttributeQuota scale containerLIKE
CL_GUI_CONTAINER
Private
G_O_SPLITTERInstance AttributeContainer splitterLIKE
CL_GUI_SPLITTER_CONTAINER
Private
G_PP_DATA_INVALIDInstance AttributeIndicates if the prepack ALV gird contain error(s)LIKE
XFELD
Private
G_PREPACKS_CHANGEDInstance AttributeIndicates if the prepack definition have been changedLIKE
XFELD
Private
G_S_PP_LAYOInstance AttributeLayout definition of the prepack ALV gridLIKE
LVC_S_LAYO
Private
G_S_PP_PRNTInstance AttributePrint settings for prepack ALV gridLIKE
LVC_S_PRNT
Private
G_S_QS_LAYOInstance AttributeLayout definition of the quota scale ALV gridLIKE
LVC_S_LAYO
Private
G_T_PP_DIALOGInstance AttributePointer to the prepack ALV grid tableLIKE
DATA
Private
G_T_PP_EXCLUDEInstance AttributeExclude toolbar buttonsLIKE
UI_FUNCTIONS
Private
G_T_PP_FCATInstance AttributeField catalog for the prepack ALV gridLIKE
LVC_T_FCAT
Private
G_T_PP_SORTInstance AttributeSort criteria for the prepack ALV gridLIKE
LVC_T_SORT
Private
G_T_QS_DESCInstance AttributeQuota scale description for the main characteristicLIKE
WSTN_QS_DESC_TAB
Private
G_T_QS_DIALOGInstance AttributePointer to the quota scale ALV grid tableLIKE
DATA
Private
G_T_QS_DISTInstance AttributeQuota scale distribution (Size curve)LIKE
WSTN_QS_DIST_TAB
Private
G_T_QS_FCATInstance AttributeField catalog for the quota scale ALV gridLIKE
LVC_T_FCAT
Private
G_T_QS_HDRInstance AttributeList of quota scale defined for the main characteristicLIKE
Private
G_T_QS_SORTInstance AttributeSort criteria for the quota scale ALV gridLIKE
LVC_T_SORT
Private




CL_WSTN_PREPACK_DIALOG types

TYPE_PP_DISPLAY - Working structure to prepare prepack display
TYPE_PP_DISPLAY_TAB - Working table to prepare prepack display

Links to Related Class(s)

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