Ansicht
Dokumentation

BADI_010 - Business Add-In for Service Contract Determination

BADI_010 - Business Add-In for Service Contract Determination

BAL_S_LOG - Application Log: Log header data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this Business Add-In to enable the following customer-specific enhancements for service contract determination using the function module CRM_FIND_SERVICE_CONTRACTS:

  • Method CONTRACT_SELECTION_1
This method is called before contract determination occurs. Customer-specific contract determination is possible, or contract determination can be deactivated. If you set the export parameter EV_NO_STANDARD_SELECTION (EV_NO_STANDARD_SELECTION = X), contract determination is deactivated.
If the import tables IT_HEAD_REQFIELDS and IT_ITEM_REQFIELDS are not filled, only the GUIDs from the contract header and contract items are determined using the function module call. However, if the tables do contain entries, the fields specified in the tables are also determined.
  • Method CONTRACT_SELECTION_2
This method is called after contract determination. This method makes it possible to limit the number of hits for contract determination, or to enhance the additional data. This last option requires a corresponding enhancement of the DDIC structures affected.
  • Method CONTRACT_SELECTION_3
This method can be used to implement an individual user interface for contract determination. The standard dialog box for contract selection (program SAPLCRM_SRV_CONTRACT_UI, screen 100) can be used as template. If you set the EV_NO_STANDARD_POPUP export parameter (EV_NO_STANDARD_POPUP = X), this dialog box is not called for contract selection.

You have activated the relevant service transaction type for contract determination in the Customizing activity Customer Relationship Management → Transactions → Basic Settings → Define Transaction Types. To do this, proceed as follows:

  1. Select the required transaction type definition.
  2. Switch to the details screen for the definition of transaction types.
  3. Select the relevant contract determination type in the Contract Determ. field.
Note: The Contract Determ. field is only displayed, if CRM Service Process is assigned as leading business transaction category to the transaction type definition.

Providing that an automatic contract determination type was assigned to the transaction type definition and not a manual type, and you have created a service item with a valid item category in the service process, the CRM_FIND_SERVICE_CONTRACTS function module is called twice: Onceto determine the GUIDs from the contract header and contract item, and a second time to determine the data that should be displayed in the dialog box for the selection of contracts.






Addresses (Business Address Services)   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3122 Date: 20240524 Time: 011709     sap01-206 ( 86 ms )