Vendor Blocking - XK01

Hi,
  We have the following workflow:
   1.  Vendor is created using XK01
   2.  Vendor is blocked for Selected Company Code(posting block) and Selected
        Purchasing Org. using a BADI.
   3.  Workflow is triggered (LFM1 object) and the vendor is to be unblocked by the approver.
   I have created a subtype for LFM1 object which calls the XK05 event so that the approver can unblock the vendor.
  The problem I am facing is that the company code is not part of the LFM1 object and so the approver is not getting the option of unblocking the vendor posting block.
   Appreciate anyone's response if they have faced a similar problem and if so how they were able to solve the same.  This is really urgent!!
Thanks & Regards,
Aravinda M.

Hi,
I do not have too much know-how in XK01 but,
the problem that your new parameter is not filled as the standard does not fill it, you have to do it on your own, somewhere you have to give company code to your container:
I think you have following options:
1. SWE2 you add your paramater - here is the issue to find out which company code is involved, here is the question how you find the appopriate company code
2. look for exit/badi/... to trigger your own event by filling the parameter
You may look in XK01 for an exit/badi/BTE where you can trigger your workflow so that you fill the parameter -> this would be the easiest one.
XK01 -> SAPMF02K -> if you look for OPEN_FI_PERFORM you will find 2 bte-s
'OPEN_FI_PERFORM_00001421_E'
'OPEN_FI_PERFORM_00001440_E'
both of them include LFB1 and LVM1 -> LFB1 still includes company code what you need and LFM1 is the object...
Here you set the container values so that you fill LFB1 + company code parameter then SWE_EVENT_CREATE (or SAP_WAPI...).
Of course you need to check wheter your BTE really is called during your transaction.
3. Modify standard:
If you look at the note 134604 you find the place where event is created:
include MF02KFMC and FORM CALL_SWE_EVENT_CREATE.
Than click on where-used-list button you will get: SAPLWR11 and
SAPMF02K for example in FORM WF_BLOCKED_PURCHASING_EBENE the system sets some container values in the following way:     
SWC_SET_ELEMENT KRED_CONTAINER 'VendorSubRange'   
"Name des Param. im Workflow XLFM2-LTSNR.
here you can put your company code as well...
Of course SAP does not recommend to modify standard...
If I were you I would use solution 2.
Regards
Tibor

