Fonction SAP BAPI_PR_GETDETAIL - Get Details for One MEREQ Object

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACCOUNT_ASSIGNMENT BAPIMMPARA-SELECTION C 1 SPACE X Account Assignment Data
DELIVERY_ADDRESS BAPIMMPARA-SELECTION C 1 SPACE X Delivery address
HEADER_TEXT BAPIMMPARA-SELECTION C 1 SPACE X Header Txt
ITEM_TEXT BAPIMMPARA-SELECTION C 1 SPACE X Item Text
NUMBER BAPIMEREQHEADER-PREQ_NO C 10 Purchase Requisition Number
SC_COMPONENTS BAPIMMPARA-SELECTION C 1 SPACE X Subcontracting Components
SERIAL_NUMBERS BAPIMMPARA-SELECTION C 1 SPACE X Serial Numbers
SERVICES BAPIMMPARA-SELECTION C 1 SPACE X External Services
VERSION BAPIMMPARA-SELECTION C 1 SPACE X Version Management

Paramètre Reférence Type Long. Description
PRHEADER BAPIMEREQHEADER u 34 Transfer Structure for Enjoy Purchase Req. - Header

Paramètre Reférence Long. Facultatif Description
ALLVERSIONS BAPIMEDCM_ALLVERSIONS 233 X Version Management - All Version Data
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
PRACCOUNT BAPIMEREQACCOUNT 420 X Transfer Structure for Enjoy Purchase Req. - Acct Assignment
PRADDRDELIVERY BAPIMERQADDRDELIVERY 1311 X PO Item: Address Structure BAPIADDR1 for Inbound Delivery
PRCOMPONENTS BAPIMEREQCOMPONENT 166 X BAPI Structure for Components
PRHEADERTEXT BAPIMEREQHEADTEXT 153 X Change Toolbar for Enjoy Purchase Req. - Header Text
PRITEM BAPIMEREQITEM 1185 X Transfer Structure for Enjoy Purchase Req. - Item Data
PRITEMTEXT BAPIMEREQITEMTEXT 153 X Transfer Structure for Enjoy Purchase Req. - Item Text
RETURN BAPIRET2 548 X Return Parameter(s)
SERIALNUMBERS BAPIMEREQSERIALNO 96 X Serial Numbers in Purchase Requisition BAPI
SERVICEACCOUNT BAPI_SRV_ACC_DATA 46 X BAPI Structure for Account Assignment to Services and Limits
SERVICECONTRACTLIMITS BAPI_SRV_CONTRACT_LIMITS 36 X BAPI Structure for Contract Limits
SERVICELIMIT BAPI_SRV_LIMIT_DATA 129 X BAPI Structure for Limit of Service Package
SERVICELINES BAPI_SRV_SERVICE_LINE 468 X BAPI Structure for Service Lines
SERVICELONGTEXTS BAPI_SRV_LONGTEXTS 161 X BAPI Structure for Long Texts in Service Package
SERVICEOUTLINE BAPI_SRV_OUTLINE 148 X BAPI Structure for Outline of Service Package

Functionality
Reading out of an object instance.

Description
Contains the header information of the current object instance.
If you have activated the PSM, US Federal Government - GeneralFunctions 2 (PSM_USFED_CI_2) business function, with the "park andhold" function, this parameter also contains the information as towhether the purchase requisition is on hold, parked, or savedcompletely.

Description
The parameter determines whether account assignment data is to be read.

Value range
If the instance of the parameter is ' ', no data is passed on toPRACCOUNT.
If the parameter has been populated with 'X', the table parameterPRACCOUNT is populated.

Default
In the standard system the parameter is set to ' '.

Description
This parameter determines whether the delivery address is to be read.

Value range
If the instance of the parameter is ' ', no information is returned inPRADDRDELIVERY.
If the parameter is populated with 'X', the delivery address is returnedin PRADDRDELIVERY.

Default
In the standard system the parameter is set to ' '.

Description
This parameter determines whether the internal header memo is to beread.

Value range
If the instance of the parameter is ' ', PRHEADERTEXT is not populated.
If the parameter has been populated with 'X', the header memo is passedon to the table parameter PRHEADERTEXT.

Default
In the standard system the parameter is set to ' '.

Description
This parameter determines whether the item long texts are to be read.

Value range
If the instance of the parameter is ' ', no data is passed on toPRITEMTEXT.
If the parameter has been populated with 'X', the table parameterPRITEMTEXT is populated. In this case, however, only the texts thatphysically belong to the item are read out.

Default
In the standard system the parameter is set to ' '.

Description
This parameter describes the unique key for the object instance purchaserequisition.

Value range
Specification of the parameter is mandatory.

Description
Defines whether the components to be provided for a subcontracting itemare output in the PRCOMPONENTS parameter.

Value range
This value can be one of the following:

  • ' ' - No components are output (default value).

  • 'X' - The components are output in the PRCOMPONENTS table parameter
  • Description
    Defines whether the serial numbers for the current purchase requisitionare output.

    Value range
    This parameter can have the following values:

    • ' ' - No serial numbers are returned

    • 'X' - The serial numbers are returned in the SERIALNUMBER parameter
    • Default
      The default value of the parameter is ' '.

      Description
      This parameter determines whether the version data is to be read.

      Value range
      If the instance of the parameter is ' ', no data is returned in theparameter ALLVERSIONS.
      If the parameter is populated with 'X', the table parameter ALLVERSIONSis populated.

      Default
      In the standard system, the parameter is set to ' '.

      Description
      Contains the version data (DCM).

      Description
      Contains the enhancement data of the Customizing Includes CI_EBANDB andCI_COBL.

      Description
      Contains all account assignment data.

      Description
      Contains the delivery address of all items.

      Description
      Returns subcontracting components

      Value range
      The condition for the return is that import parameter SC_COMPONENTS hasbeen filled.

      Description
      Contains the internal header memo.

      Description
      Contains all item data for the object instance passed on.

      Description
      Contains all item texts that are physically connected to the items.

      Description
      Transfer of all messages issued during the processing.
      INCLUDE MMPUR_604_BAPI_SERNO OBJECT DOKU ID TX

      Value range
      If import parameter SERIAL_NUMBER has been filled, the serial numbersare returned.

      Description
      INCLUDE BAPI_SERVICEACCOUNT OBJECT DOKU ID TX

      Description
      INCLUDE BAPI_SERVICECONTRACTLIMITS OBJECT DOKU ID TX

      Description
      INCLUDE BAPI_SERVICELIMIT OBJECT DOKU ID TX

      Description
      INCLUDE BAPI_SERVICELINES OBJECT DOKU ID TX

      Description
      INCLUDE BAPI_SERVICELONGTEXTS OBJECT DOKU ID TX

      Description
      INCLUDE BAPI_SERVICEOUTLINE OBJECT DOKU ID TX