on 12-01-2007 10:41 AM
Hi
I want to delete the assignment of material variant and or planning variant given in MRP3 view of non-configurable material.
For SAP_ABA 640: Support Package level: SAPKA64017 - Here is how to do it and additional isntructions on how to re-configure the materials with a new material variant. Currently, I do not know if SAP has a standard way to to this?
1. Delete the following table entries using the SAP ABAP debugger:
a. MARA-CUOBF
b. MARA-SATNR
c. Plant Specific:
i. MARC STDPD
ii. MARC CUOBJ
2. Save the records.
3. When you re-enter the material master (basic view and MRPII views) the configurable object will now be cleared
4. Turn on Debugging for program: CL_CBASE======================CP / CL_CBASE======================CM013
a. Breakpoint @ Buffer local (Sample)
buffer local
gs_owner-owner = is_owner.
CLEAR gs_owner-undefined.
owner
ls_owner-instance = iv_root_instance.
ls_owner-business_object = is_owner.
INSERT ls_owner INTO TABLE lt_owner.
check if owner exists
owner_check.
CALL FUNCTION 'IB_COM2_WRITE2_OWNERS'
EXPORTING
i_ibco_handle = gv_handle
i_ibase = gv_cbase
i_owner_tab = lt_owner.
changed call
gv_changed = gc_true.
ENDMETHOD. "
5. Enter the configurable material and configuration again first in the basic view.
a. Save
i. @ CLEAR gs_owner-undefined delete the X
ii. @ ev_true = gv_instance_is_new. Delete the X
iii. @ gv_changed = gc_true. Delete the X
6. MRPII View, Copy X plant configuration (Need to do for each plant).
a. @ CLEAR gs_owner-undefined delete the X
b. @ ev_true = gv_instance_is_new. Delete the X
c. @ gv_changed = gc_true. Delete the X
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks to Lorenzo Nicora, the two notes indicated solved my problem to update configurable into configurated material!!
The only thing to know about substitute the configurable material is that you have to change the entry MARC-STDPD with the
desired configurable material and you must have the right configuration in view Basic Data 2. If you have to update this configuration you can use a LSMW with Idoc MATMAS05.
Thanks again,
Paolo F.C.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is an OSS note (oops SAP Note) that explains how to do this. There are reports that need to be run to accomplish this correctly. I cannot believe that an experienced consultant would recommend doing table maintenance, using the ABAP debugger, as an acceptable method to correct anything, in SAP. If you were to corrupt the data, and you get caught doing this, it is a sure-fire way to get thrown off a project, and possibly black-balled from future projects. Is there really a moderator for this Forum ??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hugh,
Thanks for your message, could you advise what those SAP notes are and how they will function? The responses that I received from SAP OSS is there is no support, programs or processes to delete the CUOBJ configuration object. Thus we had to come up with an alternate solution to (Fix it now).
Being in IT and knowing the business, if the business wants the master data changed they should have the ability to do so. CUOBJ reference is not configuration a transportable object so why is there no transaction that the business can update ---> like updating costs or product hierarchy. Variant configuration is a kind-of product hierarchy, master data should be controlled completly by the business and should not require ABAP programing, customization or debugging.
BR,
Ed
I'm facing similar issues (managing via programs the configuration of material variants). I've found a couple of OSS notes.
Note 736873 - FM for maintaining configuration data for material variants
Note 969755 - Sample report for mass maintenance of material variants
The first note provide a new function module MATERIAL_SAVE_CONFIGURATION that is going to solve my problems. Maybe it can help with yours.
Hi, I have got the same question as Deb - but I would also like to confirm that you are talking about making the changes in debug mode of view MRP3 of transaction MM02. There, I tried updating the field (after hitting the save button), but when I went back into the material the assignment was still there ... any ideas & help will be much appreciated!
We are also trying implementing the user exits for enhancements CUCPDELE & CUCPDEL1 - do you have any experience with them?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudhar..,
in MRP3 view go to debugging mode and delete the entries in the following
a.MARA-SATNR
b.MARA-CUOBF
c.MARC-STDPD
d.MARC-CUOBJ
it will solve the problem. if not come back.
regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thanks for your reply,i want to know anything can be done from end user point of view. The proposal which you gave need some technical skill. My client expects something which an end user could execute without holding any knowledge on table and fields. Like removing tick,clicking delete button...,
Please give a example of what you want to do?
If material A is configarable material and A1 is variant, then in A1 MRP3 view we assign A and configurae the variant. Now you ant to assinment of this?
Is it you are looking for?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.