WebMar 24, 2009 · 4 Answers. "Define Range table and Work area data: i_rng TYPE RANGE OF typbz INITIAL SIZE 0, "table data: wa_wng LIKE LINE OF i_rng " Work area wa_rng-sign = 'E'. wa_rng-option = 'CP' wa_rmg-low = " Put concatenated value " Now use this range table for you selection, as you use select-option, when selecting. WebDec 26, 2024 · if you want to check if the string is a valid decimal, you could use the following module function : 'HRCM_STRING_TO_AMOUNT_CONVERT', which allow you to convert a string to its numeric counterpart, given the string, the decimal separator and the thousand separator. regards Share Improve this answer Follow answered Apr 24, 2012 …
sql_cond - LIKE - ABAP Keyword Documentation
WebHi, Find out the positiomn of ur string in the orginal string in sy-fdpos. DATA: text TYPE string VALUE 'Roll. .over Beethoven', pos TYPE i. SEARCH text FOR 'ol'. SEARCH text FOR ` `. IF sy-subrc = 0. pos = sy-fdpos + 2. SEARCH text FOR 'th' STARTING AT pos. Web1160 Views. Follow. RSS Feed. Dear Experts. I have a input string v_stg = '--;--'. In ABAP i want to check if the input string has any of the special chars that is "-" and ";" then error out. I want to check only these 2 chars. I tried with below code but it does not return error. … henner \\u0026 scarbrough llp
SAP ABAP Operators with Examples - DataFlair
WebDec 26, 2024 · First, your regular expression won’t work. It is only successful when your input contains only a single letter. This one will work correctly: ' [a-zA-Z]*'. + and * mean repetition. That means a chain of any number of characters which falls into the preceding category. The difference is that * can also mean 0 times, while + means at least one ... WebMay 17, 2013 · Compacting ABAP code by using new string options Imagine that you have to create a tab-delimited file from an internal table with a line type, consisting of character and numeric type fields. Furthermore, you want the date and amount fields to be converted into a specific output format in the file. WebJan 1, 2024 · SELECT by column of type STRING. I'll try to explain as simple as possible. I have a Database table 'DB_JOURNAL' that has only 2 columns 'Date' and 'Journal' type … hennertys cork