cancel
Showing results for 
Search instead for 
Did you mean: 

Output format of a number/BISMT

michael_fallenbchel
Active Participant
0 Kudos

Hi experts,

i want to have the follwing:

I have the BISTM of a material, when I show this in a textview it is shown like '04560214521'

But I want to display it as '04560 214 512' => BISMT(5) BISMT5(3) BISMT8(3)

How to achieve this (without making a new string field)?

Is there a way?

Thanks

Michael

Accepted Solutions (1)

Accepted Solutions (1)

SergioFerrari
Active Contributor
0 Kudos

Web Dynpro ABAP well supports conversion exit like CONVERSION_EXIT_ALPHA_INPUT defined in DDIC (SE11) at DOMAIN level.

enjoy it

Sergio

michael_fallenbchel
Active Participant
0 Kudos

Hi Sergio,

first, thanks for your reply!.

But could you please explain it a little bit more? I don't knwo what I have to do...

I have a context attribte "BISMT" of type "BISMT" - when I display this it's "just" the number.

How to to display it in the way I want?

SergioFerrari
Active Contributor
0 Kudos

Hi Michael,

I suggest to work at DDIC (SE11) level.

You should:

1. copy CONVERSION_EXIT_ALPHA_INPUT to CONVERSION_EXIT_ZBISMT_INPUT

2. copy CONVERSION_EXIT_ALPHA_OUTPUT to CONVERSION_EXIT_ZBISMT_OUPUT and modify it to apply the required formatting.

3. copy domain BISMT to ZSDN_BISMT attaching the newly created conversion exit (have a look your

[http://screencast.com/t/ODZmYjlhMzEt|http://screencast.com/t/ODZmYjlhMzEt] )

4. reading the help of the field Convers. Routine you should get the idea

Then WDA simply will use the conversion exit like SAPGui does.

Sergio

Answers (0)