How to increment string value by 1 (It's very very urgent)

Dear Sap Guru's

i have a problem that i don't able to increment the string value by 1...

plijjj sent me code for this problem immidiatly..


Hi Sam,

It really depends how the string code is built. In the case of the string "INV20001A" you can get the numeric part first. Example:

Mid$("INV20001A", 4, 5)

Then parse that string to integer add 1 and parse it back to the string and add the string part to the code.



0 View this answer in context