Query for credit limit of customers of a particular type

Hi,
We are using SAP B1 2007B PL04 and want to activate credit limit so that whenever a delivery or A/R breaches the credit limit then the document must go for approval. However we want this to be activated only when the customers are having group code say 110 and not for others.
So basically could you all help me with a query which would do the following
1. check whether customer for whom delivery or A/R is being generated belongs to group having croup code 110
2. check if the credit limit set in BP master  for that customer will be breached if the delivery or A/R is made (ie Current A/R or delivery amount when added to current outstanding will exceed the credit limit)
3. if yes then will activate approval procedure and send the document for approval as per approval template
Thanks
regards
Pradipta

hi Gordon
Thanks for the reply
could you please tell me what does this $[$29.0.number]
signify and
secondly can i add WHERE T1.CreditLine - T1.Balance < $[$29.0.number]
and T1.[GroupCode]=122
as i want this query to only run when the customer belong to a particular group
Also please tell me how do i test this query from query manager
Thanks
Regards
Pradipta

Similar Messages

  • Query for Credit Limit Approval Procedure

    Hi experts,
    Need your help with an approval procedure query. There is already the option to launch when the BP's balance exceeds the credit limit by a set dollar amount. What we would like is for the procedure to launch when the balance exceeds an additional 10% of their credit limit.
    Ex: Customer's credit limit = $1,000. We want the approval procedure to kick in when the sales document causes their balance to be >= $1,100. Thanks.

    Adding this to the WHERE clause will include the DocTotal
    T0.Balance + $[$29.0.Number]
    SELECT distinct 'true' FROM OCRD T0 WHERE T0.CardCode = $[OINV.CardCode] AND
    (T0.Balance + $[$29.0.Number]) >= T0.[CreditLine] * 1.1

  • Expiraition date for credit limit

    Hi all,
    can I set an expiration date for customers credit limit?
    Business requirement is as follows:
    In my company we grant the customers their credit limit every quarter. I want to be sure that only a deliberate action could renew the customers credit.

    hi , if every quarter you revise credit limit of the customer, You can define effective dates for credit limit in CREDIT USAGE RULES for a customer, so that when Effective Date To is expired credit limit usage cannot be perfomed for that customer. Hope this could solve your query. please let me know if wrong or right.
    thanks.
    RAM.....

  • Table for credit limit for  risk category for all CCA

    Hi All,
    I want to know in which table I can see default credit limit which is associated to particular  risk category for all  credit control area.
    Regards
    Nidhi

    Hi Nidhi Srivastava,
    Check in SE16
    KNKA -  Customer Master Credit Management
    KNKK -  Customer Master Credit Control Area Data (credit limits)
    Regards
    Pradeep

  • Credit Limit of Customers

    In SAP Business By Design , in a customer account we can see two balances:
    1. Open item Totals in Transaction Currency
    2.Valuated Balance in Company Currency
    Why in some cases the two balances differ ??
    Further for credit limit of Customer the balance reflected under open item totals in transaction currency is considered ??
    Best Regards
    Ritesh Rawat

    Hello Ritesh
    If there are transactions with the currency other than the company currency for a customer, then you will see multiple rows under the Open Item in Transaction Currency with each row showing the consolidated balance by currency.
    System will convert the transaction currency amount into the company currency and Valuated Balance in Company Currency will show the consolidated balance in single currency i.e. company currency.
    If you see any other differences, then there can be technical issue as well. Can you provide more details on the difference here?
    You can configure the Credit Limit Check behavior in the Business configuration activity named  Credit Limit Check. There are 3 options here:
    Check Current Document – This will only consider the values of the current documents. If you configure this, then system will take the open items balance into consideration.
    Check Current Document and Other Open Orders- Current documents and open sales/service orders.
    Check Current Document and Other Open Orders Including Documents "In Preparation"
    Hope this helps.
    Thanks
    Parveen Kumar

  • Is there any way to set a property for all existing Form Fields of a particular type (Che

    In versions of Acrobat prior to version 9, selecting a particular form tool (Textbox, Checkbox), etc. would only display Fields of that particular type in the Acrobat Designer (not LiveCycle).
    If one wanted to change a particular property of all check boxes for example, one would select the Checkbox Tool, Click Edit>Select All>Right Click one of the Checkboxes and Set the Property for all of the Form's Checkboxes.
    Selecting a particular form tool in the Acrobat (not Lifecycle) Designer in version 9 appears to no longer filter the display to that particular form field type. Is there any way to display only 1 particular form field type in or set a particular property for all existing Form Fields of a particular type (Check Box, Text Box, etc.) in Acrobat 9?

    Thanks for the tip..Am aware of this option and have used JavaScript to batch change properties in the past...
    Am looking for a way to replicate the interactive procedure available in previous versions.  Also, want a way to only display certain Form Field types (use this when analyzing forms which I didn't create).

  • How to consolidate group data for credit limit check

    Dear All,
    The question came up here how group data (open items, open orders, etc.) can be consolidated for the credit limit check. Is a hierarchy used or other master data ?
    E.g.: Customer BASF has various subsidiaries. If a customer from the BASF group places an order with us there must be a check regarding open items etc. of all customers belonging to the BASF group.
    Thank you.
    Joachim

    Create credit limit for one BASF customer in FD32.
    Then enter the credit limit for other customers without amount . but in status screen goto  edit-change credit acct
    credit account   - enter the customer number for which credit limit is maintained earlier.
    repeat the same for all basf customers
    by this credit limit of first customer will be shared by group of customers

  • Sales Order Not Checked for Credit Limit

    Most of the time, in our course of business, the customer account and BP/Credit limit are setup prior to the input of any order.
    However, if in the case the customer was setup (BP created in background, but segment/credit limit not assigned yet), and an order was created immediately the order will not be checked for credit.
    We are considering putting a check in the order that it must be checked or it is considered incomplete.
    We have a background job that runs every few hours to assign the BP to the credit segment (we have only one credit segment, in addition to 0000) and give a default credit limit.  But we need to ensure that all orders are checked.
    How are others handling this situation?
    Thanks

    We have already put in place the use of a background job to create the BP/segment with a default credit limit.
    We are hoping to come up with a method that is full proof and not manual.
    Depending on how frequently the job runs and the timing between that and setting up a customer master record and entry of a sales order, there could be a sales order entered before the background job was completed.

  • RFC used to query customer credit limit and current usage

    Hi,
    I have been asked to provide information about a customers credit limit and usage. I can see this information is in table KNKK but I cant find any suitable RFC (needs to be remotely enabled) to access this data.
    Does anyone know where I can access this data?
    Cheers, Paul

    Have you checked fm
    CREDITCONTROL_READ_KNKK
    Its normal fm may be you can write wrapper above this and make it as RFC

  • Authorization for credit limit - risk categoryu200F

    Hi All,
    I would like to control field risk category by authorization.
    I have configure in Field Groups and assign it to user roles using object
    F_KNKA_AEN.
    and below for the authorization objects for credit management:
    1)V_VBUK_FRE
    2)V_KNKK_FRE
    3)F_KNKA_KKB
    4)F_KNKA_MAN
    5)F_KNKA_AEN
    But the fields are still not grey out.
    Is there any other configurations not completed?
    Is there any alternative methods?

    Hi,
    Take the help of basis consultant and give authorization for display onely then it will appear as gray
    Kapil

  • Enterprise Service Required for - Credit Limit Data

    Hi,
    Can any one tell me, is there any Web-Service available to the Credit Limit Details in the FD32 T.Code.
    Thanks,
    Sekhar.J

    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/espackages/credit%2bmanagement
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/espackages/creditManagementEnterprise+Services
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db5a9890-0201-0010-5091-a3c483bbea7d
    Hope these links helps.
    Thanks,
    Parvathy

  • Who does chase pull for credit limit increase for the freedom card

    Trying to increase my Freedom limit I've had the card since April used it heavily payed it off almost in full since then usually after every major purchase I'm wondering if they pull like strictly ex or eq 

    CAPTOOL wrote:
    Yes-Its-Me wrote:
    bigalkescott514 wrote:
    Trying to increase my Freedom limit I've had the card since April used it heavily payed it off almost in full since then usually after every major purchase I'm wondering if they pull like strictly ex or eq Whatever they pulled for your initial application is what they will pull for the CLI..  It all depends on what bureau is pulled for your region.Well, that sucks. They doubled pulled me, EQ and EX. Both times I applied.For CLI, they will only pull one.  Chase will pull EX for most people and during initial application, if they are unsure of the credit profile  they pull another bureau.  Another thing they do also is, if you do the pre-equal on their site you will end up with a double pull if you proceed to apply after seeing it on their site...

  • Delivry/PGI Block for Credit limit

    Hi All,
    As per my client Credit management Requirement we have configured like ........
    For High, Medium and New Risk customer we have configured Automatin credit control at both Credit Group levels 01-Sales Order and 02 - Delivery).
    Now based on this at Sales order creation level it is giving the warrning message with value. once i saved the document and release the Credit block I am able to create the Delivery but it is not showing warrning message and it is not blocking the PGI.
    My question was as per the configuration (Delivery type has assigned for both Credit groups 02 and 03) it will not work at the Delivery creation lavel once i releases the Credit block at Sales Order level ?
    Please let me know your views.....
    Thanks & Regards,
    Jayalakshmi

    Hi jayalakshmi
    please check with all the configaration it suppose to work.
    check correctly once again in 1) ob01 t.code
                                                2) ova6 t.code
                                                 3) ovak t.code
                                                 4) ovad t.code
                                                 5 ) ova8 t.code
    i think last T.code you might have slipped out OVA8
    1) credit control area + risk category + credit group 01 =low risk  sales orders.
    2) credit control area + risk category + credit group  02 =deliveries.
    3) credit control area + risk category + credit group03 =post goods issue.
    in the customer master also please check credit control are and credit groups aare appring or not.
    i hope you have understood.
    if it is solved don't forget to reward.
    thanks
    surya

  • Does Simple Credit Limit Check Include Checking for Open Orders

    Hi all,
    I have this issue here where I have configured the system to use simple credit limit check with error message. I did not use the standard/common automatic credit limit check since user insist on a pop-up warning and that the order could not be saved. But, I realized that it does not take open orders into account too although I have set the risk categories. Is it true and what solution is there for this issue then.
    Thank you for all your help in inputs.
    Regards,
    Yvonne

    Hi,
    Please follow the below configuration settings for Simple credit check process.
    Simple credit check: In simple credit check the system compares the credit exposure with payers credit limit. The
    credit exposure results from the total of the net document value and the value of the open items.
    We can set the following system responses at when the credit limit has been reached.
    A u2013Warning message
    B u2013 Error message
    C u2013 Delivery block
    Specify in VOV8  Credit limit [C]
    Configuration settings:
    Sales documents types u2013 Credit limit check: Transaction code: OVAK
    Path:
     IMG
     Sales and Distribution
     Basic functions
     Credit management/Risk management
     Simple credit limit check
     Choose sales document type OR
     Specify value
    [ ] = No credit limit check
    [A] = Run simple credit limit check and warning message
    <b> = Run simple credit limit check and error message
    [C] = Run simple credit limit check and delivery block
     Save and Exit
    Define credit control area: Transaction code: OB45
    Credit control area is an organizational unit that specifies and checks the credit limit for customers. A credit control
    area can include one or more company codes. It means we can assign one credit control area to number of company
    codes.
    NOTE: Within credit control area the credit limit must be specified in the same currency.
    Path:
     IMG
     Enterprise structure
     Definition
     Financial accounting
     Define credit control area
     Go to new entries
    (OR)
     Choose existing credit control area
     Select it and click on copy icon
     Rename it and click on details icon
    Specify currency [INR]
    257
    Data for updating SD fields
    Update [000012]: Open order value on time axis, delivery and billing document value. This field value controls
    when the values are open sales orders, deliveries, billing documents are updated in LIS. We can specify the
    following update groups for updating credit related statistics.
     Update group 000012:
    Sales order: Increase open order value from delivery relevant schedule lines.
    Delivery: Reduces open order value from delivery relevant schedule lines.
    Increases open delivery value
    Billing document: Reduces the open delivery value, increases open billing document value.
    Financial accounting document: Reduces open billing document value
    Increases open items.
     Update group 000015:
    Delivery: Increases open delivery value.
    Increases open billing document value.
    Financial accounting document: Reduces open billing document value
    Increases open items.
     Update group 000018:
    Sales order: Increases open delivery value
    Billing document: Reduces open delivery value.
    Increases open billing document value.
    Financial accounting document: Reduces open billing document value.
    Increases open items.
    Fiscal year variant [K4]: It indicates specific fiscal year variant for particular credit control area. The fiscal year
    variant is essential when a credit control area covers multiple company codes whose fiscal years are different. Then
    the values of the open orders are updated by posting period.
    Specify risk category [001]: 001 = High risk
    002 = Medium risk
    003 = Low risk
    This risk category entered in the related control area of the customeru2019s credit master record, which is automatically
    created when a customer is created in a company code.
    The credit master record is automatically maintained when at least one of the below fields is maintained for the
    corresponding control area.
    (A) Risk category
    (B) Credit representative group
    (C) Credit limit
    Credit limit: The credit limit that we enter here in the specific credit control area of the customeru2019s credit master
    record. This is automatically created when a customer is created in a company code (in XD01).
    NOTE: This credit limit is not a total credit limit for the control area.
    Representative group [001]: Define credit representative group in IMG.
     All company codes: If we want to tell to the system that, this credit control area is permitted for
    postings in every company code we have defined.
     Save and Exit
    NOTE: After this create Risk categories and Credit representative groups and come back to this step and assign
    these values to our credit control area.
    Risk category and Representative group defined and maintained by FI/CO consultants in IMG.
    258
    Assign company code to credit control area: Transaction code: OB38
    Path:
     IMG
     Enterprise structure
     Assignment
     Financial accounting
     Assign company code to credit control area
     Choose our company code from position button
     Click on assign button on the application tool bar
     Select our credit control area from the list and assign it
     Save and Exit
     Go to FD32 and check whether system created customeru2019s credit master data automatically or not.
    System creates customers credit master data automatically when we (FI/CO) people) configure credit control area in
    IMG.
    So as to perform simple credit check we have to specify customer master payers limit in the credit control area, and
    create customer master in XD01 transaction code.
     Specify reconciliation account number (GL account number)
     Payment history record: Check payment history record control in payment transaction tab. It is the
    control parameter to update the payment details that are made by customers and system will show the
    payment details in the FD32.
     Specify the credit control area in credit control area field in billing document tab.
     Save and Exit
     Go to VA01 and raise the sales order
    Check the system responses in each and every level of sales document processing and check whether the system
    blocked the delivery document (due to the setting in VOV8 of OR in check credit limit field [C] = Blocked for
    delivery).
     To release the delivery go to VKM4 and release the delivery document.

  • Approval for exceeding credit limit for particular bussiness partners

    Hi Experts,
    I am trying one approval for the Business partners for credit limit exceed.I have tried through standard Approval process by using the terms deviation from credit value as described but what should be done if  i need to set it for particular business partners.
    Also, in this standard query which i have tried i have defined the terms as :-
    Deviation from credit limit greater than or equal to 50,000 . I have set this terms for A/R Invoice. Now when i have made the invoice for rs.5000 then also it is asking for Approval.Since the Value is defined so system should not ask for approval.
    Regards-
    Mona.

    Hi Mona,
    You may try this. It may help you..
    select true from ocrd where 
    ((balance < 0) or (balance + $[$29.0.NUMBER]) < 0) and cardcode = $[ordr.cardcode]
    use squere brackets near $ sign open and close both brackets insted of round brackets.
    Regards,
    Chintesh Soni
    Edited by: Chintesh Soni on Sep 7, 2009 2:53 PM
    Edited by: Chintesh Soni on Sep 7, 2009 2:54 PM
    Edited by: Chintesh Soni on Sep 7, 2009 2:55 PM
    Edited by: Chintesh Soni on Sep 7, 2009 2:57 PM

Maybe you are looking for

  • HP MediaSmart DVD software and major Blu-ray issues

    In September 2010, I bought an HP Pavilion Elite HPE 250-f desktop computer (running Windows 7). This computer was advertised as having a Blu-ray DVD player, as well as players for regular DVDs and CDs. From September 2010 to October 2014, I successf

  • IPod won't start after restore

    When I got a new iPod touch 4G, I tried to restore it from a previous backup that I had on my computer. Unfortunately when the iPod was finished restoring, it wouldn't start up! All I got was the screen frozen at the Apple logo with an empty loading

  • Editing style sheet error

    Whenever I try to edit a component of my style sheet, I keep getting this error.  (attached screenshot). I look at the ipdc-screen.css is on my local disk. ???

  • Date diff for oracle 9i

    Hi Guys, I'm new in oracle... I'm using oracle in cf application now. Oracle 9i. Now i want to display records for 6 months. How to use datediff function in oracle? My query will like this Select * from tblname Where datediff(now(),fielddate) <= 6. A

  • Transfer from ATV1 to ATV2

    How can I ensure my purchased TV shows and movies transfer from my apple TV 1st gen to my apple TV 2nd gen??