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

update custom fields with change BAPI

Former Member
0 Likes
676

Hello all,

I am using bapi_bus1240_change to change custom fields that I have created. I have appended a structure for CCIHT_IAL table and for structure BAPI1240_TE_CCIHT_IAL. I am passing the data correctly into extension_in structure. In debug mode, I can see that the details are getting populated. Still, my custom fields are not getting changed.

Please help me in this regard.

Thanks,

Amit

4 REPLIES 4
Read only

Sandra_Rossi
Active Contributor
0 Likes
613

how do you fill extension_in?

Moreover, is there a BAPI1240_TE_CCIHT_IALX (with a terminal X) structure too? (if yes, it's used to define which fields have to be taken into account)

Read only

0 Likes
613

Hello Sandra,

I fill valuepart1, valuepart2 etc fields in extension_in structure. No, there is no BAPI1240_TE_CCIHT_IALX structure to capture these custom fields.

If you or anyone else who has worked on change bapi's using extension_in structures please help me.

Regards,

Amit

Read only

0 Likes
613

I meant: could you paste the meaningful part of your code? Otherwise contact SAP support.

Read only

Former Member
0 Likes
613

You sould implememt the BADI ehsi_ia_bapi and the method transfer_extensiontab_2_apitab to transfer the extension fields into extended api tables