D100_BEFORE_PAI SAP Method Before the actual PAI of screen 100









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

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


Parameters of Method D100_BEFORE_PAI

.

NameTypeData TypeDescriptionDefault Value
FUNCTIONImportingTYPE
CHAR2
Function (CR: Create; CH: Change; DI: Display)
DOCTABChangingTYPE
TBL_CVIDOC_TAB
DDS: Document data on screen 100
DRAWKEYChangingTYPE
CVDIDRAWKEY
DDS: DRAW key
DRZAOChangingTYPE
DRZAO
DDS: Order-specific data of a recipient list
OKCODEChangingTYPE
SY-UCOMM
Screen views, function code, of PAI triggered
RECTABChangingTYPE
TBL_CVIREC_TAB
DDS: Recipient data on screen 100



Exceptions of Method D100_BEFORE_PAI

CANCEL - Cancel

Example ABAP coding


DATA: lo_class TYPE REF TO DIST_MAIN01.
DATA: lv_DOCTAB TYPE TBL_CVIDOC_TAB,
lv_DRAWKEY TYPE CVDIDRAWKEY,
lv_DRZAO TYPE DRZAO,
lv_FUNCTION TYPE CHAR2,
lv_OKCODE TYPE SY-UCOMM,
lv_RECTAB TYPE TBL_CVIREC_TAB,
lv_other TYPE c.

CALL METHOD lo_class=>D100_BEFORE_PAI(
EXPORTING
FUNCTION = lv_FUNCTION
CHANGING
DOCTAB = lv_DOCTAB
DRAWKEY = lv_DRAWKEY
DRZAO = lv_DRZAO
OKCODE = lv_OKCODE
RECTAB = lv_RECTAB ).

Links to Related Class(s)

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