2012 Aug 13 9:01 PM
We are working on customized Material master screen. (These
sub-screens are defined in customization of material master)
In our
customized sub-screens we are using TABLE control to display the data. When we
click on table control scroll bar, the main program pushes to next tab instead
of remain on same tab.
After debugging the program I have found that the
field BILDFLAG in defined in main program decides the flow of tabs. If the value
of BILDFLAG is initial then it pushes to next tab otherwise it keep same screen
(tab).
My problem is I can not access the BILDFLAG field in my
customized sub-screen.
Does anyway one know how can put value in this
field? Or any other method to stop pushing program to next tab?
2012 Aug 14 10:36 AM
Hi Ramso,
If you want to assign value to filed BILDFLAG at your customized subscreen ,please try as below
data: lv_str_BILDFLAG TYPE char30.
FIELD-SYMBOLS: <fs_BILDFLAG> TYPE KZREF.
lv_str_BILDFLAG = '(SAPLMGMM)BILDFLAG'.
ASSIGN (lv_str_BILDFLAG) to <fs_BILDFLAG>.
if <fs_BILDFLAG> is ASSIGNED.
<fs_BILDFLAG> = 'X'. "You can set value here
ENDIF.
Hope it help,
Sayan.
We are working on customized Material master screen. (These
sub-screens are defined in customization of material master)
In our
customized sub-screens we are using TABLE control to display the data. When we
click on table control scroll bar, the main program pushes to next tab instead
of remain on same tab.
After debugging the program I have found that the
field BILDFLAG in defined in main program decides the flow of tabs. If the value
of BILDFLAG is initial then it pushes to next tab otherwise it keep same screen
(tab).
My problem is I can not access the BILDFLAG field in my
customized sub-screen.
Does anyway one know how can put value in this
field? Or any other method to stop pushing program to next tab?
2012 Aug 14 10:36 AM
Hi Ramso,
If you want to assign value to filed BILDFLAG at your customized subscreen ,please try as below
data: lv_str_BILDFLAG TYPE char30.
FIELD-SYMBOLS: <fs_BILDFLAG> TYPE KZREF.
lv_str_BILDFLAG = '(SAPLMGMM)BILDFLAG'.
ASSIGN (lv_str_BILDFLAG) to <fs_BILDFLAG>.
if <fs_BILDFLAG> is ASSIGNED.
<fs_BILDFLAG> = 'X'. "You can set value here
ENDIF.
Hope it help,
Sayan.
2012 Aug 14 4:28 PM
2020 Sep 18 6:57 PM
Hi Sayan,
Can this be suppressed at the config level instead of handling at the code?. Facing similar issue with custom subscreen in MM43.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |