BAPI to block  a customer on KNB1-SPERR

Hi Experts,
I have a requirement to block a customer based on his credit limit check..etc, which would finally leads to blcok or unblock a customer at company code level i.e the filed in KNB1-SPERR.
Currently i am using a call transaction 'XD02' to achieve the same which i want to do that using BAPIs. Couls some one help me with this please.
Thanks
Dany

Hi,
You are not very clear on what you are looking for. If you have set the configuration as such then the BP is automatically created when the customer is created. The complete BP set up and configuration can be found in
Note 956054 - BP_CVI Customer-vendor integration as of ERP2005 (ECC600)
If your customers have already been set up then you can create Business Partners by using the synchronization cockpit
For more information on using the Synchronization Cockpit, see the SAP Library  under SAP ERP Central Component -> Cross-Application Components -> Master Data Synchronization -> Synchronization Cockpit
You can only create BP's here by range or individually.  There is the T-Code FLBPD1 to create BP manually.
Do a trial run first on your test system and see what BP are showing errors (Check this in MDS_PPO2)
Further you could use an LSMW but bear in mind that you will not have the link between the BP and the Customer. This needs to be established separately. SAP has a program for that to create the customer link. (I recommend to do everything as automated as possible)
Hope this helps
Regards,
Richard

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

  • 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

  • BAPI to Block/Cancel Purchase order

    hello everybody,
    can any one tell me if there is a BAPI to block Purchase order at item level. or if there is a BAPI to cancel a Purchase order.
    Tx .
    Regards
    Swanand

    Hello Swanand,
    You might want to have a look at BAPI_PO_RESET_RELEASE. This BAPI is documented well enough for you to decide whether this is suitable for your case.
    If this helps, please reward points and mark the topic as answered.
    Regards,
    Anand Mandalika.

  • 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

  • Is there any standard BAPI available to vendor , customer and G/L ?

    Hi all,
    any standard BAPI available to vendor , customer and G/L? I found BAPI_CUSTOMER_CREATE and BAPI_VENDOR_CREATE but when i traying to execute , then control directly taking to XD01 and XK01 initial screen's .i need to create vendor and customer master data using BAPI(data will come from legacy system).
    Other than these , is there any standard  BAPI available .Pl tell me
    Regard's,
    Pratap.

    Hello Pratap
    For customer the following BAPI is available:
    BAPI_CUSTOMER_CREATEFROMDATA1
    "This fm uses a reference customer as template for the new customer.
    " Using this BAPI you cannot create a new customer from scratch
    Regards
      Uwe

  • 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

  • Required a BAPI for Knocking-off customer items using F-32

    Hi...
    Can any one let me know, Is there any BAPI to post the customer cleared items from J2EE to SAP.
    Or Is it correct to create BDC for resolving the above issue.
    Regards,
    Swathi.

    Hi Swathi,
    Here is my understanding and suggested solution
    1. Are you trying to post payment in SAP, if so then you might as well use the T code F-28 where you will received the payment and simltanously clear the document.
    2. if the point 1 is not right in your case  then you need to think first how will the business would like to upload the payment entry. Becuase as part of normal process business have to upload the payment entry into SAP unless they are trying to post it to a intermidate GL account. If business upload the payment entry then its simple you can just use T code F-28 where you can receive and clear the document togather.
    If you are agreement with wnat I mentioned above then use T code F-28.
    F-32 is used to Clear off balances against two or more line items. But before you use this be sure of the Functional objective.
    Regards
    Paul

  • Table/BAPI to get the customer overdueand balance amounts

    Hi Gurus,,
    Can some one help me in finding the Table/BAPI to get the customer overdueand balance amounts in a period of time.
    Thanks And Regards,
    Abhi....

    Hi Eli,
    Thanks for the answer, but my problem is actually related to Credit Control Management, where we define the Credit Limits and Risk Catagories.
    Again, I wanted to know the table/BAPI where I can get the information about the Overdue Amonut (the pending amount that was supposed to be paid by Customer in a fixed period) and the total amount : Outstanding Amount
    Thanks In Advance..
    Abhi...

  • 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

  • Blocking a customer using class method CMD_EI_API= MAINTAIN_DIRECT_INPUT

    Hello Experts!
    I am using the method CMD_EI_API=>MAINTAIN_DIRECT_INPUT to block a customer when it fails export compliance checks. It only works when the user creating an order has privileges to block the customer, which is usually not the case.
    I was hoping that since this runs as part of creating an order, the system would take over to block the customer and not check the user's privileges.
    Does anyone know any setting in the structures passed in where the block will take place as part of an SAP process and not under the user's role/privileges? I'm currently setting the structure element CMDS_EI_SALES_DATA-LIFSD to 'ZC' which is our custom block setting, and when the customer service rep has privileges to block the customer it works, when they don't it should still work, but it doesn't and the message returned is: You are not authorized to use Transaction XD02.
    Thanks,
    Scott

    Dear Ashok,
    possibly structure CMDS_EI_TAX_IND_KEY
    Greetings
    Winfried

  • 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

  • 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

  • How to block a customer so that deliveru cannot be created

    Gurus,
    Need a standard solution on how to block a customer so that the delivery cannot be created

    Dear Ansh:
    I test with both options if the sales order have the same customer in sold to and ship to, I blocked sold to, but when I enter a different ship, I blocked only ship to and it works fine for both scenaries.
    Please check the screen for both scenaries.
    a) Sold to blocked.
    Sold to blocked:
    Please check it and revert.
    Antonio Martinez

  • Blocking a customer

    There are customers at the company's SAP database which are created twice. I want to block those customers against giving orders by VA05 or VA06. With the customers' codes I can still give orders on SAP and a yellow warning for VD06 appears. Delivery or billing is not possible but order is. How can I block a customer from giving order?

    Hi Yasar,
    You Use user exit
    USEREXIT_SAVE_DOCUMENT_PREPARE
    With the ABAPer helep, you put logic when you are going to create a Sales order with Blocked or Deleted Customer the system need to give error message and should not allow to save the Sales order then only you will get error massage otherwise as per standard it will give only warning massage.
    I hope it will help you,please reward me
    Regards,
    Murali.

Maybe you are looking for

  • How to connect apple tv to my iPad

    Can some one help me to connect my iPad to my apple TV?

  • Questionnaire not in HTML mode (t-code BBP_EVAL_SURVEY

    Hi Expert, I use SRM 7.0 I have question for mode HTML in Questionnaire (t-code BBP_EVAL_SURVEY). I have case, my recipient cannot access Questionnaire in HTML mode, what should i do? Any setting for HTML/not HTML mode in Questionnaire? Need your res

  • How to stop the video buffering when video is paused

    Hi I am developing the video player with custom video controls and I want to stop the video buffering when my video is paused. As sson as I play the video the buffering starts from the last bufferring point. can any one please help me for doing this

  • Upgrading from PowerPC G4 to Mac Mini

    my startup disk has run out of space and I don't think I can add more the 30Gb, i'm concidering the mac mini 2.0GHz Intel Core 2 Duo 1GB memory 120GB hard drive and had some questions. I wanted to know If Illustrator 10, photoshop 7, after effect 5.5

  • Organize the image and tones everything in IPHONE

    How do I arrange and organize the image and tones everything in a file assigned to him ?? Example: Family photos in a special file Photos friends in a special file Movies friends in a special file To now I can not do this thing in the iPhones as I ca