‎2014 Apr 01 11:43 AM
Hi Experts ,
I have a requirement to modify dynamic internal table..
Eg:
In the below screen grab there is two consulting Exp .I want to make it a single row and modify values accordingly.I have checked in forums and everywhere it is showing how to append a dynamic internal table. I want to modify internal table
Thanks and Regards,
Subeesh Kannottil
‎2014 Apr 01 6:17 PM
Debug below snippet and observe how internal table changes.
/.
‎2014 Apr 01 12:21 PM
If you want to summarize values, why dont you use COLLECT statement?
‎2014 Apr 01 12:30 PM
please search for the use of COLLECT before the real use (as it is not always clear, how and which columns will be summarized). For me a simple copy of the internal table with reading / appending lines is a better approach as for the clearness of the code.
‎2014 Apr 01 12:38 PM
Thanks for the reply,
I dont want to add the values in the fields,
As you can see in the picture Consulting expenses comes twice ,
First one got value in the first column and second one in the 5 th column .
I want consulting expenses as one row filled with '555 ' in the first column and '13000' in the fifth row
thanks and regards ,
Subeesh Kannottil
‎2014 Apr 01 12:44 PM
then probably you do not want to add the row but search for an existing one? Our response is probably still the same
‎2014 Apr 01 2:40 PM
If I'm not wrong, I think that he needs to merge the records DINAMICALLY field by field.
I'm trying to find a solution!!!
‎2014 Apr 01 3:47 PM
I've tried to find a solution but unfortunately there is no ABAP STATEMENT (like COLLECT) / FUNCTION MODULE that could allow you to make this operation.
I think that you have to make a routine form to manage this type of situation properly.
Hope that someone could light up this post.
Finger crossed.
‎2014 Apr 01 6:17 PM
Debug below snippet and observe how internal table changes.
/.