‎2008 Aug 12 5:03 PM
Hi Experts,
I have an FM returning a variable which is :
abc type ref to data.
This actually returns a table at runtime.
However since its declaration is such, I capture the reference in another variable
xyz type ref to data.
Now I need to know whether the xyz table has one row or more.
How can I do that?
Thanks and Regards,
Ravi Bhatnagar
‎2008 Aug 12 5:05 PM
data: v_lines type i.
field-symbols: <fs> type standard table.
ASSIGN xyz->* TO <fs>.
describe table <fs> lines v_lines.
v_liens you get the number of rows.
‎2008 Aug 12 5:05 PM
data: v_lines type i.
field-symbols: <fs> type standard table.
ASSIGN xyz->* TO <fs>.
describe table <fs> lines v_lines.
v_liens you get the number of rows.
‎2008 Aug 12 5:06 PM