GET_DOCHD_FOR_STATUS SAP Method Get dochd based on status and flag active









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

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


Parameters of Method GET_DOCHD_FOR_STATUS

.

NameTypeData TypeDescriptionDefault Value
IB_FLG_ACTIVE_ONLYImportingTYPE
BOOLEAN_FLG
Boolean Variables (X=true, space=false)
IT_STATUSImportingTYPE
CACS_TT_STATUSPOS
Table type for status
IV_DOC_IDImportingTYPE
CACSDOCID
Document Identification
IV_FLG_REVERSEDImportingTYPE
CACSFLGREV
Indicator: Row/Object/Subobject is Invalid or Reversed
IV_POST_YEARImportingTYPE
CACSPSTYEAR
Assignment Year of Commission Case/Document
ET_DOCHDExportingTYPE
CACS00_TT_DOCHD
Commission Document Header



Exceptions of Method GET_DOCHD_FOR_STATUS

ET_DOCHDExportingTYPE
CACS00_TT_DOCHDCommission Document HeaderEX_EMPTY_TABLE - If nothing is returned

Example ABAP coding


DATA: lo_class TYPE REF TO CACS00_CL_DOC_BUFFER.
DATA: lv_ET_DOCHD TYPE CACS00_TT_DOCHD,
lv_IB_FLG_ACTIVE_ONLY TYPE BOOLEAN_FLG,
lv_IT_STATUS TYPE CACS_TT_STATUSPOS,
lv_IV_DOC_ID TYPE CACSDOCID,
lv_IV_FLG_REVERSED TYPE CACSFLGREV,
lv_IV_POST_YEAR TYPE CACSPSTYEAR,
lv_other TYPE c.

CALL METHOD lo_class=>GET_DOCHD_FOR_STATUS(
EXPORTING
IB_FLG_ACTIVE_ONLY = lv_IB_FLG_ACTIVE_ONLY
IT_STATUS = lv_IT_STATUS
IV_DOC_ID = lv_IV_DOC_ID
IV_FLG_REVERSED = lv_IV_FLG_REVERSED
IV_POST_YEAR = lv_IV_POST_YEAR
IMPORTING
ET_DOCHD = lv_ET_DOCHD ).

Links to Related Class(s)

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