2008 Mar 18 10:25 AM
hi friends,
I copied guistatus in std program to zprogram.
I activated them also. BUt still that buttons are not coming in application toolbar.
can anybody help me out?
hi friends,
I copied guistatus in std program to zprogram.
I activated them also. BUt still that buttons are not coming in application toolbar.
can anybody help me out?
2008 Mar 18 10:30 AM
Hi,
First goto standard tool bar.Open one more screen and got to tool bar of your copied program.
In Application tool bar whatever the Function codes are there type same function code in your zprogram.Now activate it....
2008 Mar 18 10:30 AM
Hi
Double Click on the status name and activate
when copying the status bar will not get activated goto the same activate
Regards
Shiva
2008 Mar 18 10:38 AM
Hi,
After copying the gui and activating do the following in ur code.
in ur top include,
data: rt_extab type slis_t_extab.
in ur form include,
peform event_pf_status_set.
FORM event_pf_status_set USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'ZZSTANDARD'."'MAIN100' EXCLUDING rt_extab.
here, "zzstandard" is the name given while copying the gui.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_background_id = 'ALV_BACKGROUND'
i_buffer_active = 'X'
i_callback_program = g_repid
i_callback_pf_status_set = 'EVENT_PF_STATUS_SET'
it_fieldcat = gt_fieldcat
is_layout = gs_layout
i_save = g_save
is_variant = gs_variant
it_events = gt_events[]
is_print = gd_prntparams
IMPORTING
e_exit_caused_by_caller = g_exit_caused_by_caller
es_exit_caused_by_user = gs_exit_caused_by_user
TABLES
t_outtab = gt_outtab
EXCEPTIONS
program_error = 1
OTHERS = 2.
and pass the value in the fm "REUSE_ALV_GRID_DISPLAY'.
please reward points if useful.
regards
sandhya
2008 Mar 18 10:39 AM
Hi after copying,
edit of your new gui status you have the option:
Menu - Extras -> Adjust Template -
Regard
Anuja
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |