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: 

Change ID Card format

former_member751799
Discoverer
0 Kudos

Hello

i write the ALV report.

The default ID Card in SAP display in the report is as follows : 1-1030-00000-00-7

i want display this ID Card like this format : 1103000000007

how format can i use for display like this format => 1103000000007 (with no " - " for separate)

Thanks in advance.

Regards

5 REPLIES 5

FredericGirod
Active Contributor
0 Kudos

it depends of the data element, could you provide it ?

vipinsaraika
Participant
REPLACE ALL OCCURRENCES OF '-' IN gs_final-string WITH space.
CONDENSE gs_final-string.

FredericGirod
Active Contributor

vipin_saraika if it is a field-exit it will not work

former_member751799
Discoverer
0 Kudos

vipin_saraika Your answer is work! Thank you for helping me.

ThorstenHoefer
Active Contributor
0 Kudos

Hi praeclarus,

please check the dataelement "id card" for a convertion method.
If you create your own data element with the same datatype, but without a convertion method, your problem should be solved.

Best Regards
Thorsten