Help formatting date on the PO_STANDARD_XSLFO.xsl page

I am using the standard PO_STANDARD_XSLFO.xsl and PO_STANDARD_PO.xsd and I want to format the Promised By and Need By dates to be dd-mmm-yy instead of dd-mmm-yyyy and then a time stamp. How can I accomplish this?

Hi,
some feeling tells me that you are requesting the wrong forum. I found How to modify PO_STANDARD_PO data definition? and think that this is a better trail to follow up with. Correct me if i am wrong
Frank

Similar Messages

  • DTO, DAO - Displaying/Formatting Data in the Presentation Layer

    I need display multiple fields from a DTO throughout the presentation layer. What is the best way to format display data without duplicating the logic throughout presentation layer?
    Example
    I have a Person DTO that has first name, last name, and suffix 'getters' and am constantly showing the data out as "first last, suffix"
    Options
    1 - Create a utility class that formats the name of the Person DTO.
    public class DisplayUtil{
         public static String DisplayName(PersonDTO person){
              return person.getFirstName() + " " + person.getLastName() + ", " + person.getSuffix();
    }2 - Add a getter into the DTO that gets the data
    public class PersonDto{
         //Other fields, getters, and setters
         public String getName(){
              return person.getFirstName() + " " + person.getLastName() + ", " + person.getSuffix();
    }3 - Create a domain object (aka business object) using the "entity inherits from transfer object strategy".
    public class Person extends PersonDto{
         public String getName(){
              return person.getFirstName() + " " + person.getLastName() + ", " + person.getSuffix();
    }The easiest to implement now would be Option 2 above but it distorts what the DTO is supposed to be used for (which is transferring data).
    What have you done in the past? What is an "acceptable" best practice? Are there other options that I haven't listed above that you use?

    So, from what you advise you would have the following
    code in <b>all</b> of the JSP pages of the Struts
    app?
    <c:out value="${person.firstName} ${person.lastName}"
    />
    <c:logic test="${not empty person.suffix}">
         <c:out value=", ${person.suffix}" />
    </c:logic>The problem that I see with this is that changes
    would be incredibly difficult at a later date, since
    every page contains the logic about displaying the
    proper name format. (Say the client wanted to change
    to always display the last name first instead of the
    first name for all the pages. With this logic code
    being on every "template", their could be hundreds of
    pages to change. This is where I could see the
    benefit of a utility class like Option 1.)This is what the include directive is for. The JSP tags in your example should not exist (physically ) in each JSP file. They should be stored in a single JSP fragment file.
    The JSP fragment file is then "included" in each page via include directive. If you need to change anything for this at a later date, then you go to the single fragment file and make the change once.
    <html>
    <head><title>Including Shared Stuff in JSP Pages</title></head>
    <body>
    <%@include file="shared/text.jspf" %><br/>
    <font size="10">What It Do</font><br/>
    <jsp:include page="shared/text.jspf" />
    </body>
    </html>When each JSP file is converted to a Java servlet by the JSP Engine, it will grab the shared fragment and include it in the code for the servlet.

  • How to use format-date with the report parameter

    Hi all,
    How to use the format-date function with this tag,
    <?param@begin:P_FROM_DATE?><?$P_FROM_DATE?>
    this form date is coming from report parameter and is coming like this 2012/11/01 00:00:00.
    So now i need this in DD-MON-YYYY fromat.I tried like this <?param@begin:P_FROM_DATE?><?$format-date:P_FROM_DATE;'DD-MON-YYYY'?>
    but its giving error. Can any one pls tell how to convert it to customized date format.
    thanks & Regards
    Srikkanth.M

    Issue solved.
    Ref this link
    XML date Format

  • Help Newbie - Data in the SmartSync example

    Hi All,
    I deployed the program (MDK_smartsync_inventoryJSP.war) in the Java Stack + Abap Stack like the others examples, after that i download it to my PDA
    - In the mobile server i have the tables:
    MDK_INVENTORY
    - This functions groups:
    MDK_INVENTORY_GETLIST
    MDK_INVENTORY_GETDETAIL
    MDK_INVENTORY_CREATE
    MDK_INVENTORY_MODIFY
    MDK_INVENTORY_DELETE
    Then I do this:
    Import SyncBO YMDK_INVEN einspielen with transaction merep_mig with text file ymdk_inven.txt.
    Then I have a RFC conection (TCP/IP type) called: MENGMT_MOBILE_CONTAINER_SYNC
    if you test the conexion it works.
    The Program runs perfectly, but there is not data in the example, it was supposed to do a sync with the data in the tables, so the example could display these data in the screen. But the example only displays an empty table on the screen.
    Best Regards,
    Erick Ilarraza

    Hi All,
    I check the SyncBo "YMDK_INVEN"  with the Merep_pd"> Synchronizer tab> Search for SyncBo.
    The SyncBo status is Green, it points to the RFC Destination: MEMGMT_MOBILE_CONTAINER_SYNC
    This RFC is registered in the SAP Mobile Server (called <b>erick</b>) with this attributes:
    TCP/IP Connection
    Registered Server Program
    Start Type of extenal program: Default Gateway Value
    Gateway Host: <b>erick</b>
    Gateway Service: sapgw01
    Is important to say that we are using the same SAP Mobile Server as the "backend" system... should I have to use another System? Like a R/3 system or I can do tests with the same mobile system.
    So all the tables and functions modules are in the SAP Mobile server.
    1. table MDK_INVENTORY : Is Created, we add two rows (in this case two products, because it was empty).
    2. FUNCTION MODULES :
    MDK_INVENTORY_GETLIST  -> Remote-Enabled
    MDK_INVENTORY_GETDETAIL -> Remote-Enabled 
    MDK_INVENTORY_CREATE -> Normal Function <b>I changed</b> to Remote-Enabled
    MDK_INVENTORY_MODIFY -> Normal Function <b>I changed</b> to Remote-Enabled
    MDK_INVENTORY_DELETE -> Normal Function <b>I changed</b> to Remote-Enabled
    3. MESSAGE CLASS: I can't see the Message Class, did you know how to search for It?
    4. SYNCBO: Works fine.
    I Create a new MCD version with all the normal especification plus the configuration of the YMDK_INVEN SyncBo under the SyncBO tab using the MCD Transaction. Then I installed a new Mobile Component Version, I downloaded it to my PDA, but again the program doesn't Displays Data, it give me an Empty table.
    Here is the trace File when I do the Synchronization with the Mobile Server From my PDA
    Trace
    [20070607 18:22:34:033] I [MI/API/Logging ] ***** LOG / TRACE
    SWITCHED ON [20070607 18:22:34:033] I [MI/API/Logging ] ***** Mobile
    Infrastructure version: MI 70 SP 10 Patch 0 Build 200610241749
    [20070607 18:22:34:033] I [MI/API/Logging ] ***** Current timezone:
    PRT[20070607 18:22:34:033] I [MI/API/Logging ] ***** Current Trace
    Level: 50 [20070607 18:23:13:888] E [MI/CCMS ] Config Info:
    /Windows/StartUp/MIServer.lnk [20070607 18:23:13:893] E [MI/CCMS ]
    java.io.FileNotFoundException: /Windows/StartUp/MIServer.lnk
    java.io.FileNotFoundException: /Windows/StartUp/MIServer.lnk at
    java.io.FileInputStream.<init>() at java.io.FileInputStream.<init>()
    at java.io.FileReader.<init>() at
    com.sap.ip.me.ccms.configinfo.ConfigInfoCollector.addMobileEngineLnk()
    at com.sap.ip.me.ccms.configinfo.ConfigInfoCollector.addConfigInfoToContainer()
    at com.sap.ip.me.ccms.configinfo.ConfigInfoCollector.createConfigInfoContainer()
    at com.sap.ip.me.ccms.configinfo.ConfigInfoCheckerInboundProcessor.process()
    at com.sap.ip.me.sync.SyncManagerImpl.processSingleContainer() at
    com.sap.ip.me.sync.SyncManagerMerger.processInboundContainers() at
    com.sap.ip.me.sync.SyncManagerImpl.processSyncCycle() at
    com.sap.ip.me.sync.SyncManagerImpl.syncForUser() at
    com.sap.ip.me.sync.SyncManagerImpl.processSynchronization() at
    com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend() at
    com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend() at
    com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend() at
    com.sap.ip.me.apps.jsp.Home$SyncRunnable.run() at
    java.lang.Thread.run()
    We search for this File: (java.io.FileNotFoundException:<b>/Windows/StartUp/MIServer.lnk</b>) in our HandHeld (Dell Axim X51v Windows Mobile 2005) And Since we are using the Spanish Version we have Windows/Inicio/MIServer.lnk Instead of Windows/StartUp/MIServer.lnk so we created the Folder /StartUp/ and after I copy the MIServer.lnk file into the new folder, now we do the Synchronization again the and the Trace File is <b>Clean</b> but the application still Display an empty table.
    Best Regards,
    Erick Ilarraza

  • PHP need help formating date, please.

    I am working on my first database page using repeating fields
    and a
    connection to MySQL, and actually have it working! Yay!
    Now I have a formatting problem, and would appreciate a bit
    of help.
    The first column of the repeating field is a date field,
    which is stored
    as a date type in mysql, and shows up in my table as
    2008-03-12 (which
    is how it was entered into the table). I would like to change
    the
    display to March 12, 2008. I have tried using the date
    function, but
    without success. The text that php is putting in the cell is
    "2008-03-12", which I am guessing is not a valid timestamp. I
    am also
    guessing that this is why I get a date in 1969 when I try
    this...
    The page is here:
    http://www.verodelmar.com/agendas.php
    and the source is here:
    http://www.verodelmar.com/agendas.txt
    Thanks to anyone that takes the time to look!
    Harvey

    Joe Makowiec wrote:
    > On 16 Apr 2008 in macromedia.dreamweaver, eclipsme
    wrote:
    >
    >> The first column of the repeating field is a date
    field, which is
    >> stored as a date type in mysql, and shows up in my
    table as
    >> 2008-03-12 (which is how it was entered into the
    table). I would
    >> like to change the display to March 12, 2008. I have
    tried using the
    >> date function, but without success. The text that
    php is putting in
    >> the cell is "2008-03-12", which I am guessing is not
    a valid
    >> timestamp. I am also guessing that this is why I get
    a date in 1969
    >> when I try this...
    >
    > Use DATE_FORMAT in your SQL statement, thus:
    >
    > SELECT field1, field2,
    > DATE_FORMAT(dateField, '%M %e, %Y') AS myFormattedDate
    > FROM myTable
    >
    >
    http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_date-format
    >
    > Another option is to convert the date from ISO format to
    a Unix
    > timestamp using PHP's strtotime() function, then
    formatting it using
    > date():
    >
    > <?php
    > // Done in several steps for clarity. Can be done in one
    step.
    > $myUnixTimestamp =
    strtotime($row_Recordset1['mydatefield']);
    > $myFormattedDate = date('F j, Y', $myUnixTimestamp);
    > echo $myFormattedDate;
    > ?>
    >
    >
    http://www.php.net/strtotime
    >
    http://www.php.net/date
    >
    The former I think I understand.
    The latter I have printed out and will look at some more.
    Actually in
    theory I understand, but how to do that in my control panel
    is what I
    need to look at.
    Thanks!
    Harvey

  • Format data in the flat file while downloading from internal table

    Just I used 'GUI_DOWNLOAD' with WRITE_FIELD_SEPARATOR = 'X'. In my case one of the field contains large quantity. Bcoz of this value , it pushes the remaining filed position values in that particular row. The fields in the internal table refers the stadard data elements.I need the field values should be under corresponding field names.Can anyone help me?

    Hi,
    declare another internal table in the format in which you want to download .
    say itab_text.
    itab is your orginal internal table .
    than loop at itab.
    MOVE-CORRESPONDING Itab TO Itab_text.
    APPEND ITab_text.
    endloop.
    now pass the itab_text to gui_download.
    Thanks

  • How do I get the system to print-out a date at the bottom of page?

    When I am at a website and ask for a print-out of the page -
    the current date and time of print-out no longer appears at the lower right corner of page.

    I have resolved the problem. I will not use your time attempting to explain the process of elimination. However, the end result---
    I had taken delivery of a new printer mid-January - it is a HP OfficeJet 6000 (E609) - I wondered if that might be the problem - since I could not ascertain exactly when the print-out problem had presented itself.
    O.K. I logged on to the system and brought up the "Google" page to ask for a print-out. I checked for a print - and when the print box appeared I checked on "properties". That showed - to the left: "General Everyday Printing" and over to the right: Page size "A4 210 x 297mm" also the option "letter 8.5" x 11" and Legal 8.5" x 14" - so, I changed it to ask for the "letter - 8.5" x 11" - then I checked to "print" - I believe it was the "OK" - and the "Google: page was printed intact - showing the data generally associated with the top of the page and the date/time at the lower right.
    I placed a telephone call the HP this morning to ask them about the "A4" option and was advised that it is a "standard size paper" - but could not explain under set of circumstances it would be applicable.
    Hopefully, this data will be helpful to someone - thank you very much for your assistance in this matter.

  • Help formatting data into 3d surface

    Hi Folks,
    I'm struggling trying to display some data in a 3d plot. I'v studdied the example here but am getting no where! http://forums.ni.com/ni/board/message?board.id=170&message.id=433150&query.id=1242328#M433150
    Basically the data I'm interested in viewing is a 2d array. Each row in the record represents a size bin (52 total rows). Each of these rows is divided into discrete scatter angle bins (16 total columns). SO, each element represent a relative light intensity, at a discrete angle, at a particlar size.
    I don't understand how a 2d dataset gets correlated into X,Y,and Z matrix formats.
    Any pointers?
    Regards,
    Jamie
    Message Edited by 8bitbanger on 01-05-2010 01:11 PM
    v2009 devel. w/RT
    Attachments:
    3d graph test_2.vi ‏22 KB

    8bitbanger wrote:
    Thanks for the reply. I did have a look at that example, but unfortunately it isn't of much help. I'll continue to mess with it, but it easily obscures (I think) the principals of data formatting requirements for 3d plot by an overwhelming amount of data points. ie I have no idea what point is what on that plot, where it should be....etc
    I honestly don't know what expect with my dataset - I basically just want to visualize several 1d arrays over 'time' ('time' being the bin sizes). I thought there would some sort of easier way to go about this, but the 3dplot is all I could find.
    Cheers,
    Jamie
    100 data points in a 3d graph is small.
    I suggest you change one of the values and re-run it to see which point you changed. Repeat with other points until you figure it out.
    If 100 points is too many, empty the array and put your own data in to start.
    Still trying to help and not giving up,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How do u select tables data using the EBS web page?

    Hi Friends,
    I am in EBS 11i web pages url > http://vision.abc.com:8000/
    using sysadmin account.
    Is there a counter part web based module/menu to display table data ?
    Like
    select * from fnd_tables;
    or
    select * from po_vendors;
    something like this that allow display of data
    Thanks a lot

    yes but I want a web-based tool that uses URL not like the client server ones. :) which are not allowed by security audit. As a development tools, I believe SQL Developer and TOAD (in addition to SQL*Plus) are what you need (though these are client/server tools).
    Oracle Enterprise Manager is a good monitoring tool (but not for development), you as a DBA can use EM and access it through a URL.
    I might not necessarily be using sqlplus command. but a stored program like the concurrent fnd programs.There is no standard concurrent request that can help in achieving this.

  • How to retrieve the doc format data from the database?

    Hi Experts,
         I need to retrieve the doc files ( Cv's) from data base to my presentation server. In order to do that what is the field I can use?

    You can use officecontrol UI element for displaying doc files.
    below are some important links
    [Office Control|http://help.sap.com/saphelp_nw04/helpdata/en/5d/a0b16a9d2e4e4d8b2322af6728263f/content.htm]
    [example|http://help.sap.com/saphelp_srm40/helpdata/ru/ef/3483789514b748b6fe1f145e9685ab/content.htm]
    thanks
    sarbjeet singh

  • How to add YYMMDD format date to the file name

    Hi,
    I need genrate the file with date suffixed to its name in YYMMDD format. The add time stamp is adding it till YYYMMDD-HHMMSSS.
    How can I change this format to the required one? Any suggessions.
    Thanks.
    Sri

    hi,
    you can create the whole filename (whatever you need)
    in the mapping (in a UDF) using adapter specific message attributes
    there are many blogs describing how to do that Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
    Regards,
    Michal Krawczyk

  • Hiding Employee data from the Standard Compensation Page.

    Hello All-
    We are using the standard Iview for Compensation planning. In this page once we select the org unit for comp. adjustment we can see the list of all employees and their adjustments. If we click on any employee then a new window will popup which is having the following sub parts ( Employee General data, compensation eligibility, compensation guidelines, Salary Survey).  In the Salary Survey we see different parts like Salary Range, Survey Data, Employee Data.
    We have a business reason to hide the Employee Data. So Is there any backend SAP tables that I can use to hide this data? or is there any way to hide this data?
    Thanks-
    Chakri.

    Hi Chackri!
    In this case u cant make the change at view.
    May be a second option is make a copy of RFC, Webdynpro and ours structures (used inside RFC) and change the aplication.  If you make the copy, you need a new deploy of model data and metadata inside Portal.
    Is not elegant, but works...
    Best Regards!

  • How to format Date uptil the milliseconds

    Hi All,
    I am trying to use XSLT transformation and i need a timestamp till the milliseconds.
    I used the following function and it gave me time uptil seconds
    xp20:current-dateTime()
    So i added this transformation
    format-datetime(xp20:current-dateTime(), "[Y0001][M01][D01]_[H01][m01][S01][N001]")
    But it does not work. The transformation is failing. Can someone guide me as to how to achieve this?
    -Thanks in Advance,

    http://www.w3.org/TR/xslt20/#date-picture-string

  • Need help for FM that converts RAW format data to xls format

    Hi all,
         I am able to get the data from the given spool number to be converted into 'RAW' format. I need to convert this data into Excel format nad want to send the mail as attachment.
         I want to know is there a Function Module that converts this RAW format data into the Excel format?
    regards,
    Brijesh Patel

    Hi,
    instead of that you can do this....
    once spool is generated you have spool number , using the spool number you can generate the excel file using the FM <b>RSPO_DOWNLOAD_SPOOLJOB</b>, pass the spool number, and filename as some.xls and then it will download it to xls file,
    Regads
    vijay

  • How to retrieve the data from the data base,-- its urgent!

    public class UserInfo extends GenericServlet
    public void service(ServletRequest req,ServletResponse res)throws ServletException,IOException
    res.setContentType("text/html");
    PrintWriter out=res.getWriter();
    Connection con=null;
    PreparedStatement pst=null;
    ResultSet rs=null;
    try{
    con=DriverManager.getConnection("jdbc:mysql://localhost/userdetails","mysql","xxxx");
    pst=con.prepareStatement("select * from user_info where ufn=? and uln=? and ueid=? and uname=? and upass=? and urd=? and uage=? and sem=?; ");
    rs=pst.executeQuery();
    if (rs.next())
    {out.println("first name"+rs.getString(1)+"Last name"+rs.getString(2)+"email ID"+rs.getString(3)+"Login name"+rs.getString(4)+"password: masked <br>Registration Date "+rs.getString(7)+"Users age"+rs.getString(8)+"Employed or not if yes 1 and for No 0"+rs.getString(6)   );
    return  ;
    catch(Exception e){out.println(e);}
    finally{try{con.close();}catch(Exception e){out.println(e);}}
    exception : is http method not found ......
    please help me

    1) When you post code, please use[code] and [/code] tags as described in Formatting tips on the message entry page. It makes it much easier to read.
    2) I don't know what you are saying is not found. More information would be helpful.
    3) You had better think of binding some parameters to your PreparedStatement/.
    4) Please close your ResultSets and Statements as well as your Connections.

Maybe you are looking for

  • Unable to SMPTE LOCK automation

    i am still struggling here with this locking issue!! the regions are locking fine, but the automation is NOT locking on any of my projects... After SMPTE locking automation, by accessing the automation event list, selecting all, and then locking ever

  • Error while AUC settlement

    Hi This is with reference to the settlement of assets under construction to final asset. We have maintained the settlement rule properly and while settlement thru T Code AIBU, getting following error:- Transaction type 345 not possible (posting to af

  • Query Related to Line Item

    Hi all, In the Query I have to show something like this PO   POITEM    Net Price X        10            20 Result   :            20 X         20           30 Result  :             30 Same PO with Different POITEM and the result should be Sum of only

  • Quiz results not appearing in email body

    Using Captivate 2, I set up a quiz that is supposed to send its results to e-mail. In the Quiz Manager, on the Reporting tab, I have the following settings: Enable resporting for this project (checked) LMS: email Report Pass or Fail: report status as

  • Absolute Font vs. Relative Fonts

    Hi, I am a fairly new user to Dreamweaver. Is there a way to set the font size in Dreamweaver and it will always appear at this size in the browser - Safari, IE and Netscape??