Hi Experts,
I recently came across a similar question in the forum and wanted to build a logic for it using REDUCE and FOR.
I tried many things but I have a few doubts that I would like to get your opinion on.
Below is the code with comments o...
Hi Experts,
I recently came across a question in the ABAP Development tag to find all the prime numbers between a range. I could not find any clean code for that in the forum, specially one with new ABAP syntaxes.
So I started developing one myse...
Hi experts,
I have a requirement to call a FM inside the FOR Loop with the ABAP 750 syntax.
Basically what I want to know is how do I code the below requirement using a FOR Loop, if it is possible.
LOOP AT itab INTO wa. CALL FUNCTION 'X' EX...
Well it's just another way of doing the same task. Some people, specially beginners with ABAP these days might be more familiar with the newer ways of writing the code using new ABAP syntaxes.But I completely agree with your point here, and as a matt...
Hi fotso,Your code looks good. Although if you are interested to do the same task by using new ABAP syntaxes, you can do something like this: DATA: lv_string TYPE string VALUE 'abcdefghijklmnoPQRStuvwxyz'.
DATA(lv_len) = strlen( lv_string )....
Hi tantrung69,Define a variable lv_pos and set it as 1. From then on, keep increasing it by one. Something like below would help.DATA: lv_pos(2) TYPE i.
clear: ls_fcat.
lv_pos = 1.
ls_fcat-reptext = 'A'.
ls_fcat-coltext = 'A'.
ls_fcat-f...
Hi fotsoYou have not selected the field that you want to concatenate the value of. You cannot use <fs_int> as it will have a structure type same as the internal table lv_int. (Do learn naming convention as well and try naming internal tables as lt_in...