Ansicht
Dokumentation

BBP_BS_GROUP_BE - Grouping of Shopping Cart Items for Follow-on Documents

BBP_BS_GROUP_BE - Grouping of Shopping Cart Items for Follow-on Documents

CPI1466 during Backup   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

The BAdI BBP_BS_GROUP_BE provides the following options:

  • Alternative to the standard, you can use method GROUP_RQ_BACKEND to define your own grouping for purchase requisitions. The system creates as standard only one purchase requisition for all purchase requisitions with the same backend document type. If the document types are different, then the standard creates one purchase requisition for each document type.
  • In the case of purchase orders the following fields are standardly used for grouping:
  • Vendor

  • Purchasing organization

  • Purchasing group

  • Contract

  • Document type

  • Company code

Using method GROUP_PO_BACKENDyou can take the grouped items and, using criteria you have chosen yourself that is not at document-header level, you can group the items more precisely.
  • In the case of reservations, the system creates as standard a separate reservation for each item. You can override this using method GROUP_RS_BACKEND . Depending on item and account assignment data, you control how many reservations are to be created from requirement items. You can create
  • a reservation for all items or

  • multiple reservations for the items.
    The method also takes into account customer fields in item and account assignment data.

  • Alternative to the standard, you can use method
    GET_NUMBER_OR_RANGE
    to override determination of the number range object and the number assignment for the following document types:
  • Purchase orders

  • Purchase requisitions

  • Reservations


Note:
Method GET_NUMBER_OR_RANGE can not be used for grouping.

SRM calls the BAdI during data transfer into the backend system.

The interface also takes into account customer fields in item and account assignment data.

The transfer process for requirements always occurs in the following sequence for each backend system:

  1. First there is the grouping of purchase requisitions using method GROUP_RQ_BACKEND. As part of purchase requisition processing, the method GET_NUMBER_OR_RANGE is called up for each grouping criterium for number assignment. This also applies to the grouping of
    reservations using method GROUP_RS_BACKEND.
  2. In the case of purchase ordersstandard group occurs first by way of the fields named above. You can also use method GROUP_PO_BACKEND to determine if a further grouping is to take place.
    Method GET_NUMBER_OR_RANGE can be used for each grouping criteria.

You are using the BAdI, for example, in the following context:

  • your own number range assignment and standard grouping for purchase requisitions
    (you use only method GET_NUMBER_OR_RANGE)
  • number range assignment as in the standard and your own grouping for purchase requisitions.
    (you use only method GROUP_RQ_BACKEND)
  • your own number range assignment and your own grouping for
    purchase requisitions.
    (you use both methods GET_NUMBER_OR_RANGE and GROUP_RQ_BACKEND)
  • Methods:






General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 6157 Date: 20240523 Time: 235556     sap01-206 ( 87 ms )