SAP Reports / Programs | Basis Components | Client/Server Technology(BC-CST) SAP BC

VBTST300 SAP ABAP Report - Update Test Program







VBTST300 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter VBTST300 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

BDCUPDATE - Test Update in Batch Input


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT VBTST300. "Basic submit
SUBMIT VBTST300 AND RETURN. "Return to original report after report execution complete
SUBMIT VBTST300 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: NO_FBS = No. of func per update request
Selection Text: NO_LOCKS = No. of sap locks
Selection Text: NO_REQ = No. of COMMIT WORKS
Selection Text: NO_UPD = test local update
Selection Text: OPCODE = Func (Insert, Update, Delete)
Selection Text: PRINT = test local print
Selection Text: PSYNC_VB = Sync Update
Selection Text: REMDIA = test remote dialog
Selection Text: RFC = Test RFC
Selection Text: RFC_TXT = text for rfc
Selection Text: RFC_V1 = RFC from V1 modules
Selection Text: SAMELOCK = Use Same Lock Object
Selection Text: SHOWVBKY = Show update key
Selection Text: SLEEP = sleep for v1 or ext trans id
Selection Text: SNDMODE = Send Mode
Selection Text: STOP = test stop in update task
Selection Text: STOP_IN = test stop (V1, V2, RFC, BT)
Selection Text: TA = tcode for transaction test
Selection Text: TESTMSG = test message
Selection Text: TXABORT = test external abort
Selection Text: USR_INFO = test TH_USER_INFO
Selection Text: V1 = include V1 part
Selection Text: V1_LOOPS = loops inside V1 module
Selection Text: V1_PAR = test v1 func with(out) param
Selection Text: V1_TEXT = v1 text for table tcpic
Selection Text: V2 = Include V2 part
Selection Text: V2_LOOPS = loops inside V2 module
Selection Text: V2_TEXT = v2 text for table tcpic
Selection Text: V3 = include non postable func
Selection Text: V3_LOOPS = loops for non postable func
Selection Text: V3_ROWS = table size for non post func
Selection Text: V3_TEXT = text for non postable func
Selection Text: V4 = include collector func
Selection Text: V4_SUM = param for collector func
Selection Text: V4_TEXT = text for collector func
Selection Text: VERI = verification
Selection Text: V_NO_DAT = Module Without Data
Selection Text: WAIT = test update counter





Selection Text: MSG_TYPE = msg type (E, A, I, ..)
Selection Text: ACOMTEXT = Text for AFTER COMMIT Test
Selection Text: AFTERCOM = Test AFTER COMMIT Function
Selection Text: ARFC = test call func in bgr task
Selection Text: ARFC2 = bgr task test II (own func)
Selection Text: ARFC2LOP = loop in bgr task test II
Selection Text: ARFC2TXT = text for bgr task test II
Selection Text: ARFCLOOP = loop in call func in bgr task
Selection Text: ARFC_TXT = text for call func in bgr task
Selection Text: B_COMMIT = com=1, rb=2, sqlcom=3, sqlrb=4
Selection Text: CALLDIA = test call dialog
Selection Text: CALLTA = test call transaction
Selection Text: CALLTX = test ext transaction ID
Selection Text: CHECKTID = Check Transaction ID
Selection Text: DBG = Loop for debugger attach
Selection Text: DEADLOCK = Test Update Deadlock Handling
Selection Text: DEST = RFC Destination for Call Bgr
Selection Text: DUMP = Test dump (V1, V2, BT)
Selection Text: ENQ = Enqueue
Selection Text: EOT = End of Transaction (C, R, N)
Selection Text: ERR_MSG = Test err msg (ALL, V1, V2, AC)
Selection Text: EXTCOM = test ext commit
Selection Text: EXTID = use ext trans id
Selection Text: EXTIDLN = length of ext trans id
Selection Text: HELP = get help about vbtst300
Selection Text: LANGUAGE = Test Lang. Env. in Update
Selection Text: LIST = With Output
Selection Text: LOCK = update with sap locks
Selection Text: LOCKBASE = Lock Base
Selection Text: LOCK_ARG = lock arguments
Selection Text: MODE = lock mode
Selection Text: MSGNO = Messge Number
Selection Text: MSG_ID = msg id
Selection Text: MSG_NO = msg number
Title: Update Test Program
Text Symbol: 004 = Number of Update Modules
Text Symbol: 003 = Test
Text Symbol: 002 = Exit program?
Text Symbol: 001 = TCPIC table entries deleted





INCLUDES used within this REPORT VBTST300

INCLUDE TSKHINCL.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

REQUEST_COUNTER_CREATE call function 'REQUEST_COUNTER_CREATE'.

