Disallow change in material through CJ20N if PR release & PO exist

Requirement is as follows.
1. No change in PR material through CJ20N if related PR status is released.
2. No change in PR material through CJ20N if related PO is exist for the same.
3. Not allow to add new material through CJ20N if PR status is released.
4. Not allow to add new material through CJ20N if PO is existing against any of the line item even if PR
    is unreleased.
5. Not allow to delete the material through CJ20N if PR status is released
6. Not allow to delete the material through CJ20N if PR is unreleased and against all line items deletion
    indicator is not present in PO
to resolve this i tried enhancement is COZF0002 - Change purchase req. for externally procured component but behavior of this exit is not consistant.
anyone have full proof solution for this ?

we tried enhancement COZF0002, but in this i am facing 1 problem
When adding new network system seting NTUP status to WBS. And when WBS is having NTUP status system is not allowing to make any change.
eg. IN WBS 1 alredy 5 PR created having PR release status. And WBS having NTUP status.
when adding new network in this WBS, system is checking with old PR, while saving against them if REL status is there exiting the transction w/o saving. As per the condition set for checking PR release status.
for that we tried to schedule WBS internaly through the same exit, but when ading new network while saving it is scheduling as per the written code but exiting the transtion checking with opd PR.
But NTUP is getting removed without saving the data. After that i have to add again the same data and at this time it is saving as WBS status is not NTUP.
how to overcome this problem please suggest.

