cancel
Showing results for 
Search instead for 
Did you mean: 

Default timeframe for SC timeframe need to be changed to 90 days from 7 day

Former Member
0 Kudos

Hi All,

In check status of the shopping cart (T-CODE = BBPSC04) by default we get timeframe of 7 days but client requirement is change to 90 days .I checked the badi

BADI : BBP_CHANGE_DEFAULT

Method: IF_EX_BBP_CHANGE_DEFAULT~CHANGE_DEFAULT_DELIV_Date.

but it only triggering for Confirm Goods and Services but i need for Check Status.

can any one sugest the solution for this.

Please hlep.

Thanks in Advance

-


Channappa Sajjanar

Accepted Solutions (1)

Accepted Solutions (1)

paul_hew
Explorer
0 Kudos

Hi,

The 7 days is default in SAP code, we have to enhance the code in the include LBBP_SC_UI_ITSF48 where we coded as follow:

READ TABLE et_control_list WITH KEY field_name = 'SELECTION_DATE'.

IF sy-subrc = 0.

et_control_list-display_flag = gc_yes.

IF iv_change = gc_yes.

et_control_list-field_content = '5'.

ENDIF.

MODIFY et_control_list INDEX sy-tabix.

ENDIF.

This will work

Former Member
0 Kudos

Hi Paul ,

do we need to change the standard SAP code.please tell me how can i do this..

Regards

-


Channappa

Former Member
0 Kudos

Hi,

Yes .You would need to do standard sap code modifications.PLease see this related thread for more pointers:

BR,

Deepti.

Former Member
0 Kudos

Hi ,

thanks for your information.

Regards

-


Channappa Sajjanar

Answers (2)

Answers (2)

Former Member
0 Kudos

include LBBP_SC_UI_ITSF44

Try this

PERFORM field_disable TABLES et_field_control_list

*{ REPLACE 1

  • USING 'SELECTION_DATE' gc_yes '3'.

" change from 7 days to 90

USING 'SELECTION_DATE' gc_yes '5'.

Former Member
0 Kudos

Hi,

As suggested by Paul , you can do a implicit enchancement , check the include LBBP_PDH_SEARCHF28.

set the GS_SEARCH_FIELD-SELECTION_DATE = 5.

This will solve your issue.

Bidyut

Edited by: bidyut dutta on Sep 4, 2009 11:36 AM

Former Member
0 Kudos

Hi ,

can u tell me do we need to do standard SAP code changes.

Regards

-


Channappa