Fonction SAP BAPI_0050_GET_LIST - Get list of budgeting entry documents

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
F_MNGT_AREA BAPI_0050_FIELDS-FM_AREA C 4 Financial management area
MAX_ROWS BAPI_0050_FIELDS-BAPIMAXROW I 4 X Maximum number of lines of hits

Paramètre Reférence Long. Facultatif Description
ENTRY_DOCUMENT BAPI_0050_LIST 276 Entry document list
EXTENSION_IN BAPIPAREX 990 X ExtensionIn
EXTENSION_OUT BAPIPAREX 990 X ExtensionOut
RETURN BAPIRET2 548 Return messages
SEL_CREATED_BY BAPI_0050_SELCRTUSER 27 X User name
SEL_CREATE_DATE BAPI_0050_SELCRTDATE 19 X Creation date
SEL_DOCUMENT_DATE BAPI_0050_SELDOCDATE 19 X Document date
SEL_DOCUMENT_FAMILY BAPI_0050_SELDOCFAM 23 X Document family
SEL_DOCUMENT_NUMBER BAPI_0050_SELDOCNR 23 X Document number
SEL_DOCUMENT_STATUS BAPI_0050_SELDOCSTATE 5 X Document status
SEL_DOCUMENT_TYPE BAPI_0050_SELDOCTYPE 11 X Document type
SEL_DOCUMENT_YEAR BAPI_0050_SELDOCYEAR 11 X Document year
SEL_POSTING_DATE BAPI_0050_SELPOSTDATE 19 X Posting date
SEL_PROCESS BAPI_0050_SELPROCESS 11 X Process
SEL_REF_DOCUMENT BAPI_0050_SELREFDOC 23 X Reference document number
SEL_REF_LOGICAL_SYSTEM BAPI_0050_SELOBJSYS 23 X Logical system of source document
SEL_REF_ORG_UNIT BAPI_0050_SELREFORGUN 23 X Reference organisational unit
SEL_REF_PROCEDURE BAPI_0050_SELOBJTYPE 13 X Reference procedure
SEL_RESPONSIBLE_PERSON BAPI_0050_SELRESPPERS 43 X Responsible person
SEL_REVERSAL_REFERENCE BAPI_0050_SELREFNR 23 X Reference document number
SEL_REVERSAL_STATUS BAPI_0050_SELREVSTATE 5 X Reversal status
SEL_STANDARD_TEXT BAPI_0050_SELSTDTXT 67 X Standard text
SEL_TECH_ORIGIN BAPI_0050_SELTECHORG 23 X Technical origin
SEL_VERSION BAPI_0050_SELVERSION 9 X Version

Functionality
This method allows you to get a list of entry documents, matching theselection criteria.
At least the following data is required:

  • Financial management area (field F_MNGT_AREA).
  • Example

    Notes
    The following authorization objects are checked with activity 03(display):

    • F_FICB_FKR Financial management area

    • F_FMBU_DOC Document type

    • INCLUDE BAPI_RET

      Description
      This parameter is an input parameter. For information on the definitionof this parameter, see the corresponding data element documentation onthe FM area.

      Value range

      Description
      This parameter is an input parameter.
      For information on the definition of this parameter, see thecorresponding data element documentation MaxRows.

      Value range

      Description
      This table provides a list of entry documents corresponding to thespecified selection criteria. In addition to the document identifier,all header data is passed on.
      This parameter is an export parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Description
      This parameter is an input parameter. It is provided to allow customersto extend the selection parameters.
      The table extension provided is called BAPI_TE_FMBH.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Description
      This parameter is an export parameter. It is provided to allowadditional values to be returned.
      The table extension provided is called BAPI_TE_FMBH.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Description
      INCLUDE BAPI_TABLE

      Value range

      Authorization messages
      TYPE ,,ID ,,NUMBER ,,MESSAGE
      E,,F6,,702,,No authorization for FM Area &1 activity &2
      I,,FMBAPI,,029,,&1 documents not selected because ofauthorizations

      Processing messages
      TYPE ,,ID ,,NUMBER ,,MESSAGE
      I,,FMBAPI,,006,,No document corresponds to your selection
      I,,FMBAPI,,007,,&1 documents have been selected

      Description
      This table allows you to specify selection criteria on the user whocreated the document. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the user name is not taken into account forselection.

      Description
      This table allows you to specify selection criteria on the creationdate. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the creation date is not taken into account forselection.

      Description
      This table allows you to specify selection criteria on the documentdate. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the document date is not taken into account forselection.

      Description
      This table allows you to specify selection criteria on the documentfamily. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the document family is not taken into account forselection.

      Description
      This table allows you to specify selection criteria on the documentnumber. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the document number is not taken into account forselection

      Description
      This table allows you to specify selection criteria on the documentstatus. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the document status is not taken into account forselection.

      Description
      This table allows you to specify selection criteria on the documenttype. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the document type is not taken into account forselection.

      Description
      This table allows you to specify selection criteria on the documentyear. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the document year is not taken into account forselection.

      Description
      This table allows you to specify selection criteria on the posting date.It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the posting date is not taken into account forselection.

      Description
      This table allows you to specify selection criteria on the budgetingprocess. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the process is not taken into account forselection.

      Description
      This table allows you to specify selection criteria on the referencedocument. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the reference document is not taken into accountfor selection.

      Description
      This table allows you to specify selection criteria on the referencelogical system. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the reference logical system is not taken intoaccount for selection.

      Description
      This table allows you to specify selection criteria on the referenceorganizational unit. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the reference organizational unit is not takeninto account for selection.

      Description
      This table allows you to specify selection criteria on the referenceprocedure. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the reference procedure is not taken into accountfor selection.

      Description
      This table allows you to specify selection criteria on the personresponsible. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the person responsible is not taken into accountfor selection.

      Description
      This table allows you to specify selection criteria on the reversalreference. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the reversal reference is not taken into accountfor selection.

      Description
      This table allows you to specify selection criteria for the reversalstatus of budget entry documents. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the reversal status is not included forselection.

      Description
      This table allows you to specify selection criteria on the standardtext. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the standard text is not included in theselection parameters.

      Description
      This table allows you to specify selection criteria for the technicalorigin. It is an import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the technical origin is not included in theselection parameters.

      Description
      This table allows you to specify selection criteria for a version. It isan import parameter.
      INCLUDE BAPI_DATAELEMENT

      Value range

      Default
      If the table is empty, the version is not included for selection.