on 07-02-2013 9:26 AM
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!!!
there are several field references that interact, please read
OSS Note 199165 - Field selection control apparently not working
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
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
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.?
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!
User | Count |
---|---|
98 | |
8 | |
6 | |
5 | |
5 | |
4 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.