Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3017

Re: 0MAT_PLANT_ATTR : Need Help

$
0
0

Hi Jyothi,

 

I was able to figure it out and finally fix the issue/error. Ill explain in detail the solution to the problem so that other people facing the same problem might be able to understand it easily and get the error fixed without much effort.

 

The problem was basically I was referencing MARA table and MEINS field but I should have referenced the structure and the ZZMEINS field that I had appended. Let me explain a bit further.

 

My requirement was to:

 

Enhance 0MAT_PLANT_ATTR to bring in the following fields into the data source:

  • MARA-MEINS
  • MBEW-BWKEY; MBEW-BKLAS
  • MSKU-KULAB
  • MARC-STAWN; MARC-MFRGR; MARC-MINBE


MSKU-KULAB and MARC-MINBE are quantity fields and in the Currency/Quantity tab of the parent table they were set up as Reference Table: MARA and Reference Field: MEINS. So, when I appended my structure (BIW_MARC_S) I did the same in the Currency/Quantity tab for those fields:


Component          Component Type          Reference Table          Reference Field

ZZKULAB                  LABST                         MARA                                   MEINS

ZZMINBE                   MINBE                         MARA                                   MEINS

 

Then when I went to rsa6 to unhide ZZKULAB and ZZMINBE I was getting an error "

The OLTP source still has errors."

 

The solution for that error is to append MARA-MEINS to my append structure, like any other append. But in my case it was part of the requirement so I was/had to do it anyways. Once MEINS is appended to the structure, go/navigate to the Currency/Quantity tab of the append structure and reference the structure being appended and the appended MEINS field (in my case ZZMEINS) as shown below:

 

Component          Component Type          Reference Table          Reference Field

ZZKULAB                  LABST                         BIW_MARC_S                ZZMEINS

ZZMINBE                   MINBE                         BIW_MARC_S                ZZMEINS

 

 

Save, Activate and when you go to rsa6 to unhide those fields you will not get that error.

 

 

I know I gave a pretty decent sized detailed answer but I only did that so that other people may find it easier to understand and fix the error/problem.

 

Thanks again Jyothi for your time and effort!!! Cheers

 

 




Viewing all articles
Browse latest Browse all 3017

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>