2013 Jun 19 1:40 AM
Hi Expert,
I was passing a deep structure table to the function 'read-text' as 'LINES', It seems working for cup of days ago, but yesterday I've hit an exception for passing parameters with different structure to.
If passing deep structure to function is forbidden, why It won't come in the first place?
Meanwhile, It will be greatful to explain, whatelse is forbidden for deep structure!
Thanks,
2013 Jun 19 3:54 AM
Hi Hai,
The value passed to 'Tables' parameter i.e. 'LINES' in this case is not a deep structure. Deep Structures are tables within a table or more level of nesting.
The tables parameter should be declared like
Data : <Tab1> TYPE STANDARD TABLE OF tline.
Pass <Tab1> to the Read_text FM, it should work.
BR.
2013 Jun 19 3:54 AM
Hi Hai,
The value passed to 'Tables' parameter i.e. 'LINES' in this case is not a deep structure. Deep Structures are tables within a table or more level of nesting.
The tables parameter should be declared like
Data : <Tab1> TYPE STANDARD TABLE OF tline.
Pass <Tab1> to the Read_text FM, it should work.
BR.
2013 Jun 19 4:03 AM
2013 Jun 19 5:07 AM
I cannot say why it was working couple of days ago and not now but i can only suggest that you try the declaration given by me and run the code. It will work.
BR.
2013 Jun 19 5:15 AM
2013 Jun 19 5:34 AM