Help bapi to block/unblock vendor (XK05)

Friends,
Does anybody know what bapi can I use to block and unblock a vendor for purchasing and how to use it ?
thanks,
Glauco

Hi,
There is one fm to unblock vendor VENDOR_PURCHASING_DEBLOCK.
Also, take a look fm VENDOR_BDCDATA... it might be useful as well..
Do a where used list on VENDOR_BDCDATA if you want to see how it is to be called..
Sri
Message was edited by: Srikanth Pinnamaneni

Similar Messages

  • Need standard BAPI for  Block/Unblock Customer

    Hi All,
    is there Standard BAPI for  Customer Block/Unblock .
    Thanks in Advance.

    Hi,
    below is a useful link which gives a list of bapi's,
    http://www.mysaphelp.com/blog/?p=122
    look out for   V02D                           Customer Master: Read/Block
    might be of some Help...
    Thanks,
    Naren

  • Custom field in XK05-Block/UnBlock Vendor details

    Is it any way possible to capture blocking period(date) of a vendor in XK05 along with reasons description besides block function?

    Dear Hamsitha Reddy,
    When you go for xk05 first you have give your vendor number & company code then press enter
    Then you give some relavant fields 1.under posting tab you can select  SELECT COMPANY CODE  2. under block for quality reasons tab , SELECT BLOCK FUNCTION  99 (Total Block) then save.
    Try any posting  use this vendor number Example : F-43....  Then its will give error message vendor xxxxx Blocked for posting
    Hopes It's helpfull.
    If you satisfy this Answer please give me points
    Thanks & Regards
    shankarsap

  • Payment program F110: User Exit/BAPI to block/unblock payments

    Hi!
    I need to block some documents when the payment occurs (F110)
    and in the end I need to unblock then. Seams to me than I have to modify the value of field BSEG-ZLSPR.
    The problem is that I try to find some User Exit ou BAPI by various ways
    but I find none.
    Can anyone help me?
    Thanks a lot.
    Rui

    Thanks Savitha.
    I will analyse your suggestion.
    What I need is:
    1-Enter t-code F110
    2-Fill the necessary fields and click in Proposal to execute the proposal.
    3-If everything id ok, the user clicks in Payments to execute the payment.
    This is the “normal” execution.
    What I need in the step 3 <b>in the beginning</b>, block some payments
    (based in some parameters) – this to prevent of executing the marked payments.
    And <b>in the end</b> unblock the blocked payments (return to original situation)
    Can you give me any more suggestion?
    Thanks!
    Rui

  • Is it possible to add a new field in Block/Unblock vendor screen?

    Hi Experts,
    Kindly any one advise is it possible to add new field in xk05 screen as shown in the attached screen.If possibe,please advise the possible steps
    to add this new field.
    Thanks & Regards,
    Anusha

    Hi Pavan,
    Thank you for your reply.I have searched for user exits there is no screen exit of xk05 and I put a break point in CL_EXITHANDLER method and I found VENDOR_FIELDSTATUS BADI only for this screen.So,there is no BADI or user exit to add a new field to this screen.So,how to add
    a new comment field to this XK05 screen.
    Rgds,
    Anusha

  • Fetch Vendor block/unblock date and time information in Transaction XK05

    Hi ,
    When user blocked to vendor using transaction XK05,This data stored in the table CDHDR (bloked Date and time).
    My quostion is how will we fetch the bloked DATE and TIME from CDHDR table( i mean which condition i need to fetch).
    This table have the blow key fileds .
    1)  OBJECTCLAS       Object class
    2)  OBJECTID             Object value
    3)  CHANGENR          Document change number 
    Could you please help us to resolve this.. << Please do not offer rewards >>
    Thanks
    Satya.
    Edited by: Rob Burbank on Jun 24, 2010 10:44 AM

    In Development, repeat the block process, then go find what you just put into table CDHDR with SE11 or 16...a little innovation and initiative often allows one to discover precisely what is needed, if you'll pardon an admonition from an old programmer )

  • Automatic blocking and deletion flag for temporary unblocked vendors/custom

    Hi All,
    Can you please help me IS there any Standard Reports for the Follwing,
    *"automatic blocking and deletion flag for temporary unblocked vendors/customers in Master Finance SAP machines"*.
    Please reply me as soon as possibly.
    Thanks & Regards,
    Pavithranad.
    Moderator message: please research before asking, do not assign higher urgency than normal.
    Edited by: Thomas Zloch on Mar 3, 2011 2:43 PM

    In XK06, flagging Vendor for deletion, I get warning "vendor xxxxx has open items in company code xxxx". Does this mean open Invoice Items, pending payment in FI? Since this is just warning I can hit enter and go ahead and save.
    - YES YOU ARE RIGHT. IT CAN ALSO INCLUDE OPEN PO.
    But, I can come back to XK06 and UNflag this same vendor for deletion? How would it affect the open items/POs...etc?
    - THAT'S WHY THE MESSAGE IS AN WARNING AND NOT AN ERROR. (My Opinion)
    Does basis has to do some sort of execution in order to actually delete the vendor master from the database? Would basis get a error when there are pending open items for vendors flagged for deletion?
    - NOT RECOMMENDED. ANY DATA CAN BE DELETED THOUGH. IF YOU ARE ON ECC 5.0 OR ABOVE AND USING SE16N TO DELETE, YOU WILL NOT GET AN ERROR.
    What's the advantage of using XK05 (blocking/unblocking) over XK06 (flagging/unflagging for deletion)?
    - NOT SURE IF THERE IS ANY ADVANTAGE.

  • BAPI for customer Block/Unblock through transaction code : XD05

    Hi Gurus,
    I want to block/unblock customer sales areas(Transaction code : XD05) through program. Could you please suggest any BAPI for the same. As writing BDC will not be a good choice.
    Please help.
    Thanks,
    Bhupender

    Hello Bhupender,
    the best and easies solution is the MASS maintenance transaction as proposed above.
    For the BAPI question, sorry but there is NO BAPI to maintain a customer master data.
    The function module provided by my predecessor, even if it has the perfect look like is definitively not the one to use.
    Despite the name, this FM is designed to support only the maintenance of CONSUMERs.
    Moreover it is not an RFC enabled function module.
    It might work in your case, as the data to maintain is quite simple and limited but you still may face several troubles like NO change documents and change pointers created and/or no synchronisation with TREX, CRM, ...
    There is also a BAPI with a nice name, but in fact it is designed to be used only with SAP Online Store and SAP Product Catalog.
    The only reliable path for investigation is described within [note 384462|https://service.sap.com/sap/support/notes/384462].
    A other path for investigation is the class CMD_EI_API which has been introduced with ECC 2005 (6.00).
    You could wrap method MAINTAIN_BAPI inside of a bapi function module you would have written.
    Otherwise, but still with limited functionality there are some eSOA webservices to find, read, maintain customer master data.
    Hope this helps.
    BR
    Alain

  • Mass Vendor Deletion and posting Block unblock.

    Hi All,
    I have done the mass deletion flag and posting block of vendors ate P.org and Co.code level through t.code-XK99.
    I want to retrive my changes and vendor shuold active again instead of populating a warning message.I am aware of T.Code-XK05 but i tried it through T.Code-XK99 however i am not able to unblock those vendors.
    could anyone let me know were i am ,missing.
    Regards,
    Gaurav Surana

    Transaction MASS > LFA1 is same as in XK99
    XK99 should work in your case. Please check that you are selecting the correct table and fields to be changed in this XK99 transaction.
    Are you also getting any error message during the saving in XK99?
    Regards,
    SDNer

  • Help with Blocking/Unblocking GL account for posting

    We have a current program to block/unblock GL accounnts for posting and it does direct table update. But this way the user does not know the HISTORY about who did the update. I came to know that by using BDC, history gets created about who made the changes. I am still new to ABAP and with transaction code FS02 I cannot acheive this (blocking/unblocking GL account for posting).
    Is there any other transaction code that would let me do this?
    Is there an easy way of finding out the correct transaction code?
    I found FSSO which is pretty close but my lead said it is not the correct one! Does anyone happen to know the correct transaction code that would let me do blocking/unblocking for G/L account posting?
    Thanks.
    --Mithun

    Hi Mithun,
    FS00 txn is used for blocking GL a/c for posting.
    You can block/unblock GL a/c based on GL A/c and Company code.
    Execute FS00 txn, Click GL account -> Block (in the menubar).
    Block/Unblock based in chart of accounts or in company code.
    Cheers,
    Vikram
    Pls reward for helpful replies!!

  • Blocking of vendor upon master data creation...

    Hi Experts,
    Is there a way I can do which will blocked the vendor from payment/posting after its master data creation?
    Meaning, once a new vendor code is created its should be defaulted to "blocked for posting" when saving. Unblocking shall be performed by another user.
    Thanks so much.

    Hi,
    You can block vendors through Mass maintenance: Tcode XK99 or through XK05 - Block vendors which is especially for blocking of vendors.
    In XK99 you can block more than one vendor where as in XK05 you can block one vendor.
    Hope this helps.
    Thanks,
    Viswanath

  • 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

  • Block/Delete Vendors by Company Code wide

    Hi Guru's
    We have got requirement to block/delete unused vendors in company code wide automatically or thru customised program. We have FK05 and FK06 to block&delete vendors. I triend updating LFB1 table using VENDOR_UPDATE Function module.
    Below is the code used In my program.
    IT_LFB1 = List of Vendors.
    LOOP AT IT_LFB1 INTO WA_LFB1 .
    WA_LFB1-SPERR = 'X'. " Block Vendor
    WA_LFB1-LOEVM = 'X'. " Deletion Flag for all areas
    WA_LFB1-NODEL = 'X'. " Deletion flag for general data
    CALL FUNCTION 'VENDOR_UPDATE' IN UPDATE TASK
    EXPORTING
    I_LFB1 = WA_LFB1.
    IF SY-SUBRC = 0.
    COMMIT WORK.
    ELSE.
    Endloop.
    But since this FM is not checking any authorisation to block/delete vendor. Could you please let me know how I can go ahead for this requirement either through BAPI which exactly perform like FK05/FK06. Looking forward with your suggestions.
    Thanks in advance..
    Shreyansh.

    Thanks a lot Keshav..
    Please help me..I have done coding as below for calling MAINTAIN_BAPI.
    i_IS_MASTER_DATA-VENDORS-HEADER-OBJECT_INSTANCE-LIFNR = WA-LIFNR.
    i_IS_MASTER_DATA-VENDORS-HEADER-OBJECT_TASK = 'U'.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-CURRENT_STATE = ''.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-TASK = 'U'.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-DATA_KEY-BUKRS = WA-LIFNR.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-DATA-SPERR = 'X'.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-DATA-LOEVM = 'X'.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-DATAX-SPERR = 'X'.
    i_IS_MASTER_DATA-VENDORS-COMPANY_DATA-COMPANY-DATAX-LOEVM = 'X'.
          CALL METHOD G_VMD->MAINTAIN_BAPI
          EXPORTING
            IV_COLLECT_MESSAGES  = 'X'
            IS_MASTER_DATA = i_IS_MASTER_DATA.
    is this correct..?..I am getting syntax errors in this..pleas help.

  • 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/

  • 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.

Maybe you are looking for