Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

prepopulation of fields programmatically..

himayan_das2
Explorer
0 Kudos

Hi!

Is it possible to set a default value for 'Dunning Procedure ' and ' Terms of Payment ' field in T.code FD01? How can it be done programmitically..any badi or user exit??

For Example : Whenever we create new customer , system should automatically take default values for fields Dunning Procedure and terms of payment for a specific Company code .

Hoping for your feedback.

Thanks,

Himayan Das

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You may try the following:

Exit :

SAPMF02D User exits: Customer master data

or BADIs:

CUSTOMER_ADD_DATA Additional Data at Customers

CUSTOMER_ADD_DATA_BI Additional Data at Customers (Batch Input and ALE)

CUSTOMER_ADD_DATA_CS Additional Data at Customers (Subscreen Container 4000)

You may check whether these exits can be triggered on PBO. If so you can set the default values.

Regards,

Renjith Michael.

Edited by: Renjith Michael on Jan 9, 2008 6:59 PM

2 REPLIES 2

Former Member
0 Kudos

Hi,

You may try the following:

Exit :

SAPMF02D User exits: Customer master data

or BADIs:

CUSTOMER_ADD_DATA Additional Data at Customers

CUSTOMER_ADD_DATA_BI Additional Data at Customers (Batch Input and ALE)

CUSTOMER_ADD_DATA_CS Additional Data at Customers (Subscreen Container 4000)

You may check whether these exits can be triggered on PBO. If so you can set the default values.

Regards,

Renjith Michael.

Edited by: Renjith Michael on Jan 9, 2008 6:59 PM

0 Kudos

Hey Renjith,

Thanks a lot for ur response.

I did find out these badi's & CUSTOMER_ADD_DATA is the relevant badi for me.

But this badi have methods which allow me to get only payment term(ZTERM) thru table KNB1 but cant fetch dunn. procedure (MAHNA) since it needs table KNB5.

KNB5 isnt defined for any of the methods.

In this scenario what shud be done??

Thanks again..