Blocking Purchasing Vendor(TC :MK01 & MK02)

Hi All,
Can anybody help me how to block a Purchasing Vendor(MK01 & MK02) using Change Document Procedure.
I found the Business Object LFM1 & change document Object KRED .
i copied LFM1 into one custom object(ZLFM1) & created a Method & Event for blocking the vendor.
in SWEC, i linked the ZLFM1 &  KRED.
But it is not working.
Please can anybody help me to solve my problem.
Regards
kalyan.

Hi Rob,
               Thanks for quick reply.
My requirement is to block a Purchasing Vendor (MK01 & MK02) when ever a new vendor is created or changed.
I am doing the same with user exit & BTE.
I am not getting the vendor number when I created a new vendor when save document triggers. Because FM “NUMBER_GET_NEXT”  is executing after the user exit(EXIT_SAPMF02K_001) and Before BTE  1420.
So I am taking EKORG form user exit & passing the same to BTE.
Now in the BTE I am having both LIFNR & EKORG.
In the BTE I am using FM  “SWE_EVENT_CREATE” to trigger the workflow.
I am using a Custom business object to block the vendor.
But if it good practice if we can do the same thing using change document procedure.
So I found the Change document KRED. But in the KRED EKORG is not the key field.
So I copied the business object LFM1 and created a custom method & event to block the vendor. Since I don’t have any standard object for blocking the purchasing vendor.
So I am doing the following steps.
In TC SWED
I created an entry for KRED with LFM1 is the leading table in the change document.
I created an entry in SWEC as change document object as KRED and business object as Custom business object.
But when I am executing MK02 it is giving following message
Object does not exist
Message no. OL 826
Diagnosis
You tried to create an instance of the object type YR_LFM1 with the key0000000105. No instance of this kind exists.
If check the above message(red color) we are having only LIFNR as 0000000105 & there is no EKORG. So here Key field is not creating properly.
How can we debug the change document object?
Thanks & regards
Kalyan.

