Doc due date error

I keep receiving this error when I try to close a PO and create an Invoice from it.  Error env:Receiver -5002 Date deviates from permissible range [OPCH.DocDueDate] 18 1 AddObject Add PO invoice DC703486-75C0-ADED-97D1-0E10D8197155.  Has anyone seen this before. Thanks in advanced.

The posting and value dates for the current time period had to be adjusted in the general settings

Similar Messages

  • Sales Quotation Doc Due Date

    Hi,
    Is it possible to set doc due date of quotation to 60 days, instead of 30 days?
    Gr, Mark

    i tried this i think i don not use the correct query.
    i use now SELECT GETDATE() +60
    but when i set it to auto refresh on cardcode everytime i open the quotation its refreshing the date.
    What query and setting do you use??
    gr, Mark

  • Vendor line item due date error

    I found the net due date in vendor line item report is not correct. vendor payment term is 30 days, accounting document posting date is Jan1. 2010,but net due date is Jan.1.2010, it should be 1.Feb,2010.
    why system calculate wrongly? Thanks

    Is it a credit memo ?
    For a credit memo the due date is the baseline date. This is the default rule. If you want that the credit memo is taken in account with payment terms, you must either link it to an invoice by filling the field REBZG with the invoice number either put the constant 'V' in the same field (REBZG). With 'V' in REBZG, the credit memo is taken in F110 according to its payment term.
    see documentation of data element REBZG.

  • Include Document Date & Doc Due Date in SAP B1 Aging Details Report

    We are not able to view the actual document date and document due date from the Aging details report, it should be an essential information that should be show in the aging report. It make no sense that user still have to manually drill into each document to just read the document date/ due date for their aging analysis!!!
    Try to imaging that how important this information to a business, for instance, to age the invoice which due for 1 - 30 days, the document date which due for 1 days is categorise into 1-30days aged, the documents due for 30days also categorise into 1-30days aged, however it bring the different meanings to user and user need these information to take the action decision! How useful for an aging report which could not equip user with these basic information to provide user with efficiency to make effective decision???
    I think it is necessary to incorporate this level of details to the SAP B1 Aging Report.

    Hi Theerawat,
    You may check these threads first:
    Document Date
    Posting / Due / Document date trouble
    Re: Posting Date
    Re: Difference between posting & system date in Inventory Audit Report
    Thanks,
    Gordon

  • I am using Windows 8.1 i have an External Hard Disk and one drive is now inaccessible due to sudden power failure few days ago. Now it shows "Data error (Cyclic redundancy check)". I want all my important files and Pics. How ?

    Hi,
    I am using Windows 8.1
    I have an External Hard Disk i have partitioned it to 4 parts.
    One drive is now inaccessible due to sudden power failure while listening Music from that drive few days ago.
    Now it shows "Data error (Cyclic redundancy check)".
    I tried all the procedures provided here like
    chkdsk /f, diskpart, rescan etc
    but no result :( (i mean all processes failed. They could not detect the drive).
    Please help me to get those data, pictures and project files.
    thank you

    Then why aren't you posting this in the Windows 8 forums found @
    http://social.technet.microsoft.com/Forums/windows/en-US/home?category=w8itpro
    This is a Windows 7 forum for discussion about Windows 7.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Error while changing due date deadline

    Hi,
    I am trying to change due date deadline of an action. I am getting this error. Please see if you can help me on this?
    I don't think this error is from my code.
    <p>
    <b>Root Cause</b>
    The initial exception that caused the request to fail, was:
       com.sap.caf.eu.gp.base.exception.InvocationException: Impossible to define a start date.
        at com.sap.caf.eu.gp.model.pfw.util.Deadline.setStartDate(Deadline.java:209)
        at com.sap.caf.eu.gp.model.pfw.notification.NotificationQueueItemsPersistence.retrieveDeadline(NotificationQueueItemsPersistence.java:912)
        at com.sap.caf.eu.gp.model.pfw.notification.NotificationQueueItemsPersistence.retrieveNotification(NotificationQueueItemsPersistence.java:850)
        at com.sap.caf.eu.gp.model.pfw.notification.NotificationQueueItemsPersistence.retrieveNotifications(NotificationQueueItemsPersistence.java:1032)
        at com.sap.caf.eu.gp.model.pfw.notification.NotificationManager.retrieveNotifications(NotificationManager.java:563)
        ... 135 more
    <p><b>
    Detailed Error Information</b>
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session ApplicationSession(name=com.sap.caf.eu.gp.ui.rt.Runtime, id=qFEa9dPuRZ1jAYyFzhCxAAECkPW7TnlHbbTL4aP4cq5Q/pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime/com.sap.caf.eu.gp.worksets.runtime/com.sap.caf.eu.gp.pages.procinstance2/sap.com/cafeugpuirt/Runtime/base/). The causing exception is nested. RID=1dda6030410b11dead950050568f296d
    <br>  at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:650)
    <br>  at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:225)
    <br> at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)
    <br>  at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
    <br>  at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
    <br>  at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    <br>  at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    <br> at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
      <br>at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
      <br>at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
      <br>at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.dispatch(ApplicationHandle.java:320)
      <br>at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    <br> at com.sap.tc.webdynpro.portal.pb.impl.LocalApplicationProxy.sendDataAndProcessActionInternal(LocalApplicationProxy.java:1043)
      <br>at com.sap.tc.webdynpro.portal.pb.impl.LocalApplicationProxy.create(LocalApplicationProxy.java:259)
      <br>at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1563)
      <br>at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:390)
    <br> at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:628)
      <br>at com.sap.portal.pb.PageBuilder.wdDoApplicationStateChange(PageBuilder.java:330)
      <br>at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoApplicationStateChange(InternalPageBuilder.java:166)
      <br>at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doApplicationStateChange(DelegatingComponent.java:222)
    <br>  at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doApplicationStateChange(ClientComponent.java:633)
    <br> at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doApplicationStateChange(ClientApplication.java:693)
    <br> at com.sap.tc.webdynpro.clientserver.phases.ResumePhase.execute(ResumePhase.java:65)
    <br> at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:161)
    <br> at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:109)
    <br> at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:96)
    <br> at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:469)
      <br>at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)
    <br> at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1431)
      <br>at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1251)
      <br>at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:158)
    <br> at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppProcessing.doService(DispatchHandlerForAppProcessing.java:35)
    <br> at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    <br> at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
      <br>at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:114)
    <br> at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:81)
      <br>at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:507)
      <br>at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:527)
      <br>at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:458)
    <br> at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:249)
      <br>at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:699)
      <br>at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:231)
      <br>at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)
    <br> at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
      <br>at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
      <br>at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    <br> at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    <br> at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
    <br>  at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
    <br>  at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
    <br>  at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    <br>  at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:61)
    <br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    <br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    <br>  at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
    <br> at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
    <br> at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
    <br> at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
    <br> at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    <br> at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
      <br>at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
      <br>at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      <br>at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
    <br> at com.sap.engine.se
    Edited by: Pratik Khandelwal on May 15, 2009 7:01 AM
    Edited by: Pratik Khandelwal on May 15, 2009 7:02 AM

    Dear Prathik,
    Please share me how you have change deadline in runtime for notification.
    can u plss share the code and procedure it will be very thankful to u.
    Rajesh

  • Due date is showing earlier than doc. date

    Hi,
    I have a funny question. I have posted billing doc. in VF01 for 10000/- on 30.06.2009 payment term is 30 days from the doc. date so the due date should be 30.07.2009. Against this doc. i have posted one residual payment for 5000/- on 15.08.2009 but when i am executing customer line item report in FBL5N system is showing this residual doc. date is 15.08.2009 and due date is 30.07.2009. Why is the due date showing a earlier date than doc date? The due date should be the same day or later than doc date.
    Adv. thanks to all....
    Regards

    Hi,
    When we do a residual payment option, the new document created for the residual amount, is created with reference to the original document. When we create documents with reference, by default the baseline date of the new document is same as that of the original. You can change the base line date by double clicking on the line after simulating.
    Also check if you find any options in SPRO under the open item processing in the business transaction node for Accounts receivable and Accounts payable.
    Thanks and Regards,
    Anit

  • Error in invoice due date

    Hi all,
    i need to fetch invoice due date data(FAEDT) using the FM 'DETERMINE_DUE_DATE'.i passed ZFBDT(base line date) and ZTERM(payment terms) and fetching the invoice due date.
    DATA : ZFBDT TYPE DATS,
           ZTERM TYPE BSAK-ZTERM,
           FAEDT TYPE DATS.
      CALL FUNCTION 'DETERMINE_DUE_DATE'
        EXPORTING
          I_FAEDE                          = ZFBDT
         I_GL_FAEDE                       = ZTERM
         IMPORTING
         E_FAEDE                          = FAEDT
    EXCEPTIONS
      ACCOUNT_TYPE_NOT_SUPPORTED       = 1
      OTHERS                           = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    but iam getting error as zterm is not there in the parameters.can you please guide me how to fetch invoice due date.thank you.

    Yes Lakshmipathi,The Pricing type in Copy control is G and I also tried to replicate this Issue in our Quality system but I am getting the Netvalue copied from Sales order and no pricing error .
    Only thing odd I see on our Production System is that I am seeing this Message
    Unit of measure VPRS is not defined within the delivery or UoM group
    Message no. O3136
    We are in 4.7 IS-Oil System,would like to know the relevannce of this message with the Pricing error in Invoice.
    Thanks and Regards
    Mohammed Roshan

  • F110 bill of exchange: error FZ731 "...requires payment before due date"

    Hi everybody.
    I'm facing an issue that is driving me crazy <:-)
    I want to configure a payment method of type "bill of exchange" (in Spain, "pagaré"). I have several due invoices (due dates: 30/11/10, 31/12/10...), which have this payment method. Some other items are not yet due (30/1/11).
    When carrying out a payment run thru transaction F110, the system asks for the bill of exchange issue date, which I have populated as 30/11/10. At another tests, I have populated as 10/1/11.
    When running F110, the vendor items are then classified as exceptions, with error FZ731 "Pymt method I in the item requires payment by b./exch. before due date", and also message FZ732 "Item not due in 000 - 000 days".
    I think this problem may be motived because the definition of the payment method "I" (company code data) says: Days until due date: 0. But this field is not updatable.
    I've searched the message numbers in the forums, but found no answer.
    Anybody can help? Kind regards,
    Alvaro

    Never mind, I just had to update the Paying company code, fields Bill of exchange due date... > Earliest-lates due date in...days.
    Regards.

  • Workflow giving "Suspended" Error on Calculated Columns- Sending Reminder Emails on List Due Date

    I have created a list that has our reporting due dates plus calculated columns for 5 and 10 day reminders.
    Example:
    Due Date: 3/7/2014 1:00 PM
    5 Day Reminder (Calculated Column= [Due Date] – 5): 3/2/2014 1:00 PM
    10 Day Reminder (Calculated Column= [Due Date] -10): 2/25/2014 1:00 PM
    As you can see in the list, it calculates the (5 and 10 day) reminder dates correctly in the list… 
    However, what I am wanting to happen is to build a workflow that will automatically trigger and send these reminder emails.
    In SP 2013 Designer, I have my conditions set as: 
    I can go in on the list and set the workflow but once the due date/time comes up… The status changes from "Started" to "Suspended"-- I never receive a reminder email and I get the following error:
    "RequestorId: ff5dac1d-ccee-ba1b-0000-000000000000. Details: RequestorId: ff5dac1d-ccee-ba1b-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP
    500 {"error":{"code":"-1, System.FormatException","message":{"lang":"en-US","value":"String was not recognized as a valid DateTime."}}} {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["33"],"SPRequestGuid":["ff5dac1d-ccee-ba1b-8934-5a9d0c69d3c4"],"request-id":["ff5dac1d-ccee-ba1b-8934-5a9d0c69d3c4"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 25 Feb 2014 18:49:09 GMT"],"Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
    at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
    executor, BookmarkManager bookmarkManager, Location resultLocation)"
    The string I have set up within SP Designer for the dates is:
    If Current Item:Due Date
    equals Today
    If Current Item:5 Day Reminder
    equals
    Today
    If Current Item:10 Day Reminder
    equals
    Today
    Any ideas as to what I am missing?
    Thank you in advance!
    Amanda

    Hi,
    To start the workflow, we have three options:
    If you select the “start the workflow automatically when an item is created” or “start the workflow automatically when an item is changed”, the workflow can be started automatically.
    If you don’t, your workflow will never run, and therefore never wait till the date specified.
    The “Pause Until Date” action causes a workflow to pause executing until a specified date and time.
    If current day is equal to the specified date, it will execute the next step.
    More information:
    Workflow actions quick reference (SharePoint 2013 Workflow platform)
    http://msdn.microsoft.com/en-us/library/jj164026.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I can not take pictures or back up my phone due to error message not enough storage.I have all of my data turned off and still can not back phone up.? I have deleted lot of pics and messages and still get message..

    I can not take pictures or even back my phone up due to error message not enough storage I have went into manage storage and turned all my apps to off and I still get error. I also have deleted a ton of pictures and apps.

    Hi there mistib,
    You may find the information in the article below helpful.
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/ts1503
    -Griff W.

  • Data error while loading data using SQLLDR

    Hi Gurus,
    Kindly let em know the possible reasons for getting the below error returned by SQLLDR after loading data:
    x no of rows not loaded due to data errors in SQLLDR
    Could it be due to issues in control file?

    you'll find it well explained here :
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/part_ldr.htm#i436326
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_concepts.htm#i1004846

  • Invoice payment due date to friday if it falls on Weekend

    Hi All,
    I have an interesting requirements in payment terms due date calculation. Say we assign a payment term to customer and Invoice is done.  If the due date falls in the weekend ..say 2 july 2014 which is  a Saturday. Can we set the system so due date is set to 1Jul 2014 which is a Friday. Underlying business need is when a due date fall on the weekend it doesn't go to Monday but bring forward to Friday. One can argue that Friday is not 30 days but 29 days so this not right.
    Thanks

    Hi Dick,
    Please check below links.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70ccb4af-f7d0-2c10-a0b6-ae3f2738dda2?QuickLink=index&…
    Payment Terms Setup Help
    Due Date Configuration
    Hope this helps
    Regards::::
    Atul Chakraborty

  • 0FIAP_C03 Cash Mgmt Amounts into Due Date Buckets

    Using Cube 0FIAP_C03 A/P Payables in BW3.5 and Query Designer. I have a need to take the open items and ‘group’ them by days past due.
    First step I created a new key figure to take today’s date (key date) and subtract the net due date. This provides a numeric value of the days past due. So far, so good.
    Then I created another key figure that was the days past due divided by 7 and I displayed the output with zero decimals. This appears to get the buckets, but I can’t find a way to display/group the amount by these buckets for the report. But I can’t find a way to get the Amount (doc currency) to show in buckets (columns) like current, 1-7 days past, 7-14, etc.
    All thoughts appreciated, I may of headed in the wrong direction when there is another approach. Thanks.

    Hi Simon,
    I dont know how relevant this question related to this thread but....... I am working on Inventory Aging and using the query ZQ_ZMMIC03_SRM006. And here theres nothing like buckets and time frames, and for a specific material if we check the material aging it is giving in percentage value. I am not sure how this % is caluclated. Could you please take me out of this confusion. I am attaching the Link wht I am talking about and I couldnt understand what it exactly defines about the Inventory aging
    http://help.sap.com/saphelp_crm50/helpdata/en/69/8693404f673028e10000000a1550b0/frameset.htm
    I appreciate your help
    Shane

  • Manual input for Date offset Buckets in Due date analysis 0FIAR_C03

    Hi Experts,
    I have a requirement where i need to provide a manual input selection to fill offset values of dates for due date analysis.
    For example, current standard report 0FIAR_C03_Q0005 provides data with buckets of 0 days, 1-30 days, 31-60 and so on. Instead of this we need to define this bucket as manual input field and based on that the due date report should fetch the data like as if a user enters 7, 14, 21, 28 and so on till last option as 999 in 6 to eight variables provided than the report should come in buckets of 0-7, 8-14, 15-21 and so on.
    How can i achieve this with BEx.
    -Kushal

    I'm considering you are running this report on a daily basis. Under this assumption, you may create a Key Date Varaible in BEx Query Designer. SAP BEx offers a very useful concept called Key Date. Purpose of Key Date is to execute your report as of today's date (sy-datum) based on a variable. You may create variables also on 'Key Date' & use this variable as subsequent your offsets in the row/col structure. This gives you a better leverage from ABAP side. For such bucket scenarios, your defined variable will give you option to choose input date which can be customized to choose sy-datum as the current date.
    There's no necessity for user to define bucket limits for each level. As per the statements, its obvious the values are multiple of ZOFFSET (The offset provided by users). We can use a simple Customer Exit Variable. We need to first capture the value of ZOFFSET:7. Using CMOD, we can write the custom exit returning a value which gives the bucket range. Another input also must be passed to the exit program to capture 'How many lines you need to process/iterate?'. Say, you create a small formula variable to capture the # of slabs: ZSLABS.  I've just written a basic skeleton. Pls. incorporate your requirements as necessary.
    CASE I_VNAM
    WHEN 'XXXX'.     
         IF I_STEP=2 +(i.e.after popup!)+
              READ TABLE I_T_VAR_RANGE INTO L_S_RANGE WITH KEY VNAM='ZOFFSET'.
    FOR (ZTEMP_I=0; Z_TEMP_1 <= ZSLABS; ZTEMP_I++)
         IF SYSUBRC=0
              CLEAR L_S_RANGE.
              L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(8).      +This is YYYYMMDD+
                        ZOFF_PREV = L_S_RANGE-LOW + 1.
              ZOFFSET = ZOFFSET * ZTEMP_I.
                   IF(ZOFFSET) IS INITIAL.     
                        L_ST_RANGE-HIGH = SY-DATUM.
                        L_S_RANGE-LOW+6(2) = ZOFFSET.          +Just filter only DD from YYYYMMDD+
                   ELSE     
                        L_ST_RANGE-HIGH = ZOFF_PREV.
                        L_S_RANGE-LOW+6(2) = ZOFFSET.
                   ENDIF.               
              L_S_RANGE-SIGN='I'.
              L_S_RANGE-OPT ='B'.
              APPPEND L_S_RANGE TO E_T_RANGE.
    END FOR +(Not sure about For loops; but you may similar logic using normal do/while loops too...)+     
    ENDCASE
    There may be a few errors in code. Pls. review them & let me know your comments. 
    Typos regretted. Thanks!
    Edited by: Arun Bala G on Oct 16, 2010 12:44 AM

Maybe you are looking for

  • In Excel 2013, can you create a powerview connected to a SQL server and then upload this to Sharepoint to 2013?

    Creating a powerview in sharepoint browser can be tedious, but it is a lot more convenient in the desktop Excel 2013.  However, when you upload the excel document (where data source is SQL server) to sharepoint, there are two problems: 1. The powervi

  • Brand New 13" Macbook Pro Retina (Mid 2014) Overheating?

    Last week I brought a new 13" Retina Macbook Pro. I am so excited and happy since I finally got my first Macbook after a long waiting and saving up money. Everything was working so well so far, until recently I got bit concerned about the heat that t

  • Password protected RSS feed / podcast on N95 N ser...

    I have a feed subscription that I pay for and it is password protected.  The N95 podcast player doesn't seem to be able to access it. I've tried http://[email protected] This works on a computer, but not the N95. Can anyone help?

  • Itunes 12.1 is messing up my mac !

    So this started about three days ago when I decided to update my Itunes to 12.1 and then for about a day or so it was completely fine it is just recently it has been messing up and randomly starting songs in a random order and it does this constantly

  • Remap Home / PgUP / PgDwn / End Key Commands?

    Hey I'm having a problem with Dreamweaver CS3. I am using a MacBook running OSX 10.5.3, and in order to use Home, End, Page Up and Page Down in Dreamweaver, I have to hit a combination of Fn, Cmd and one of the Arrow keys, each corresponding to one o