cancel
Showing results for 
Search instead for 
Did you mean: 

How to get default values while using the transaction "BP"

Former Member
0 Kudos

Hi Group,

I have a query on how to get default values while using the transaction <b>BP</b>?

The thing is:

when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.

how can I achieve this?

So please kindly let me know the procedure to achieve this.

Thanks & Regards,

Vishnu.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

There is standard functionality to pre-populate fields during business partner creation. Look at templates (and mini-templates).

Answers (2)

Answers (2)

singhsmi
Advisor
Advisor
0 Kudos

Hi,

The events of BDT can be used to default some fields on creating a partner.

For this create a function module for ISDAT. attach that event in BUS7.

In the ISDAT funtion modulethe following code should be used.

For example to set the nationality:

I_BUSDEFAULT-NATIO = 'DE.

CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'

EXPORTING

i_busdefault = I_BUSDEFAULT

Regards, Smita.

Former Member
0 Kudos

Hi Vishnu,

one possibility is to use SET/GET-Parameter. At first you have to set the paramter

to all users (i.e. su01 - tabstrip parameter - paramter-id "LND" - Value "DE" or "US").

Then you can use the statement " GET PARAMETER ID 'LND' FIELD P_COUNTRY."

We use this statement in an own function module which is call by BDT-Customizing (Event FCODE - Trx BUS7).

I hope it will help you and I would be glad for rewarded points.

Regards, André

Former Member
0 Kudos

Hi Andre,

This seems to be a good way to populate the some values. Could you tell me how to default 'Correspondence Language' field in BP with 'EN' using parameter id's?

Many thanks !