Skip to Content
0
Former Member
Apr 26, 2006 at 09:24 AM

Setting a particular value as default for the Grouping Range at BP Creation

1810 Views

Hi,

I am trying to set certain default for the Grouping Range when I create a new Bp using Tcode BP. For this i have changed the PBC fucntion for the view BUP020 ( TCode : BUS3). The Z function module attached is Z_FBSBP_SET_DEFAULT_GROUPING

FUNCTION z_fbsbp_set_default_grouping.

*"----


""Local interface:

*" IMPORTING

*" REFERENCE(IV_ACTION) LIKE BUS000FLDS-CHAR1

*" REFERENCE(IV_SICHT) TYPE BU_SICHT

*"----


DATA: lv_bu_group TYPE bu_group VALUE 'GR01'.

  • Set the Grouping Range with a default value for all roles, each time

  • when transaction BP is called

SET PARAMETER ID 'BPP' FIELD lv_bu_group.

  • Call the standard PBC fucntion module for BP Creation

CALL FUNCTION 'BUP_BUPA_PBC_MISC'

EXPORTING

i_action = iv_action

i_sicht = iv_sicht.

ENDFUNCTION.

As per my notion this fucntion module should get triggered once I open the transaction BP and try to create a new BP, but such a thing is not happening.

Can someone help me in this?

Regards

Priyanka