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

How to change structure in BAPI?

Former Member
0 Likes
1,067

Hello,

I have created a BAPI and added structure " zbapi_leave" in table table tab ( import , export, changing , tables).

this is currently in released state . Now one of the field length in structure " Zbapi_leave" needs to be changed .

when i try to change the first field length (seqnr), it throws an error while activation.

" BAPI-structure: invalid change: length of field SEQNR was changed" .

How can i increase the field lenth of the structure .

Regards,

Rachel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
711

Hi,

If you want to change the structure which is used in BAPI ,it should be in unreleased state. Once you release all BOR's and BAPI's the structures used in import or export parameters will be freezed.

Regards,

Lakshman.

Hello,

I have created a BAPI and added structure " zbapi_leave" in table table tab ( import , export, changing , tables).

this is currently in released state . Now one of the field length in structure " Zbapi_leave" needs to be changed .

when i try to change the first field length (seqnr), it throws an error while activation.

" BAPI-structure: invalid change: length of field SEQNR was changed" .

How can i increase the field lenth of the structure .

Regards,

Rachel

2 REPLIES 2
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
711

check [Raymond's answer here|;

Read only

Former Member
0 Likes
712

Hi,

If you want to change the structure which is used in BAPI ,it should be in unreleased state. Once you release all BOR's and BAPI's the structures used in import or export parameters will be freezed.

Regards,

Lakshman.