TH_TEST_RFC CALL FUNCTION 'TH_TEST_RFC' DESTINATION 'NONE' EXPORTING OPCODE = 'P' EXCEPTIONS COMMUNICATION_FAILURE = 1 SYSTEM_FAILURE = 2.

TH_USER_INFO call function 'TH_USER_INFO' IMPORTING update_rec_exist = upd_rec_exist.

TH_VB_TEST_01 CALL FUNCTION 'TH_VB_TEST_01' IN UPDATE TASK EXPORTING OPCODE = OPCODE TEXT = V1_TEXT NO_LOOPS = IV1_LOOPS NO_FB = NO_FB ERR_MSG = ERR_MSG_V1 ERR_MSG_ID = MSG_ID ERR_MSG_NO = MSG_NO DUMP = DUMP_v1 STOP = ISTOP EXEC_COMMIT = B_COMMIT SLEEP = ISLEEP sync_vb = psync_vb enq_base = i do_rfc = rfc_v1.

TH_VB_TEST_01_NO_PAR CALL FUNCTION 'TH_VB_TEST_01_NO_PAR' IN UPDATE TASK.

TH_VB_TEST_02 CALL FUNCTION 'TH_VB_TEST_02' IN UPDATE TASK EXPORTING OPCODE = OPCODE TEXT = V2_TEXT NO_LOOPS = IV2_LOOPS NO_FB = NO_FB ERR_MSG = ERR_MSG_V2 ERR_MSG_ID = MSG_ID ERR_MSG_NO = MSG_NO DUMP = DUMP_v2 STOP = ISTOP.

TH_VB_TEST_03 CALL FUNCTION 'TH_VB_TEST_03' IN UPDATE TASK EXPORTING OPCODE = OPCODE TEXT = V3_TEXT NO_LOOPS = IV3_LOOPS NO_FB = NO_FB ERR_MSG = ERR_MSG_V1 ERR_MSG_ID = MSG_ID ERR_MSG_NO = MSG_NO DUMP = DUMP_v1 STOP = ISTOP EXEC_COMMIT = B_COMMIT familie = familie TABLES TABLE = VB_TABLE TABLE2 = VB_TABLE.

TH_TEST_RFC CALL FUNCTION 'TH_TEST_RFC' IN BACKGROUND TASK DESTINATION DEST EXPORTING OPCODE = OPCODE TEXT_IN = ARFC_TXT NO_LOOPS = IV1_LOOPS NO_FB = NO_FB ERR_MSG = ERR_MSG_BT ERR_MSG_ID = MSG_ID ERR_MSG_NO = MSG_NO DUMP = DUMP_bt STOP = ISTOP endless = iarfcloop sync_vb = psync_vb TABLES TABLE = VB_TABLE.

TH_VB_TEST_10 CALL FUNCTION 'TH_VB_TEST_10' IN update task EXPORTING OPCODE = OPCODE TEXT = ARFC2TxT NO_LOOPS = IV1_LOOPS NO_FB = NO_FB ERR_MSG = ERR_MSG_BT ERR_MSG_ID = MSG_ID ERR_MSG_NO = MSG_NO DUMP = DUMP_bt STOP = ISTOP TABLES TABLE = VB_TABLE.

TH_TEST_RFC CALL FUNCTION 'TH_TEST_RFC' DESTINATION DEST EXPORTING OPCODE = OPCODE TEXT_IN = ARFC_TXT NO_LOOPS = IV1_LOOPS NO_FB = NO_FB ERR_MSG = ERR_MSG_V1 ERR_MSG_ID = MSG_ID ERR_MSG_NO = MSG_NO DUMP = DUMP_v1 STOP = ISTOP sync_vb = psync_vb TABLES TABLE = VB_TABLE.

TH_VB_TEST_04 CALL FUNCTION 'TH_VB_TEST_04' IN UPDATE TASK EXPORTING DUMP = DUMP_v1 STOP = ISTOP TEXT = V4_TEXT OPCODE = OPCODE ERR_MSG = ERR_MSG_V1 ERR_MSG_ID = MSG_ID ERR_MSG_NO = MSG_NO SUM = V4_SUM.

TH_VB_TEST_06 CALL FUNCTION 'TH_VB_TEST_06' IN UPDATE TASK EXPORTING DUMP = DUMP_v1 STOP = ISTOP TEXT = V4_TEXT OPCODE = OPCODE ERR_MSG = ERR_MSG_V1 ERR_MSG_ID = MSG_ID ERR_MSG_NO = MSG_NO SUM = V4_SUM.

TH_VB_TEST_07 CALL FUNCTION 'TH_VB_TEST_07' IN UPDATE TASK EXPORTING DUMP = DUMP_v1 STOP = ISTOP TEXT = V4_TEXT OPCODE = OPCODE ERR_MSG = ERR_MSG_V1 ERR_MSG_ID = MSG_ID ERR_MSG_NO = MSG_NO SUM = V4_SUM.

