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: 

Autogeneration issue in ABAP----urgent please.

Former Member
0 Kudos

I want to do the Auto generation technique.

Like I have role code - RC001.

Max value i have RC007.

I need this value to be autogenerated that automatically it wil be RC008.

For this I have used SPLIT RC and 007 separate but when i add 007 its giving 8 as a output not 008.

I need ouput as RC008.

Please help me.

Regards

Deepanker

1 REPLY 1

former_member156446
Active Contributor
0 Kudos

RC007

split into RC00 and 7 and add 7+1 = 8

and concatenate RC00 8..

or strln (RC007) = 5.

var+4(1) = lv_add

lv_add = lv_add+1.

concatenate.

Hope this helps