Hi,
My requirement is that , In Confirm Goods/Services BBPCF02 under "Search for Purchase Order section" we have ("Item Description" "Name of Shopping Cart" " Timeframe" "Purchase Order Number" ) fieds.At present the TIMEFRAME value is always defaulted to "Last 7 Days".I need to chnage TIMEFRAME value dfault to "Last 90 Days" instead.
Regards
Hi
<b>We have done this long back..</b>
<u><i>Which SRM version are you using ?</i></u>
<u><b>This is possible by either SAP standard code modification or use of Screen Varaiants using SHD0 transction.</b></u>
<i>We have got a similar requiremnt earlier when we were using SRM 4.0 version, quite a long time back in our SRM implementation project.
In this case, you need to change the standard SAP code inside the Screen - Flow logic (I guess, this is not possible using HTML Templates incase you want to make it applicable for Employee role only - Reason being, all the roles in SRM web page, share the same HTML Templates)...
Therefore better to go for modification of Standard SAP logic, but for this case, you will need Access Keys (SSCR keys) in order to make changes to standard code.</i>
<b>For Screen variant - You need to -</b>
1. Create a screen variant (using tcode SHD0) for tcode BBPSC04.
- Assign the new values to the fields (in your case GS_SEARCH_FIELD-SELECTION_DATE set to '4' and GS_SEARCH_FIELD-WITH_CLOSED set to 'X').
- Also mark "W. content" field with 'X' for the changed fields.
2. Assign the screen variant to the transaction variant.
<b>This way you do not need to change SAP Standard code.</b>
There seems to be one bug though with field "timeframe" which always defaults to '3' irrespective of what value you change it to in the screen variant. Other fields accept the variant values.
<u>Per OSS, we needed to do the following:</u>
Include LBBP_SC_UI_ITSF44 has the following code which sets the values.
PERFORM field_disable TABLES et_field_control_list
USING 'SELECTION_DATE' gc_yes '3'.
....
PERFORM field_disable TABLES et_field_control_list
USING 'WITH_CLOSED' gc_yes space.
We changed '3' to '4' (last 30 days) and deactivated BADI ZBBP_SCREENVARIANT.
<u>Hope this will help. Do let me know.</u>
Regards
- Atul
hi,
See the solution in the foll threads:
<b>bbpsc04-defaults</b>
add-sc-status-list-drop-down-values-in-sc-status-s
timeframe-always-defaults-to-'3'-even-when-other-v
BR,
Disha.
<b>Pls reward points for useful answers.</b>
Add a comment