07-19-2020 6:26 AM
DATA : i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
How can I define i_reclist in a method in se24?
07-19-2020 6:53 AM
I guess you know modern ABAP a little bit, so your question about this old form is "what does it mean" and you can search it in the web:
Replace OCCURS 0 WITH HEADER LINE in OOPS site:sap.com
The ABAP documentation also clearly explains how to replace it if you search OCCURS in the index at letter O: https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenabap_index.htm -> DATA - Obsolete
07-20-2020 6:14 AM
" old statement
DATA i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
" possible new statement
DATA i_reclist LIKE STANDARD TABLE OF somlreci1. " WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
DATA w_reclist LIKE somlreci1. " new 'header' line
09-13-2020 4:52 AM
harsh123, do you continue to have issues or were you able to solve your problem?
Please add comments to your question that further describe your problem or add an answer that describes how you solved your problem.
If your problem is solved, accept an answer if it helped you and please close the question.