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

SM37 Test-Sequence: Howto?

Clemenss
Active Contributor
0 Likes
1,062

Hi friends,

warming up an old theme:

Most BAPI functions can not be testet in SM37 because they need a subsequent call of BAPI_TRANSACTION_COMMIT.

I remember having tried to create a test sequence including test BAPI and COMMIT BAPI but I did not succeed.

Right now, I can't find help on that subject.

Please answer to this thread if you have successfully used Function Builder test environment to run a sequence of function calls (in one LUW).

If this is possible, I'm happy to reward you!

Regards,

Clemens

3 REPLIES 3
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
760

Hi,

YOu can create Test Sequences from SE37.

In the Function Module menu if you got Test, menu option there is an option to create Test Sequence.

But Test Sequences are useful only if the First FM stored some data in the Global data declared in the TOP INCLUDE and the Second FM picks up that data for processing.

I am not sure if you can copy the output of the First FM and make it as an input for the Second FM.

Regards,

Sesh

Read only

0 Likes
760

Hi Seshatalpasai,

did you create and run a test sequence successfully?

TIA,

Clemens

Read only

Clemenss
Active Contributor
0 Likes
760

Hmm, I still don't know. Probably the test sequence in function module test environment was a never-completed-idea of a developer who was told to do something else...

Regards,

Clemens