Use of BDT - setting default value on the BP screen

Use of BDT - setting default value on the BP screen

Postby Karolina3808 » Wed Apr 26, 2006 11:26 am

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 :?:
Karolina3808
.
.
 
Posts: 5
Joined: Sat Apr 08, 2006 7:46 am

Postby Alen3085 » Tue Oct 10, 2006 7:21 am

In my opinion this functionality in BDT is made for adding additional data to the database if a certain field is changed, in your case the function module just gets triggered after you change the value in field grouping

regards
Meex
Alen3085
...
...
 
Posts: 120
Joined: Tue May 27, 2003 6:22 am


Return to CRM (Customer Relationship Management)

Who is online

Users browsing this forum: No registered users and 3 guests