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

Extending BAPI for custom fields

Former Member
0 Likes
564

Hi

i am working on extending BAPI_SALESORDER_CREATE_FROMDAT2.

i am appending a structure with custom fields of type dats in to the VBAK table and displaying them in the ADDITIONAL DATA TAB B area.

Now to extend the BAPI in the VBAKKOZ and BAPE_VBAK it is accepting structure with char type only as enhacement category is CHAR.

can some one suggest me how can i use 2 different structures one for VBAK table and other for BAPI table?i am skeptical as move-corresponding is used to move the fields from BAPI to table so data type mismatch would happen and would result in error.

how to overcome this problem

2 REPLIES 2
Read only

eduardo_hinojosa
Active Contributor
0 Likes
497

Hi,

You can do it with structure EXTENSIONIN. Check Note 143580 - Information on SD BAPIs and customer enhancement concept for futher info.

Regards,

Eduardo

Read only

Former Member
0 Likes
497

thanks alot