cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in custom BAPi

Former Member
0 Kudos

Hi,

We had created a custom BAPI.

This BAPI is having a method, which in turn calls a custom FM (RFC enabled).

This was working fine but due to some requirement we had to change the structure of one of the parameter used in the interface of the FM. This parameter was in 'Tables'.

Now we require to change this structure again and have to delete some of the fields, but when we try to do the same we get an error message :

"BAPI-structure: invalid change: position field <F1> should be deleted"

here <F1> is the field that we deleted.

Has anyone seen such an error and knows the Correction.

Please help.

Thanks,

Ad.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member181962
Active Contributor
0 Kudos

Hi Anuj,

In se37, you need to cancel the release Function Module->Release->Cancel Release and then do what you want to do.

Regards,

Ravi

naimesh_patel
Active Contributor
0 Kudos

Hello,

You can not change the structure of the BAPI parameters, once it is released..!

So, try to create a new structure with your necessary fields, replace it in your existing structure and again release the BAPI.

Regards,

Naimesh

Reward points, if it is helpful..!