on 04-14-2008 10:15 AM
Hi SRM-gurus,
Do u know how can I set the check-box 'completed SC' in "BBSC04" advnced view as activated by default?
Hope anybody can help us.
Thanks in advance.
Regards,
Henning
Hi,
it's a small modification (SRM 5.0):
Function Group BBP_SC_UI_ITS
Dynpro 4000
Module status_initialization
You have to change the default for WITH_CLOSED.
Regards,
Armin Hofius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin,
thanks for your answer.
A double-click on MODULE 'status_initialization' in SE80 'BBP_SC_UI_ITS 4000' results in the following:
----
***INCLUDE LBBP_SC_UI_ITSO11 .
----
MODULE status_initialization OUTPUT.
PERFORM status_initialization
TABLES gt_sta_field_control_list
gt_sta_mainlist_column_title
gt_sta_sublist_column_title
gt_sta_addlist_column_title
CHANGING gs_env-scen
gs_scr_sta-action.
ENDMODULE. " status_initialization OUTPUT
Where can I set the default value for WITH_CLOSED?
Thanks for your help.
Regards,
Henning
Hi Henning,
sorry for the very short description ;-).
In the module status_initialization double click on the form status_initialization.
Inside of this form you will find a statement PERFORM SEARCH_CRITERIA_FILL.
Inside of the search_criteria_fill form there are a number of PERFORM field_disable... calls (each of this calls controls the initial behaviour of an UI-element).
One of these calls has the parameter 'WITH_CLOSED'.
In this call you have to replace the parameter "space" with an 'X' as shown below.
PERFORM field_disable TABLES et_field_control_list
*{ REPLACE SRTK900068 1
*\ USING 'WITH_CLOSED' gc_yes space.
USING 'WITH_CLOSED' gc_yes 'X'.
*} REPLACE
Hope this helps,
Armin
Hi. It has a drawback, but you can use a transaction variant in SHD0.
Create it in the GUI on transaction BBPSC04 and screen SAPLBBP_PDH_SEARCH 1000 and then set it as the standard variant for the transaction.
The problem is that it sets the flag permanently, even if you remove it the flag ticks itself again.
If this is what you want though this will do the job quickly and easily without development.
Regards,
Dave.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.