Similar Messages

  • Purchasing vendor block(MK01) using workflow

    Hi,
          Can any body help to blcok purchasing vernder using workflow.
    Right now i am doing with Userexit & BTE.
    Can any body help me the same using Change document procedure.
    Regards
    kalyan.

    HI Manahor,
               Thanks for your quick reply.
    I am dooing as
    1)I created a custome business object
    2)i am calling the same in BTE(1420) and i am uing user exit to get EKORG..
    i need to block the vendor based on Purchase organization(EKORG).We are having LFA1 but here there is no EKORG in LFA1.
    Same thing i want to do using change document procedure.I found change document KRED.But it is not working.
    can you tell me how to do the same using Change Document Procedure Or can you tell me any other better solution other than User exit & BTE.

  • Canwe create new vendors and modify vendor data (Transaction: MK01, MK02).

    Hi ABAPER's,
       This is Sekhar.  I have a idea can we creat and modify vendor data using transactions MK01, MK02 by using BDC.
    Kindly send me an option.
    waiting for ur responce.
    bey

    Hi,
    Using MK01 and MK02, you can create and change vendors only for the general and purchase org view. You wont be able to create vendors in company code view. If this suits your requriement you can go ahead with MK01 and MK02 . If you have to create even for company code view, you can use the generic transactions XK01 and XK02
    Vikranth

  • What are the different types of blocking in vendor / customer MD?

    Hi,
    in my firm we noticed that several customers were marked for deletion but this mark only provides a warning message once sales order is set up.
    We'd like to know how to perform actual blocking of sales order / delivery / billing for customers - what should be done and how in the customer Master Record?
    Same problem goes to vendors. Marking for deletion only provides a warning message once a PO is set up, what should be marked and in which transaction in order for this vendor to be blocked for PO / Goods Receipt / Invoice receipt / payment?
    Would appreciate your response

    Dear okit83,
    There are many ways to block the vendor/customer. As above mentioned VD05/XK05 will be used to block the customer/vendor.
    Apart from that we can block the customer/vendor from the same master data is self.
    Go to xd02/xko2-> Extras->Block data. Here tou can block the customer/vendor from one sales area or from all sales areas pertinent to delivery,sales billing(CUSTOMER). Where as vendor allcompany codes,all purchase organizations.
    Similarly you can delete the customer/vendor by using delition flags By XD02/XK02->extras->Deletion flags.
    So the customer/Vendor will not be used
    Please check and revert
    Thanks&Regards
    Raghu.k

  • How to stop posting without blocking purchasing

    Hello,
    Is it possible to stop posting in SAP FiCo without blocking purchasing?
    Problem:
    Due to a reorganization of business units I have to change the control parameter 'Business Partner-type' from internal to external, I also have to change the 'reconciliation acct' for the vendor (also from internal to an external account). Problem is that I have to wait until all the invoices are cleared (from the internal partner) and in a mean time I 'll have to save all the invoices for the external partner and ..............the purchasing has to go on.
    The solution I advised was using the 'Posting Block' but...........this function also blocks the purchase!
    Does anybody has a solution?
    Kind regards.

    Hi,
    Do you want to stop all FI/CO postings? You can use OKP1 transaction to block certain processes in SAP or, as suggested by Alex, simple block of FI period.
    Regards,
    Eli

  • Blocking of vendor and invoices

    Hi
    How can we block the vendor (full scenario) and also some invoices?
    Please explain in detail.
    Points will be rewarded for useful answers.

    Hi
    A vendor can be blocked from purchasing thru MK05 (Purchasing) or XK05 (Centrally) or FK05 (Accounting).
    Assign Points if Helpful
    Regards
    Sunil

  • Initmate Vendor Creation (MK01 + XK01)

    Dear friends,
    I want to initimate Acc. dept. after creating vendor using MK01 tcode. MK01 used by Purchase people to create vendor and acc. dept. maintain acc. assignment. I want to initimate Acc. dept after creating vendor automatically.
    Our company used 46C version but we are not using workflow. So kindly give me solution.
    Thank you,
    Regards,
    Nilesh Shete

    Hi Nilesh,
    If you are not using workflow(the cleanest way), then you have two options.
    <u>Option 1.</u>
    Find a user exit that is as close to the 'SAVE' as possible. I found only one such user exit. SAPMF02K  User exits: Vendor master data
    Send an email out of this exit.
    The only catch here is that, if the user has the ability to cancel after the call to this exit or the creation fails after the call, you will be sending an invalid message.
    <u>Option 2.</u>
    Let the purchasing create the vendor and you have another program that constantly monitors the change documents or LFA1 for newly created vendors and if found, sends out an email to the acc. dept.
    Hope this helps,
    Srinivas

  • Block the vendor from quality side as process from the evoluation

    Dear All,
    How to Block the vendor from the quality side. i check the MK05 . but if i block thru this txn. the purchase people will change unblock the vendor from XK05 .
    I need to know , if the vendor is blocked . it will not be unblock by anyother than from the quality.
    or
    anyother process is there to block as a process
    say ex, in vendor evoluation, if the quation mark is less than 80 % , the vendor should be blcoked ,as a process.
    Thanks
    vraj

    Hi Sujit,
    What you  mean to say in the privious reply.
    is it possible in any other way or not.
    With regards
    vraj
    hi
    i think is other way round
    http://sapdocs.info/application-modules/mm-overview/mm-transaction-codes/

  • How many ways we can block the vendor

    hi friends,
                 How many ways we can block the vendor

    Hello
    Adding further,
    Within Accounts Payable, you can block a vendor account for posting. You have to block a vendor master record before you can mark it for deletion. You would also block a vendor that you use only as an alternative payment recipient, so that nobody can post to it by mistake.
    There are several fields in the vendor master record available to you. You can set the following blocks:
    Posting block for certain company codes or for all company codes
    Purchasing block for certain purchasing organizations or for all purchasing organizations. This is of course only if you have purchased and installed the purchasing application component.
    This topic describes how to block a vendor account and blocking an account for the accounting department only. A separate topic explains how you block a vendor from being paid.
    You can cancel a vendor account block at any time. To do this, simply remove the relevant indicator.
    Only block an account if there are no more open items in the account. If an account is blocked, you cannot clear any open items in it.
    Reg
    assign points if useful

  • Central & purchasing (Vendor)

    What is the difference between XK01 & MK01?
    What are their practical implications?
    regards
    VS

    Hello VS,
    As mentioned by Manish,
    <i>MK01 is used to create Vendor at Purchasing org. level</i> means with this transaction you maintain the data which is relevelnt to carry out the purchasing activities i.e. PO Currency, Payment terms, Vendor schema for pricing, etc
    XK01 is used to create Vendor at Company code level means with this transaction you can maintain data at three levels i.e. General data (client level), Accounting data (Company code level) and Purchasing Data (Pur organization level)
    if you create Vendor with MK01 (Pur data) you have to carry out FK01 or XK01 to maintain the Accounting data for Vendor Invoice.
    Hope this will help.
    Regards
    Arif Mansuri
    Reward if answer is helpful.

  • Error when blocking a vendor in source list

    We are trying to block a vendor from the Source list (Tcode ME01), however this vendor was created in a different system and imported into our current system.
    The error message we receive states "Source list record created in a different system".  We are unable to save the change, so it is not a warning message, but an error.
    Any help would be appreciated.
    Thank you

    your source list records get created in a central system. if you delete an entry you create inconsistencies to your central system (and you may get this record back soon undeleted).
    Contact the guys who create the source list in this different system and let they maintain the block and distribute it to your system again with ALE.

  • Payment block for vendor payment

    i blocked a vendor invoice for payment, it's shows the error msg correctly as item blocked for payment in the proposal log but when i do manual payment via F-53 , the paid document is being generated for excatly the same vendor and the same blocked invoice.
    kindly assist.
    thanks.

    Hi
    Go to OB27 and check whether the block has a tick for manual payment block also. If there is no tick then the system accepts the block only for payment proposal but it allows the manual payment.
    This will solve your issue.
    Regards
    Jyostna

  • Putting a Suto Payment block in Vendor line item

    Hi,
    we have a requirement where we want to auto block(payment block) a Vendor Line item whenever we hit a specific GL account in his posting.
    How we can do this in SAP.. I tried using substitution but cudn't move further.
    Plz suggest.
    Thanx in advance

    Hi
    I can able to create a substitution and I can able to populate payment block in the document. 
    Pls. follow the below:
    1.  Create a rule under complete document as BSEG-BUKRS = "Your company Code" AND BSEG-HKONT = "Your GL Account against which the vendor will be posted"
    2.  Now come to substitution and create a new step.
    3.  In substitution populate the rule and check
    4.  Then give constant value BSEG-ZLSPR = "A" (Blocking for payment)
    5.  Then activate it (don't forget to do this)
    6.  post the document and you can find block in the vendor account with the gl given in the rule mentioned above.
    Hope this helps.  If you need more or screenshot give me a mail in [email protected]
    If the above was useful, assign points.
    Thanks
    Rago

  • Mass 'Payment block' of vendor invoices in FI

    Hello
    Does anybody know whether it is possible to block several invoices from a vendor for payment in one step instead of entering a 'Payment block' in every single invoice document?
    I know it is possible to block a vendor for payments, but it is the option I am searching :o)
    Best regards
    Søren Kirch
    LOGSTOR

    hi,
    If you want to block the invoices from FB02 also.
    Select the Invoices and and Double click on the  Vendor and in that screen  you can see the option of Payment Block.
    Pls assign the points if is useful to u...
    Ranjit

  • Purchasing Vendor During MIRO

    We have implemented partner functions, linking a purchasing vendor with an A/P vendor, using standard functionality.
    In testing, A/P reports that they are currently able to enter the invoice against the purchasing vendor as well as against the A/P vendor.
    What is needed to prevent the purchasing vendor number from being inadvertently selected during MIRO?

    HEy
    If you meantained the vendor in XK01 adress of the vendor and its code both you can see the header data screen in MIRO.
    And if you want  a print of document you will have to set document for printing from MIRO - GO TO >  messages.
    Set the printer and get a print preview from t code MR90 with document no.
    Kaustubh

Maybe you are looking for

  • Report Print

    Hi abap gurus, I have developed abap report in se38 i want to take output print on 39.5 MM width and 30.5 MM height page in EPSON printer how can i take print of this. pls suggest me ....

  • Excel & Powershell: Bulk Find and replace URL's used in forumlas

    Hi, I'm working on creating a script that I will provide a list of SharePoint 2007 document libraries to which will do the following: In Excel, find formulas within cells that link to other workbooks + sheets (XLS/XLSX) If found, replace the formula

  • Header child element 'WSCorIDSOAPHeader' must be namespace qualified!

    I have two machines. The first machine have an OSB managed server and admin server. The second machine have a SOA managed server, admin server and enterprise manager. A service call in OSB is redirect do SOA Server (BPEL process). After the route the

  • What are all the ways to clean the ipad smart cover?

    my smart cover is getting quite dirty, i would like to know what are the ways of cleaning it without damaging it, itis not a leather cover

  • Tracking time with Applets

    Can I use an applet to determine how long a user has spent on a page Assuming (a) User Logs in (b) Visits Page 1 with timer applet (c) Jumps to Page 2 What kind of applet do I use to determine how long He spent on Page 1? Plese help Thanks