Creedit check on number of days

hi,
how can i configure credit check on basis of only payment terms(i.e number of days)
like if payment terms is 10 days and payment not received from customer next sales order should get blocked automatically.
thanks

Dear NakulRaj ,
Please follow the below steps.
In OVA8, click on oldest open item , and maintain 0 as no of days.
(if you have a check based on credit limit, then click DYNAMIC also, else use only OLDEST OPEN ITEM)
Now with the help of abaper, run a sales cycle.
System will throw an error message during sales order creation (first on the basis of credit limit and then on the basis of oldest open item)
Note the message no / position in the program which gets triggered because of oldest open item.
Now ask your Abaper to identify an exit before this position.
There wrte the following logic.
Take Kunnr from VBAK and put it in BSEG.
Check for all the line enteries which are OPEN with type RV (if you are considering only billing documents)
{Now select that entries and input the same in VBRK where you will get the Terms of Payment}
I think Due date will be available in the BSEG itself .. if so then need not do the steps underlined
Now compare the system date with the due date of all the billing documents open.
If the condition fails, then trigger the message.
Else bypass the message.
Check and revert back.
Thanks & Regards,
Hegal K Charles

Similar Messages

  • Credit Check on Open Items number of day

    Hi
    We have setup automatic credit control and all seems to work fine,  we now want to expandon this to include open items. So we have created a static block on open items.
    The next step was to only include open itesm that have been open for longer than 60 day, sowe have entered 60 in the number of day box.  But order are stillgoing on block due to this statoc check.
    We have 0 set in the max open items box.
    Do we need to enter anything in this box.  We want the check to only include open items older than 60 days and the credit limit not to go over the main customers credit limit
    Thanks
    Barry

    Hi,
    Could you please share the answer?
    Tawsif Chogle

  • Customer Exit for Number of Days from 1 st Apr to last date of Month Enter

    Hello BI Experts,
    I have a requirement to count the number of days from 1 st April of current year to the last date of month entered.
    For example : The use will enter say July 2010 or 003.2010  (as Fiscal Year Variant is V3 ).
    Today is 14 July ...So we have to first find out the end date of the July month ie 31 st July
    Then go to 1 st April 2010.
    Now calculate the Number of days between 1 st April to 31 st July 2010.
    I consider I have to create two Customer Exit variable
    as below
    1 st customer exit Bex variable  say  ZLY_MTH  ( Last day of Month Entered)
      and i_step = 1
    2 nd Customer Exit BEx Formula variable say ZF_NUMDAYS ( Number of days between two dates)
    i_step =1 .
    Please provide me the logic for the above two.
    Thanks in Advance.
    Regards,
    Amol Kulkarni

    PSUDEO CODE:
    1. Initially LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'ZMONTH'.
    2. Get the Month input using VAR_MONTH2 = LOC_VAR_RANGE-LOW+4(2)
    3. Now calculate Month+1: VAR_MONTH2 = VAR_MONTH2 + 1 (Refer **)
    4. Now calculate the Current Year: VAR_YEAR = LOC_VAR_RANGE-LOW+0(4).
    5. Get the 1st Day of the Month (VAR_MONTH2):  CONCATENATE '01' '/' VAR_MONTH2 '/' VAR_YEAR INTO L_S_RANGE-LOW.
    6. SUBRACT 1 (0DATE) from this DATE (This will give the logic for last day of the current month)
    Insert this code also for using the date conversions
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                INPUT  = VAR_MONTH2
              IMPORTING
                OUTPUT = VAR_MONTH2.
    Pls. check out this logic. Guess it would solve your need.
    Thanks,
    Arun Bala

  • 'Number of days' field in maintenance of Atuomatic Credit Control' OVA8.

    What is the use of this field  which is under the tab ' released documents are still unchecked ?
    In my system the value 180 days is given . But when I am changing a sale order which was once credit released. the order  is going to creidt block again  . I am doing availability check in the sales order to confirm schedule line quantity .
    Why the order is going for credit block despite 180 days given here and even though the net value is not changed ?
    Regards
    Mahesh .

    Hello Mahesh,
    This function is used for checking documents that have already been released by a credit representative, but that have subsequently been changed. The system does NOT carry out another credit check if the following conditions are met:
    o   The value of the changed order is not greater than the value already approved for credit (inclusive of the deviation factor), AND
    o   The current date is not greater than the original release date plus the number of days specified here.
    Ur doc might have failed in one the condition specified above.
    I hope this helps( source : F1).
    Rgds,
    Raghu.

  • I am trying to locate an email that I deleted and assume should be in the trash.  However my trash now only goes back a few days - how can I increase the number of days the trash remains accessible for

    I am trying to locate an email that I deleted and assume should be in the trash.  However my trash now only goes back a few days - how can I increase the number of days the trash remains accessible for.

    StevieJ wrote:
    I am trying to locate an email that I deleted and assume should be in the trash.  However my trash now only goes back a few days - how can I increase the number of days the trash remains accessible for.
    Check Mail Preferences, Accounts tab. Select the account, then the Mailbox Behaviors tab. See if you have it set to Permanently erase deleted messages when: One week old. (or less)

  • Field in Material Master to specify the number of Days to keep the stock

    Dear Gurus,
    I want to define in Material Master, that i want to keep the Stock of the Material of 4 days as Safety stock, My consumption of Material can vary from month to month low or high. But i want to keep the number of Days fixed in Material Master for the Safety Stock. So that if my consumption varies, my Stock Quantity for Safety automatically updated.
    Regards,
    Johi Kapoor

    Hi,
    Check the TAB safety time/act. cover {Screen field MARC-SHZET, Field selection group-57} in MRP-2 screen in net requirement calculation segment.
    Regards,
    Biju K

  • Check next number (activity code)

    Good day experts.
    This is the issue we are currently importing a SFC into the system or using the supplier barcode for the SFC inside visprise.  We unfortnately use two diferent product types from the same supplier where the two don't really have any differeneces.  The products are hard drives one is 40 gig and the other is a 80 gig, but inside visprise we are having troubles keeping the product seperated.
    We are wanting a way to check the barcode, because the part number is inside this barcode from the supplier to seperate the two inside visprise.
    I thought about using check next number activity code, but unfortnately this isn't getting the job done.  I was wondering if I was doing something wrong.  As of right now I have the acitivity codes create SFC as Pre-start and check next number as a pre-validate start.   I have tried changing the hook point, but nothing seems to work.  I can force it to not work at all or work for everything.
    I have a setup the next number maintenance and I can print out the correct barcode for this material, but I can't prevent us importing a incorrect barcode.

    Basically this is what is happening.  We are 'importing' Barcodes into the data base.  Problem lies we have two materials that are very close to each other (both hard drives) they are getting mixed inside the test equipment causing us to much down time.  I was reading up on the activity codes and was wondering how next number maintenance or mask valiation was working inside SAP ME.  To try and prevent the confusion.
    The biggest differences between the materials, that concerns SAP ME, is the barcode format.  The two different part numbers are inside the the supplier barcode that is given to us, which we are currently using for our SFC in SAP ME.
    It isn't a requirement for me to use SAP ME, but I was exploring every avenue.  If it is true that these only work at the specific points that the help site is suggesting i will try a different avenue, this is looking very possible right now.  I have tried using the activity codes with no luck in succeeding in the goal.

  • BW Query Designer  -  Replacement Path Issue - Need Number of Days

    The requirement is to have "Number of Days" (Key figure) by using the formula SY-DATUM MINUS General Availability Date.
    GA(General Availability (Date is Calculated Using a hidden Formula Variable with the Processing type u201CReplacement Pathu201D
    to convert the Free Characteristic 0WBS_ELEMT__CWBSUSR09 into the Date Format.
         The Sy-datum brought using another hidden Formula Variable with the Processing type u201CCustomer Exitu201D, after checking whether the Project Close date is in Future (after GA Date).
    There is SAP Note 1005772 available, it will be of Little Help.
    Rgds
    Venu

    Re: Years of Service
    Here is the similar scenario, but need help on how to resolve this issue.

  • Calculate the number of days in a month

    I need to do a calculation in my query based upon the number of days in the month. The report is broken down by cal year / month.
    Is there an easy way of identifying these values in the query?
    Regards.

    Hi,
      This can be done by writing an user exit code to determine the number of days in the month.
    Sample Code :
    <
    CHECK i_step = 2.
      READ TABLE i_t_var_range WITH KEY vnam = 'XXXX'
                               INTO loc_var_range.
      IF sy-subrc EQ 0.
        beg_date(6) = loc_var_range-low(6).
        end_date(6) = loc_var_range-low(6).
        beg_date+6(2) = '01'.
        end_date+6(2) = '01'.
        ADD 1 TO end_date+4(2).
        IF end_date+4(2) = '13'.
          end_date+4(2) = '01'.
          ADD 1 TO end_date(4).
        ENDIF.
        no_days = end_date - beg_date.
        l_s_range-sign = 'I'.
        l_s_range-opt  = 'EQ'.
        l_s_range-low  = no_days.
        APPEND l_s_range TO e_t_range.
      ENDIF.
    >
    Hope this helps..
    Thanks & Regards,
    Pradeep

  • Calculate number of Days through PCR in Time Management

    Dear All,
    The following is the scanerio,
    if an employee joins on any day other than 01.01.yyyy, then the number of days from this day to 31.12.yyyy should be calculated, how can this scanerio be handled through PCR.
    Thanks in advance
    Raghu
    Edited by: Raghu C on Jun 22, 2011 7:26 AM

    Using a time type as a "counter", you would look if the time type existed yesterday (HRS+Lxxxx). 
    If so, add 1 to it (HRS+1) and save it (using operation ADDDBxxxx),
    and if not check to make sure that it is a new hire before you create the counter time type with number 1.

  • SQL to count the number of days between two dates

    Does any one have or know how to count the number of days/weeks between 2 dates.
    I have thought about using MONTHS_BETWEEN, but do not know how to make it accurate down to one day?
    Any suggestions would be appreciated.

    here are the different queries I came up with to do this, you may want to check it for perticular cases involving Sun and Sat as start and end dates.
    select to_number(to_char(to_date('21-JUL-00','dd-mon-yy'), 'ww'))
    - to_number(to_char(to_date('10-JUL-00','dd-mon-yy'), 'ww')) from dual;
    select (Next_Day(to_date('21-JUL-00','dd-mon-yy')-1, 'Sunday')
    - Next_Day(to_date('10-JUL-00','dd-mon-yy')-1, 'Sunday'))/7 from dual;
    select (Next_Day(to_date('21-JUL-00','dd-mon-yy')-6, 'Sunday')
    - Next_Day(to_date('10-JUL-00','dd-mon-yy')-6, 'Sunday'))/7 from dual;
    null

  • Prorate absence Quota monthly based on number of days worked.

    Hi All,
    I need to Generate Absence Quota Prorated Monthly on the following criteria.
    4.5 days Per month.
    0 - 5 day = 0.5
    6-10 days = 1.5days
    11- 15 days = 2.5 days
    16-20days = 3 days
    21 - 25 = 3.5 days
    26 and above = 4.5 days
    54 Quota Yearly entitlement
    Negative Time evaluation -
    Time evaluation run at end of the month.
    If use Base Entilement as .15 / days and daily accural in Table T559L ,
    then without any PCR quota is generated but for 31 days it generates 4.65 days and people joining middle of the month is not as per the criteria mentioned above ie as per number of day worked.
    Can any one guide me with the steps and PCR's required if any.
    Thanks
    Sethu

    Hi Dinesh,
    Thanks for your response. I have already created and  assigned it in T559L. The below is the Rounding rule.
    Lower inc     Upper     Target     Rollout
    0.00000 X     0.75000      0.15000 X
    0.90000 X     1.50000      1.50000 X
    1.65000 X     2.25000      2.50000 X
    2.40000 X     3.00000      3.00000 X
    3.90000 X     4.65000      4.50000 X
    As per my earlier thread description when i make it daily accural and assign this rounding rule then for 31 days it calculates 4.65 days and for people joining middle or last week of the month it is not prorating as per the requirement,
    Thanks
    Sethu

  • "No limit" not displaying for number of days to sync email

    I recently purchased 16GB iPad w/ retina display (MD513LL) running IOS 6.0.1
    I successfully set up MS Exchange email account, but it does not give me the option of "no limit" under number of days to sync.
    I read in a few prior posts that deleting the email accounting and setting it up again works, but I tried that at least 6 times (it worked for my new iPhone 5, but not the iPad).

    I might be wrong but I don't think so because I set up the same account on my iPhone 5 which allowed for the "no limit" option.

  • IPad app problems it won't. Let me download apps.it says check billing info I check everything number by number letter by letter

    iPad version 4.2.1 app problems it won't. Let me download apps.it says check billing info I check everything number by number letter by letter it still won't work everything on my billing is correct

    If you had money in your account when you purchased a paid app and Apple didn't claim on the payment to your bank until after the download it maybe that there was insufficient balancce in your account to complete the purchase and therefore you'll need to wait until you have the funds to make the payment, when you have billing issues it won't even let you download free apps.
    If that isn't the case then give iTunes store a call or email them and they can tell you exactly what is wrong with the account

  • How to get PO and vendor payment term number of days??

    Hi Experts,
    I want to have a) Purchase order payment term number of days as well as
    b) vendor Payment term number of days.
    For  a) For  Purchase order payment term number of days I am using table EKKO and taking ZBD1T field which is giving payment
               term number of days.
              Is it correct??
          b) vendor Payment term number of days I am using table LFB1 field Zterm to take payment term key not number of days.
               Based on this key i will go to table T052 and find corresponding number of days as told MM consultants .
               But this is not BW work. We need one single table from which we can take the field or enhance the current extractor
              with that field.
    So is there any other option for (b)
    and Whether steps for (a) is correct???
    Please confirm this.
    Thanks in Advance,
    Uday Shankar.

    For a) For Purchase order payment term number of days I am using table EKKO and taking ZBD1T field which is giving payment
    term number of days.
    Is it correct??
    Payment terms for purchasing doesn't come delivered as part of the R3/ECC tables and is usually is added as a custom field to EKKO and populated via a User Exit. That looks to be the instance in your case because the field that you show as being the payment terms begins with a Z (custom fields begin with Y or Z). That appears, without being able to actually validate in your R3/ECC environment, to be the correct field to use. You would have to validate, however, with the end customer or your MM function consultant to be 100% certain. If this is the correct one to use, you're going to have to enhance the 2LIS_02_HDR extractor by enhancing the extraction structure and creating the User Exit to read it from EKKO and populate into the DataSource.
    b) vendor Payment term number of days I am using table LFB1 field Zterm to take payment term key not number of days.
    Based on this key i will go to table T052 and find corresponding number of days as told MM consultants .
    But this is not BW work. We need one single table from which we can take the field or enhance the current extractor
    with that field.
    You can enhance the 2LIS_02_HDR extractor with the Vendor Payment Terms by joining the following in your User Exit:
    EKKO-LIFNR = LFB1-LIFNR
    EKKO-BUKRS = LFB1-BUKRS
    LFB1-ZTERM = T052-ZTERM
    This could either be done in a SELECT statement in the User Exit to do this equi join, or you could create a view on your R3/ECC environment and SELECT from that view.

Maybe you are looking for

  • Can i use iCloud for pages documents iMac?

    can i use iCloud for pages documents iMac?

  • Error while executing the transaction QC22 (Quality Certificate for Batch)

    Hello Friends, While executing the transaction QC22(Quality Certificate for Batch), after giving the Batch Number and Customer Number, when i am executing it , system is throwing the error message as "Not all data was found for characteristic 9013998

  • Smartform Qurey.

    Hi All, I have generated one Smartform. Now i want to print it. but here I want to print smartform in a small size slip. Paper size is 15 cm x 10 cm. How can i do it ? Please tell me the way.. where can i do the settings. I am not be able to find any

  • YTD in the report

    Hi I have some KF's in my report . 1)  When user enter the<b> "month"</b> in the selection paramter then he should get those KF's for that current month . 2) And he also wants those KF's values from <b>"Starting Month Of that Year to Current Month(YT

  • HP Stream 8 tablet cant see external & internal drives at same time

    I have an HP Stream 8 tablet. I have plugged an OTG 64gb flash memory card Sandisk Dual USB drive into the tablet charging slot. The Tablet recognises all of the 64gb of storage & can read & write to the drive with no problems. However, when an exter