cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP - Include only specific format of numbers

0 Kudos

Dear Team,

Can you show me one example what can I use in order to transfer data records in output that contain only number (Zuordnung) that have 10-digit, starts with 11, 12 or 13, and not other cases as 000 or 000T etc.

Thank you
MP

former_member763929
Participant
0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since this is your first question, I recommend that you familiarize yourself with Community Q&A , as the overview provides tips for preparing questions that draw responses from our members.

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your Profile you encourage readers to respond.

Accepted Solutions (0)

Answers (1)

Answers (1)

horst_keller
Product and Topic Expert
Product and Topic Expert

One way of doing so would be a pattern matching with an appropriate regular expression. No big thing.

Play with DEMO_REGEX to find it and use the built-function MATCHES

https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenmatches_functions...

BR

Horst