Fonction SAP BAPI_MATALLOC_CONFIRMREQUEST - Report requested quantities for items and delivery phases (AllocTbl reply)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ALLOCTABLE BAPI2085_S-ALLOC_TBL C 10 Alloc. tbl no.
CUSTOMER BAPI2085_S-PLANT_CUSTOMER C 10 X Customer no. of store
PLANT BAPI2085_S-PLANT C 4 X Plant no. of store

Paramètre Reférence Long. Facultatif Description
DELIVDATEREQQUANTITY BAPI2085_C 31 Requested quantities for delivery phases
ITEMSREQQUANTITY BAPI2085_R 28 Requested quantities for allocation tble items
RETURN BAPIRET2 548 Error Message Table

Functionality
This method is used to report quantities requested by a store at itemand/or delivery phase level for an allocation table.

Notes
The following authorization objects are checked:

  • W_TRAN_CCR authorization to execute transaction WA14

  • W_AUFT_RMB authorization to display and/or report quantities

  • Since replies are made for specific stores, either the parameter
    PLANT or CUSTOMER must be set.
    Only those items are passed on where the quantities requested in anitem or delivery phase have changed.
    If no requested quantity is entered for an item, the value is the sumof the requested quantities in the delivery phases. It is thereforeadvisable to enter all the delivery phases for an item, whereby thecurrent value of the requested quantity should be set for the deliveryphases for which there is no change.
    If a requested quantity is entered for an item, this value should bethe same as the sum of the requested quantities of the delivery phases.
    INCLUDE BAPI_RET

    Description
    Allocation table number of the store reporting requested quantities.

    Value range
    If no number exists, an error message is issued.

    Description
    Import parameter "customer number" of a store.

    Value range
    If no number exists, an error message is issued.

    Description
    Import parameter "plant no." of store

    Value range
    If no number eixsts, an error message is issued.

    Description
    The table contains a list of delivery phases for the allocation tableand items specified. Information on the meaning of the individualparameters can be found in the data element documentation.
    The table has the following structure:

    • ALLOC_TBL Allocation table no.

    • ALLOC_TBL_ITEM Item no.

    • SEQUENCE_NO Sequence number of delivery phase

    • REQUESTED_QTY Requested quantity

    • ALLOC_UNIT Allocation unit

    • ALLOC_UNIT_ISO Allocation unit in ISO code
    • Description
      This table contains a list of items for the allocation table specifiedwith requested quantities. Information on the meaning of individualparameters can be found in the date element documentation.
      This table has the following structure:

      • ALLOC_TBL Allocation table no.

      • ALlOC_TBL_ITEM Item no.

      • REQUESTED_QTY Requested quantity

      • ALLOC_UNIT Allocation table unit

      • ALLOC_UNIT_ISO Allocation table unit in ISO code
      • Description
        INCLUDE BAPI_TABLE

        Value range
        Messages on authorizations:
        Type ID Number Message
        E MW 562
        You are not authorized to report requested alloc. quantities in store
        E MW 563
        You are not authorized to report requested allocation quantities
        Messages on user entries
        Type ID Number Message
        E MW 552 Enter either plant number or customer number of store
        E MW 557 No customer master record found for plant
        E MW 569 Please enter an allocation table number for replying
        W MW 570 No requested quantities entered for posting
        W MW 571 No notification categories exist that allow reply
        E MW 573 When you reply, you must enter at least 1 allocationtable item
        E WN 008 Plant & does not exist
        E WN 271 Customer & is not assigned to a plant master
        Messages for internal processing
        Type ID Number Message
        E MW 565 DB error reading &
        E MW 572 Error updating allocation table data
        E MW 574 Error table not filled by FM & although erroroccurred
        E MW 701
        Error & reading Customizing table for notification category
        E MW 711 Error & updating promotion data
        E MW 777 Inconsistent data (routine: &)