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

Problem in changing structure used in Custom (Z) BAPI

manoj_goyal2
Participant
0 Likes
829

Hi Guys,

I have created a Z structure and used in Z BAPI and created BAPI in SWO1.

I have replace a numeric field with character field and also changed the field name. When I check (Ctrl + F2), it gives me RED error:

BAPI-structure: invalid change: field WORK_CTR should be deleted.

WORK_CTR is old field name.

WORK_CNTR is new field name.

It is also not activating, if I try to activate with errors.

How should I go about to change this BAPI structure.

Hi Guys,

I have created a Z structure and used in Z BAPI and created BAPI in SWO1.

I have replace a numeric field with character field and also changed the field name. When I check (Ctrl + F2), it gives me RED error:

BAPI-structure: invalid change: field WORK_CTR should be deleted.

WORK_CTR is old field name.

WORK_CNTR is new field name.

It is also not activating, if I try to activate with errors.

How should I go about to change this BAPI structure.

5 REPLIES 5
Read only

Former Member
0 Likes
770

Do the Following step.

In the Menu bar:

Extras --> Enhancement category.

Here you select " Can be Enhanced ( character-type or numeric) ".

Then activate.

Read only

0 Likes
770

Thanks Phani Kiran, I have already tried it, but still I am getting the same error.

Read only

0 Likes
770

Try this.

Utilities --> Database Object --> database utility.

then click the button "Activate and adjust database."

This would adjust the table accordingly & activate the table.

Read only

0 Likes
770

It is not a table. I am trying to change the structure. So DB Utility is not available in UTILITIES.

Read only

0 Likes
770

Hi,

when are you getting the error?? is it while checking the structure or the BAPI..