Date format in PO printing.

We developed a abap program, I copy the form MEDRUCK to a new form ZMEDRUCK, in ZMEDRUCK, I want to display the PO date and delivery date.
All of these date is in format MM/DD/YYYY.
Now the buyers want see the delivery date in the format DD.MMM.YYYY, for example, 15.Feb.2007. I inserted a command SET DATE MASK = 'DD.MMM.YYYY' in main window, when I print it in ME22N, I can see the PO date has been changed to format DD.MMM.YYYY, but the delivery date is still in format MM/DD/YYYY, so I inserted the command SET DATE MASK = 'DD.MMM.YYYY'  to the line before the the date display, the problem can not bed solved.
BTW, the delivery date fields is PEKKO-LFDAT, RM06P-LFDAT and DC_EINDT (generated by the report from field EKET-EINDT).
Best Regards,
Slash Jiang

Hi,
From what i understand the field RM06P-LFDAT is giving the isuue.
I had a similar problem in PO printout with scheduled quantity RM06P-PRMG1. The issue was that, the quantity was getting displayed as 2,000 for 2.00. The basis guy told me that, it can be altered via configuration, but for form printouts the configuration won't take effect.
I got that solved by running a sepearte query in a subroutine and fetching the concerend value from the table into a variable i defined. 
I would advise u to test the same.
Regads,
Roshan

