Fonction SAP BAPI_REQUIREMENTS_GETDETAIL - Planned Independent Requirements: Display Details for Pland Indep. Reqmts

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MATERIAL BAPISITEMR-MATERIAL C 18 Material
MATERIAL_EVG BAPIMGVMATNR u 82 X Long Material Number
MRP_AREA BAPISITEMR-MRP_AREA C 10 X MRP Area
PLANT BAPISITEMR-PLANT C 4 Plant
REQMTSPLANNUMBER BAPISITEMR-REQ_NUMBER C 10 Requirements plan number
REQUIREMENTSTYPE BAPISITEMR-REQU_TYPE C 4 Requirements type
VERSION BAPISITEMR-VERSION C 2 Version

Paramètre Reférence Long. Facultatif Description
REQUIREMENTS_OUT BAPISITMEO 238 X Item output
RETURN BAPIRETURN1 470 Return parameter

Functionality
With this method, detail data for planned independentrequirements can be listed.
To do this, the item data must be transferred.
Message regarding any errors that occur are returned in the RETURN

Notes
The authorization object C_PPBD with the activityA (display) is checked.

Further information
Additional methods:

  • PlannedIndepReqmt.CreateFromData

  • PlannedIndepReqmt.Change
  • Description
    For more information on the material number, see the data elementdocumentation: Material.

    Description
    Parameter for the long material number
    This parameter can be used to transfer long material numbers. Thesenumbers can be up to 40 characters long.
    To be able to use this parameter you must activate the switch for thebusiness function LAMA (long material number) in the system.
    The business function LAMA is available as a component of the businessfunction set for DIMP.

    Value range
    None

    Default
    None

    Description
    For information on the MRP area see the data elementdocumentation:MRP Area.
    This parameter should only be filled if MRP areas are active.If this is the case you can display the planned independent requirementsfor an MRP area.
    If the method is called with a filled MRP area, then only the schedulelines of this MRP area are returned.

    Default
    If the MRP area is blank then all schedule lines are returned, bothfrom the plant MRP area and from other MRP areas.

    Description
    For information on the plant, see the data elementdocumentation: Plant.

    Description
    For information on the requirements plan number, see thedata element documentation: Requirements Plan Number.

    Description
    For information on the requirements type, see thedata element documentation: Requirements Type.
    If this field is empty, the requirements type is determined from theplanning strategy in the material master.

    Description
    For information on the version number, see the dataelement documentation: Version Number

    Description
    This parameter returns the data about theexisting planned independent requirements.
    INCLUDE BAPI_DATAELEMENT
    The following entries uniquely characterize a planned independentrequirement item:

    • Material

    • Plant

    • Requirements type

    • Versions number

    • Requirements plan number

    • MRP area

    • The following data is also output:
      • Additional item data

      • Data from the material master

      • Following schedule line data:

      • Date type
        Schedule line date
        Planning quantity
        Withdrawal quantity
        Base unit of measure
        Last change date
        Last person to change
        BOM explosion number
        Production version

        Value range
        For the period indicatorDATE_TYPE the following valuesare possible:

        • 1: Day

        • 2: Week

        • 3: Month

        • 4: Posting period (provided it is defined in the material master)

        • 5: Planning calendar (provided it is defined in the material master)
        • Default
          For existing planned independent requirement items, for which there areno schedule lines, one data record with initial schedule line data isreturned.

          Description
          This parameter contains messages about errors that have occurred.

528481COMMIT WORK in FUNCTION BAPI_REQUIREMENTS_CHANGE