Fonction SAP BAPI_TF_ENDP_DEL_CUSTOMER - deletes a customer from SRT_TF_BAPI_TES1 table

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACTION SRT_TF_BAPI_TES1-CUSTOMERNAME C 32 Character field, length 32

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameter
RETURN_MSG SRT_TF_BAPI_TES1-CUSTOMERNAME C 32 Character field, length 32
RETURN_MSG_TYPE SRT_TF_BAPI_TES1-CUSTOMERNAME C 32 Character field, length 32

Functionality
This Function Module allows you to delete test data (e.g. Customer
name by unique key) from a test database table.

Example
For testing the Function Module goto the package SOAP_RT_TESTS_FRAMEWORK
select class CL_SRT_TEST_CONTAINER. Then just execute the method
ABAP_RR_BAPI.

Notes
The Function Module is created for automated testing a BAPI endpoint of
a web service in the Test Framework. As an input parameter the method
accepts a specific action input parameter which is a defined constant.
The constant is created in the Type Group TSRTT in the package
SOAP_RT_TESTS_FRAMEWORK. It is named tsrtt_act_del.

Description
You will find information on message types in the relevant data
element documentation: Message type

Description
A parameter for the returning message text. It depends on the returned
message type (RETURN parameter).

Default
No default values specified.

Description
A parameter for the returning message type after the execution of
Function Module.

Value range
The possible values are defined in the next constants:
tsrtt_msg_type_e - if there is an error;
tsrtt_msg_type_n - no records found to delete;
tsrtt_msg_type_s - executed successfully.

Default
No default values defined.

Description
A specific action for deleting a test data. Up to now there is only
one action for standart delete data from a test database table.
We forsee two additional actions which provide a syntax and application
errors accordingly.

Value range
Accepts string constant tsrtt_act_del

Default
No default value specified.