Ansicht
Dokumentation

CRM_TC_TECH_RES_BADI - BAdI: Technical Resources

CRM_TC_TECH_RES_BADI - BAdI: Technical Resources

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This BAdI allows conversions and additional checks on technical resource IDs during creation and changing of subscription contracts depending on the resource type. Use this BAdI to implement format checks or calls to external validation systems. Double assignments of a primary resource have already been checked by the system.

Furthermore, this BAdI enables to modify the technical resource before the events BEFORE_ASSIGN, BEFORE_UNASSIGN and BEFORE_SAVE. Use these events to execute special functionality for the management of technical resources in an external system.

Technical resource types, categories, and assignment settings for the subscription contracts have already been customized.

For the subscription contracts the technical resource types, categories and assignment settings have already been customized.

The standard setup does not incorporate any conversions or checks.

Implement this BAdI to convert technical resource ID inputs and to perform additional checks depending on the resource type.

Use the BAdI event methods to manage the technical resources in an external system.

Blanks might be eliminated from license plate numbers during the conversion. The check might then call a third party service to validate the input.

Reserve or confirm a technical resource in an external system, as soon as the subscription contract is complete.

Name: CRM_TC_TECH_RES_BADI

Create an implementation for every resource type you want to process. Filter your implementations by the resource type.

Use method TR_ID_CONVERT_INBOUND to convert the ID input in field CS_TR_OBJ_ID. Consider import structure IS_TECH_RES in case the conversion depends on the line type (primary or additional resource).

Use method TR_ID_CHECK to check the input and post error and warning messages. Check the values in structure IS_TECH_RES and write messages into export structure ET_MESSAGES.

Use method TR_BEFORE_ASSIGN to modify the technical resource before the assignment.

Use method TR_BEFORE_UNASSIGN to modify the technical resource before the unassignment.

Use method TR_BEFORE_SAVE to modify the technical resource before saving.

The example implementation is intended for German license plates. It converts the input of license plate numbers to upper case and eliminates superfluous blanks. It then performs a check on the format according to German license plate regulations and sends warnings for additional resources and errors for primary resources.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2789 Date: 20240523 Time: 154001     sap01-206 ( 65 ms )