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

Add ZZFIELD to a Structure

former_member201275
Active Contributor
0 Likes
4,927

Hi,

I want to add a field ZZFIELD to a structure but I get error message '

Field name & lies in external or unknown namespace but is valid'.

It seems it is not possible to do this, yet I have a table with this field in it!

Is it possible to add a ZZ* field to a structure?

All help greatly appreciated!

14 REPLIES 14
Read only

srikanthnalluri
Active Participant
0 Likes
4,454

Are you using "Append structure" option to add the field?

Read only

former_member201275
Active Contributor
0 Likes
4,454

Hi S.Nalluri,

Thank you for your answer.

No, I am just creating a structure with 4 fields of which one starts with ZZ*

Read only

4,454

You should reply to a comment with another comment, not an answer.

Read only

0 Likes
4,454

Explain more clearly what is it you're doing exactly and post the screenshots. And yes, please use comment instead of answer. Now, due to the "fantastic" new SCN rules, this question is no longer considered unanswered, so you might not get many replies, unfortunately.

Read only

former_member288834
Participant
4,454

Hi Glen,

Can you provide more details, exactly what are you trying to do. Custom/standard structure or adding fields in custom structure or adding fields in standard structure, if possible with screen shots.

Regards

Guru Prasad.

Read only

4,454

Please use the COMMENT button if you ask for more details. ANSWER is only to propose a solution. You also have an option to convert your answer into a comment.

Read only

4,454

To add to Sandra's comment, this is not just a question of "SCN etiquette". After at least one answer (not comment!) has been posted, the question no longer appears in the unanswered question list. I.e. posting something other than a solution further hurts OP's chances of getting any other replies and possibly actual solution.

Thanks.

Read only

0 Likes
4,454

Hi Guru

thank you for your reply. I am trying to create a custom structure, please see my screenshot attached. I can create a ZGID field but not ZZGID!

zzgid.png

Read only

RaymondGiuseppi
Active Contributor
4,454

ZZ/YY fields are required in append structure to SAP standard structures or tables (ref: 16466 - Customer name range for SAP objects, look for 'Table field SAP table')

So in which kind of structure, in customer or SAP namespace, are you trying to add the field?

Read only

former_member201275
Active Contributor
4,454

Thank you kindly to all for your comments and answers!

I must apologise that i clicked on 'answer' and not 'comment' I hadn't realised this at all so once again thank you to everyone that pointed this out, I shall endeavour in future to remember and adhere to this!

Wish you all a nice day further.

Read only

former_member201275
Active Contributor
4,454

Hi Raymond,

thank you kindly for your reply. I am trying to create a custom structure, please see attached. I can create a field with ZGID but not ZZGID which is strange because in other customer tables/structures I can!

Kind regards

Glen

zzgid.png

Read only

Sandra_Rossi
Active Contributor
0 Likes
4,454

The screenshot shows that it's a "Generated Table for View ???", how do you generate it? Maybe it's not a good idea to change its components or add new ones directly via the ABAP workbench because the application which generates the structure could overwrite your changes. (anyway, it looks like more like a standard generated structure than a custom structure)

Read only

Tomas_Buryanek
Product and Topic Expert
Product and Topic Expert
0 Likes
4,454

In screenshot you are not adding ZZ* filed but Z* field. That is a difference when adding custom field to standard structures.

-- Tomas --
Read only

former_member201275
Active Contributor
0 Likes
4,454

Hi Tomas,

Yes, exactly. I have in the end had to make the field ZGID and not ZZGID because ZZGID was not accepted.