Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
All of the SPF-** in your example are constants in your program. It would help if you included how they were declared / initialized.
Quote:
How SPF-ORDERZ works while doing row addition in table (in case of SPF-TBADD)?
If you sort a table then add rows with ORDER, the final result will be in sort sequence. Otherwise, new rows are added to the end (I think).
Quote:
What about the TBLDTEV, how it will be used in SPF-TBADD?
You specify which variables are part of the table during TBCREATE. When you do a TBADD, it uses those same variables. The contents of the variables at the time of the TBADD are added as a new row to the table.
Quote:
Is there any effect of TBLDATES (sort criteria of the table) while adding row in the table during SPF-TBADD?
If you sort a table then add rows with ORDER, the final result will be in sort sequence. Otherwise, new rows are added to the end (I think).