on 04-06-2009 10:45 AM
Hi,
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.
Program:
...
form entry using pi_ret type SYSUBRC
pi_scr type c.
...
call function 'SSF_FUNCTION_MODULE_NAME'.....
call function fm_name....
endform
This works fine in most cases but....not always.
Example:
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.
FIELD-SYMBOLS : <temp> TYPE ANY TABLE.
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?
Thanks,
Hi cric,
I would suggest you to choose Enhancement framework.(if it is ECC)
find out is there any implicit enhancements are available or not... if yes you can strightly implement it.
if not you can do explicit enhancements.
if you still need any assistance plz reply me ::)
all the very best.
Regards,
Sreenivasa Sarma K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Kroc,
below links will help you in enhancement framwork.
http://help.sap.com/saphelp_nw70/helpdata/en/83/43e040e136742ae10000000a155106/content.htm
Its purely depends on what standard program you are using. If you could closely debug the standard program and foundout the behaviour of routine and look for where the NAST table is used in the program.
the enhancement framework cannot give the 100% solution for your issue....try your luck with enhancement spot or enhancement points ... it nothing works for you means you need to do the repair to the program.
all the best.
Regards,
Sreenivasa sarma K
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.