Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

TS values to DB values

Former Member
0 Likes
512

Hi experts,

I got a requirement to develop a abap program comparing to <b>Test Script(ECATT) values to DB values</b>... based on number of Transactions executed in the TestScript.

Is there any function module existing to display results if we pass TCODEs? Pls give me the suggestions.

Reward guaranteed.

Thanks

kaki

Hi experts,

I got a requirement to develop a abap program comparing to <b>Test Script(ECATT) values to DB values</b>... based on number of Transactions executed in the TestScript.

Is there any function module existing to display results if we pass TCODEs? Pls give me the suggestions.

Reward guaranteed.

Thanks

kaki

2 REPLIES 2
Read only

Former Member
0 Likes
474

Kaki,

I guess you have to use following two tables in your program.

ECLOG_DATA : Table with Logged Runtime Data from Script

ECLOG_SEL: Selection of STORE Data for RETRIEVE

Please go through the report ECATT_UTIL_GET_FROM_STORE.

I hope this will help you.

Regards,

Amey

Read only

uwe_schieferstein
Active Contributor
0 Likes
474

Hello Kaki

I do not understand the purpose of your ABAP program because eCATT provides all the means that you need for your requirements. Following are some of the relevant eCATT commands:

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/7b/d6313b06bfaa74e10000000a114084/content.htm">CHETAB</a>

CHETAB ( <table> , <command interface> ).

CHETAB ( <table> , <command interface> , <target system> ).

The CHETAB command compares field values in a database table with values that you specify in the command interface (the command interface has the same structure as the table). You can use it to check:

  • Database updates after transactions

  • Whether a particular table entry exists

  • Customizing table entries

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/46/d9313b06bfaa74e10000000a114084/content.htm">GETTAB</a>


GETTAB ( <table> , <command interface> ).

GETTAB ( <table> , <command interface> , <target system> ).

The GETTAB command reads a record from a database table, and assigns the values from the record to the corresponding fields of a command interface (the command interface has the same structure as the table).

If you need to check certain messages returned after finishing a transaction you surround the transaction call by:

MESSAGE ( <command interface> )

The MESSAGE command starts a MESSAGE…ENDMESSAGE block. All messages created within the block by SAPGUI, TCD, LOGMSG, FUN, inline ABAP, WEBDYNPRO, CALLSTATIC and CALLMETHOD commands are collected. At the end of the block, the messages are available in the command interface of the ENDMESSAGE command.

Regards

Uwe