‎2014 Feb 02 7:41 PM
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.
‎2014 Feb 03 1:26 AM
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
‎2014 Feb 03 1:21 AM
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
‎2014 Feb 03 1:26 AM
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
‎2014 Feb 03 4:49 AM
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