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: 

RH_UPDATE_DATABASE

Former Member
0 Kudos

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

Former Member
0 Kudos

HI,

Use this FM to Clear Buffer RH_CLEAR_BUFFER.

4 REPLIES 4

Former Member
0 Kudos

HI,

Use this FM to Clear Buffer RH_CLEAR_BUFFER.

0 Kudos

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.

0 Kudos

HI Mark,

Try this FM RHAP_CLIENT_SET

0 Kudos

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