'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.

Similar Messages

  • 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

  • Create a field routine to calculate the number of days per month

    Hi Experts,
    I need to create a field routine to count the number of days per month based on 0CALMONTH. Could you give me some inputs on how to do it?
    Thanks!

    Hi,
    Create InfoObejct and then insert it in InfoSource/InfoCube/DSO then write simp,e code for that based on your  0CALMONTH values.
    You just copy and pas this in SE38 and see the result and implement for your requirements.
    REPORT  ztest1.
    Data: zsydt type sy-datum,
          zd(2) type n,
          zm(2) type n,
          zy(4) type n,
          zcmnth TYPE /bi0/oicalmonth,
          znds TYPE /osp/dt_day.
          zsydt = sy-datum.
          zd = '01'.
          zm = zsydt+4(2).
          zy = zsydt+0(4).
          CONCATENATE zy zm zd INTO zsydt.
          CALL FUNCTION '/OSP/GET_DAYS_IN_MONTH'
                EXPORTING
                  iv_date = zsydt
                IMPORTING
                  ev_days = znds.    "No.of days in month.
          write:/ zd.
          write:/ zm.
          write:/ zy.
          write:/ zsydt.
          write:/ znds.
    Thanks
    Reddy

  • How to calculate number of days from a date field

    Dear BW Experts.
    I have a field 'Create Date' in the BEx query. Now we need to create a variable which should give the number of days from the date of running the query (sy-datum) to the Create Date.
    This will help the users to get records which are say, 30 days old (Sy-datum - create date = 30) or 10 days old etc.
    Could you suggest as to how to create this variable.
    Thanks,
    Sai

    Hi,
    Step 1: Create variable on "Create Date" with User entry processing type
    Step 2: Create a restricted KF for Sales & restrict it on "Create Date" to get "Sales on day"
    Step 3: Manipulate  the values of "Create Date" on which you could restrict  "Sales" again and again to get other values
    Step 4: Create one variable (ZPUTMNTH) for u201CMonth to Dateu201D with processing by u201CCustomer Exitu201D. This variable was created  on u201CDateu201D characteristics.
    Step 5 : Goto C-mod t-code and use EXIT_SAPLRRS0_001
    to calculate "month to date" user input is "Calday" Key Date
    WHEN 'ZPUTMNTH'.
    IF I_STEP = 2. "after the popup
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZPDATE'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(6). "low value, e.g.YYYYMM (200606) part of key date (20060625)
    L_S_RANGE-LOW+6(2) = '01'. u201C low value e..g. YYYYMM01 (20060601)
    L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    EXIT.
    ENDLOOP.
    ENDIF.
    Assign if helps.....
    Regards,
    Suman

  • Can I create a field that calculates number of days from a date field?

    Hi all,
    I need a field that will calculate the number of days elapsed whatever date is entered into the date field, and update that number of days based on the calendar/computer calendar date.  Does that make sense?
    https://www.dropbox.com/s/arkmnsxjkl4r156/AFBS_FacilitySpecialCareList02.pdf
    I set up the form so that my boss can add or subtract clients from the list.  Each client needs to have its own "Days since added to the list" number. Sorta like a little aging report.
    Is this possible?
    Many thanks,
    Laura

    Wow, I'm so stumped.  I tried to copy a bit of formcalc into the exit event for my current date field to try to make this happen, but I can't get it to work.
    My  attempt at scripting is embarrassing, but here it is:
    form1.sf1.CCSub.CCGroup.#subform[0].DateField2::exit - (FormCalc, client)
    form1.sf1.CCSub.CCGroup.#subform[0].NumericField2.rawValue = Date2Num(DateField1, "MM-DD-YY") - Date2Num(DateField2, "MM-DD-YY")
    and here's the file:
    https://www.dropbox.com/s/arkmnsxjkl4r156/AFBS_FacilitySpecialCareList02.pdf
    Can anyone help me get this right?
    Sign me: One Lost Designer
    Thanks!

  • 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.

  • Number of days customer is due to be maped in dunning notice PLD

    Hi All,
    In the Dunning Reprt PLD I want to print the number of days the Customer is due to company as the number of days due varries from customer to customer please give a solution. So that i want to map number of days from dunning wizard report in to the PLD.
    Regards & thanks for advance,
    Mobin.

    Hi Mobin
    One question first, the due days per customer does not make sense as there may be more than one document owing. I assume then that the oldest invoice must be used to calculate? This would be true at header level, but it will not be possible to place a field here to calculate from the rows. It might be possible to include a BP master UDF field here at print time, but this field would have to be updated manually on the BP masters with a query to get the maximum due date of open invoices and calculate their days overdue.
    For row level each document could have a number of days overdue and this should be rather easy to achieve. Add an extra column as formula field and use the following formula:
    ToNumber(F_203)-ToNumber(F_089)
    F_203 is my own hidden field at row level with the formula Date() in it. F_089 is the value date or due date on the row. You can also add a hidden field and refer to the database field you want to use for this date.
    I am still of course assuming that the dunning report you are referring to is the SAP standard dunning letter(s). If you are referring to a custom report, please let me know.
    Kind regards
    Peter Juby

  • Is it possible to add number of days to date?

    I am working on a form where I need to add number of days to a date and come up with a date.
    Header 1
    Header 2
    example date:  March 1, 2013
    + 30
    = march 31 2013                
    1. is this possible? Header1/cell 1 is a date field. Header 2/cell 1 is a dropdown field (30, 60, 90,120, custom),.
    Header2 cell2 not sure what field to use date or text?
    thank you

    Never mind I figured it out. Thanks

  • How to calculate the number of days worked for a given period

    I need to calculate the number of days worked by contractor employees for a time period to be entered by a user. I am building a query on an infoset which contains employee information including contract start date and contract end date for the employee.
    Ideally I'd like the user to enter the time period which should be reported on e.g. 01.08.2009 to 31.08.2009
    The report should then identify all the contractor employees which were working during this period and to work out how many days they worked during this period. Obviously the contract start and end dates could fall both inside and outside the reporting period.
    Can this be done and if so, do you have any suggestions as to how to do it?
    Thanks.

    hi
    So here you will first have to load the master data table employee in one internal table and read this table with the variables entries.
    Your code in the reporting exit should look like that.
    bye
    data : wa_employee type /bi0/pemployee.
    When 'ZDATE1'
    if i_step = 2.
    LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZDATE2'.
    clear l_s_range.
    clear wa_employee
    1- select the entries from table employees
    select single employee dateto datefrom
    from /bi0/pemployee
    into corresponding fields of wa_employee
    where dateto le loc_var_range-low
    and datefrom ge loc_var_range-high.
    if sy-subrc eq 0.
    CALL FUNCTION 'FIMA_DAYS_BETWEEN_TWO_DATES'
       EXPORTING
           i_datum_von  = wa_employee-datefrom
           i_kz_ult_von = 'X'
           i_datum_bis  = wa_employee-dateto
           i_kz_ult_bis = 'X'
           i_szbmeth    = '1'
       IMPORTING
          e_tage       = no_days.
           l_s_range-low  = no_days.
           l_s_range-sign = 'I'.
           l_s_range-opt  = 'EQ'.
          APPEND l_s_range TO e_t_range.
              ENDIF.
            ENDIF.
    endloop.
    ENDIF.
    Boujema

  • How to get "Number of days" in a report on 0PM_DS02

    Dear BI Gurus,
    I need to build  a query on the PM DSO - 0PM_DS02 (MTTR/MTBR).
    The query has 0Equipment in the rows
    The fields Available Time | Breakdown TIme | Utilised Time in the columns for the time granularity selected.
    The field Breakdown Time is the calcaulted key figure Actual Outage Time from the DSO.
    The field Utilised Time  is a formula = Available Time - Breakdown Time.
    The issue I am facing is regarding the field Available Time.
    In the report the user needs time granularity in Month and Year.
    Basically the logic for the field Available Time = Number of days in the time period selected * 24
    where 24 = number of hours in a day.
    Now my issue is when the time granularity is month , the field should have the number of days in the month the user selects from the selection screen and when the time granularity is year, the field should have number of days in that year.
    Also during the query execution period, when the user changes the time granularity the report should also change the calculation for this field.
    (I can bring an extra field to the DSO, which will bring the available number of days in a month for each record)
    Can you please guide me how to map this scenario.
    Many Thanks in Advance,
    With Warm Regards,
    Vineeth

    Hi All,
    Waiting for your suggestion on this?
    With Warm Regards,
    Vineeth

  • How to get planned % complete based on number of days

    Hello:
    I a trying to figure out a way(best way) to determine a "planned % complete" simply based on the number of days in a task.
    For example:
    Task Start Date = 3/1/15
    Task Finish Date = 3/20/15
    So the task is 20 days long
    Today is 3/10/15 so "planned % complete" should be 50%
    (Today-Start) / (Finish-Start)
    =
    ((3/10/15)-(3/1/15)) / ((3/20/15)-(3/1/15))
    =
    (10) / (20)
    =
    50%
    Do I just enter this into a custom field as a formula or is there a better way of doing this?
    Also, when I tried to do this with a formula, it did not apply to the roll up tasks. So, the bolded tasks were blank.
    I am trying to get to a calculated number of the % I should be completed based on the current date and length of the task. I realize this might not be the best way so any
    suggestions are greatly appreciated.
    I would like to be able to look at my project and see that I am 35% complete, but I should be 50%.
    Any guidance is greatly appreciated.
    I am using MS Project 2010.
    Thanks
    kp

    Hi kp,
    You are typically asking for Earned Value indicators. You could of course use the kind of formula you are refering to, but have in mind that MS Project proposes by default a large number of EV fields, such as CPI, SPI and all variance fields. Although it
    requires a certain maturity in scheduling (cost, baselines, status date, tracking), it will provide you a large set of EV indicators out of the box.
    See an excellent article
    here.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How do you work out the number of days difference between two dates?

    I'm running Crystal v12.
    We use a date field in our SQL database that we use to store the client's year end date.
    As the year end date (date and month) doesn't change for a client, the year end date field in all of our reports is set to just show the DD/MM part. Over the years as new clients are set up we just enter the date and month - the year part is irrelevant although as in all date fields the year is automatically entered.
    Doing it this way means that we don't have to adjust the year end year part each year. We just use the DD/MM part.
    I need to create a formula that works out the number of days there have been (i.e. the difference) from the current date to the year end date. It MUST EXCLUDE the year however.
    For example:
    Year End Date = 30/04/03
    Current Date = 25/05/10
    Days Difference (EXCLUDING year) = 25
    Days Difference (including year) = 2582
    Year End Date = 31/03/09
    Current Date = 25/05/09
    Days Difference (EXCLUDING year) = 55
    Days Difference (including year) = 420
    If you include the year part then working out day difference is simply a case of creating a formula that subtracts the year end date from the current date (CurrentDate - {tblClient.YearEnd}.
    HOWEVER I need to exclude the year part.
    Can anyone tell me the formula or best way to do this?
    Thanks in advance.
    Edited by: BadBoy House on May 25, 2010 3:15 PM
    Edited by: BadBoy House on May 25, 2010 3:15 PM

    Hi
    You can try this
    datevar e := date(year(currentdate),month({tblClient.YearEnd}),day({tblClient.YearEnd}));
    numbervar num_days := datediff("d",currentdate,e)
    Create a datevar called e that uses the original month and day numbers for {tblClient.YearEnd} but uses the year of the current date
    Then just datediff on e to get the number of days between the two dates
    I hope i understand your problem and that this helps
    Best regards
    Patrick

  • Current Date plus number of days script

    Hi All,
    I have a form I am building which has a date field (currently setup to specifiy todays date on load).  There is a field that slects number of days until a billing cycle (currently 0 through 13 days).
    I need to setup a script that takes todays date, adds the number of days from the 0-13 result and gives a result of a date (0-13 days from today for example).
    Any thoughts on how I might do this?  Very new to JS.
    Thanks for any help you may be able to provide.
    Ant

    here is an example of what I have used:
    var f = this.getField("BILLINGCYCLEDATE");
    var g1 = this.getField("DAYS");
    var g = g1.value
    var today = new Date();
    var add = d1.valueOf();
    add +=1000 * 60 * 60 * 24 * g; 
    var future = new Date(add);
    f.value = util.printd("mm/dd/yyy", future);
    You would want to set this up as a calculation in your BILLINGCYCLEDATE field.  The field DAYS is whatever you have set up as the 0-13 counter.  I set up a simple text box where you input a number.  The field will then calculate X number of days out.   Hope this helps.

  • How to calculate number of days between fixed date and hire date in schema

    i want to calculate the number of days between a fixed date en the hire date (infotype 041)
    If i read the documentation  right, i should use the following command:
    HRS=YDXA02
    Variable 3 (the x) is the fixed data.
    My question is how do i program the variable x?
    Let's say the date 01.01.2008
    Any help would be welcome

    I assume we are talking about PCR for payroll. In this case look at documentation for operation NUM:
    OOOOOO
    Xnnnnn
    X     Table
    nnnnn Table field
    nn    Date type 'nn' from the Date Specifications infotype (0041)
         Date types are taken from table T548Y.
    Your operation would look like:
      NUM=Faaesb
          F          Fixed indicator for deadline calculation
           aa           Date type: Start date of period to be
                        calculated; if the date type is not 'nn,'
                        the second position is left blank.
             e          Unit, in which the duration is calculated:
                        T = days
                        W = week
    s         End date of period to be calculated:
              (blank)  End of current payroll period
              J        End of current calendar year
              A        Start of current calendar year
              B        Start of WPBP period
             No other specifications are possible.
    So it depends on what kind of fixed date you need.
    Hope it helps,
    Carlos.

  • Calculation of number of Days?

    Hi Experts,
    i have two key figures one is calulate the number of day and the other is calulate the total number of stocks.
    So now my requirment is the user want to see the data like this,in report level.
    for Exp:
    if Number of days in between   10 -60 total stock is 100
    if Number of days in between    70- 80 total stock is 200
    if Number of days in between    81-130 total stock is 500.l  ike this.
    so how can i achieve this in query designer as i am using BI(7.0)?
    Regards,
    sat

    Hi ,
    Before posting a thread please provide the minimum info so that you can get the exact reply for your post.
    What are the data fileds that you have in your target to calculate the no of days?
    What is the source and IC on which you want to design the report?
    If u have any smaple data how you want the report to be? etc....
    If you have the date fields in your info provider then create 2 formula variable of type replacement path on both the date fileds.
    create a formula where use these two formula variables to get the difference of days.
    after that create one more formula and use
    ((diff of days>=10)AND(diff ofdays<=60)*Kf) will give you the stock value during that bucket.
    For more info plz refer to the below link which explains about the bucketing scenario.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30f15839-0cf1-2b10-c6a7-ebe68cc87cdc?quicklink=index&overridelayout=true
    Regards
    KP

Maybe you are looking for

  • To overcome Authorization error while executing a Function module

    Hello Friends, In my custom workflow , I need to execute a validation  function module ( SAP standard ) in a dialog step  - Approval step. But the issue is approvers will not have authorization to the FM ( They have minimum authorization - Just to ap

  • I cannot find the disc that came with my MAC OS 9 to install the classic

    i want to download latest adobe reader and internet explorer and it is asking me to install Mac OS 9.1 or later Classic support but i don't have the disc anymore. I have Mac OS X version 10.4.11 Pls help

  • Notification via workflow when invoice but no receipt

    The I-procurement workflow needs to be configured so that an email notification is generated when an invoice is received for a PO but the goods have not been receipted. In this scenario, the Invoice automatically goes on hold. The email should go to

  • SPH200D System Start up Screen

    I just got a SPH200D, it worked fine foe a few days, then the screen just says System is Starting up.  I have tried reseting the handset, removed the batteries yet the same message.  Can anyone help!!

  • Searching tool to watch serialized object graph

    Hi there, I would like to check wether really only the needed data is serialized, however to read the binary file myself is very hard. Does anybody know a tool which can convert serialized data to a more readable representation, like a list of instan