Application Development 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: 

AMDP Test Doubles for Database Tables

frankmueller9
Participant
410

Hello,

it is possible to create with the class cl_osql_test_environment test doubles of database tables for unit tests. You can then create test data for this table. When you select with your CUT in ABAP (open sql) the data of this table, then you will receive the test data instead of the original data.

But this seams not to work for AMDPs.

How can I achive the same with AMDPs?

Best regards

Frank

1 REPLY 1

mgoebel
Explorer
0 Kudos
244

Hi Frank,

did you solve the Problem with unit Testing on amdp methods?

If you have any help for me, it would be grateful.

Kind regards

Matthias