Vendor Blocked Table

Hi gurus,
I need to check in an automatic control if a vendor is blocked. Do you have any idea of how to display this information?
I have checked table LFA1 but there is not such a field.
Thank you so much!
Kind regards

Hi John,
Refer the below T-code's.Hope will help you.
FK05  -             Block Vendor (Accounting)           
MK05  -             Block Vendor (Purchasing)             
Also refer this Thread1
                        Thread2
Thanks
KH

Similar Messages

  • Vendor Blocked for Local Purchase Organization

    Hi,
    I have checked the vendor details in SRM and ECC. The vendor is not locked in SRM & ECC, still the User is getting the Error message that Vendor Blocked for Local Purchase Organization.
    Please suggest.
    Regards,
    Lovkesh

    Hello,
    To prevent a shopping cart being created with blocked vendors, you shall
    make an implementation in BBP_DOC_CHECK_BADI. This badi is called for
    each refresh of ITS screen. Here
    Call FM BBP_ITEM_GETDETAIL by supplying IV_DOC_GUID
    The FM will return among others a table E_PARTNER.
    select  the corresponding partner related to E_PARTNER from table BUT000
    Check weather the BUT000-XBLCK and E_PARTNER are matching
    If yes, Fill ET_MESSAGES with an error message.
    I hope this information help.
    Thanks and regards,
    Gaurav

  • Vendor Blocks in SRM

    Hi Guru's.
    Please can someone explain what system changes we need to make so that a errror message is displayed during Cart creation to tell user that a Vendor is Blocked. The message only appears on the PO screen and it is our requirement to make the user aware during the Cart creation process.
    Our vendor blocks are maintained in R/3 and sync'ed across to SRM 5.0
    Please advise.
    Thank you.
    Viju

    Hi Viju,
    You can check the table BUT000. Here if the field XBLCK is set then that indicates that the vendor is blocked.
    Now use the BAdI BBP_DOC_CHECK_BADI to generate the error message when you are trying to create the Cart.
    Do the coding under the object type BUS2121.
    Thanks,
    Pradeep

  • Vendors block list

    hi
    i need logic to develop vendors block list

    Hi,
      use the below code for vendor block list.
    REPORT ZMMUVEND NO STANDARD PAGE HEADING LINE-SIZE 70
    MESSAGE-ID ZM.
    **--  DATA DECLARATIONS
    DATA: V_PATH LIKE RLGRAP-FILENAME,
          V_MODE VALUE 'N'.
    **- INTERNAL TABLE DECLARATIONS
    DATA: BEGIN OF IT_DATA OCCURS 0,
          LIFNR(10),
          END OF IT_DATA.
    DATA: BEGIN OF BDCDATA OCCURS 0.
            INCLUDE STRUCTURE BDCDATA.
    DATA: END OF BDCDATA.
    DATA: BEGIN OF IT_OUTPUT OCCURS 0,
          LIFNR(10),
          V_TEXT(70),
          END OF IT_OUTPUT.
    **-- SELECTION-SCREEN
      SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
      PARAMETERS: P_PATH LIKE IBIPPARMS-PATH OBLIGATORY.
      SELECTION-SCREEN: END OF BLOCK B1.
      PARAMETERS: P_CHECK AS CHECKBOX.
    AT SELECTION-SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_PATH.
      CALL FUNCTION 'F4_FILENAME'
           EXPORTING
                PROGRAM_NAME  = SYST-REPID
                DYNPRO_NUMBER = SYST-DYNNR
                FIELD_NAME    = 'P_PATH '
           IMPORTING
                FILE_NAME     = P_PATH.
    **-- START-OF-SELECTION.
    START-OF-SELECTION.
    **- Authorization Check
    AUTHORITY-CHECK OBJECT 'ZMMUVEND'
                ID 'ACTVT' FIELD '16'.
    IF SY-SUBRC NE 0 .
    MESSAGE E398(00) WITH TEXT-012.
    ENDIF.
    **- Read File
      PERFORM READ_DATA.
    IF P_CHECK IS INITIAL.
    **- Update the data
      PERFORM UPDATE_DATA.
    ENDIF.
    **-- TOP-OF-PAGE
    PERFORM WRITE_HEADER.
    **-- END-OF-SELECTION
    END-OF-SELECTION.
    IF  P_CHECK IS INITIAL.
    PERFORM WRITE_OUTPUT.
    ELSE.
    FORMAT COLOR COL_NORMAL ON.
    LOOP AT IT_DATA.
    WRITE:/1 '|',
           2 IT_DATA-LIFNR,
          14 '|',
          70 '|'.
    ENDLOOP.
    ULINE.
    ENDIF.
    *&      Form  READ_DATA
    FORM READ_DATA.
      CLEAR: V_PATH.
      MOVE P_PATH TO V_PATH.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME = V_PATH
                FILETYPE = 'DAT'
           TABLES
                DATA_TAB = IT_DATA.
      IF SY-SUBRC <> 0.
        MESSAGE E001 WITH TEXT-002.
      ENDIF.
    ENDFORM.
    *&      Form  UPDATE_DATA
    FORM UPDATE_DATA.
    LOOP AT IT_DATA.
    CLEAR: BDCDATA. REFRESH: BDCDATA.
    **- Block Vendors
    perform bdc_dynpro      using 'SAPMF02K' '0500'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02K-LIFNR'.
    perform bdc_field       using 'RF02K-LIFNR'
                                  IT_DATA-LIFNR.
    perform bdc_dynpro      using 'SAPMF02K' '0510'.
    perform bdc_field       using 'BDC_OKCODE'
                                  'UPDA'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-SPERM'.
    perform bdc_field       using 'LFA1-SPERR'
                                  'X'.
    perform bdc_field       using 'LFA1-SPERM'
                                  'X'.
    CALL TRANSACTION 'XK05' USING BDCDATA MODE V_MODE.
    CLEAR: IT_OUTPUT.
    IF SY-SUBRC = 0.
    MOVE IT_DATA-LIFNR TO IT_OUTPUT-LIFNR.
    MOVE TEXT-005 TO IT_OUTPUT-V_TEXT.
    ELSE.
    MOVE IT_DATA-LIFNR TO IT_OUTPUT-LIFNR.
    MOVE TEXT-006 TO IT_OUTPUT-V_TEXT.
    ENDIF.
    **- Vendor -  Mark for deletion
    CLEAR: BDCDATA. REFRESH: BDCDATA.
    perform bdc_dynpro      using 'SAPMF02K' '0500'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02K-LIFNR'.
    perform bdc_field       using 'RF02K-LIFNR'
                                IT_DATA-LIFNR.
    perform bdc_dynpro      using 'SAPMF02K' '0520'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-LOEVM'.
    perform bdc_field       using 'LFA1-LOEVM'
                                  'X'.
    perform bdc_dynpro      using 'SAPMF02K' '0520'.
    perform bdc_field       using 'BDC_OKCODE'
                                  'UPDA'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02K-LIFNR'.
    CALL TRANSACTION 'XK06' USING BDCDATA MODE V_MODE.
    IF SY-SUBRC = 0.
    CONCATENATE  IT_OUTPUT-V_TEXT TEXT-007 INTO IT_OUTPUT-V_TEXT.
    ELSE.
    CONCATENATE IT_OUTPUT-V_TEXT TEXT-008 INTO IT_OUTPUT-V_TEXT.
    ENDIF.
    APPEND IT_OUTPUT.
    ENDLOOP.
    ENDFORM.                    " UPDATE_DATA
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.
    FORM BDC_FIELD USING FNAM FVAL.
      CLEAR BDCDATA.
      BDCDATA-FNAM = FNAM.
      BDCDATA-FVAL = FVAL.
      APPEND BDCDATA.
    ENDFORM.
    *&      Form  WRITE_OUTPUT
    FORM WRITE_OUTPUT.
    FORMAT COLOR COL_NORMAL ON.
    LOOP AT IT_OUTPUT.
    WRITE:/1 '|',
           2 IT_OUTPUT-LIFNR,
          14 '|',
          15 IT_OUTPUT-V_TEXT,
          70 '|'.
    ENDLOOP.
    ULINE.
    FORMAT COLOR OFF.
    ENDFORM.                    " WRITE_OUTPUT
    *&      Form  WRITE_HEADER
    FORM WRITE_HEADER.
    FORMAT COLOR COL_TOTAL ON.
    WRITE:/2 TEXT-009.
    FORMAT COLOR OFF.
    FORMAT COLOR COL_HEADING ON.
    ULINE.
    WRITE:/1 '|',
           2 TEXT-010,
          14 '|',
          15 TEXT-011,
          70 '|'.
    ULINE.
    ENDFORM.                    " WRITE_HEADER
    if this code is useful to u please reward points.
    Regards,
    Koti

  • Mass Vendor Block

    Hello experts
         XK05 is use for  vendor block one at a time. Is there any way we can block Mas vendor in one time?

    ok you are talking abbount account group, the forth field from top in XK01 transaction
    A block can be set at general level or for a spcific purchasing organisation.
    If you want set the block at general level, then you have to choose LFA1 table in XK99, for the purchasing org specific block you need to choose LFM1 table.
    Example for general level block:
    go XK99,
    select table LFA1 and execute.
    Then you come to the selection screen, which shows only the vendor number, but you can add many more fields as selection fields by clicking the button for selection fields below the selection.
    Select the fields of your choice  and copy.
    Then enter your selections and execute.
    you now get the found records with some columns. you probably will not directly see the field for blocking  there. Hence click the button "choose fields" and copy the field to the display.
    Now enter the new value above the list. then click the header of this field to select the filed as relevant to be changed.
    then click button change field values.
    Finally save.

  • Vendor block on goods receipt

    When trying to do a goods receipt, i get a vednor block error message. I have checked the vendor master.. there are no blocks and i also checked the MP02 to see if there were any QI blocks... none. I am thinking this is the  QI inf record...
    Where else colud I check for a vendor block.
    Thanks in advance

    thanks for the response.
    But here is the solution i found out. The po's were created on the MPN part numbers and the vendor in tcode MP02 for this part number was different from the vendor on the PO.
    I was checking the blocks on the vendor on the PO, it was the vendor on the MPN number that need to be blocked

  • Vendor block code for release order creation but no purchase order creation

    The client has a vendor block code which when applied to a vendor through vendor block screen should allow release order creations against existing contracts and ARC but it should not allow purchase order creation. However, it is allowing purchase order creation also. Can anyone tell how to achieve this selective treatment that allows RO creation against existing contracts and ARCs' but no PO creation.
    Are there any settings or configurations that have to be made in SPRO and other areas to achieve this.I would appreiate if anyone could give in a detailed and step wise solution.

    Hi
    Take out all the blocks on company code and purchasing organization in XK05.
    Only put block function as 01 (purchase order). It will not allow you to create purchase order but you can create contracts and release orders against contracts.
    Thanks
    Edited by: Praveen Raghavendra on Jan 8, 2009 2:30 PM

  • Vendor block in SRM

    Dear experts,
    I currently do not have a system available, therefore I need an answer to a basic question:
    Which vendor blocks (Company code, Purchasing or both) do affect the visibility of the vendor in SRM in SRM 7.0 classic scenario?
    Appreciate your help.
    Cheers, T.

    Hello Toppika,
    Only vendor purchasing blocks (for all purchasing organizations or only selected purchasing organization) are relevant in SRM.
    No relation exist in SRM between supplier and company code (R/3 Posting block).
    Regards.
    Laurent.

  • I have function and producer how to apply in form 10g block table

    Dear All
    help me i have create function or package in plsql but i have not understand to apply form developer 10g  block tables so kindly guide me fully
    thank for cooperate and support me

    Hi,
    Do you want to call the function from the Form or do you want to base the block on the function? Please elaborate your question.
    Regards,
    Mark

  • Vendor blocking scenario in QIR-EWM Integration

    Hi ,
    We have the following scenario with QM and EWM Integration , So could you pleas let me know for any suggestions
    1. Create two materials for ex. 259 and 581 with same vendor with control key Z100
    2. Create a purchase order for both the materials 259 and 581  and create the inbound delivery for the same so that It passes to EWM…mean while the vendor loses license for one material i.e. 259
    3. Go to QI02 (T Code) change info record for 259 material and make it as total block
    4. Now the EWM shouldn’t post the document and it should give the error for quality
    5. Second material 581 should get posted without quality reasons
    Thanks
    Bala

    Sorry.. to the best of my knowledge, standard SAP checks on the vendor block ends at the PO creation and release.  You'll have to identify a user exit to check on the vendor block at GR in EWM.
    Craig

  • Vendor block list

    Hi,
    1. When new vendor transfer to GTS system, for SPL which scenario need to run A1 or B1,
    2. I want to get all vendor block list due to result of B1 scenario, it has to go User mail Id
    regards
    satish

    Hi Satish,
    When business partners are transferred to GTS, the first screen must be A1.  This can be configured to happen automatically or manually.  The system should not allow a B1 screening on "new" master data.
    Easiest way to get result you need in item 2 of your question is to execute the report "Display Audit Trail for Business Partners". Select "Check Scenario" = 'B1' and select a variable for "Outcome of System Check" that will show blocked partners.  When the report displays, you can export it in excel format.  If you want to automate that process and email it to someone, you can execute the report in a batch mode, then use the suggestion provided by Tobias with transaction SUGR.
    Cheers !
    -Greg

  • Bapi's or Fun Modules to update vendor related tables

    Hi All,
           Can any one tell me the Bapi's or funtion modules to update,create or modify vendor related tables without using any call transaction.
    Best answers will be rewarded nicely.
    Regards,
    praveen.

    Hi
    Did below code work for you?
    If not the best way to manage Vendor information for UPDATING and CREATING check below class
    VMD_EI_API
    Which you just use methods INITIALISE and MAINTAIN with the populated structures of vendor tables.
    Regards
    Tumelo Modise

  • Vendor Block for payment.

    Hello Experts :
       We are migrating vendor from one SAP to Another SAP system .But we are doing payment and clearing in source SAP system and like to block all vendor for payment in target system how can I do this. For migrating we are using Interface.Can we do any setup in Interface that say block vendor for payment or we have to do configuration in target system to block vendor for payment ?

    Hi
    You can block the payment to vendor in mass by using xk99, where select table-vendor master company code LFB1 & select field payment block-LFB1-ZAHLS, then execute, then select the vendors & company code & again execute - then you can select the payment block in new values & select carryout a mass change button & execute

  • MM, Vendor block, FK08 + XK05

    Hi,
    I have a requirement to block a vendor, not only for payment (in FK08 tcode), but for purchasing as well (XK05 tcode).
    I found a BTE event during Vendor save (xk1 / xk02). In my custom code there, I check if sensitive fields were changed (there is a flag for it), and in this time I would like to start a Workflow to be sent to the proper person to accept / deny the change.
    In this code I would also run XK05 in the background (BAPI) to block the vendor for purchasing as well.
    I have a question about authorizations, is it possible, that when Vendor is in the Workflow, transactions XK05 and FK08 are not possible to be run at all except the Workflow person?
    I cannot find any user exit / BADI in FK08 ...
    Thank you

    try to enque vendor with fm ENQUEUE_E_TABLE for tables lfa1, lfb1 and lfm1
    from WF-user
    A.

  • Message no. F2042 - Vendor blocked

    SAP Gurus
    While changing the vendor ( XK02), getting the error massage - Message no. F2042 - that the vendor has been blocked by the user " 49EFD47882F86D26E100000022E2E108"
    This is not a user number still searched for an entry in table BUT000.
    something may be wrong on partner function side or business partner side.
    please help !
    sachin

    SAP Gurus
    While changing the vendor ( XK02), getting the error massage - Message no. F2042 - that the vendor has been blocked by the user " 49EFD47882F86D26E100000022E2E108"
    This is not a user number still searched for an entry in table BUT000.
    I can not see a lock on this record in SM12, the user (49EFD47882F86D26E100000022E2E108) in the message is not a user that is found in SU01D.
    I do not see a lock on the vendor too 
    Something may be wrong on partner function side or business partner side.
    please help !
    sachin

Maybe you are looking for