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.
Showing results for 
Search instead for 
Did you mean: 

String operations for DMEE element

Former Member
0 Kudos

Hello experts!

I'm trying to implement one simple condition for the DMEE tree element (t-code: dmee)...

I faced some difficulties with the list of predefined functions as they don't allow to do what I need.

Let's say I need to do some sort of string operations under REGUH/VBLNR field (document number) and current value on this field is 2000012050.

Second step, I need to strip off the first digit from this number, ie it'll be 000012050

Third step is to overwrite next 4 characters with zeroes (in case they are not zeroes), ie final number should be 9 characters long with four leading zeroes: 000012050.

Fifth and final step is to write the result to the DMEE tree element:

As you may see, I put structure field in place... In the output xml file it will show document number, but without those string operations I shown above. I noticed another one field on 'Attributes' tab, ie 'Conv. functions' (I suppose it means 'conversion functions'). There are lots of them and none of them is suitable for me. Moreover they dont have proper description:

So, I'm a bit lost... how can I apply conversion logic (string operations) to this field, shown above? Is there any other ways to apply this logic rather than to write an 'exit function'???


Former Member
0 Kudos

You will have to write EXIT Function only.....

0 Kudos

Thanks for the reply!

Is there any simple example on how to achive described result in ABAP... sorry, I'm a newcomer in this field.

0 Kudos


Which ever suits you have a look

Copy this FM in a Z and use it.

If you F1 on the Exit Module field in the source tab in the DMEE it will provide you with more information on how to use this FM.

0 Kudos

Thanks a lot!

Active Participant
0 Kudos

Hi Aleks,

just read your post while searching for a similar issue. I guess you have already solved it. Still, I believe it can be handled without a user exit.

Field length 9

Source offset 5 (or 6, please try)

Conversion function: right-aligned with leading zeros

Best Regards,


Active Contributor

This does not seem to be an answer to OP's question. Please don't post an answer when you'd like to ask a question. That's what "ask a question" button is for (top right).