Set Posting block and Purchasing block automatically upon vendor creation

Hi.
I have a requirement to automatically set the purchasing block and posting block to 'X' upon creation of vendor master. I have seen a user exit to do this but then I can't seem to find a way to set the SPERM field to 'X'.
Please help. THanks.

Transaction FIBF start the event manager.
on menu: environment->info system (P/S) and then execute: it will be displayed all possible events.
between event 1410 and 1460, you will find all events about vendor.
click on documentation, it will tell you when the event is reached and what you can do.
After you have choose an event, you must create a function module, copying it from the sample function module of the event.
Once you have created your own funcion module, you should go to:
FIBF->SETTINGS->P/S MODULES.
This part of customization is not very clear to me, i've never done by myself. Anyway, here you associate at the businness event the function module you have created.
Sorry for not beeing exaustive, hope anyway could be help you.
Regards
Andrea

Similar Messages

  • Reg Price block and Qty block in MM Invoice docs Tolerence Keys adjustment

    Hi Friends,
    Related to MM Invoice documents gets blocked with Price block and Qty block,based on this FI doc also gets blocked with Payment block indicator"R".As per Std SAP we can remove these blocks thru MRBR. Right now my users are asking not required to remove these blocks with MRBR Tcode.
    So i checked the Tolerence Limits defined for the co code and Tolerence keys.
    As per my understanding Tolerence Keys "PP-Price variance",  "DQ-Exceed amount: quantity variance" need to adjust with upper llimits and Lower Limits.
    here i can see Upper and Lower check limit Tolerance limit 5.00%  for  Tolerence Key "PP-Price variance"
    Tolerence limit 0.01%  for  Tolerence key "DQ-Exceed amount: quantity :quantity variance         
    Instead of changing the Tolerence Limits can i select the DO NOT CHECK Radio button for the bothe Price and Qty block.
    If i selected the DO NOT check button what will happen,how it works.
    How i can maintain the Tolerence keys,is there any other Tolerence keys also need to maintain.  
    Please suggest me with your valuable inputs.  
    Brgds,
    RK
    Edited by: RK.SAP on Nov 17, 2010 7:02 AM

    hi,
    If you do not want to check the Invoice for tolerance keys like quantity variance and price varaince then tick on don't check .In this case system will not block any invoice and invoice will post Automatically without any error.
    Please check other tolerance keys in SPRO: OMR6
    One more blocking is defined in the vendor master also under payment transactions accounting screen.There you are defining the tolerance group for Invoice Verification.
    Regards,
    Amit

  • Blocking and non-blocking workflows

    How to specify a workflow to be blocking and non-blocking?
    Regards,
    Miguel

    When registering the custom workflow from Application Server Control (Enterprise Manager Web Site), you will see an option to specify whether the workflow is blocking:
    Application Server Control > Content > Custom Workflows
    Register Workflow
    * Name  
      Description  
    * Launch Event  
    * Cancel Event  
      Blocking
      Approvers Required

  • Both blocking and non-blocking io

    I'm wondering if this scenario is possible with the new nio classes:
    I have a caching server. Clients connect to the server and occasionally send requests for objects. I'd like to use the nio non-blocking APIs to detect that there is a read pending on a socket. However, once I detect this, I'd like to go into a blocking loop to process the request. After this done, I'd like to go back into non-blocking mode and wait for another request.
    It seems like this should be possible but the (woefully lacking) documentation isn't clear. Neither is the source code, apparently.
    I've got a test case working but I was hoping someone could validate for me that this is support behavior. It's done by waiting for the isReadable() key then calling socket.keyFor(selector).cancel(); and then socket.configureBlocking(true); The reads are then done in blocking mode until the request is done and then the socket is registered with the selector again.
    Thanks for any help on this.

    I have to ask why you would want to mix blocking and non-blocking I/O.
    The only reason you would (IMHO) want to use non-blocking I/O is in a highly concurrent system, to increase the maximum load a system can handle.
    The main reason you would want to use blocking I/O rather than non-blocking I/O would be to minimise the latency for a single request.
    Unfortunately, the two don't seem to mix together very well... by switching a thread to blocking, you decrease the latency for a single request, but increase latency for the other requests due to reduced resources available. Similarly, by switching to blocking, you are requiring a dedicated thread for that request, so limiting the number of concurrent requests that can be serviced.
    That is, it seems to me that using both blocking and non-blocking I/O introduces the weaknesses of both into the system, without gaining much of the benefits of either.
    The above aside, the method you gave looks like it would work as you expect, depending on what you are doing with thread creation/delegation. Did your test case work as expected?

  • Block Plan Order and Purchase Requisition in Sales order creation.

    Please tell me, how to block Plan Order and Purchase Requisition while creating Sales Order. When we create a sales order, plan order and purchase requisitions are also created by their own, please tell me, how can we block them while creating sales order. Please do let me know as soon as possible.

    hi,
    generally thy wil not be created automatically.
    may be som configuration or exit is used in ur system.
    check in debugging mode while saving ur salesorder.

  • How to exclude "Blocked for Purchase" error message in PO creation for particular Order Type

    In Article master some times we used to set Site-Specific Article Status = '01'. (MARC-MMSTA)
    01
    Blocked for Purchase
    02
    Blocked for Purchase/Sale
    My requirement is that when Creating PO in ME21N for a particular Order Type (Purchasing). This check need to be removed.
    Now if we try creating the PO we will be getting the below error message.
    Status "Blocked for Purchase" of article XXXXXX does not allow external procurement.
    Is there any exit or BADI where i can put logic to remove this check.

    Hi ,
    You can use BADI ME_PROCESS_PO_CUST or customer exist EXIT_SAPMM06E_013
    Regards,
    Pravin

  • Max-width Ignored on fo:block and fo:block-container

    I am writing an XSLT template using XSL-FO and I have an fo:block for which I want to limit the width. I set the property max-width to "3in" on the block, and that did nothing. Then I put the block into an fo:block-container and set the max-width property of it to "3in", and this was also ignored.
    Is this a bug in the rendering engine or am I doing something wrong?
    The block is in an fo:static-content.
    Thanks,
    Kurz

    I'm not exactly sure I get what you intention is, but here are a few things to consider maybe.
    max width will not make the image expand, just keep it from being any wider than the max width.
    images by default display as in line. To make a width property work reliably, you will need to set it to block:
    div#secondaries ol.secondary li div.item-img img {
    display: block;
    width: 100%;
    image width as set above will be affected by its containers. (If you meant to limit the width of the image rather  than to resize it, the same thing should still be true of a max-width  on the image, though cross-browser support will be unreliable.)
    The relevant container for the case above is:
    div#secondaries ol.secondary li {
    font-size: 1.1em;
    width: 30%;
    margin-top: 0em;
    margin-bottom: 1.5em;
    margin-left: 0em;
    So do you really mean it to be 30% or did you mean 100%.

  • Problem in Execute query on non-database block and database block together

    Hi All,
    In my form,i have
    1. First block is Non-database block with one non-database item.
    2. Second and third blocks are database blocks.
    Now the problem is that i want to perform execute-query for all the blocks.
    If the cursor is on the non-database item of 1st block and i clicks on the "Enter-query" then i am getting message " This function can not be performed here".
    If i click on the item of the database block and then clicks on the "Enter-query" and then "execute-query" it's working fine.
    But i don't want to do in this way.
    My cursor will be on the First block only and then it should perform execute-query.
    I am using this non-database item to copy value of this item to the item of the database block item.
    I think i make you understand about my problem.
    I am using forms 10g on Window xp.
    Please help me.

    Hi!
    Simply create a enter-query trigger on the non-database-block:
    begin
    go_block ( 'database_block' );
    enter_query;
    end;If your search criteria is in the non-database-item in the first block,
    you actually do not need the enter_query build-in.
    Just create a execute-query trigger on the first block like:
    begin
    go_block ( 'database_block' );
    execute_query;
    go_item ( :System.trigger_item );
    end;And in a pre-query trigger on the database-block copy the
    value of your seach item into the item you want to search for.
    Regards

  • Release Invoice Price Block and Quantity Block

    Hi,
    How can I release the Invoice Price and Quantity block at the same time? I need to create a Step in a work flow to release all blocks of a two-way match block invoice.
    I've already tried to have a BDC for transaction MRBR but it is not working.
    Can anyone help?

    Hi Simi,
    This type of behaviour is documented in SAP note 394370:
    "A document generated with MIRO was blocked for payment.You cancel the
    payment block from the vendor line item in the FI follow-up
    document.Transaction MRBR then displays the invoice document
    nevertheless. Why?
    The invoice document itself cannot be changed by changes to the
    follow-up documents; this is not programmed.Transaction MRBR therefore
    continues to display the document as blocked. If this document is
    released from an MM point of view, the FI follow-up document remains
    released.Thus the damage caused is restricted to unnecessary work by the
    user.
    SAP recommends that you only use the release transactions for releasing
    invoices."
    MRBR generates its list of blocked invoices from table RBKP_BLOCKED and is the
    only transaction which deletes entries from this table thats why when your report
    calls FB02 to remove the payent block MRBR will still show the invoice as blocked.
    You could code in a pop up message in your report that prevents the user from
    deleting the payment block and to advise using MRBR instead to delete the block.
    Hope this helps,
    Adam.

  • Page up and page down to go to next block and previous block

    hii all
    I want to incorporate a functionality which when the user clicks the page up button the cursor should navigate to the previous block and if i press the page down button the cursor should navigate to the next block
    are there any triggersto do this ??
    plzz help
    thanks
    mandar

    hii
    thanks for ur response
    i have written the code told my james
    i have two blokcs master and details
    i press the page down key to navigate to the details block from the master block..
    after writing the code and executng the form when i press page down key
    the message appears that at last block but the cursor still remains in that block only how do i make the cursor to next block ??
    plzz help
    mandar

  • Could you restrict purchase orders based upon Vendor / Material Group?

    Hey everyone - I've got a general "could this be done" kind of question. 
    We would like to add on to the vendor purchasing view to include "valid" material groups.  This would then have what material groups could be purchased for which company code for that vendor.  Then in the purchase order creation / modification we would like to be able to validate this purchase order against this vendor / company code / material group combination.
    Obviously with enough custom code this could be done.  My question is whether it could be done without out introducing too much custom code - how would you construct such a solution to this problem?
    We are a SAP 4.7 shop.
    Thanks!   Ken Little

    >
    Ken Little wrote:
    > Hey everyone - I've got a general "could this be done" kind of question. 
    >
    > We would like to add on to the vendor purchasing view to include "valid" material groups.  This would then have what material groups could be purchased for which company code for that vendor.  Then in the purchase order creation / modification we would like to be able to validate this purchase order against this vendor / company code / material group combination.
    >
    > Obviously with enough custom code this could be done.  My question is whether it could be done without out introducing too much custom code - how would you construct such a solution to this problem?
    >
    > We are a SAP 4.7 shop.
    >
    > Thanks!   Ken Little
    By include "valid" material groups i think it means you are introducing a new field or some value in already existing field in vendor master.
    1) Now to restrict PO based upon material group a small custom code is needed.
        Use BAdI ME_PROCESS_PO_CUST....here write a code with help of your ABAP person that system will first select the 
        LIFNR (vendor code) entered in the PO...then it will check the same LIFNR in LFM1 table...here it will check the material
        group in the customized field & if found that it is within the list of previous listed material group then it will allow to process
        further or otherwise give a customized error message.
    or
    2) Use the field Group in OMSF...here maintain a common group against the material groups you want to do the purchase cycle.Now ask your BASIS person to use this group in carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group.
    Regards,
    Indranil

  • Co-relation between oracle blocks and OS blocks ??

    how is the database data-block co-related withe the OS data-block ??

    Akshay,<br>
    <br>
    Ca va, merci. ;-)<br>
    In the doc above, we can read "Each operating system has a block size. Oracle requests data in multiples of Oracle data blocks, not operating system blocks.".<br>
    <br>
    Anyway, you can search into Oracle doc, and find DB_BLOCK_SIZE Initialization Parameter : If a database's block size is different from the operating system block size, make the database block size a multiple of the operating system's block size.<br>
    <br>
    Nicolas.

  • Ever since the update to the  IOS7 my ipod will not keep the time. I have reset everything you could reset I have even reset it back to factory settings. I have tried setting the time and date to automatic and manual multiple times but nothing is working.

    Please help!

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             

  • Purchase List Based upon Vendor Category

    Dear Sir,
    For our Excise related requirement , we are required to prepare a Material Purchase Report . The report should display  Material purchased from "Manufacturer"  , "Trader" seprately .
    Sir, my query is that from material purchase record say EKBE etc , how can we seggregate purchases based upon the Vendor category (category mean Manufacturer / Trader)
    Look forward for the kind help please .
    Regards
    B Mittal

    Please check whether vendor master is created based on account group.Please check whether you can get report based on account group
    G.Ganesh Kumar

  • Problem in Automatic employee - vendor creation(PRAA)

    Hi Experts,
    Based on the Reference vendor company code Employee vendor need to be created. For single company code its working fine, But for multiple company code it is taking all the employees and checking employee  company code and reference vendor company code. Any one suggest me how to do for multiple company code.
    Thanks,
    Naveen.

    Hi,
    Issue has been solved with Employee number and company code input by adding company code in further selection....
    Thank You.
    Cheers,
    Naveen.

Maybe you are looking for