Blocking vendor for PO creation if Accounting view is not maintained.

Hi ALl,
Is it possible to restrict RFQ or PO creation against vendor if accounting view is not maintained by account dept.
I dont want to block it in MK06 or XK06 or in source list.
Is there any user exit for this?
Pls guide.
Regards.
Edited by: sapsarang on Aug 5, 2011 10:07 AM

Hi,
Use BAdi "ME_PROCESS_PO_CUST" and write the code under Interface "PROCESS_HEADER".
Following is the sample code for the same.
data t_lifnr type lfb1-lifnr.
if w_lifnr is not initial and wa_hdr-bukrs is not initial.
select single lifnr from lfb1 into t_lifnr where lifnr = w_lifnr
                             and bukrs = wa_hdr-bukrs.
   if sy-subrc ne 0.
     MESSAGE e025(zm01) WITH w_lifnr wa_hdr-bukrs.
   endif.
Here create a message as ZM01025 (In TCode SE91) as "Vendor has not been maintained for Co. Code &."

Similar Messages

  • Accounting view is not maintained, costing should not be saved

    Dear All,
    Please let me know if material's accounting view is not maintained, in that case costing should not be saved. What should be setting for it.
    regards

    Dear Pari
    What Ajay Sir suggested is a check which you should implement to prevent this situation in future, and as golden rule you should follow it.
    Now for present situation you can go to MM01 give material code press enter select the views as required press enter and maintain the view and save.
    Regards
    Rajneesh Saxena

  • FERT materials costed without error even if Accounting VIew is not maintain

    Hi Gurus,
    Please help with  this scenario.
    in our client, they were able to run cost estimate for FERT materials even if accounting view is not maintained in the material master. in my understanding, costing run should generate error report that accounting view does not exist. Please advice.
    Thanks!

    Dear,
    Use T.code OMS2.
    Select Material Type & Click on detail button.
    See the quantity / Valuation area TAB.
    In Valuation Updating heading :
    In No Valuation area button should be selected for Non value-added material.
    Accounting view is mandatory for all Valuated Materials in material Master.
    From valuation class it will fetch GL of material type to valuated material.
    From Standard Price it would fetch price for STD cost estimation to run.
    Hope above will useful.
    GOPAN

  • Block Vendor for Goods Receipt without QM

    Dear Experts,
    We have a specific requirement to set a purchasing block in a vendor (XK05), which must necessarily include a block in goods receipt.
    As far as I know, and according to SAP Note 64440 - MMIM: Block vendor for goods receipt, this is only possible activating QM for the material.
    However, our client cannot do it for all the materials so we need to find out an alternative solution. Does anyone have any idea how can we do it?
    Thanks in advance.
    Best Regards,
    Andreia

    Hi guys,
    Thank you very much for your quick replies!
    Jürgen L, you are right. The requirement is not to block the GR forever, but just during a period of time, in specific situations.
    AKTP MM, we will check the BADI: MB_MIGO_BADI, as suggested. I will come back with feedback, as soon as possible.
    If you have more suggestions please feel free to share!
    Thank you.
    Best Regards,
    Andreia

  • I applied for a Paid Books account, but did not receive a confirmation email.

    I applied for a Paid Books account, but did not receive a confirmation email. Now when I try to log in to upload another book, I get a message that says,
    "The iTunes Store account entered has already applied to distribute content on the iBookstore. To continue with this application, you must enter a different iTunes account." How do I even log in to the account that I already applied for???

    Did you use an existing Apple ID or create a new one just for paid books sales/distribution?

  • Error F5507 on MIRO. "The general master data of the G/L account 161000 is not maintained in the chart of accounts 1000"

    I was doing a MIRO w.r.t PO. I was getting the following error - "The general master data of the G/L account 161000 is not maintained in the chart of accounts 1000." I later went ahead and created the GL Account in the COA. now the error is recitified. But, I would like to know what happens in the background. 
    Could someone explain me this?  How is the G/L account determined?

    Hi,
    At the time of MIRO system posts below Accounting Entry:
    GR\IR Clearing Account Dr--> This will be picked from t-code OBYC- key WRX
    Vendor Account Cr--this will be picked from vendor master data
    If there are any tax or TDS involved then system post to those accounts as well.
    I guess 161000 is your recon account? Because if it is GR\IR then you would have got error at the tim e of MIGO ( if you have already done that)
    Hope this is clear to you.
    Br,Vivek

  • How to get change log for fields if change document flag is not maintained?

    Hi experts,
    My requirement is display the change log details for the transaction FAGLGA32.
    In this transaction we have the Field Groups block.if any change is happened for field group we need to capture the change.
    the field for the field group is RKAL1-FGFLG1 and the data element is FGFLG.
    In the data element FGFLG, the flag CHANGE DOCUMENT is not maintained.
    How to get the change log details for the fields for which the change document flag is not maintained at data element level?
    Regards,
    Ramesh

    do a modification for the data element or try Audit Trail (depends on your release)
        Audit Trail (electronic records) / Tx AUT10, AUT01, XX-PROJ-ELR, OSS 564743,517613,564645
            Note 1058984 - FAQ: Audit Trail (Transactions AUT01-AUT10)
            http://help.sap.com/erp2005_ehp_03/helpdata/DE/fc/89683c1b5fb712e10000000a114084/frameset.htm
    cheers
    carsten

  • Error while creation of Accounting view in background

    Hi Experts,
    I am creating the Materials using the Function MATERIAL_MAINTAIN_DARK in my program.
    I am passing the pstat as appropriate for the views to be created.
    Now, my problem comes When i am creating a Plant view and dont require an Accounting view.
    Even if I dont pass the PSTAT for the Accounting view, it gives me an exit message saying 'MBEW-BKLAS is defined as a required field.'.
    Please help me solve the issue.
    Any helpful answer will surely be rewarded.
    Thanks in Advance.
    Regards,
    Himanshu

    Hi,
      Please follow the below steps.
    Creating the Classification View using the Function module 'BAPI_OBJCL_CREATE'.
    Check the Class Type and Class Number which you are passing.
    Generally it will be Class type - 001 (Material Class) and Number will be ENGINEERING.
    It depends.
    But, what you can do is, Check material which has classification data filled.
    And just use the same class Type and Class Number Details.
    Try this way.It should work.
    To know the Available Class Types refer to table TCLA.
    Please let me know, if you want further help.
    Thanks & Regards,
    Vamsi.

  • How can I block Vendor for Quality Reasons at POrg Level ?

    We are currently on ERP 4.7 and are facing the following challenge:
    We want to block the Vendor using MK05 with the function Block for Quality Reasons at the POrg level.
    Example: If we define a Delivery Block in configuration to Block Goods Receipt and then assign this blocking code using MK05 for Vendor X under POrg 1002, it also blocks the Goods Receipt for this Vendor X under POrg 1001.....
    We realize that the Purchasing Block section of MK05 is per POrg but you cannot block the Goods Receipt with this functionality... only the Purchasing Documents can be blocked.
    Would appreciate any feedback, ideas...
    Thank You,
    Johanne

    Thanks very much for the feedback.
    In MK05, under the Purchasing Block section, we can select whether the Purchasing Block is applicable to all POrgs or only Selected POrg.
    This functionality is fine to block Purchasing Documents and can be controlled at the POrg Level.
    Our problem lies in the second portion of MK05 - Block for Quality Reasons - If we select a Delivery Block which is configured to Block the Goods Receipt for Vendor , even if we selected the tick box - Selected POrg only, the Goods Receipt is blocked for this Vendor for ALL POrgs.
    Johanne

  • Hideing the blocked vendor for F4 serch list

    Hi ,
    How we can hide the blocked vendors or materials for F4 search list .........
    raghu

    you can develope (customize) your own search help tab where you can include the deletion indicator to selection and list
    you can even hide the field in the selection and assign "blank" as value, which then just lists the unblocked vendors.
    Customizing transaction is OMSI

  • Blocking Vendor for All Transactions

    Hi all,
    I have activated sensitive fields for vendor master creation and change. When there is a change in predefined sensitive fieldsu2019 vendor is blocked until confirmation. But my problem is I can still open PO for these blocked vendorsu2019. Shouldnu2019t it be blocked for any transaction such as opening PO or invoice verification? Until vendor changed is confirmed by superior it has to be blocked. How I could achieve this. I would like to hearing from you.
    Thanks
    Melih

    hi,
    You can't stop looking the documents for that vendor, just because even if you see you can't post the document again as the procurement from that vendor has been stoped..
    for eg : So if you block the vendor even if the PO is visible, it is not possible to have any further procurement from them, and system will show a error message that the
    vendor has been blocked.
    So there is no need to worry abt it...
    Hope it anwers your query
    Regards
    Priyanka.P

  • Trying to update existing apps; will only prompt me for an old iTunes account that does not exist any more

    How do I get a prompt for my new account when updating existing apps? I had used one of my sons account for most of the apps on my iPhone. I have since move up to a iPhone 4S and created my own account to use iCloud.   But everytime I try to update the exiting apps I am prompted for a password to my sons account. I am logged on to iCloud with my new account at the same time.
    It looks like the apps retain some kind of tag to the original account used during download.
    Any help would be appreciated.

    Change the account in the iPhones settings

  • I need to reset a password for a game center account that does not have an email account associated with it. I keep getting a message that it has been disabled.

    We have 3 iPads on my iTunes account.  My son created a game center account as a minor and it did not require an email account. Now he cannot remember his password and he is locked out. I am unable to reset it because all he has is his nickname and not a real apple I.d. How can I fix this?

    I just saw that the app Doodle Jump HD FREE which  is said to be downloaded is not seen in my purchases in APP STORE, so assume it is a spam. However I still cant reset my password...
    Thank you again!
    PS. The email looks so real... from APPLE

  • RESTRICT PURACHSE ORDER CREATION IF INFO RECORD IS NOT MAINTAIN

    HI,
    I WANT TO RESTRICT THE USER FROM CREATING PURCHASE ORDER (ME21) IF HE HAS NOT UPDATED THE INFO RECORD FOR THE SAME.
    I WOULD LIKE TO KNOW WHAT ARE THE FIELDS EFFECTED FROM WHICH TABLE AND HOW TO DO IT.
    WHAT I KNOW IS INFO RECORD (ME11) AFFECTS EINA TABLE, BUT HOW TO RELATE THIS WITH P.O .
    PLEASE HELP ME.
    THANKS.

    Thanks

  • Is Accounting View(MM) required to execute costing runCK40N(CK11N)?

    Hi Gurus,
    Can FERT be costed without errors even if accounting view is not maintained in material master?
    Is this standard functionality?
    Thank you

    Dear,
    Use T.code OMS2.
    Select Material Type & Click on detail button.
    See the quantity / Valuation area TAB.
    In Valuation Updating heading :
    In No Valuation area button should be selected for Non value-added material.
    Accounting view is mandatory for all Valuated Materials in material Master.
    From valuation class it will fetch GL of material type to valuated material.
    From Standard Price it would fetch price for STD cost estimation to run.
    Hope above will useful.
    GOPAN

