Fonction SAP BAPI_REQUISITION_GETDETAIL - Display Purchase Requisition Details

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACCOUNT_ASSIGNMENT BAPIMMPARA-SELECTION C 1 SPACE X Also Provide Account Assignment Data
ITEM_TEXTS BAPIMMPARA-SELECTION C 1 SPACE X Also Provide Texts
NUMBER BAPIEBAN-PREQ_NO C 10 Purchase Requisition Number
SERVICES BAPIMMPARA-SELECTION C 1 SPACE X Also Provide Service Items
SERVICE_TEXTS BAPIMMPARA-SELECTION C 1 SPACE X Also Provide Service Texts

Paramètre Reférence Long. Facultatif Description
REQUISITION_ACCOUNT_ASSIGNMENT BAPIEBKN 485 X Account Assignment Data
REQUISITION_CONTRACT_LIMITS BAPIESUC 152 X Limits with Contract Reference
REQUISITION_ITEMS BAPIEBAN 1084 Item Data
REQUISITION_LIMITS BAPIESUH 159 X Limits
REQUISITION_SERVICES BAPIESLL 717 X Services
REQUISITION_SERVICES_TEXTS BAPIESLLTX 158 X Long Texts for Service Line
REQUISITION_SRV_ACCASS_VALUES BAPIESKL 58 X Value/Link to Service Account Assignment
REQUISITION_TEXT BAPIEBANTX 153 X Texts
RETURN BAPIRETURN 452 X Return Messages

Functionality
This method enables you to list detailed data on a purchaserequisition.

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

  • M_BANF_BSA,,Document type in requisition

  • M_BANF_EKG,,Purchasing group in requisition

  • M_BANF_EKO,,Purchasing organization in requisition

  • M_BANF_WRK,,Plant in requisition

  • Transfer
    Via the parameters AccountAssignment, ItemTexts, andServices, you can specify whether you wish to displayinformation relating to the release process, account assignments,texts, and service items in addition to the other detailed information(document type, responsible purchasing group, requisitioner, etc.).
    In the standard system, the parameters for this additional informationare not set, i.e. only the detailed data for the item is returned.
    These parameters influence both the volume of data and systemperformance.
    Return
    The detailed data is returned in table RequisitionItems. If theabove parameters are set, the data is returned in the relevant tables.
    Return messages
    INCLUDE BAPI_RET

    Description
    If you set the indicator, the account assignment data (e.g. costcenter) for the purchase requisition item will also be listed.

    Description
    If you set the indicator, the texts for the purchase requisition itemwill also be listed.

    Description
    INCLUDE BAPI_KEYFIELD

    Description
    If you set the indicator, service data and any existing limits willalso be returned.

    Description
    The table contains the account assignment data for the purchaserequisition.
    INCLUDE BAPI_DATAELEMENT

    Description
    The table contains the limits in the purchase requisition that relateto a contract.
    INCLUDE BAPI_DATAELEMENT

    Description
    The table contains the item data.
    INCLUDE BAPI_DATAELEMENT

    Description
    The table contains the limits for the purchase requisition.
    INCLUDE BAPI_DATAELEMENT

    Description
    This table containst the services and service outlines of the purchaserequisition.
    INCLUDE BAPI_DATAELEMENT

    Description
    The table contains the values of the account assignments at servicelevel and a link to the overall account assignment data for thepurchase order item (RequisitionAccountAs table). The actualaccount assignment data (cost center etc.) is stored in the accountassignment table RequisitionAccountAs.

    Description
    The table contains the texts for the purchase requisition.
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_TABLE

    Value range
    Type,,ID,,Number,,Message
    E,,W5,,030,,Purchase requisition & & does not exist
    I,,W5,,032,,No texts available for purchase requisition & &

488619Vendor's material numbers with more than 22 characters
747132APIs in BUS2105 and vendor's material number
485023Long runtime with mass maintenance of purchase requisitions