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

How to maintain Custom Fields using BAPI.

Former Member
0 Likes
789

Dear Gurus,

I have searched in Google and I have got loads of websites which explains the usage of Extentionin.

But I did not quite comprehend it.

For instance, somewhere it was mentioned that

If you need to use custom fields for VBAK you must adjust the following structures for customer enhancements to table VBAK:  

a) VBAKKOZ  

b) VBAKKOZX  

c) BAPE_VBAK  

d) BAPE_VBAKX

 

If you need to use custom fields for VBEP you must adjust the following structures for customer enhancements to table VBEP: 

  a) VBEPKOZ 

  b) VBEPKOZX 

  c) BAPE_VBEP 

  d) BAPE_VBEPX

Fine, I need to adjust the following structures with Customer Fields, I see  point there, OK.. but how I on earth I would know what Structures I need to adjust when I am dealing with some other Bapi's and some other tables..

Is there a logic on which I have to adjust the respective Structures.. Please Advise.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
700

Yes, there is a logic, just go to the BAPI documentation and there you will see if you can maintain custom fields and what type of structure you have to pass as parameter.

Regards,

Felipe

3 REPLIES 3
Read only

Former Member
0 Likes
700

hi,

which other BAPIs and tables you want to enhance? you can simply enhance the interface of BAPI by adding desired export parameters as optional and enhance the BAPI code as well. code enhancement can be done by existing BADIs or direct enhancement implementation wherein you can update your table by using insert/update/modify statement.

rgds

Read only

Former Member
0 Likes
701

Yes, there is a logic, just go to the BAPI documentation and there you will see if you can maintain custom fields and what type of structure you have to pass as parameter.

Regards,

Felipe

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
700

Simply Read the BAPI documentation/Search on SCN to understand better. Another way is look at what BAPI does at code level and understand

Nabheet