Similar Messages

  • Disallow any change in material through CJ20N IF PR is release and PO Exist

    Requirement is as follows.
    1. No change in PR material through CJ20N if related PR status is released.
    2. No change in PR material through CJ20N if related PO is exist for the same.
    3. Not allow to add new material through CJ20N if PR status is released.
    4. Not allow to add new material through CJ20N if PO is existing against any of the line item even if PR
        is unreleased.
    5. Not allow to delete the material through CJ20N if PR status is released
    6. Not allow to delete the material through CJ20N if PR is unreleased and against all line items deletion
        indicator is not present in PO
    to resolve this i tried enhancement is COZF0002 - Change purchase req. for externally procured component but behavior of this exit is not consistant.
    anyone have full proof solution for this ?

    Sorry for late update.
    enhancement CNEX0009 given by you is not getting triggerd.
    we tried enhancement COZF0002, but in this i am facing 1 problem
    When adding new network system seting NTUP status to WBS. And when WBS is having NTUP status system is not allowing to make any change.
    eg. IN WBS 1 alredy 5 PR created having PR release status. And WBS having NTUP status.
    when adding new network in this WBS, system is checking with old PR,  while saving against them if REL status is there exiting the transction w/o saving. As per the condition set for checking PR release status.
    for that we tried to schedule WBS internaly through the same exit, but when ading new network while saving it is scheduling as per the written code but exiting the transtion checking with opd PR.
    But NTUP is getting removed without saving the data. After that i have to add again the same data and at this time it is saving as WBS status is not NTUP.
    how to overcome this problem please suggest.

  • Disallow changes in Invoice through T-Code VF02

    User can change the field - ' Account Assignment Group ' of material in Billing Document.
    I want to disallow to make such a change in Invoice. How this can be achieved apart from authorisation control.

    Hi,
    This may be possible in one of the ways mentioned below.
    a. Create a new screen variant for VF02. Grey out the Account Assignment group (either at header level or at item level). Now, when the users use the screen of VF02, they will not be able to put in any value. Search the form to know more about screen variants.
    b. You can also try with User exit with the help of your ABAPer. You can use one of the invoice user exit. In the user exit, put a logic to check if the Account assignment group is same as that of account assignment group in customer and/or material. If same, then allow the system to save the invoice. Else, make the system to give a message. Search the form to know more about invoice user exits.
    c. Check with ABAPer and your Basis team if they can put an authorization object to this particular transaction and field.
    Hope this helps
    Thanks
    Mukund S

  • How to manually change the material staging date

    Hi All,
    Please help me to manually change the material staging date in MF60?....
    Problem iam facing is planned order created for 30.06.2011, but when i do staging today it is not staging due to period for july not openned...
    so I manually planned to change the material staging date in MF60...
    Please help me on this...
    Thanks,
    Manikandan.P

    Hi
    Please find the code below for changoing the status in the delivery  and the standard program for updating the status  RVDELSTA
    SELECT SINGLE * from vbfa  where VBTYP_N = 'U' and vbelv = ' '.
    if sy-subrc = 0.
    UPDATE  vbfa  SET PLMIN = ' ' where vbelv = ' '  and vbtyp_n = 'U'.
    endif.
    please go through the bote  445763   if the  problem is in inter company billing proforma
    Regards
    Damu

  • Change of material master during transfer between SRM and R/3

    Hi,
    I have a question for modifying material master data between R/3 and SRM.
    I would like to know if it is possible to change the material number during the transfer. The reason is:
    I have 2 R/3 backends and 1 SRM system. The material codes in the 2 R/3 systems are different but some materials having different numbers in R/3 are referring to the same material. I want to see such materials with the same material number. Is it possible to do this with Middleware plus some interruption in between? The "translation" should be bi-directional.
    Thanks

    Hi,
      No probs if the field is not replicated.No idea how to bring that through replication though.
      Coming to the Product Search...Although the number of such materials is less...You will have to modify the Product search which will take care of the  display of other products as well.
      The Std product search(<b>bbph_product</b>) uses the the search help exit "<b>BBP_F4IF_SHLP_EXIT_PRODUCT_GEN</b>".So you need to replace this one with your custom FM.
      In your custom FM,you will have to check for the HARMINIZED code field for all such materials and accordingly while selecting the Material select the HARMONIZED code as the Material number and in the Product search display that HARMONIZED code as the "PRODUCT ID". Also,you  will have to develop RFC enabled FM which will actually fetch all the Materials from the BAckend at runtime. Also are you displaying the Product List Plantwise?
      Pls give me ur mail ID where i can mail you the  sample code.
    BR,
    Disha.
    Pls reward points for helpful answers.

  • Change of material Type

    Hello to all,
    I have one question. We are doing implementation with SAP R/3 version ECC 6.0. First let me explain the scenario. The scenario is Intercompany sale. We have two Statergic Business Units e.g. 'A' & 'B' . One SBU ('A') isues PO for manufacturing Press Tool to other SBU ('B') for which it will be SO. . ETS is operated through Project System Module for which Tool is a FERT (Finished product). Now 'B' manufactures the tool and delivers & sales it to 'A'  with the material type as FERT whereas for 'A'  it is FHMI (Production resource tool). The problem is that both the Statergic business units are operated through SAP with same client.
    Kindly provide the soluion. Please feel free to ask any furthur clarification required.
    Thanks in advance
    Sudhir

    Hi,
    If you want to change the material type, you can try in T.code: MMAM
    But in your scenario, u just go for BOM in T.CODE: CS01( example: in a finished products how many parts are there).You can have PO for parts and SO for finished products.
    Hope this will help.
    Regards,
    Biju K

  • Material can be deleted in CJ20N even if PR, PO exists

    Hi Gurus
    In CJ20N even if the codified material contains PR,PO system allows to delete the material from CJ20N.Kindly suggest me some solution to this problem
    Regards
    Thanks in advance
    Abhijit Sen

    Hi,
    Refer a similar thread. It may help you:
    Is there any way to block PR changes when PO exists in project builder
    Regards

  • How to clear the PPC balance to change the material type?

    Dear experts,
    Our customer need to change some material type (valuation class as well) from semi-finished product to purchase part. It uses Product Cost Collector for semi-finished/finished product and never makes settlement for any PCC.
    To change the material type through MMAM requires zero stock and cleared PCC balance. So we removed the stock of the semi-finished product and settled the PCC for every month of this year.
    Since the products could have entry this year and last year, even if we settled their balances of this year, it still can not be changed the material type.
    And we do not know how to settle the PCC balance of last year because only one field YEAR can be entered on screen KK87/CO88. If I enter settleme period 11, posting period 12 and fiscal year 2007, system will give error "Period 12 is not allowed".
    But we happend to find one product has no entry this year but has balance value of last year. Its material type can be changed w/o any errors, which seems last year balance has no impact material type change. I get confused.
    Can any one advise whether I'm wrong and where?

    Hi Sharan,
    Matl Povided to Vendor stock will appear in Subcontracting scenario.
    If at all you have given some material to a subcontractor , this will be consumed automaticaly when you will recieve the ordered material from subcontractor.that is 543 movement will take place in the backgroung when u do the GR.
    In case if u need to clear the stock u can do 542 and take the stock back to unrestricted.
    Edited by: Donsandy on Jan 21, 2009 6:19 PM

  • Changing a material code.

    Hi,
    how can I change a material code from one to another one?
    Best regards

    Hi,
    What is your purpose exactly? What do you think of exactly?
    As Jürgen wrote you cannot change the code of an existing material master record.
    What you can do is to create a new one and you can mark the old one with deletion flag (MM06) (+ block its status e.g.) / archive.
    If your (old) material is in use and it is in BOM and you want to change the code because of engineering change you can use ECM to map & control the changes.
    If you do not want such an administration you can simply implement the new code as follow-up material (please check MRP 4). In this case you will get rid of the old material master record after a while. When the old one is ramped down you can change the BOM. I think you should consider this alternative!
    If your problem is that you want to transfer the stock from one material to another one, you can use MB1B 309 as it was said but I do not recommend it to you because I think this MVT is not for this purpose (you can use MVT 309 e.g. in chemical industry when a material changes after a while and you get a new one). If you decide to do this please take care of the standard price (if you use SP).
    You can solve this thing through inventory booking (MVT 701/702). Reduce the stock of the old material and increase the stock of the old one.
    (You can use MVT 201/202 for this purpose as well...)
    Please tell us the reason of the change maybe you can get more fitting answers.
    BR
    Csaba

  • Change Individual Material - What are the required parameters?

    All,
    I've just started using ES Workplace to test out some of the packaged SAP services.  I've been able to successfully use the "Find Material Basic Data by Elements" service to search for materials.  But now I'm having trouble with the "Change Individual Material" service and getting it to do anything.  Specifically, I can invoke the service from WS Navigator and it says that it executed successfully but the fields that I was attempting to chagne are not changed on the material. 
    So, I have two questions:
    1.) Where is the documentation for each service which defines which fields are reqruied for the service method to execute successfully?  I don't see it anywhere.
    2.) For this service in particular, what fields are required for the service to execute?  Say, for example, that I want to change the volume of a material.  Which fields need to be populated?

    I can see some sample test data is also given there, please see link posted in previous post (but for ERP).
    Regarding your question about so many fields required to update certain data then please remember these services are created to be very generic so you pass lot of data which you may not want to update but only change field which you want to update and it should work.
    Same service you can use to update different attributes of Individual Material.
    One more thing, you are reading data using material service and trying to update individual material, is it correct? i thought they are two different thing.
    Regards,
    Gourav

  • Change in Material Description in Sales Order

    HI,
    We have a scenario where there's a change in our existing material Description and there's an existing SO of the said material. When we changed the description in MM03, it doesn't reflected/changed in VA03. The material description there, remains the same. Is there any other option where we can apply this changes, without even redoing the SO in VA01?
    For Example : Material 1000 with Description - Juana House Model 1 ; While the correct description should be Juana Basic House Model.
    Please suggest if there's any other options available. Thanks

    Hi,
    In VA02 you can change the material description (As per SAP Standard). If you are unable to modify material description, please check with ABAP consultant in below prog/user exit:
    Program Name: MV45AFZZ,
    User Exit - userexit_field_modification
    Please take help ABAP consultant for the same.
    Regards,
    Shatrughan Singh

  • My ipod touch has a old email account associated with itunes. I don't remember the password to the old account and when I enter my birthdate it locks up the ipod - is there a way to change my ipod through my computer

    My ipod touch has an old email account assoicated with itunes. I no longer remember the password associated with this email and since it is gone I can't retrieve password by sending to email account. When I try to retrieve by hints it locks up when i enter birth month and day. Is there a way to change my Ipod through my computer? I have searched and can't find it. Thanks

    How to reset the password  and other items are here.
    \Frequently Asked Questions About Apple ID
    http://support.apple.com/kb/he37 You can do it through a computer.  After resetting the password and other stuff, on the iPod go to Settings>Store and sign out of the account and then sign back in.

  • How to change system time through java program

    Hi
    I want to know, how to change system time through java program.
    give me a idia with example.
    Thanks

    There isn't any core Java API for this. Use JNI or call an external process with Runtime.exec().
    ~

  • Error in CIF while change in Material Group in R/3

    Hi,
    I have assigned Material Group Description as an external field in Extra Tab in APO. When I create a material the CIF updates the filed correctly.
    When I change the material group the CIF gives and error "Location does not exist for external location FR02, type , and BSG BSG1" where FR02 is my Plant.
    When I delete the queue and re execute the IM the change is updated in APO.
    Can someone tell me why the above CIF error appears for every change done.

    Nilesh,
    It is common for experienced ABAPers to be able to determine this on their own.  Normally all you should have to do is explain in business terms what is happening, and the ABAPer should be able to troubleshoot the problem without you first discovering the code details for him.
    There are a couple of ways to populate the aux fields in the SCM product master. The first userexit I would look at would be CIFMAT01 on the R/3 side.
    Best Regards,
    DB49

  • Price change for material with Goods Receipt with out Order reference?

    hi all,
    Our client company have some finished products produced from raw materials. But we are not using Production planning module. So in MM we are receiving these products with Goods receipt with out order reference(521).
    The issue is, the price for this product will change monthly. This new price will affect the existing stock as moving average price calculation.
    ex:
                                     Quantity             Price             Value
    Stock balanace        100To                 2.00/To         200 
    Newly produced      100To                 2.20/To         220   
    after the GRN for newly produced is done. The price also need to change as below.
    Total                         200To                 2.10/To         420
    This is easy if we receive goods with PO price, as moving average price will updae in the master record.
    But here no reference. So only quantity updated with existing price. 
    So how to achieve the change of price ? Please help.
    Thanks,
    Aravind

    Hi Bijay,
    Thanks for the reply. I will use the posting method suggested by you.
    but how you are arriving  newly produced material quantity & price!
    The reply for your comment is,
    Every month My client company revise the price of the produced material based on various factors including the
    raw material purchase cost.
    The price will be fixed for the whole month.
    While posting the GRN, the accounts updated are,
    Dr  Material account
    Cr Production Cost
    Please let me know what you have asked is answered or not.
    So that i can brief more. This is my initial project. So your feedback is very helpful to me.
    Thanks,
    Aravind

Maybe you are looking for

  • Whats the best practice to simply manage data using php sql?

    Hi I'm trying to follow some tutorials but there is too much old material and I'm getting confused. This is basic. I have a db and I want to movement data from flex. So, this is how I'm trying to do so. As a newbie, I will try to be clear. I have cre

  • XML Database in Apps Databases

    Hi, What is the use of XML database in Apps Databases...it has XML Schema...etc etc..what purpose is that...

  • How to restore bevels that were accidently deleted?

    Hello.  I am a total newbie and am just learning using Photoshop Elements 6.  I accidently deleted a few of the bevels.  When I applied a bevel and I didn't like the effect, I sent it to the little trash can to delete it, even when it said "are you s

  • Passing a annotated class to a method

    Hello all, I don't know if it is possible, or even if exists a better solution. I'd like to specify that a method can only receive as a parameter an object that contais a specific annotation. Something like this: @MyAnnotation public class MyClass {

  • Classic - SAME PO number ranges in SRM  PO via SC as well as ECC PO  via PR

    Hi for example we do have PO existing PO 54XXXXX number serial creates via SRM by shopping cart PO  55XXXXX number serial created PO via ECC system but business now wants same number ranges for Both system Purchase orders WHATERVER IT MAY BE. 54XXXXX