Similar Messages

  • Date format in PDF "Printer friendly"

    I am using obiee 10.1.3.4.1
    Is it possible to change date format in PDF files that are exported with "Printer friendly" option?
    For example I have prompt with date 01.12.2011.
    I want to export whole dashboard (prompt with report) to PDF with "Printer frienldy" button. But this generates PDF with prompt where is my selected date in different format 2011-12-01
    I would like to have same date format in PDF as it is in my prompt...

    date separator is "." in my case and dateOrder is "dmy"
    my complete localeDefinition is bellow
    <localeDefinition name="cs-cz"> <!-- czech -->
    <property name="localeDisplayMessage">kmsgLocaleName_csCZ</property>
    <property name="defaultLanguage">cs</property>
    <property name="characterSetList">locale:cs</property>
    <property name="listSeparator">;</property>
    <property name="decimalSeparator">,</property>
    <property name="thousandsSeparator"> </property>
    <property name="dateSeparator">.</property>
    <property name="timeSeparator">:</property>
    <property name="timeFormat">H:mm:ss</property>
    <property name="dateShortFormat">d.M.yyyy</property>
    <property name="dateLongFormat">d. MMMM yyyy</property>
    <property name="negativeNumberTemplate">-#</property>
    <property name="collationImplementation">win:0405</property>
    <property name="dateOrder">dmy</property>
    <property name="24hours" xsi:type="xsd:boolean">true</property>
    <property name="am">dop.</property>
    <property name="pm">odp.</property>
    <property name="firstDayOfWeek" xsi:type="decimal">0</property>
    <property name="monthNames">
    <property>leden</property>
    <property>únor</property>
    <property>březen</property>
    <property>duben</property>
    <property>květen</property>
    <property>červen</property>
    <property>červenec</property>
    <property>srpen</property>
    <property>září</property>
    <property>říjen</property>
    <property>listopad</property>
    <property>prosinec</property>
    </property>
    <property name="abbrevMonthNames">
    <property>I</property>
    <property>II</property>
    <property>III</property>
    <property>IV</property>
    <property>V</property>
    <property>VI</property>
    <property>VII</property>
    <property>VIII</property>
    <property>IX</property>
    <property>X</property>
    <property>XI</property>
    <property>XII</property>
    </property>
    <property name="dayNames">
    <property>pondělí</property>
    <property>úterý</property>
    <property>středa</property>
    <property>čtvrtek</property>
    <property>pátek</property>
    <property>sobota</property>
    <property>neděle</property>
    </property>
    <property name="abbrevDayNames">
    <property>po</property>
    <property>út</property>
    <property>st</property>
    <property>čt</property>
    <property>pá</property>
    <property>so</property>
    <property>ne</property>
    </property>
    <property name="dateFormats">
    <property>d.M.yyyy</property>
    <property>d. MMMM yyyy</property>
    <property>d.M.yy</property>
    <property>yyyy-MM-dd</property>
    </property>
    <property name="timeFormats">
    <property>H:mm:ss</property>
    <property>HH:mm:ss</property>
    <property>h:mm:ss tt</property>
    </property>
    </localeDefinition>

  • Date Format in Check Printed from F110

    Hi,
    I'm on 4.6C.
    Company: US10 (United states local configuration)
    I'm doing the check printing thru Tcode F110 and for printing we are using program RFFOUS_C. Earlier we were getting date format as MM.DD.YYYY but if vendor is form Spain (I'm not sure) I have started getting format as DD/MM/YYYY.
    Why?. Should I change vendor's country to US on Tcode FK03?
    I have checked the user setting (Tcode SU3) of the person who did the printing, in that also the date format is MM.DD.YYYY.
    A lot of thanks in advance.
    Best Regards,

    Hi Sid,
    Thanks for your quick answer.
    My Date's fields in RFFOUS_C are: &REGUH-ZALDT& and &REGUP-BldAT&
    /: SET DATE MASK = 'MM.DD.YYYY'
    OR
    /: SET REGUH-ZALDT MASK = 'MM.DD.YYYY'  ????
    I must set date mask in every window??
    a lot of thanks in advance.
    best regards

  • Date format within smartforms printing

    Hello,
    I have an issue regarding date format.
    When I print a delivery note date format is e.g. 08.04.2011, printing an invoice it shows 04-08-2011.
    It seems that depending on the customers country the invoice printing converts to date format within country settings
    (V_T005-DATFM) while delivery form doesn't.
    If I always want to print in date format of sales company what should I do?
    Thanks a lot,
    Wolfi.

    I guess, it should work if you define
    /: SET COUNTRY &country_key&
    in the Initialization section of your smartform.
    Note: The country-dependent formatting options are stored in the T005X table.
    Regards,
    SaiRam

  • Date format changed while printing invoice

    Dear All,
    Since yestardayin production server the date format of invoice is like 12.02.2010,but form morning it is comming like 2010.02.12.
    I have checked in quality and it is still comming like 12.02.2010.
    Could you please tell me why is it comming?
    Regards,
    Amar

    Dear Amar,
    1 Check the user profile for default type od date value in production system and compare it with quality. If this is not as per the quality system then change it.
    2 if both system quality and production both have same date format then  you have to debug and find out the issue.
    Hope you need not to go for second point.

  • Hw can I generate XY graphs directly in a vector data format for printing ie pdf

    A further question re. Printing of Graphs
    There are many similar questions but none where the answers are acceptably adiquite or two or three were the link was broken,
    "Developer exchange forums have been moved" and a pointer to the new
    site, unfort it was hard to find or guess the rest of the link.
    So here is my angle on this problem;
    So far I have tried;
    Using property node: "App.  Printing.Default Printer" to select the printer to use, then
    Using Report Functions to print controls;
    New Report, to generate a new report reference
    Set Report Orientation
    Set Report Margins
    Set Report Font
    Set Report Header Text
    Set Report Font
    Set Report Footer Text
    loop for each page
    Set Report Footer Text,     With page number
    Append Control Image to Report,      several times
    New Report Page
    Until the end of the last page
    Print Report
    Dispose Report
    Initially using existing XY-Graph controls from the front panel.  These
    are on a page of a Tab control to hide these controls while not in use
    and allow them to be hidden while generating the printout. 
    Unfortunately when this page is hidden any graph scales set to
    autoscale don't, (normally don't need to and would otherwise be a waste
    of processor time), resulting in graph plots going off scale or
    becoming a line along the axis.
    An issue is that what is printed appears to be read from the screen, so resolution is much
    lower than required for for printing, resulting in rather pixellated
    printed versions. These prints will usually be emailed, so tried the
    pdf995 "printer driver" but the resulting pdf file size is rather large.
     Currently trying Plot-XY on a much larger picture so as to get
    adequate resolution for printing, however suspect this will result in
    much larger pdf files and probably cause other problems. 
    The preferred solution in this case will probably be to generate print
    output, instead of based on raster images (ie jpg or png), but on a
    vector format, maybe via postscript or directly in pdf format.
    Similar graphs currently printed from Excel via pdf995
    (or OpenOffice) result in files around 20 kb per page. these can be printed at any size
    (at least upto 64 times) without becoming pixellated, so assume these
    are vector based.
    Currently a page with 4 XY Graph controls uses around 40 to 45 kb per
    page but resolution is poor and overcoming that may push file size up
    to 150 to 200 kb per page, and the whole job can be 50 to 100 pages.
    Are there any functions to generate XY graphs directly in a vector data format preferably in pdf or via PostScript format.
    Cheers
    Darryl

    Hi Darryl,
    I was able to reproduce the issue you were seeing, in which a report generation was taking up a large amount of space per page in a PDF utility. I found; however, using my attached VI (notice that it is set to *.png) and the CutePDF utility (free download at http://www.cutepdf.com/) I was able to get a per page size of about 10 KB. Also using the png I found that the image quality seemed to be quite high.
    Please try incorporating this solution into your application and see if it reduces your file sizes.
    Thanks and have a good evening!
    Cheers,
    Jonah
    Applications Engineer
    National Instruments
    Jonah Paul
    Marketing Manager, Embedded Software
    Evaluate the LabVIEW RIO Platform! - ni.com/rioeval
    Attachments:
    print_XY Graph.vi ‏23 KB

  • PDF Print Forms - Date format

    Hi Frnds,
    This is my first time to work in PDF print forms.
    I am using standard interface and program to print my PDF forms. The PDF form alone is customised.
    I need to format my date as dd-mmm-yyyy. how can i do it?
    can i call a subroutine from a Zprogram in the context or interface?
    Can anyone help me to solve my issue? thanks a lot.
    regards
    Suganya.

    Hi Frnds,
    I got the date format solution.
    But I need to know whether we can use the subroutine of the program inside the interface or PDF forms as like script.
    I am using the std prgm RFKORD10_PDF and my customised PDF form. but i am getting an error as "Contradiction in form".
    Can anyone help me to solve the error?
    thank in adv
    Suganya

  • Printer-friendly date format

    Hello ALL!
    Please help me with one problem.
    I create Dashboard with Dashboard Prompt for date. And date format in prompt dd.mm.yyyy.
    But when I click on "Printer-friendly"->HTML (or PDF) button I see that date format is yyyy-mm-dd.
    Help me, how can I have same date format in Printer-friendly view too.

    Hi
    Not sure which version of OBIEE you are using..
    But i'm getting expected results only.
    BTW, i'm using 10.1.3.4.1
    Thanks & Regards
    Kishore Guggilla

  • Date format when printing Maintenance Order

    Dear Colleagues
    When I print a Work Order, I'm getting the date format as DD-MM-YYYY
    I know that I can change this format in the User Parameters, however I need to modify a huge number of users.
    Question 1) Is there a way to setup the date format independent of the user parameters?
    Question 2) I'd like to have the date like this: JAN-01-2010. But I don't have this option in the User Parameters. Do you know how can I do it?
    Thank you for your help

    Davison,
       Its not possible using user settings. All you would need to do is copy the SAP SCRIPTForm  program(You can keep the Print program as such) and set date mask as required in SAP script text editor using command
    /: SET DATE MASK = 'MMMM DD, YYYY'
    Now the date variable value written out on the screen would be
    &DATE& -> JAN  01, 2010 
    You could revert to standard settings using command
    /: SET DATE MASK = ' '
    Regards
    Narasimhan

  • [11g] Date format when printing dashboard prompt

    Hello,
    i have a dashboard prompt with a between condition on a date format. When i display it on the dashboard, the format is perfect dd.mm.yyyy. But when i want to print the dashboard, the format is shown as yyyy-mm-dd. On the forum i found a hint about the localedefinitions.xml (Printer-friendly date format But there, the definition is ok
    <property name="dateShortFormat">dd.MM.yyyy</property> // default short date format for locale
    So, how can i change the format to dd.mm.yyyy when printing the dashboard. Any advice?
    Thanks
    Martin

    Davison,
       Its not possible using user settings. All you would need to do is copy the SAP SCRIPTForm  program(You can keep the Print program as such) and set date mask as required in SAP script text editor using command
    /: SET DATE MASK = 'MMMM DD, YYYY'
    Now the date variable value written out on the screen would be
    &DATE& -> JAN  01, 2010 
    You could revert to standard settings using command
    /: SET DATE MASK = ' '
    Regards
    Narasimhan

  • Date format issue in Web Analysis...

    Hi,
    I am creating a report by connecting to a couple of relational tables. I'm using SQL Spreadsheet and SQL Subscription objects. I'm creating a Date filter using SQL Subscription object (list box) using the data source created by the SQL Spreadsheet. My database default date format is 'DD-MON-YYYY'. But in the list box it shows as 'YYYY-MM-DD HH24:MI:SI". When this value is selected, I get a "Literal mismatch error" since it doesn't match with the value stored in the database.
    Why the format in WA is showing in this format even though it is fetchting it from my database in which the format is 'DD-MON-YYYY'. Is this related to WA date format settings? I cannot find anywhere in WA studio where I can set date formats. Is this something to be set in the server or webanalysis.properties file?
    PS: I tried to work around this by storing the date value as character in the database but then I am not able to sort them ascending or descending order.I also tried creating the web analysis relational database connection which creates a virtual cube. But even there when I build the report using Data Source Navigator, it is showing date in 'YYYY-MM-DD HH24:MI:SI'.
    H

    Hi,
    Let me provide you the details of the report.
    A concurrent program has been created with executable as XDODTEXE (XML publisher report).
    In the data definition, we have embed one query which fetches transaction date and due date from some tables based on some conditions.
    Now, we have to show these date columns in report output which will be in EXCEL format.
    We want these date outputs to be printed in dd/mm/yyyy format. That is the reason we had given-
    TO_CHAR(TO_DATE (SUBSTR(transaction_date,1,10), 'DD/MON/RRRR'),'DD/MM/RRRR') in the SQL query.
    Problem in output is- In date columns, data after 12th is fine i.e. in format dd/mm/yyyy, it is printing properly.
    But before 12th, it is printing in format mm/dd/yyyy as mentioned below-
    01/10/2012--wrong format, it should be 10/01/2012
    01/11/2012--wrong format, it should be 11/01/2012
    01/12/2012--wrong format, it should be 12/01/2012
    13/01/2012--correct format (dd/mm/yyyy)
    14/01/2012--correct format (dd/mm/yyyy)
    How can i send you the attachment, is there any way/any email id?
    Rgds-
    Sumir

  • Date format on report

    Hi Everyone!
    I have a date format that is in the footer of my report. The format is set with the following: fmDay Month DD RRRR HH:MI AM and this is what I want, but when it prints out I get the following: Monday September 24 2001 11:0 AM . I would think I should get Monday September 24 2001 11:00 AM . I need the other part of the minute to show up. Now, it does show up if I have Monday September 24 2001 11:15 AM. I really need for the whole date format to show up. If I change the format to mm/dd/rrrr HH:MI AM then I don't get the day which I really need to show up in the footer.
    Thanks in advance for your help.
    ~Vannette ([email protected])

    Please change your current date format [to]
    fmDay Month DD RRRR fmHH:MI AM
    Neeraj Vannette -
    To explicate, recall that FM is a toggle. Your first
    FM set the format to suppress all blanks and leading
    zeroes, so 11:01 became 11:1. The added FM sets back
    to normal mode, so everything after the first FM is
    zero/blank suppressed, after the second FM is not.
    -- allan plumb

  • Smart form Date formate

    Hi All,
          I am new to smartforms.I want to position the  date on page top corner of the left side of the form such as day month year(Tuesday,january 01,2008).how to get this formate in smart form?
    Thanks & Reagrds
    HB

    Hi,
    Check this  it may be useful to u
    Formatting Date Fields: SET DATE MASK
    To define the formatting of date fields, use the SET DATE MASK control command. Executing this command causes all subsequent date fields to be printed using the specified format.
    Syntax:
    /: SET DATE MASK = 'date_mask'
    In the date mask, you can use the following codes:
    DD: day (two digits)
    DDD: day name - abbreviated
    DDDD: day name - written out in full
    MM: month (two digits)
    MMM: month name - abbreviated
    MMMM: month name - written out in full
    YY: year (two digits)
    YYYY: year (four digits)
    LD: day (formatted as for the L option)
    LM: month (formatted as for the L option)
    LY: year (formatted as for the L option)
    All other characters found in a date mask are interpreted as simple text and are copied straight into the output.
    Assuming the current system date is March 1st, 1997.
    /: SET DATE MASK = 'Foster City, MM/DD/YY'
    &DATE& -> Foster City, 03/01/97
    /: SET DATE MASK = 'MMMM DD, YYYY'
    &DATE& -> March 01, 1997
    The date mask may be reset to the default setting by using an empty string:
    /: SET DATE MASK = ' '
    The abbreviated and full forms of the names of the days and months are stored in the language dependent TTDTG table under the following keys:
    %%SAPSCRIPT_DDD_dd: abbreviated day name
    %%SAPSCRIPT_DDDD_dd: full form of day name
    %%SAPSCRIPT_MMM_mm: abbreviated month name
    %%SAPSCRIPT_MMMM_mm: full form of month name
    dd: day number 01 = Monday,..., 07 = Sunday
    mm: month number 01 = January,..., 12 = December
    Regards

  • How to get a correct date format

    Hi Experts,
    I fetched a record from the table KALV. Here its showing the date format as DD.MM.YYYY. But in my internal table and my output its showing YYYYMMDD.
    How to solve this?
    Actually this report needs to show the output as per the user's format. Because may have different format. Accoriding to there format it should show the output.
    How todo this?
    Anyone guide this?
    Mohana
    Moderator Message: Basic Question.
    Edited by: kishan P on Feb 3, 2011 4:14 PM

    Here's a sample of the code:
    [NSDateFormatter setDefaultFormatterBehavior:NSDateFormatterBehavior10_4];
    NSDateFormatter *dateFormatter = [[[NSDateFormatter alloc] init] autorelease];
    [dateFormatter setDateStyle:NSDateFormatterShortStyle];
    NSDate *date = [ dateFormatter dateFromString:@"7/4/2008" ];
    NSLog(@"string from date %@: %@ for locale %@", date, [dateFormatter stringFromDate:date], [[dateFormatter locale] localeIdentifier]);
    (the same code without the messed up forum syntax is at http://pastebin.com/f695ef95b)
    When I set my region (in the International system preferences) to be United States, it prints:
    2008-08-14 20:20:31.117 Date Difference[17226:10b] string from date 2008-07-04 00:00:00 -0400: 7/4/08 for locale en_US
    And when my region is United Kingdom, it prints:
    2008-08-14 20:19:23.441 Date Difference[17199:10b] string from date 2008-04-07 00:00:00 -0400: 07/04/2008 for locale en_GB
    It looks like the NSDateFormatter is insensitive to the change of regions. Notice that the raw printing of the date is properly switching with the region, though.
    What do I have to do to get the NSDateFormatter to respect the region setting?

  • Not able to save date column with custom date format. in OBIEE 11g

    Hi,
    I have migrated one report from OBIEE 10g to 11g. There is a date column with customized date format(i.e. Default format is 'dd-MMM-yyyy' and I have used 'MMM-yyyy').
    But when I use this custom format and try to save the report in 11g its giving this below error.
    ''Catalog object privilege validation failed for user to path /shared/ALM BI/Finacial Results/History Income Statement Detail.
    You do not currently have sufficient privileges to save a report or dashboard page that contains HTML markup.
    This HTML might be present in column headings, table headings, text views, narrative views, the print header,
    or the print footer and must be removed before saving.''
    Please let me know what changes I need to do for this.
    Regards,
    Ambika Nanda.

    Hi ,
    privilage issues...check the security settings once..
    Thanks,
    Ananth

Maybe you are looking for