Maybe you are looking for

  • Vista: Adobe [all CS3 - Design Premium] has stopped working...

    Out of the blue yesterday, I no longer have access to any CS3 programs with the exception of Acrobat & Distiller. I have tried uninstall/reinstall, virus scan, malware scan, system restore mult times and cleaned my registry. Any other ideas?? Please

  • Class.forName() ????

    Hello, I have the following problem: 1. I create a class with "Class comp1 = Class.forName(strName);" 2. With creating an instance custom the constructor some parameters. 3. With "Constructor[ ] myconstr = comp1.getConstructors();" I get all Construc

  • Still no burn

    - ok found a great list of things to do when idvd STILL won't burn . but need help - in how to do things listed. #0 - always use "Save as Disk Image" instead of burning when troubleshooting iDVD I did that - it was successful- at least the screen sai

  • Crystal Reports Statement Ignored

    Can someone explain to me why there are records on my Crystal Reports that have values that are equal to "Cash" (in data column "") although my logic (Line #4) is suppose to exclude all records with "Cash" for the "" data column ?  Thanks  ! ! ! 1) 

  • Windows Server 2012R2 Failover Cluster error with mounted volumes

    Hi all, I've a problem with mounted volume on a WSFC build on top of Windows Server 2012R2, the situation is: M: is the volume hosting mounting points disk-1, disk-2, disk-3 are volume mounted on M:\SomeFolder Theese volumes are used by a SQL Server