Skip to Content
0
Former Member
May 18, 2006 at 04:37 PM

EEWB: Insert New Table with more than one key field for BP object

68 Views

Hi Gurus,

I want to enhance Business Partner object with a new table with two key fields, one the address number and another a sequence number, because I need to save several entries for each address belonging to a determined business partner. Something as what happens in communication data (i.e fax number)for an address.

I have run the wizard from EEWB but the only possibility that offers you is to create only one key field for the new custom table. There is something in EEWB to achieve this, two key fields for the new table?

Another question is the following: which Badi or BAPI must I enhance to populate my table with the corresponding address number to which the data belong to?

I mean my custom data are filled through a table control that I have allocated within the screen sequence BUA130 (Detail Address). Thus, when a new address is added to a BP and my particular table control is populated within this address I should fill the key fields from my table (address number and sequence number) when the BP were saved. So, I must know beforehand which address number the system will assign to this new address.

I repeat the question: which Badi or BAPI must I enhance to populate my table with the corresponding address number to which the data belong to?

Thanks in Advance.

Regards,

Rosa Ferrando