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

BDBG - Error :- Data element not active

former_member191391
Participant
0 Likes
1,397

Done till now - I had made a ZBAPI, Generated and released program for BOR, Generated and released FM.

Now when I generate ALE for BAPI it throws error. Data Element not active. I had not found any data element inactive.

with Regards,

Manmeet Singh

3 REPLIES 3
Read only

Former Member
0 Likes
1,037

Hi,

Hope you might have not created ZBAPI independently, instead modified copied standard BAPI. In this process, knowingly or unknowingly some elements might be copied but not activated. Please check once all structures and fields and activate.

Regards,

Prasanth

Read only

Former Member
0 Likes
1,037

Hi,

We had the same problem here. When a tables-structure from the BAPI is converted to an idoc, the BDBG transaction adds a 'Z1' to the tables-structure name to generate the idoc segment type (name).

In our case when we re-run the BDBG transaction the Z1 structure was not deleted and instead BDBG was adding another Z1 prefix to the segment type (name). Off course, this data element does not exist.

Hope this helps

Guido

Read only

0 Likes
845

Hi All,

I did not get any help so thought of checking in debug how it is finding the structure - then came to know it is used method parameter type (structure to generate the Segment type and so on by prefixing Z1 to it).

We can solve the issue by creating the separate struture with the data element and method parameters must refer to this created structure instead of segment structure which will generate the ALE interface without any data element error.