Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question