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

Commit work - while testing normal function module

Former Member
0 Likes
7,768

Hi,

I have been testing function module 'WS_DELIVERY_UPDATE', it is updating the database only if i use commit work statement in the program. If i want to test the same FM through SE37, how can i do that.

Since for normal BAPI's we can use 'bapi_transaction_commit' in the test sequence,,,in the similar way ... what can i use after i use normal function module which requires ... COMMIT WORK.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
4,172

Hi,

You can do the same for normal function modules also...In the test sequence after the normal function module...give BAPI_TRANSACTION_COMMIT...which ultimately does issue the commit work..

Thanks

Naren

2 REPLIES 2
Read only

Former Member
0 Likes
4,176

Hi,

You can do the same for normal function modules also...In the test sequence after the normal function module...give BAPI_TRANSACTION_COMMIT...which ultimately does issue the commit work..

Thanks

Naren

Read only

Former Member
0 Likes
4,172

Odd, it looks like it should do a commit itself if you pass the parameter COMMIT with a value of 'X'.

Rob