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

FM for Increment

Former Member
0 Likes
1,819

Could anyone give me a Function Module which increment the given variable.

<b>Note:</b> Don't suggest me the Logic for the same.... I need only SAP Function Module available.

Thnx in advance...

Could anyone give me a Function Module which increment the given variable.

<b>Note:</b> Don't suggest me the Logic for the same.... I need only SAP Function Module available.

Thnx in advance...

8 REPLIES 8
Read only

Former Member
0 Likes
1,339

There in no such function module available.

is there any specific reason, why you do not want to use custom logic?

Regards,

Ravi

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
1,339

Hi,

try this one...

<b>INCREMENT_COUNTER</b>

or else..

U can create a Z F.M for this na...

As far as i know there is no existing given by SAP>.

Mark all the helpful answers..

Cheers,

Simha.

Read only

Former Member
0 Likes
1,339

INCREMENT_COUNTER

check it out, of it is usefull.

cheers.

santosh.

Read only

Former Member
0 Likes
1,339

ch this program

DEMO_FUNCTION_GROUP_COUNTER

Pls reward points if helpful and close thread if solved

Message was edited by: Chandrasekhar Jagarlamudi

Read only

Former Member
0 Likes
1,339

Please ....

Writing Z Function MOdule is not a prob... but I want SAP FM..

Increment Counter .... Could you plz check the export parameter of that ????

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
1,339

Hi,

as chandra said..

check this program.. <b>DEMO_FUNCTION_GROUP_COU</b>NTER

U can check this demo program..

in this u can define the counter,

incement it and then u will get that value also..

check that one...

U can get the export parameter from <b>get_counter</b> in that example..

cheers,

SImha.

<b>Mark all the helpful answers..</b>

Read only

Former Member
0 Likes
1,339

Hi,

You can try FM C149_PSEUDO_NUMBER_GET_NEXT

Regards,

Raj

Read only

Former Member
0 Likes
1,339

Maybe this will help if I correctly understood your needs:

Use transaction SNRO to create range object and then

use function NUMBER_GET_NEXT to assign next free (unique) number.