TH_VB_TEST_08 CALL FUNCTION 'TH_VB_TEST_08' IN UPDATE TASK EXPORTING DUMP = DUMP_v1 STOP = ISTOP TEXT = V4_TEXT OPCODE = OPCODE ERR_MSG = ERR_MSG_V1 ERR_MSG_ID = MSG_ID ERR_MSG_NO = MSG_NO SUM = V4_SUM.

TH_VB_TEST_AFTER_COMMIT CALL FUNCTION 'TH_VB_TEST_AFTER_COMMIT' in update task EXPORTING OPCODE = opcode EXEC_COMMIT = b_commit NO_LOOPS = loops_int ERR_MSG = err_msg_ac ERR_MSG_ID = msg_id ERR_MSG_NO = msg_no DO_RFC = rfc_v1 TEXT = acomtext.

TH_VB_TEST_LANGUAGE CALL FUNCTION 'TH_VB_TEST_LANGUAGE' IN UPDATE TASK EXPORTING LANGUAGE = sy-langu.

TH_VB_TEST_09 call function 'TH_VB_TEST_09' in update task.

TH_MSG_TEST call function 'TH_MSG_TEST' EXPORTING send_mode = sndmode message = v1_text message_len = v1_text_len.




TH_USER_INFO call function 'TH_USER_INFO' IMPORTING update_rec_exist = upd_rec_exist.

TH_GET_VBKEY CALL FUNCTION 'TH_GET_VBKEY' IMPORTING VBKEY = vbkey.

TH_TX_TRANS_ID CALL FUNCTION 'TH_TX_TRANS_ID' EXPORTING EXT_TRANS_ID = EXTID EXT_TRANS_ID_LEN = EXTIDLN IMPORTING TRANS_ID = TRANS_ID.

TH_TX_PREPARE CALL FUNCTION 'TH_TX_PREPARE' EXPORTING EXT_TRANS_ID = EXTID EXT_TRANS_ID_LEN = EXTIDLN.

TH_TX_ABORT CALL FUNCTION 'TH_TX_ABORT' EXPORTING TRANS_ID = TRANS_ID EXT_TRANS_ID = EXTID EXT_TRANS_ID_LEN = EXTIDLN.

TH_TX_COMMIT CALL FUNCTION 'TH_TX_COMMIT' EXPORTING TRANS_ID = TRANS_ID EXT_TRANS_ID = EXTID EXT_TRANS_ID_LEN = EXTIDLN.

REQUEST_COUNTER_WAIT call function 'REQUEST_COUNTER_WAIT' IMPORTING err_counter = err_cnt.

REQUEST_COUNTER_DELETE call function 'REQUEST_COUNTER_DELETE'.

TH_USER_INFO call function 'TH_USER_INFO' IMPORTING update_rec_exist = upd_rec_exist.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TEXTLINE1 = TEXT-002 TITEL = TEXT-002 DEFAULTOPTION = 'N' IMPORTING ANSWER = EXIT_PROGRAM.

E: call function .. destination .. write: / 'E: call function .. destination ..'.

F: call function .. in background task .. write: / 'F: call function .. in background task ..'.

G: print list, call function .. in update task write: / 'G: print list, call function .. in update task'.

M: call function destination -> call function in upd task write: / 'M: call function destination -> call function in upd task'.

TH_VB_TEST_DEADLOCK_01 call function 'TH_VB_TEST_DEADLOCK_01' in update task EXPORTING datum = wa-datum uzeit = wa-uzeit.

TH_VB_TEST_DEADLOCK_02 call function 'TH_VB_TEST_DEADLOCK_02' in update task EXPORTING datum = wa-datum uzeit = wa-uzeit.

TH_GET_TRANSACTION_ID call function 'TH_GET_TRANSACTION_ID' importing transaction_id = id.

TH_GET_TRANSACTION_ID call function 'TH_GET_TRANSACTION_ID' importing transaction_id = id2.

TH_VB_TEST_01 CALL FUNCTION 'TH_VB_TEST_01' IN UPDATE TASK EXPORTING NO_FB = '1' NO_LOOPS = '1'.

TH_VB_TEST_02 CALL FUNCTION 'TH_VB_TEST_02' IN UPDATE TASK EXPORTING NO_FB = '1' NO_LOOPS = '1'.

TH_VB_TEST_03 CALL FUNCTION 'TH_VB_TEST_03' IN UPDATE TASK EXPORTING NO_FB = '1' NO_LOOPS = '1'.

TH_VB_TEST_04 CALL FUNCTION 'TH_VB_TEST_04' IN UPDATE TASK EXPORTING NO_FB = '1' NO_LOOPS = '1'.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name VBTST300 or its description.