Ansicht
Dokumentation
CRM_BTX_EXTENSION_BAPITEST - Program CRM_BTX_EXTENSION_BAPITEST
General Data in Customer Master SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Purpose
Introduction
Report CRM_BTX_EXTENSION_BAPITEST enables you to test different BAPIs on their functionality with regard to the enhancement of new business transaction components. New business transaction components are created using the Easy Enhancement Workbench (EEW), and can be used in business transactions after Customizing has taken place.
This report enables you to test the following:
- Can the BAPIs read the values of the new business transaction components? (See function module BAPI_BUSPROCESSND_GETDETAILMUL.)
- Can - based on the values read - a new transaction be created using a BAPI (see function module BAPI_BUSPROCESSND_CREATEMULTI), and can the existing items then be copied using another BAPI? (See function module BAPI_BUSPROCESSND_CHANGEMULTI.)
Integration
Prerequisites
- You have basic knowledge of BAPIs and how they work.
- You have learned about the generation and use of new business transaction components using the EEW. This is necessary, since at least one newly generated component must be used in a business transaction before you can read or copy the data using the report.
- You can find more information on the EEW in the SAP Library under mySAP Customer Relationship Management → Components and Functions → Basic Functions → Enhancements with the Easy Enhancement Workbench.
- Before you execute the report you have created a new business transaction component using the EEW.
- You have maintained Customizing such, that the new business transaction component appears in a transaction. To do this, go to the Implementation Guide under Customer Relationship Management → Transactions → Basic Settings → Enhancements with the Easy Enhancement Workbench.
- After making the required Customizing settings, you create a new business transaction and make entries for the new enhancements at item level. You save the newly created transaction and note the transaction ID with the corresponding names of the newly generated business transaction components.
Features
Selection
To start the report you have to maintain the following import parameters:
- Transaction ID: Enter the ID of the previously created transaction.
- Business transaction component 1 - 5: You can display/copy up to five components that have been created. The restriction was decided upon because the report is only provided for the purpose of testing the basic functionality of the BAPIs. Obviously, the BAPIs themselves can work with more components. You should, however, specify at least one component, otherwise the test is not helpful.
Standard Variants
Output
The report is displayed on screen when the individual steps are being executed. When they are finished, the new transaction ID of the copied and changed transaction is output.
You can now display the business transaction and compare whether the corresponding values of the new business transaction component were created and filled.
Note: The report does not copy all subobjects of a transaction, rather only the newly created business transaction components or the individual items. Therefore, if data is missing at header level, this is due to the simplified functionality of the report.
Activities
Example
CL_GUI_FRONTEND_SERVICES - Frontend Services rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 4028 Date: 20240520 Time: 081632 sap01-206 ( 75 ms )