Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Customising, form entry, smartform, internal table


I need a suggestion....

We have a standard program to call a smartform when invoked from customising. This program can be called from anywhere so there is no data being passed to it. All data selection should be done within the smartform.

form entry using pi_ret type SYSUBRC
                        pi_scr type c.
call function 'SSF_FUNCTION_MODULE_NAME'.....

call function fm_name....

This works fine in most cases but....not always.


if we get 5 HU's, using VL74 the smartform is called 5 times.

Within the smartform we get the data with, e.g.

DATA: l_char(23) TYPE c.

l_char = '(SAPLKKBL)T_OUTTAB[]'.
ASSIGN (l_char) TO <temp>.

so, now <temp> refers to an internal table with 5 HU's but, as the SF is going to be called 5 times, we only want to process one line of the table.

So, how do I know each time I come into the SF which HU to print?

Is there a way, using <temp> to delete the actual line processed in '(SAPLKKBL)T_OUTTAB[]'?

Should I use import/export to memory?

Suggestions appreciated?


Helpful Answer

Not what you were looking for? View more on this topic or Ask a question