Skip to Content

Foreighn key issue

guru,

1. I have created a selfdefined info structure(sis) using Mc21.

2. I am trying to generate a planning hierarcy ..using the tcode mc61 for my SIS

3. I am getting the following error.

Reg the Screen "SAPMMCP6" 7492 contains a syntax error

4. when i go to the mentioned screen in se51 and do a syntax check i get the follwoing errror

Foreign key generation error for field "S895-ZMATNRR" .

5. I also checked the table s895 and did a syntax check - found consistent.

6. This is the foreighn key characteristics..

Check tabl ChkTablFld For.key ta Foreign key

MARA MANDT ZCPGLTP MANDT

MARA MATNR ZCPGLTP ZMATNRR

MARA MATKL

7. In the mara table i have the matkl also selected as a Primary key -fyi.

With above details do any one have of fixing this issue.

Reg

DsK.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 03, 2007 at 01:13 PM

    "7. In the mara table i have the matkl also selected as a Primary key -fyi."

    in MARA only MATNR is key field. Or did you change the standard?

    ec

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.