Application Development 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: 

Need your help !!! - Data element does not exist

Former Member
0 Kudos

Dear expert:

Today when I use T code BW10 to create the öne custom hierarchy datasource, after I enter one data element A into the field "Data Element for the Logical General Hierarch" and then execute, I got the below error message:

"Generated hierarchy: Data element A does not exist. Message no. R8334"

Actually I can find this data element in se11, and its status is Active.

Does anybody know how to solve this issue?

Any answer would be really appreciated and thank you all in advance~

Tim

4 REPLIES 4

Jelena
Active Contributor
0 Kudos

When the data element doesn't exist in SE11, the error message is different. I think it's checking for something else. Since you're posting in ABAP forum, I'm assuming you know how to set up a watchpoint for the message number, then see where the message occurs and what's causing it.

Sridharnekkanti
Active Participant
0 Kudos

Check your sap releaase version.If your release version is more than 40A, the data element length should not exceed 18 characters. Check the code in the program RPHALGEN, you can get the idea

IF NOT L_S_DD04L-ROLLNAME IS INITIAL.

L_LENG = STRLEN( L_S_HIEBAS-ROLLNM ).

IF SY-SAPRL >= RHIE_C_R3_40A.

L_LENG = STRLEN( L_S_HIEBAS-ROLLNM ).

IF L_LENG < 18.

CONCATENATE '4R_' L_S_HIEBAS-ROLLNM LGEN INTO L_OLTPSOURCE.

ELSE.

MESSAGE E334(R8) WITH L_S_HIEBAS-ROLLNM .

ENDIF.

ELSE.

CONCATENATE '3R_' L_S_HIEBAS-ROLLNM LGEN INTO L_OLTPSOURCE.

ENDIF.

0 Kudos

Hi Sridhar:

Thank you very much for your reply. I count the length to find it is 20 characteristics. When I change another characteristics within 18, it works for me in Tcode BW10 !

Now my problem is: We have a naming standard for those custom data element and even the prefix is 5 characteristics long -_-!!! What's more, those custom data element is not developed by our BW team, it would be hard to persuade other team to change their design. So besides change the element length, is there any other way to avoid the issue?

Another question is: Since SAP has the length limit for data element, why we still can create data element more than 18 characteristics long? Actally in SE11 I can see that data element.

Already assigned you points and I would be appreciate if you can take a look at the 2 questions above.

Thanks and Regards !

Tim

Former Member
0 Kudos

Hi,

The maximum length for user defined data element can be upto 31 characters.

Regards,

Abhijeet

Edited by: Abkaps on Jul 12, 2010 2:43 PM