cancel
Showing results for 
Search instead for 
Did you mean: 

field sometimes missing in MM03 and cannot find out where to definition

kane_xu
Explorer
0 Kudos

Hi Experts,

I'm new in ERP and facing a problem that really drive me crazy these days.

There's a bug in our existing z-report, which prepares a BDC session to modify the Material data.

And in the MRP 1 view, the "in-house production" (MARC-DZEIT) field sometimes appears and sometimes is hidden, since I don't know the rule, the BDC session will get error if it is trying to update the field while it's hidden.

I've asked Google and SCN for days and find out some t-codes like OMSA, OMS9 etc. I've go through these transactions and screens and all I can find is as follows:

MARC-DZEIT is configured in Field sel. group 53,

and for Field sel. group 53, I click "Sort Entries..." "by field selection", and I can see there's only one row which value is "Hidden", and the "Field ref." of this row is 'F', I click the "where-used-icon" button to see the detail description, and it shows: "

special usage

The field reference F is referenced in external procurement

"

If I understood that correctly, It seems meaning that the external procurement will make that Field sel. group hidden (since hidden is the top priority), and thus the field MARC-DZEIT will be hidden.

But strange things happens: even some material of which the procurement type is E-In-house production, the MARC-DZEIT field is also missing, is there anyone can help me or explain me why? Many thanks for the answer!!!

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

there are several field references that interact, please read

OSS Note 199165 - Field selection control apparently not working

kane_xu
Explorer
0 Kudos

Hi Jurgen,

Thanks for the reply!

In the note, I noticed that: "

There are the two

field references E (internal procurement) and F (external

procurement). It depends on the settings in Customizing for the

corresponding material type under 'Internal/external purchase orders'

whether one or which one of the field references is used. If internal

purchase orders are allowed (setting 1 or 2) and external orders are

forbidden (setting 0), the field selection uses E. If external

purchase orders are allowed (setting 1 or 2) and internal orders are

forbidden (setting 0), the field selection uses F. When both internal

and external purchase orders are allowed, the field selection uses

neither E nor F.

"

So, does that mean, whether using E or F, it's not the 'procument type' value I see in MM03/02, in stead, it's another value that somewhere(called 'in/external purchase order allowed' ?) is set 1 or 2?

If so, do you know where can I find the setting/value?

Thanks!

JL23
Active Contributor
0 Kudos

This refers to the material type definition in OMS2

It is a kind of master setting for your procurement type in MM02.

kane_xu
Explorer
0 Kudos

Hi Jurgen,

Could you please be more specific?

In OMS2 and the detail of a type, how do I understand the meaning of these columns?

and btw, I've just found a function module 'READ_MATERIALTYPE' and the output value seems correct for me. But by running it the Plant data is not needed.

Can I use this FM for the judgement?

Thanks

JL23
Active Contributor
0 Kudos

See in the picture below the indicators that the OSS note refers to.

here you define what is allowed,

the indicator in your material master is just to let the MRP run know how it is preferred .

Based on the combination entered here, your field in material master is optional for change or has a fixed value and is protected. it is not possible have a contradictory setting in your material master.

I am not sure what you expect to achieve with this function module. Does it tell you that MARC-DZEIT will be hidden.?

kane_xu
Explorer
0 Kudos

Hi,

Could you please tell me where can I find this screen you posted?

And for the propose of that function module, as I mentioned at the very beginning. I want to know when the "in-house production" field is showing or hidden.

At first I think the marc-dzeit value is the "key" (according to the screen shot of IMG setting I posted), but later I find some material that even marc-dzeit = 'E' (not external), the  "in-house production" field is still hidden.

So yesterday I finally found the FM 'READ_MATERIALTYPE' , and the result of this FM seems reliable -- to judge if  "in-house production" field is shown/hidden.

btw, I see some codes in this FM to read the 0/1/2 value, and I guess these values are the Note refers to. Am I right?

Do you think I'm on the right way?

Thanks!

JL23
Active Contributor
0 Kudos

the screen shot is from OMS2, just select a material type and click the detail button

yes you are on the right way

kane_xu
Explorer
0 Kudos

thanks man!

Answers (0)