Conversion of Date format(0bill_date) to no of days format

We have a report "customer payment analysis report" with following fields
Customer No        ,   Customer Name        ,  Customer Group  ,     Payment Term       ,      Actual Paid Days,          Difference
In the cube we are having  0bill_date(actual paid date) ,but want to convert this 0bill_date(in date format) to Actual paid days( no of days format).
How to get that?
Edited by: ranamk on Jan 13, 2011 8:06 AM

Hi,
Count the number of paid dates. It will give you the number of actual paid days
Thanks,
Dinesh

Similar Messages

  • Date not being displayed in the custom format

    Hi ,
      I have a problem wherein i am unable to change the format of the date.
    I need the date to be in the format 'January 10,2010.' however the date is being displayed as '1/10/10'. I have tried all options for the date formatting. I specified the custom format as 'MMMM D,YYYY' as mentioned in the SAP Library. I am trying to use the std custom options like YYYY-MM-DD, the date is not being dispalyed in the custom format provided by SAP either.
    I have binded date from the context, used the Current Date field provided by SAP.  Nothing works.
    Its not working on the new form. However the old forms have the same kind of formatting and are being displayed as desired.
    Please suggest as to what the issue could be.
    Thanks,
    Soumya.

    Hi All,
    Even I'm encountering the same issue. I'm trying to control the outputted date format programmatically.Please have a look.
    data: v_int_date like sy-datum,
            v_ext_date(10).
    v_int_date = '20110201'
    write v_int_date to v_ext_date MM/DD/YYYY.
    Here I've tried to convert the date to external format using a fixed format(MM/DD/YYYY). But still it's getting outputted in the format DD/MM/YYYY only as that's the way its defined in the User Master!
    Is there any solution for this? How can I 'override' defaults in the SAP User Master?
    Thanks,
    Mahesh

  • Need to convert  Date from calendar to String in the format dd-mom-yyyy

    Need to convert Date from calendar to String in the format dd-mom-yyyy+..
    This is absolutely necessary... any help plz..
    Rgds
    Arwinder

    Look up the SimpleDateFormat class: http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
    Arwinder wrote:
    This is absolutely necessary... any help plz..For you maybe, not others. Please refrain from trying to urge others to answer your queries. They'll do it at their own pace ( if at all ).
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

  • Open conversions in data dictionary

    Dear experts,
    We have been trying to install an ST-PI package in an SAP system.However,it gives a warning saying "Open conversions in data dictionary". It says - Some open conversion requests still exists for the following ABAP data dictionary objects.To avoid inconsistencies and data losses you must process these conversions first. 
    Further it asks us to run the transaction SE14 which points towards the table GLPCA and says Index Z1 does not exist.
    What can be the cause behind this?I do not have an ABAP background.So,hoping if you could help me out.
    Regards,
    Minuj
    Edited by: minuj sarma on Feb 22, 2008 2:12 PM

    hi  sagar,
    Go to transaction SE14 and choose the following options in the menu
    DB requests --> Terminated
    Reward points if usefull,
    Thanks,
    Kalyan.

  • How to store date in destination with dd-mmm-yy format in SSIS.

    Hi,
    I have an excel source where one of the column has date in it. I want to store this date into destination in DD-MMM-YY format in SSIS package.
    Thanks and regards,
    Anand.D.S.

    Whats your destination?
    If its SQLServer then I would say ita a bad idea to change the datatype for formatting. By default dates are stored as numerical data internally within SQLServer and would be displayed in YYYY-MM-DD format in SSMS. What you need to do is to store it as dates
    and then wherever you want to display change the format in the way you want using formatting functions. If you dont have proper front end you can use CAST,CONVERT or FORMAT (SQL 2012)  to get it in the format you want
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to save data model design in pdf or any format..?

    how to save data model design in pdf or any format..?
    i ve created design but not able to save it any mage or pdf format

    File -> Print Diagram -> To PDF File

  • Implicit Conversion from data type sql_variant to datetime is not allowed.

     Getting a odd error. This code was working perfectly before a SQLServer upgrade.
    The linked database is working, I'm able to pull up data from it in separate queries just fine.
    I'm getting the following error.
    Implicit conversion from data type sql_variant to datetime is not allowed. Use the CONVERT function to run this query.
    Invalid column name 'TotalDay'. (.Net SqlClient Data Provider)
    can anyone spot the issue? I've tried sever variations of the same code, but still get the same thing.
    If I put this section in a query by it self it works just fine.
    ( DATEDIFF(ss,
    CONVERT(VARCHAR(10),( SELECT TOP ( 1 )
    TimeDate
    FROM [nav].AcsLog.dbo.EvnLog AS X3
    WHERE UDF2 = E.No_
    AND CONVERT(VARCHAR(10), X3.TimeDate, 101) = CONVERT(VARCHAR(10), @sdate, 101)
    ORDER BY TimeDate ASC
    ),101),
    CONVERT(VARCHAR(10),( SELECT TOP ( 1 )
    TimeDate
    FROM [nav].AcsLog.dbo.EvnLog AS X4
    WHERE UDF2 = E.No_
    AND CONVERT(VARCHAR(10), X4.TimeDate, 101) = CONVERT(VARCHAR(10), @sdate, 101)
    ORDER BY TimeDate DESC
    ),101)) ) AS TotalDayBadge ,

    >ANDCONVERT(VARCHAR(10),X3.TimeDate,101)=CONVERT(VARCHAR(10),@sdate,101)
    It is not a good idea to use string dates for predicates in WHERE clauses.
    Use DATETIME or DATE in predicates.
    If you are not interested in the time part of DATETIME, use DATE datatype.
    Example:
    SELECT CONVERT(DATE, getdate());
    -- 2014-08-25
    Datetime conversions:
    http://www.sqlusa.com/bestpractices/datetimeconversion/
    Between dates:
    http://www.sqlusa.com/bestpractices2008/between-dates/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Date to show in MM/DD/YYYY format

    Hi all,
    I am stumped on this simple thing under BIP.How can I get the date to show in MM/DD/YYYY format under BIP ?
    Template is created under word, for the field under formatting, type: date, format:M/d/yyyy ( can't find MM/DD/YYYY). But when I browse the document, it always show as "DD-MON-YYYY" format.
    How to mitigate this ?
    Thanks
    Munshar

    Hi ,
    hey small mistake in my solution code,just change the format to dd/MM/yyyy (case sensitive code)then it will work
    to-char() is used to convert the Date or Number format type to displayable string format.
    In our case also it is coverting xml_date_filed into a string to the format of dd/MM/yyyy
    so you can try with this formula
    in Advanced tab write
    *<?xdofx:to_char(MY_DATE_FIELD,'dd/MM/yyyy')?>*
    or in properties tab ,under formatting section ,select type as DATE and write the format as dd/MM/yyyy
    best/Aravind
    Edited by: Aravind on Aug 18, 2011 9:58 AM, with correct solution

  • Data element for time in 12 hour format HH:MM

    Hi friends,
    Is there any data element which is for HH:MM format 12 hour format?
    i see uzeit, but its HH:MM:SS. i dont want this.
    i want HH:MM.
    Niraja

    Rohan,
    I am trying to create a new Domain with data type Tims. Basically when i change the no. character to 4.. its not taking
    by default its making it as 6. How to make this to 4.
    i can give Numc, but i needed in HH:MM format.  with : in between.
    can u help me out.
    Niraja

  • Oracle Error 1801 - "Date format is too large for internal format"

    We have an application deployed under WebLogic and are using the Oracle JDBC drivers to talk to the DB. It appears that when under heavy load and trying to hit a stored procedure we get "Action:EnrollParticipant,Error
    type:Application error,doing:writeEmpUpdate,dbcode:-1801,ssn:xxxxxxxxxx". The dbcode of 1801 is a "Date format is too large for internal format". Has anyone had this happen, or know what the solution might be?

    We have an application deployed under WebLogic and are using the Oracle JDBC drivers to talk to the DB. It appears that when under heavy load and trying to hit a stored procedure we get "Action:EnrollParticipant,Error
    type:Application error,doing:writeEmpUpdate,dbcode:-1801,ssn:xxxxxxxxxx". The dbcode of 1801 is a "Date format is too large for internal format". Has anyone had this happen, or know what the solution might be?

  • ABAP program to output data from SAP table to an XML format file?

    hello ABAP experts,
    Does anyone know how to output data from SAP table to an XML format file?  Would be appreciated if someone show the detailed sample codes and we will give you reward points!
    Thanks!

    Edited by: Jose Hugo De la cruz on Aug 19, 2009 8:23 PM

  • HT1338 I have updated my Imac to Mavericks and now my parallells won't work and I have reinstalled as per the instructions. Please help as all my data is on a hardrive that is formatted for PC

    I have updated my Imac to Mavericks and now my parallells won't work and I have reinstalled as per the instructions. Please help as all my data is on a hardrive that is formatted for PC.

    Yes I just discovered that this morning but I have purchased another external harddrive and formatted it for both and am in the process of transferring the files across it and then I will erase the old harddrive and reformat it so I can use it.
    I have learnt to format harddrives from this experience but am happy to see the back of parallells.
    Thank you for your help though it is much appreciated.

  • Disallowed implicit conversion from data type datetime to data type timestamp

    Received error: [Macromedia][SQLServer JDBC
    Driver][SQLServer]Disallowed implicit conversion from data type
    datetime to data type timestamp, table 'myTbl', column 'duration'.
    Use the CONVERT function to run this query.
    I have a field named duration hh:mm:ss.lll that I am trying
    to insert into MS SQL. DB has field defined as [duration]
    [timestamp] NOT NULL,
    My insert has this: INSERT INTO myTbl( duration) VALUES(
    <cfqueryparam value="2006-05-26 11:12:13"
    cfsqltype="CF_SQL_TIMESTAMP"/> )
    Why does this not work? rrrrrrrrrrrrrr! BTW: also tried with
    seconds as 13.111 which did not work. Does the db duration need to
    be date? I just want to store a duration for the time of a movie...
    10 Q

    quote:
    Originally posted by:
    quiet1
    Received error: [Macromedia][SQLServer JDBC
    Driver][SQLServer]Disallowed implicit conversion from data type
    datetime to data type timestamp, table 'myTbl', column 'duration'.
    Use the CONVERT function to run this query.
    I have a field named duration hh:mm:ss.lll that I am trying
    to insert into MS SQL. DB has field defined as [duration]
    [timestamp] NOT NULL,
    My insert has this: INSERT INTO myTbl( duration) VALUES(
    <cfqueryparam value="2006-05-26 11:12:13"
    cfsqltype="CF_SQL_TIMESTAMP"/> )
    Why does this not work? rrrrrrrrrrrrrr! BTW: also tried with
    seconds as 13.111 which did not work. Does the db duration need to
    be date? I just want to store a duration for the time of a movie...
    10 Q
    Duration as a timestamp? How odd, most people would store it
    as an integer. Or, if you want to build your own string, the syntax
    is {ts 'yyyy-mm-dd hh:mm:ss'}. The seconds might not be required.
    In any event, use createodbcdatetime() for the value you want
    to put into your table.

  • I have a numbers spreadsheet for tracking company data.  I want to copy the format of the spreadsheet (rows, columns,and formulas) but have all of the data fields be blank for the new year.  How do I do that?

    I have a numbers spreadsheet for tracking company data.  I want to copy the format of the spreadsheet (rows, columns,and formulas) but have all of the data fields be blank for the new year.  How do I do that?

    click and hold on one cell, then drag to select the range, then release, then type the delete key.  Only inlude cells in the range you do not want to keey the contents of the cell.  You can remove one-off cells by holding the command key and clicking cells to add or remove as needed.
    You can download the Numbers users guide here:
    http://support.apple.com/manuals/#productivitysoftware

  • String conversion into Date

    How do I cast a String into a java.util.Date

    Thank you.
    I did it as following:
    Date tmpStart = new Date();
    Date tmpEnd = new Date();
    SimpleDateFormat format = new SimpleDateFormat("MM/dd/yyyy hh:mm a");
    try {
    tmpStart = format.parse("01/10/2001");
    tmpEnd = format.parse("01/10/2002");
    } catch (Exception e) {
    System.out.println("Unable to parse the start and end date.");
    But I got an exception.

Maybe you are looking for

  • IPhoto '09

    Just upgraded to ILife '09. When I opened IPhoto '09, it said my old library thumbnails need to be updated to work with the new version. I am very nervous to say yes, because a similar window popped up a year ago--not prompted by any upgrades-- I sai

  • Weblogic Performence Issue

    We have installed Weblogic Server 10.3.6 on a Oracle Linux x86_64 test server (5GB RAM) and Configured RTD and Webcenter in one domain.We are using single database for these two products, after starting Admin Server we are only able to start one mana

  • User Authentication Failed Error: in XL Reporter

    Hi, I'm Using SAP Business One 2007B PL:05; I cant able to access XL-Reporter in a Particular Company, It is Saying the Error Unable to Connect to XL-Reporter Error: user Authentication Failed I can able to access XL - Reporter in other Company's Kin

  • Stopping a Flash Loop

    Basically I have a flash file that loops over and over, but I want it to stop when it gets done moving the first time, I just have a couple of simple tweens that keep looping and I need it to stop after the first one. Please help I'm about to throw m

  • Child CMP local object not getting refreshed with parent entity information

    Hi, I have a container mnaged relatioships (example) between Emp and Dept entities. I have generated their DTO and using them to tranfer data across layers. I am updating deptno CMP field of EMP entity and returning the Entity DTO. When extracting de