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

RH_UPDATE_DATABASE

Former Member
0 Likes
1,173

Hi Guys,

I am using FM RH_INSERT_INFTY with Vtask = 'B'.

This way I process all the records and they are updated in an internal buffer.

After processing all the records I call RH_UPDATE_DATABASE to commit to database.

My question is that if I am running my program in test mode and I don't call RH_UPDATE_DATABASE, how do I clear the internal buffer that is updated by RH_INSERT_INFTY?

I would appreciate your suggestions.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
900

HI,

Use this FM to Clear Buffer RH_CLEAR_BUFFER.

4 REPLIES 4
Read only

Former Member
0 Likes
901

HI,

Use this FM to Clear Buffer RH_CLEAR_BUFFER.

Read only

0 Likes
900

Thanks Avinash.

I tried using this FM RH_CLEAR_BUFFER but it does not seem to be clearing the internal buffer. Even after this FM if I call the FM RH_UPDATE_DATABASE, it still updates the database, so I am assuming that the buffer does not get cleared.

Read only

0 Likes
900

HI Mark,

Try this FM RHAP_CLIENT_SET

Read only

0 Likes
900

You have to use these two FM together i guess:

1-'RH_CLEAR_BUFFER'.

2- 'RH_CLEAR_PLOG_TAB'.

Check this link for more details:

Regards

Neha