Skip to Content
0
Former Member
Jul 17, 2008 at 05:50 PM

implemented BADI to add custom screen to VD02 - how to get data to fields?

136 Views

hi..

i have implemented CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS to add a new screen to Customer Master maintenance tcodes.

When I run VD02 (for example), I get my button and when I click it, my new screen with new fields show up.

I need to be able to select from a custom table based on the current KUNNR and populate those fields with data for the user.

I created the custom screen using a Module Pool program - so this does give me PBO/PAI but I don't have access at that point to my S_KNA1 & other structure info that is contained in the BADI which I need.

How do I pass data to those fields?

thanks in advance.

rp.