Sales of block\unblock customer

Hi all,
    I am doing workflow to " notify sales of block/unblock customer ". The transactions to be used are fd05 or xd05. Can anyone pls suggest me the related BOR  to trigger the workflow.
Points will be awarded,
thanks,
praveena.

Put on the event trace via transaction SWELS. Then perform the action you need to in FD05 or XD05. If an event is triggered it is listed in the event trace. You can read it out via transaction SWEL. In the event trace also the related BO is mentioned. Try if this solves your problem.
By the way: probably you have to do some programming to incoporate the change documents of the BO of the customer. The BO will be BUS1006, but likely the event triggered is BUS1006-CHANGED, which will also be triggered by other changes in the customer (e.g. the name or the address). Look in table CDHDR and CDPOS to find the changedocuments.
Good luck!
Kind regards,
Joost van Poppel
Edited by: Joost van Poppel on Jan 22, 2008 10:00 AM

Similar Messages

  • Block/unblock customer report

    hi all,
    plz solve my problm in block/unblock customer reports.
    thanks

    Hi Rajiv,
    Is it that you want to knwo how to Block and unblock customer if yes the T-Code is VD05.
    Regards
    Suvin

  • Sales order block in customer master

    Hi  Gurus,
    There is one requiremnet from client.
    _Create one additional Sales Order Block which is maintained in the customer master and prevents order creation for these customers._
    Can any one tell me where is sales order block in customer master.
    Regards,
    Ajoy

    Hi,
    You can block the customer centrally or for the required sales areas using XD05. this is one option.
    As i understand additional block at sales order for this customer means you can set the customer credit limit as say 1 $ assuming any of the material that is sold is above that, the system does the credit check and blocks the order. How do you want to deal with this block you can think in terms of credit management settings. This is config.
    But if you want to set a block at the sales order dynamically for the required some customers, then you need to implement an user exit like, Userexit_save_document. the authorised users can go in VA02 and remove the block. But to identify in the user exit logic which customer you want to block you need to maintain some master at customer master level.
    Anyways let me know if this idea helps you so that i can guide furhter.
    regards
    sadhu kishore

  • 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

  • Block/unblock customer

    Hi Gurus,
    can any body tell me
    How we can block the Customer?
    How we can Unblock The Customer?
    wats the functionality of that?
    and where the data will be stored?
    thanks in advance

    Dear Dhanush
    To block / unblock the customer  - VD05 or XD05
    In Table KNA1, you can find the following blocks
    - AUFSD  for Order block
    - LIFSD  for Delivery block
    - FAKSD  for Billing block
    thanks
    G. Lakshmipathi

  • 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

  • Block the customer user EXIT

    dear sap gurus
    is there any user exit can enable us to block the customer (XD05)  when using a specific document type
    EXAMPLE:When using a document type X trigger transaction (XD05)

    Hi,
    Donot use call transaction in any of the user exits or badis
    I will give you an idea but not the source code. Find a suitable exit or badi for transaction F-02 or FBZG ( as per your requirement ) . In the exit use class CMD_EI_API method MAINTAIN_BAPI and populate the values as required
    for blocking/unblocking customer. Thiswill only get executed when a commit work is invoked by the transaction.

  • Billing block for customer for sales document type OR

    Hi
    I want to block a customer for a particular sales document type OR
    How to do it?
    Regards

    Hi Nikhil
    There is a field called "Check Partner Auth.", but it is necessary to create the order from a contract. This field is in sales document customizing VOV8.
    SAP Documentation:
    Check partner authorizations
    This check determines whether a partner is authorized to release against a contract.
    Procedure
    Here you can specify whether the check is to be performed against the partners in the contract or the partners in the customer hierarchy. If you do not want the check to be performed, leave the field blank.
    When you create a release order for a contract, the system determines whether a partner is authorized to release against the contract. The check is performed at header level. Depending on the rule you enter in this field, the system checks against one of the following:
    Partners in the contract
    If the partner has the partner function AG (sold-to party) or AA (sold-to party authorized to release) in the contract, the system accepts the partner as the sold-to party for the release order.
    Partners in the hierarchy
    If the sold-to party of the contract is at a higher level in the customer hierarchy to the partner who wants to release against the contract, the system accepts the partner as the sold-to party for the release order.
    Note
    If you create a contract with reference to another contract, the system does not run a check and it copies all the partners created in the target contract. If you do not want it to do this, use copying control in Customizing to change it.
    Regards.
    Mikel

  • Workflow - Customer Block/Unblock

    Hi Experts,
    We have done workflow settings as per the link 
    https://wiki.sdn.sap.com/wiki/display/ABAP/Workflow%20for%20Customer%20Blocking%20and%20UnBlocking
    for Customer Block/Unblock. 
    TASK 1 - customer block after create/change - we assined object type ZKNA1 - Method Block,
    In our Block method code is as follows
    INCLUDE <OBJECT>.
    BEGIN_DATA OBJECT. " Do not change.. DATA is generated
    DATA:
      BEGIN OF KEY,                                     
          CUSTOMERNO LIKE KNA1-KUNNR,                   
      END OF KEY.                                       
    END_DATA OBJECT. " Do not change.. DATA is generated
    BEGIN_METHOD BLOCK1 CHANGING CONTAINER.  
    update kna1 set sperr = 'X' where kunnr = object-key-customerno. 
    END_METHOD.                                                      
    We are unable to get the value of the  object-key-customerno in where condition ,
    If we dont use where condition all customers are getting blocked.
    So how can we get the customer number which is created/changed into my block method?
    Please help us.
    Rajeswari

    Hi ,
    I think you can use user-exit to block the customer .
    function module : EXIT_SAPMF02D_001
    DATA : lv_kna1 type char30 value '(SAPMF02D)KNA1' .
            FIELD-SYMBOLS : <fs_xkna1> type kna1 .
            ASSIGN : (lv_kna1) TO <fs_xkna1> .
            <fs_xkna1>-AUFSD = '01' .
            <fs_xkna1>-LIFSD = '01' .
            <fs_xkna1>-FAKSD = '01' .
    Above abap code is trying to input 01 value in Customer View in order to block the customer , you modify the code to suit your requirement ...
    Hope it useful for you .
    Best Regrads,
    Carlos
    Edited by: Carlos Zhang on Oct 13, 2010 6:38 AM

  • Billing Block in Customer Master does not default into Sales Order (VA01)

    I put a billing block into the customer master but it is not defaulting the billing block when I create a new sales order for that customer.  Do you have any tips please for what could be wrong?

    Hi,
    The billing block you set in customer master or by XD05 is not meant for to flow in sales order(flow to va01).
    That is meant for block customer for sales/delivery/billing
    If you want this block default in va01 then you can set it for document type by VOV8
    Kapil

  • Incoming orders in COPA not working if Sales Order blocked for Credit Check

    Hi all,
    We need to build a report showing all incoming sales order by entry date and/or change date (change of values or quantities later on). COPA allows to do this, but the problem is that COPA line item table is only updated if the sales order is released from credit check (VKM3). I am looking for a solution to be able to record sales orders in COPA even if they are still blocked for credit check. By doing that we will be able to report all sales orders entered from COPA and provide basis for commissions calculation to the business.
    I have investigated possible COPA enhancements like COPA0005 but it doesn't seem to be used at the time of sales order save.
    Thanks.

    Hello ,
    Thanks for the reply
    As you said , the credit check in the service order is information message "Credit check (maximum percentage for ope
    exceeded)" .
    If you enter and come out this message then one more message will come , i.e., "The business transaction can not be carried out" detail message -  System status CNOK is active (ORD XXXXXXX).
    with the above message , system will not allow to do the Service order release.
    In this particular case , we have done the VKM1 for the sales order to unblock the order from credit check . But again system is checking the credit check at service order (created w.r.t sales order) . we are not able to control this .
    we also suggested the solution to the customer , saying removal of credit check for service orders . But customer requires credit check to happen at both the documents.

  • Sales document  block

    hi all,  i  want  to  know   in  how  many   ways  a  sales    doc  can be blocked.
    1.)how  can   be a  sales   order  be  blocked  or  delivery doc or  billing doc can be blocked.
    2.)and  on what  basis  are they  blocked  in  real time  scenarios.
    so  if you could   tell me 
    3)how   to  do  and   where  is it   done  in different  ways  in  the config. screen also  where   could be the  blocked  documents , be seen. and   are there  any  specific  tables    related  to it. 
    the  only way  i know   to block  a sales   doc  is   during  credit   groups  in credit management  functions .  can  you  tell me  a  few  more.
    thanks
    wil point  awards  for  sure. thankyou , s .roy

    Hi,
    There are different ways by which you can block Sales Order:
    1.Define reasons for rejection where you can select what you want
    to block/reject
    Sales and Distribution->Sales->Sales Document Item
    2.Define an incompletion procedure that allows you as well to decide
    what next activities you want to block.The fact is that,
    the system automatically blocks/unblocks the order depending upon the level of completion.
    Sales and Distribution->Basic Functions->Log of Incomplete Items
    3.Define a delivery block to block a sales at the delivery level
    Logistic Execution->Shipping->Deliveries->Define reasons for blocking in
    shipping
    4.Define a billing block to block sales at the invoicing stage
    Sales and Distribution->Billing->Billing Documents->Define blocking reason
    for billing
    5. Credit management is yet another way to block sales. When the customer
    exceeded his credit-limit, the system can block the order unless the
    Accounting department has either released the customer or this specific
    sales order.
    Next to the customizable options there is the user-exit.
    User exit MV45AFZZ, or MV45ZFZB.
    Regards,
    Sophia Xavier

  • Sales Orders Blocked For Delivery

    Hi,
    Do we have T-Code for Sales Orders Blocked For Delivery other than VA14L,Because Customer name is not there in VA14L list.
    Thanks,
    NAG

    Hi naga sudhir
    Go to T-code--VA14L
    In that  go to menu-SettingsLayout--Current/Choose
    In this layout u can choose fields what u want to appear in that row.
    Any quries revert back to me
    Regards
    Srinivas.

  • Credit block the customer with no transactions

    I have a requirement i.e Credit Block the customer with no transaction for past 6 months
    how can this be achieved

    Hi
    You need to decide first which transaction to consider i.e past six month sale order, delivery, billing etc.
    If you want to consider the billing document for the sales history check -  then take the help of ABAPer & write a logic in below user exit , while creating a sale order system should check if any bililng doc exist within last six month, if yes, there should not be a block if no, then set a block. 
    LVKMPFZ1: USER_CREDIT_CHECK1
    To activate this block, go to OVA8, tick user1.
    thanks

  • Sales Order Blocked for MRP

    Dear All
    i hav a scenario for make to order where sales order created should default block for MRP,only authorized person should release the block
    Please suggest how to do this
    Regards

    Hi Sugunan,
    You can use default delivery blocks for your requirement.
    IMG - Sales and Distribution - Basic Functions - Availability Check and Transfer of Requirements - Transfer of Requirements - Block Quantity Confirmation In Delivery Blocks - "Deliveries: Blocking Reasons/Criteria".
    Here you have the option of creating new entries. For a particular delivery block you have multiple controls as under:
    Sales order block - Indicates whether the system automatically blocks sales documents for customers who are blocked for delivery in the customer master.
    Confirmation block - With this you can control in addition to blocking delivery, also block the confirmation of order quantities after an availability check during sales order processing. So MRP won't be affected because no requirements will be transferred to MRP even when the sales order is saved.
    Printing block - Indicates whether the system automatically blocks output for sales documents that are blocked for delivery.
    Delivery due list block - The system does not take a sales document with this block applied into account when creating a delivery due list. You can only create deliveries manually for sales documents with this type of block.
    Picking block - block for picking goods in delivery.
    Goods issue block - Will not allow goods issue if the block is active.
    1. I would suggest create a new delivery block with a suitable description & only tick on "conf."
    2. Go to VOV8 - select the document type - assign the delivery block.
    Now whenever you will create a sales order with the specific document type, the system will propose the delivery block by default for all customers. If you check at the item level - schedule lines, the system will do the availability check. When you save the sales order, the block will function & the system will not transfer the requirements to MRP. Even if you run the MRP using MD50, the system will not generate the planned order.
    If you assign the reason for rejection to the sales order item, then the system will show the status of that item as complete. If there is only 1 item in the sales order, then the system will change the status of the whole sales order as complete which is not recommended.
    With best regards,
    Allabaqsh G. Patil.

Maybe you are looking for