Similar Messages

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

  • How  to make the search term in Vendor master (XK01) as List box

    Hi,
    I got the requirement to make the search term in Vendor master (XK01) as List box. Is there any way to reach this requirement.
    Thanks in advance
    Suman

    Hi
    U should change the std dynpro
    Max

  • 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

  • Vendor Master (XK01) Screen Exit

    Hi,
    Can you please help me how to add extra screen fields to standard screen i.e.,vendor master (XK01) screen.
    Is there any screen exit for XK01 ? OR
    Is there any BADI'S for XK01 screen exit ?
    Bye
    Praveen.

    I am looking for a way to use the Vendor Maintenance Program SAPMF02K (XK01/XK02/XK03) to update custom LFM2 fields.
    Since there are multiple LFM2 plant(WERKS) Records for a Vendor/Purchasing Org, How can the screen be configured to narrow in on the desired LFM2 record to update? 
    Goal-Have the additional field appear on the SAPMF02K vendor plant purchasing data screen (330) or as separate button on the alternative data plant screen (341).
    Presently I can prompt for the plant and update the existing record, however this is not useful in view mode as the plant field is read only. It also does not look/feel like SAP's XK0x transactions.
    Following SAP Note 580266 I was able to use VENDOR_ADD_DATA and VENDOR_ADD_DATA_CS use the custom screen.

  • Termination while creating vendor through XK01 IS-Retail

    Hi All,
    While creating vendor through XK01 ....update is getting terminated.
    When I checked the SM13 i got this error.
    Update was terminated
    System ID....   RDP
    Client.......   510
    User.....   PRASH
    Transaction..   XK01
    Update key...   4993DEF56A574020E1000000AC19005E
    Generated....   12.02.2009, 19:22:54
    Completed....   12.02.2009, 19:22:55
    Error Info...   B2 050: Change pointer ID already exists
    Please suggest.
    Regards,
    Prashant

    Hai,
    Please go through the link below, and analyse according to that.
    Also post the dumps or system logs if any.
    http://help.sap.com/saphelp_nw04/helpdata/en/e5/de874735cd11d3acb00000e83539c3/frameset.htm
    Regards,
    Yoganand.V

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

  • Vendor Creation XK01-Error

    Hi Friends,
    I am unable to create vendor in XK01 in R/3. The error message is "No authorization to create general data". Please help..
    Regards,
    Ved

    Hi Ved,
    This is an APO forum. You need to post issues related to R/3 in the respective forums.
    Anyways, as soon as you get this error message, go to transaction SU53 and take a screenshot of it and provide it to the team handling authorizations, they will add the necessary authorizations to your user.
    Regards,
    Ashok

  • Is it possible to maintain the multiple address in the Vendor Master (XK01)

    SCENARIO:
    Vendor ( Ex.VEN) Address maintained in the SAP Vendor Master is the Corporate Address (M).
    But I want to maintain delivery address as Address (X) and Remit Address as Address (Y) and
    Billing address (Address on Invoice/Bill) as Address (Z).
    Is it possible to maintain as mentioned in SAP Vendor Master (XK01)?
    Please suggest, How can we go head and release the PO in the above scenario?
    Regards,
    SB

    This can be easily acheived by Partner Functions
    1.VN Vendor
    2.SP  Sold to party
    3.SH Ship to Party
    4.IP Invoicing Party
    5.Delivery address
    Please refer below link from help.sap.com
    Partner Roles in Purchasing
    http://help.sap.com/saphelp_470/helpdata/en/a1/7b373944f7a97ce10000000a114084/content.htm
    regards,
    Lalita

  • 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

  • Default value in field when creating a new vendor (Transaction: XK01)

    Hi, everybody!
    Is it possible to set a default value to a field when creating a new vendor (transaction: XK01)?
    We need the field "Payment terms" in "Payment transactions accounting" tab and field "Terms of payment" in "Purchasing data" tab to be filled with a default value when creating a new vendor.
    Thanks in advance
    Best regards,
    J Madariaga

    You can try creating a transaction varient fron SHD0 for this which will default the requiredd values .
    -Hari.

  • Additonal address fields for additional vendors in XK01

    Hi All,
    There is a requirement wherein we need to incorporate some additional address fields while creating a vendor in XK01 or FK01.
    Is there any way in SAP wherein we can have different views for finance and purchase?
    Also I came to know that in order to add fields to XK01 we can use VENDOR_ADD_DATA_CS BADI. But I work in 4.6C version and this does not exist.
    Please help.
    Regards,
    Namrata

    Hi,
    Am also facing the version problem 4.6C. Have you find any solution for this. Please let me know.
    Thanks & Regards,
    Rao

Maybe you are looking for

  • Icloud 4 update & outlook contacts

    I updated to icloud 4 over the weekend. i lost all previously syncing/working calendars and contacts on OUtlook i have reinstalled.  i have tried unchecking and rechecking the sync on icloud control panel. Do they have to be moved from my itunes acco

  • How do i play movies to my tv via My iphone4s

    Any help would be much appreciated.......people in general are giving different responses.......many thanks

  • No sound on movies once burned to disk

    I have no idea if this is the correct place to ask my questions, but hopefully someone can help me. I made an iDVD project consisting of three movies imported from my camera and a slide show. I can view all three movies perfectly when I open from the

  • Transferring to mac...

    Ok I got a new macbook for christmas.. yay but I am trying to use my iphone to transfer my pics and music to my mac. is that possible? if so how? because i dont know how to put the music from my iphone onto itunes and i dont know how to put pics onto

  • How to make my 4 articles (2 columns) have equal height?

    Please take a look at my live example: http://jsfiddle.net/mdermez32/vTynd/ If you see my link you'll notice that the cells on the right are shorter than the left.. what is wrong in my code? how can I make their height equal? HTML: <table class="art-