cancel
Showing results for 
Search instead for 
Did you mean: 

Increment Every time message is sent

Former Member
0 Kudos

Hi,

I am working on a custom module. In this one of the requirements is to increment on field say CustomerDataNumber by 1 every time the message is sent. Thus when first time message is triggered the value of this field should be 1, second time when message is processed it should be 2 & so on. When I transport this to QA or production, the counter should again start from 1. A similar requirement has been discussed in these posts, but an RFC or JDBC lookup is not possible for me. How to do it inside a custom module. Please note that this sequencing is Not the reason why I wrote this module.

http://scn.sap.com/thread/1822028

Regards,

Rajat Singh

Accepted Solutions (0)

Answers (1)

Answers (1)

Harish
Active Contributor
0 Kudos

Hi Rajat,

Did you check the below?

regards,

Harish

iaki_vila
Active Contributor
0 Kudos

Hi Harish,

I didn't know the library java option, it's a very smart and elegant, thank you for rescuing that document.

Another worse option is to make the counter control on the sender system, wrapping and enhancing the call.

Regards.