Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>PlannedIndepReqmt



Index

PlannedIndepReqmt

PlannedIndepReqmt


The business object Planned independent requirement is a planned
requirement quantity for a product or assembly for a certain period of
time. It is not necessarily created on the basis of any customer requirement.

Structure

Depending on the planning strategy, a planned independent requirement
determines the total requirement quantity of a plant material. In the
schedule lines in Demand Management, this total quantity can be split
into several partial quantities with appropriate requirement dates.


11-Dec-2005


Methods

Available Methods


  • Change : Planned Independent Requirements: Change Planned Independent Requirements [ BAPI_REQUIREMENTS_CHANGE ]
  • CreateFromData : Planned Independent Requirements: Create Planned Independent Requirements [ BAPI_REQUIREMENTS_CREATE ]
  • GetDetail : Planned Independent Requirements: Display Detail for Planned Independent Reqmts [ BAPI_REQUIREMENTS_GETDETAIL ]

11-Dec-2005


Change

Change


Planned independent requirements can be change using this BAPI.

To do this, item and scheduling data must be transferred.

The item data is transferred back after changing the planned independent requirements successfully.

Errors that possibly occur are identified using the parameter RETURN.


Further Information

IN: Planned independent requirements key data:

material number, plant,

requirements type, version,

requirements plan number


VERS_ACTIV Set active version

Table parameters

  • REQUIREMENTS_SCHEDULE_IN: Planned independent reqmts scheduling data
  • Description:

    contains period indicators (see table TPRG, for example: "3" for month)


  • RETURN
  • contains messages about errors that occur


    11-Dec-2005


    CreateFromData

    CreateFromData


    Planned independent requirements can be created using this BAPI.

    To do this, the item and scheduling data must be transferred.

    The item data is transferred back after the successful creation of a planned independent requirement.

    Errors that possibly occur are identified using the parameter RETURN.


    Further Information

    REQUIREMENTS_ITEM_IN: Planned independent reqmts item data

    Description:

    contains material number, plant, requirements type, version, active indicator, requirements plan number

    Table parameters


  • REQUIREMENTS_SCHEDULE_IN: Planned independent reqmts scheduling data
  • Description:

    contains period indicators (see table TPRG, for example: "3" for month)

  • "1" for day
  • "2" for week

  • "3" for month
  • "4" for posting period
  • "5"
  • RETURN
  • contains messages about errors that occur


    11-Dec-2005


    GetDetail

    GetDetail


    With this method, detail data can be listed for planned independent requirements.

    To do this, at least the item data must be transferred.

    Via the RETURN parameter, any errors that occur are made known.

    Further Information


    IN: Planned independent requirements key data:

    Explanation:

    contains material number, requirements plan number, plant, requirements

    type, version

    Table parameter

    The detail data is transferred back to the REQUIREMENTS_OUT table.



    11-Dec-2005