Application Development and Automation 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: 
Read only

Table construction for custom application (Re-post from ABAP, General)

Former Member
0 Likes
534

Dear friends:

We are creating a custom application, one of the data fields in it is Vendor.

My question is how should address data for the vendors be stored in a custom table?

What is the correct oracle datbase mangement practice? Should the custom application database table store Vendor value only and not any of the address related fields? Or can both vendor and address fields be stored in the custom application tables?

The reason I am asking this is, I noticed in PO/PR data tables (EKKO, EKPO, EKKN,...) Vendor alone is stored, not address fields, they are fetched from the address management system. However, in a/c assignment tables EKKN/EBKN all of the accounts linkage data is stored, ie WBSE, Cost Center, Bus Area, Asset, fund, fundscenter, even though individual account objects are linked in controlling.

Please help.

Thank you.

Dear friends:

We are creating a custom application, one of the data fields in it is Vendor.

My question is how should address data for the vendors be stored in a custom table?

What is the correct oracle datbase mangement practice? Should the custom application database table store Vendor value only and not any of the address related fields? Or can both vendor and address fields be stored in the custom application tables?

The reason I am asking this is, I noticed in PO/PR data tables (EKKO, EKPO, EKKN,...) Vendor alone is stored, not address fields, they are fetched from the address management system. However, in a/c assignment tables EKKN/EBKN all of the accounts linkage data is stored, ie WBSE, Cost Center, Bus Area, Asset, fund, fundscenter, even though individual account objects are linked in controlling.

Please help.

Thank you.

3 REPLIES 3
Read only

Former Member
0 Likes
500

Fred,

The correct way of doing it would be to go with the first method , by storing only vendor value and then fetching the related data from other fields. Having said that , some times in custom application you convinience would take precendence and you have to ignore the standard practises.

Read only

0 Likes
500

Sam, thanks. Your reply makes me feel lot better. I hope few others offer their take on this.

Read only

Former Member
0 Likes
500

Hi,

Check out the table kna1 and add address to your custom table accordingly..

Regards

Vasavi Kotha