Each import generates a newline when converted to html

Hello,
I'm running tomcat 6.0.32. Each @ page import is being converted to a newline when compiled by server. For example:
<code>
<%@ page import="sun.misc.*" %>
<%
out.println("SUCCESS: 3434340f");
%>
<code>
Becomes a two line response, the first line (the import for sun.misc) being a single, newline char. The second line being the message.
Is this standard JSP behavior? Is there a setting / option, in the import directive or at the server level to surpress it? So the import statement is not converted to a newline? Some of these pages are read by mobile devices and I'd like to reduce the number of newlines. I realize I could just use full package names for the classes, but I'd prefer not.
Thanks- any help is appreciated.

sean_m_flannery wrote:
I'm running tomcat 6.0.32. Each @ page import is being converted to a newline when compiled by server. For example:
{&#8203;code}
<%@ page import="sun.misc.*" %>
<%
out.println("SUCCESS: 3434340f");
%>{&#8203;code}
Becomes a two line response, the first line (the import for sun.misc) being a single, newline char. The second line being the message.That's because you have a newline there, you could just remove it;
<%@ page import="sun.misc.*" %><%
out.println("SUCCESS: 3434340f");
%>Note that raw code is out of fashion - use tags (taglibs).

Similar Messages

  • Compensating for tabs and leader dots when converting to HTML

    A FrameMaker document contains a series of "tables" which are actually very long lists. They have the appearance of a TOC: a text phrase, a long line of leader dots, a tab, and a numeral at the end of the dots.
    Since the tabs and leader dots vanish when converting to HTML, what might I do to either reconstruct the missing dots or re-create the look of a table for these lists?
    Thanks,
    Karen

    Hello Karen,
    There is no way to automatically replace the tabs or leaders. During the conversion all of the information is completely stripped away, leaving no trace of it in the html code.  In my documents I typically set them up like this:
    In FM
    Test Switch[colon][space] …………………..OFF
    Test Switch: …………………..OFF
    When converted to html
    Test Switch: OFF
    There is another, but more difficult way to keep your tabs and leaders somewhat intact, by the use of tables. If you put the data in a table you can keep the information separated by columns and rows. Also you must manual put periods or dashed instead having FM do it. When this is converted to html the data will remain in the tables. By removing the borders of the tables in FM it will appear clean, however; once you convert it to html you’ll see the borders again. You can either leave it this way or control the table properties by a CSS.
    I’m not sure how my examples will show on the Adobe Forum, but I put them in.
    In FM
    Test Switch
    OFF
    In FM without borders
    Test Switch
    OFF
    When converted to html
    Test Switch
    OFF
    When converted to html with CSS
    Test Switch
    OFF
    I hope this helps
    JE

  • Question about uploading design file when converting a html file to a master file in SP2013

    http://msdn.microsoft.com/en-us/library/jj822370%28v=office.15%29.aspx
    Here there is a note saying "When you upload your design files, you should keep all files that are related to a single design in their own folder in the Master Page Gallery. When you copy your design folder into the mapped network drive, the Master
    Page Gallery retains whatever folder structure you created."
    What do they mean keeping in own folder in Master Page Gallery?  All my design related files are in a single folder containing sub folders of images, css, js..  I copy this top folder to the http://ou.domain/_catalogs/masterpage/    
     This is also where I would copy my html file to first before converting to master file?
    Thank you.

    So I mapped to the server drive,
    http://our.domain/_catalogs/masterpage/    successfully.
     All my design related files are in a single folder containing sub folders of images, css, js..  I should copy this top folder
    to thehttp://ou.domain/_catalogs/masterpage/ 
        and also copy my html file to first before converting to master file.  My question is do I copy all these files(including the html file to be converted to master) to that masterpage folder before following the instruction to go to SP site
    setting and select and convert the html file?  Or is there any other steps I should or shouldn't do.
    Thank you.

  • Report Name does not come when converted to HTML format.

    We are using Report Builder 10.1.2.3.0 to convert a .rep file to HTML. We need the HTML output file to feed to a reports to xls converter.
    Problem is, the html output does not have the report name. Report name (and also date, time. user, page etc.) are in the margin section. For some reason, it wont print the report name in the html. It works fine when I run it in the builder.
    Here is a graphic of the actual outputs: http://postimage.org/image/uio1x32gt/
    Why is this??? The property palette for a label that is printing in all pages (like Date ) is the same as for the report name (GL EXTRACT DETAIL REPORT), BUT it does not appear in the HTML output???
    Any help would be greatly appreciated.
    PS: We use rwrun.exe with desformat=HTML.

    amitphynyl wrote:
    hi,
    have you tried another label for the header of your report.Hi Amit, I tried that, and you are right.
    I created a simple text boilerplate in the margin , on top of the report name. And when we generate the HTML it comes in every page properly.
    The property palettes of the 2 texts are EXACTLY the SAME.
    So why doesn't the old text (with report name) does NOT appear and ONLY the new text appear????
    Cos, we are trying to generate an MS Excel version of every report. For this, we use a tool called rep2excel, and it users as in input an HTML file. So, we have to generate the HTML from the rep and feed it to that.
    So, since we have 200 odd reports, we will have to change all of them, that is why.
    Here is the output (HTML file): http://www.freeimagehosting.net/newuploads/dgrip.gif

  • Autonumbering corrupted when converting RoboHelp HTML 5 to 8.

    everal problems:
    1 RH 8 "created" multiple definitions in my .css file for a each style.
    2 Autonumbered procedures (nested <ol> </ol> in original Help project was stable, but is not correct in RH8
    3 User documentation for Font Family is incorrect/incomplete
    4 Numbers in steps are Times Roman 12, text is Verdana 10.
    1
    css file has 3 "versions" for defined styles, p, kadov, and another one with a rh prefix. I've explicitly called out font family using text editor, but wonder which definition is being picked up in RH 8 project, and if I can/should delete the redundant definitions
    2
    The numbered list selection in the dialog box does not have an example for what I'm looking for:
    1 Step one
    2 Step two
       a. Substep one
       b. Substep two
    3 Step three
    The conversion automagically renumbered procedures with mixed <ol> and <ul> as well as nested <ol>. The result is a procedure that looks like:
    1. Step one
    2. Step two
        1. Substep one
        2. Substep two
    A. Step three
    3
    Font Set  and setting numbers to same size as paragraph text...looking for adequate documetnation on these two problems.
    Font Set documentation is obtuse, on the same page as "Font" instructions. There is no Font Set in the menu.

    1
    The fact that your CSS still contains kadov indicates that for some reason it did not upgrade properly.
    Do you have another project using the same CSS so that you could take a copy and upgrade that to see if it works second time around?
    If not, backup the CSS and edit it manually. Try www.bradsoft.com and use the free lite version of TopStyle.
    2
    Are you looking at multi level numbering? Pretty sure that simple layout is there.
    It is beginning to sound like what you you had various styles that effectivley gave you multi level numbering. What RH8 provides is different and I think you need to check it out. There is some information about it on my site. http://www.grainge.org/pages/authoring/rh_tour/index.htm
    3
    Sounds like you have the LI configured to Verdana but OL not configured so it is taking your browser default or you have that defined as Times.
    4
    You have four items in the heading of your post but only three in the body.
    See www.grainge.org for RoboHelp and Authoring tips

  • When converting RoboHelp HTML 9 files to RoboHelp HTML5 11 files, is it transparent and seamless or are there adjustments that need to be made to the output?

    We are considering upgrading from RoboHelp HTML 9 to RoboHelp HTML5 11. With all of our output files accessible by our customers, we want to ensure our content is always available to address their questions. When doing an upgrade to RH 11 will opening and outputting the files be seamless or will the files need tweaks to get them ready for publication? How much time would it take to adjust one page, if it's needed?
    Any insight/experience you have with this topic to share is most appreciated.
    Thank you.

    There's information on my site about fixing any List issues.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Removing file location path when converting to PDF?

    Is there a setting somewhere that I can alter so that when I convert a TXT or HTML file to PDF the location path doesn't show on the bottom of each PDF page? Currently when converting I get something along these lines of file:///F|/Folder/254126.txt[06-Aug-11 20:34:02] on the bottom in a smaller font than the rest of the page.
    Is there a way to disable this or is it just something I have to live with?
    I am using Adobe Acrobat X Pro.

    Settings for converting text and HTML pages aren't in the preferences panel, they're buried in the web capture widget:
    Open the Tools Pane > Pages > More Insert Options > Create PDF from Web Page.
    Click "Settings"
    Uncheck "Place headers....", click OK then Cancel to close the capture dialog.

  • I imported a video and when I play it back, the audio does not match the video. When I view the tape in my camera it looks fine. I've tried imported twice and each time it doesn't match. What can I do to fix this?

    I imported a video and when I play it back, the audio does not match the video. When I view the tape in my camera it looks fine. I've tried imported twice and each time it doesn't match. What can I do to fix this?

    The default settings mostly likely use an audio sample rate of 32k. This doesn't work probably in FCP. You're probably better off capturing the tape in iMovie.

  • It generates an error when trying to import a version apex 4.0 production.

    It generates an error when trying to import a version 4 application to production. The copy was made as an apex 4 EA 2, (I have backups of different times in July). The error:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 4, column 1: PLS-00306: wrong number or types of arguments in call to 'CREATE_PAGE_ITEM' ORA-06550: line 4, column 1: PL/SQL: Statement ignored &lt;pre&gt;declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=&amp;gt;298101103038895115 + wwv_flow_api.g_id_offset, p_flow_id=&amp;gt; wwv_flow.g_flow_id, p_flow_step_id=&amp;gt; 45, p_name=&amp;gt;'P45_PRODUCTBACKLOG'

    This is the response that sends the team apex.
    Production is very different than our EA versions. On our EA site, we explicitly stated that an export from there may not work against 4.0. From your error, it looks as if the create_page_item procedure changed between EA2 and production. The only recommendation is to take an export from production and compare the statements used for create_page_item. If you can update your EA export to match the new format, you might be able to import but again, that action is unsupported.
    -- APEX Support Team

  • HT1550 I'm having trouble with importing them into iTunes and converting them at the same time. when i hold down option over the files i can't find where its supposed to say create new version. is this if you're in iTunes?

    I'm having trouble with importing them into iTunes and converting them at the same time. when i hold down option over the files i can't find where its supposed to say create new version. is this if you're in iTunes?

    You can't do it in one step. Add to iTunes first, Once the tracks are in iTunes you may convert to a different format.
    tt2

  • Loss of Illustration (.AI) quality when converting FrameMaker to PDF

    Hello -
    We're running into some unpredictable problems when converting a FrameMaker file to PDF. Our images are created in Illustrator (CC), and inserted into FrameMaker (12) as a linked file. In Frame, the illustrations look perfectly fine.
    On export to PDF (Acrobat XI), whether "Save as PDF", "Print" to postscript, or "Print" directly to PDF, some illustrations show up "fuzzy" on the screen. It's not the entire graphic, but seemingly random sections of the illustrations that are pixelated. The illustrations are layered, vector, non-outlined .AI files.
    Adobe PDF settings (in Distiller XI) are optimized for online viewing.
    The reason I'm asking in the Acrobat forum is because if a problematic file is opened in Illustrator, the section that is pixelated in the PDF don't exist as overlays or layers in the AI file. When I say 'don't exist', I mean that if you select each and every layer individually, selections are never the entire pixelated area.
    Windows 7
    Adobe Illustrator CC
    Adobe FrameMaker 12
    Acrobat Distiller XI
    Thank you so much in advance for your help.

    We use structured Framemaker, and insert the graphic as an element. It is a linked file, not imported. The files, as I mentioned, are AI files, not saved as EPS or a rasterized file type. It is a full vector .ai file.
    We have occasionally seen a similar problem when there have been overlays (to show dimension/shadows), but removing the overlay has solved the problem. What gets me, now, is that it is creating these seemingly random blocks in the graphics - as though parts of the illustration are being rendered as low-res bitmaps. In the PDF file, we can click on the poorly rendered section, delete it, and it removes a layer or two from the illustration, but the background is still intact (in other words, it doesn't leave a white gap).

  • Moving Scriptlet Code to backing bean when converting from JSP - Facelets

    Hello!
    We are converting our application from jsf1.2 to 2.0 and all jsps are being converted to XHTML. Some are trivial while others had very complex scriptlets.
    I would like to know what are some of the recommended ways of moving Scriptlet Code to backing bean when converting from JSP -> Facelets.
    I have thought about listeners, actionListeners, putting code getXXXX() of the backing bean and then calling #{bean.XXXX} but not sure whats the best way.
    I do appreciate the response!
    Eg of a jsp page:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="/WEB-INF/xxx-jsf.tld" prefix="l" %>
    <%@ taglib uri="/WEB-INF/yyy-pp.tld" prefix="p" %>
    <%@ page import="com.ttyy.search.beans.jsf.AdvancedSearchFormManagedBean" %>
    <%@ page import="com.kkee.util.*"%>
    <%
        AdvancedSearchFormManagedBean advancedSearchFormManagedBean = (AdvancedSearchFormManagedBean) request.getSession().getAttribute("AdvancedSearchFormManagedBean");
        if (advancedSearchFormManagedBean == null) {
           advancedSearchFormManagedBean = new AdvancedSearchFormManagedBean();
           request.getSession().setAttribute("AdvancedSearchFormManagedBean", advancedSearchFormManagedBean);
        advancedSearchFormManagedBean.initializeForAdvancedSearchOptions();
        advancedSearchFormManagedBean.setQuickSearch();
         request.setAttribute("portletHeader", "Hello " + advancedSearchFormManagedBean.getPerson().getFirstname() + ", check out the latest programs in your practice areas and jurisdictions");
    %>
    <h:form id="MYCenterForm">
         <p:portletRenderer portletSetName="test of portlet"
              portletContainer="#{PortletContainerManagedBean}"
              id="MYCenter"
              portletScope = "TEST_SCOPE"
              suppressIfNoData="true"
              portletSkinName="SOME_SKIN">
              <f:facet name="persistenceToolkit">
                   <h:commandLink id="persistenceToolkitLink"
                        actionListener="#{PortletContainerManagedBean.persistPortletSetStateListener}">
                        <h:outputText value="Save State Of Portlet Set" id="persistenceToolkitLinkText"/>
                   </h:commandLink>
              </f:facet>
         </p:pagePortletSetRenderer>
    </h:form>
    <%
         String flag = PropertyItems.getInstance().getPropertyItem("response.time.flag");
         if("1".equals(flag)){
              ResponseTime rt = (ResponseTime) session.getAttribute("responseTime");
            if(rt!=null){
                rt.setDesc("my cle loaded");
                long now = System.currentTimeMillis();
                long start = rt.getStart() + rt.getTotal();
                rt.setInterval(now-start);
                rt.setTotal(rt.getTotal()+rt.getInterval());
                LogUtil.log(rt.toString(), LogUtil.DEBUG_LEVEL);
                session.setAttribute("responseTime", rt);
    %>

    That helps.
    This could be another topic question but itst kind of related to what i am doing right now. while converting JSP to facelet (in jsf2) I came across another issue.
    <h:commandLink id="Save" rendered="#{RegistrationBean.isNOTInOrigionalRegistrationMode}" action="#{RegistrationBean.updateProfile2Submit}" styleClass="#{portalSkinManagedBean.contentPortletSkin.strongTextStyle}">
              <l:htmlSkinnedImage id="SaveImage" style="border:0;" url="save.gif" alt="Save Information"/>
    </h:commandLink>When I click on the generated link, I get this. And this is happening for all the h:commandLink in the application.
    http://localhost:9080/registration/updateProfile2.jsf[request.getQueryString()=null][request.getRequestedSessionId()=F1CCE237DD81D301F1C4DBA6910FFD8A][request.isRequestedSessionIdFromCookie()=true][request.isRequestedSessionIdFromURL()=false][request.isRequestedSessionIdValid()=true]Parameters:[rolePracticeAreasForm:title=rolePracticeAreasForm:primaryPracticeArea=10002javax.faces.ViewState=-2943345291093118815:-4400303399130292206rolePracticeAreasForm:practiceAreasMod2=10148.1rolePracticeAreasForm:practiceAreasMod1=10002.1rolePracticeAreasForm:Save=rolePracticeAreasForm:SaverolePracticeAreasForm=rolePracticeAreasFormrolePracticeAreasForm:otherField=rolePracticeAreasForm:fromMyAccount=1]||
    javax.servlet.ServletException: Index: 0, Size: 0
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.legaledcenter.util.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:250)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.jscape.framework.galileo.support.upload.UploadFilter.doFilter(UploadFilter.java:71)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at javax.faces.component.AttachedObjectListHolder.restoreState(AttachedObjectListHolder.java:161)
         at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1427)
         at com.sun.faces.application.view.StateHolderSaver.restore(StateHolderSaver.java:121)
         at com.sun.faces.application.view.StateManagementStrategyImpl$4.invokeContextCallback(StateManagementStrategyImpl.java:289)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1253)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1262)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1262)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1262)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1262)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672)
         at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:284)
         at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:177)
         at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:119)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:434)
         at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:143)
         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:199)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         ... 22 more
    ********** Message End *************Thanks

  • RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ''

    Hi,
    While executing the below code i am getting the error
    " RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ' ' am new to ABAP , can anyone kindly help me where i have went wrong ? .
    IF ( V_DO_CDS_NAME_MAIN <> '' ).
        ABAP.
            DATA: ref_it_tab TYPE REF TO data,
                  ref_wa TYPE REF TO data.
            FIELD-SYMBOLS: <fs_itab> TYPE ANY TABLE.
            FIELD-SYMBOLS: <fs_wa> TYPE ANY.
            FIELD-SYMBOLS: <fs_field> TYPE ANY.
            CREATE DATA ref_it_tab TYPE STANDARD TABLE OF (V_DO_CDS_NAME_MAIN) WITH NON-UNIQUE DEFAULT KEY.
            ASSIGN ref_it_tab->* TO <fs_itab>.
            SELECT * FROM (V_DO_CDS_NAME_MAIN) INTO TABLE <fs_itab> where C1 = V_WORK_ITEM_ID_MAIN.
            CREATE DATA ref_wa LIKE LINE OF <fs_itab>.
            ASSIGN ref_wa->* TO <fs_wa>.
            loop at <fs_itab> assigning <fs_wa>.
                assign component 'CLIENT' of structure <fs_wa> to <fs_field>.
                V_CLIENT = <fs_field>.
                assign component 'C0' of structure <fs_wa> to <fs_field>.
                V_C0 = <fs_field>.
                assign component 'C1' of structure <fs_wa> to <fs_field>.
                V_C1 = <fs_field>.
                assign component 'C2' of structure <fs_wa> to <fs_field>.
                V_C2 = <fs_field>.
                assign component 'C3' of structure <fs_wa> to <fs_field>.
                V_C3 = <fs_field>.
                assign component 'C4' of structure <fs_wa> to <fs_field>.
                V_C4 = <fs_field>.
                assign component 'C5' of structure <fs_wa> to <fs_field>.
                V_C5 = <fs_field>.
                assign component 'C6' of structure <fs_wa> to <fs_field>.
                V_C6 = <fs_field>.
                assign component 'C7' of structure <fs_wa> to <fs_field>.
                V_C7 = <fs_field>.
                assign component 'C8' of structure <fs_wa> to <fs_field>.
                V_C8 = <fs_field>.
                assign component 'MESSAGE_ID' of structure <fs_wa> to <fs_field>.
                V_MESSAGE_ID = <fs_field>.
                assign component 'TIMESTAMP' of structure <fs_wa> to <fs_field>.
                V_TIMESTAMP = <fs_field>.
                assign component 'EXTRACTKEY' of structure <fs_wa> to <fs_field>.
                V_EXTRACTKEY = <fs_field>.
                assign component 'STATEID' of structure <fs_wa> to <fs_field>.
                V_STATEID = <fs_field>.
                assign component 'DEVICE_ID' of structure <fs_wa> to <fs_field>.
                V_DEVICE_ID = <fs_field>.
            ENDLOOP.
        ENDABAP.
    ENDIF.

    Hi Mubeen,
    While Copying the cotes have come closer otherwise its working fine , i was able to find the error .
    There are ten predefined ABAP data types. There are 100 possible type combinations between these elementary data types. ABAP supports automatic type conversion and length adjustment for all of them except type D (date) and type T (time) fields which cannot be converted into each other.
    I commented the TimeStamp part where i had given the ABAP Type as D and it started working .
    But now i want to display the content of  "TimeStamp"  field but i am not able to do so .
    This is the format in which it has to be displayed 2009.011.915.3353.
    Which ABAPTYPE i need to use ?.
    i am able to display in this format 20090119153353
    regards
    Harsha

  • Conversion failed when converting date and/or time from character string

    Hi experts,
    I'm trying running a query in Microsoft Query but it gives the following error message:
    "conversion failed when converting date and/or time from character string"
    when asks me the data I'm inserting 31-01-2014
    i've copy the query form the forum:
    SELECT T1.CardCode, T1.CardName, T1.CreditLine, T0.RefDate, T0.Ref1 'Document Number',
         CASE  WHEN T0.TransType=13 THEN 'Invoice'
              WHEN T0.TransType=14 THEN 'Credit Note'
              WHEN T0.TransType=30 THEN 'Journal'
              WHEN T0.TransType=24 THEN 'Receipt'
              END AS 'Document Type',
         T0.DueDate, (T0.Debit- T0.Credit) 'Balance'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')<=-1),0) 'Future'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=0 and DateDiff(day, T0.DueDate,'[%1]')<=30),0) 'Current'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>30 and DateDiff(day, T0.DueDate,'[%1]')<=60),0) '31-60 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>60 and DateDiff(day, T0.DueDate,'[%1]')<=90),0) '61-90 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>90 and DateDiff(day, T0.DueDate,'[%1]')<=120),0) '91-120 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=121),0) '121+ Days'
    FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode
    WHERE (T0.MthDate IS NULL OR T0.MthDate > ?) AND T0.RefDate <= ? AND T1.CardType = 'C'
    ORDER BY T1.CardCode, T0.DueDate, T0.Ref1

    Hi,
    The above error appears due to date format is differnt from SAP query generator and SQL server.
    So you need convert all date in above query to SQL server required format.
    Try to convert..let me know if not possible.
    Thanks & Regards,
    Nagarajan

  • Not able to generate AS2 MDN when receiving custom XML via AS2

    Hi friends,
    I have setup the trading partner and the corresponding TP certificate import for receiving the custom XML via AS2 channel.
    I am receiving the custom xml properly to oracle b2b and able to receive the same to bpel as well. however in the oracle b2b console under reports tab i am seeing only one record for inbound document receive and i am not seeing the other record for the AS2 MDN going back to vendor. I have setup the AS2 channel under the external trading partner --> Channel using the vendor AS2 URL and selected all the security parameters while creating the Outbound AS2 channel.
    1. Not able to generate AS2 MDN when receiving custom XML via AS2.
    2. eventhough i am able to decrypt the inbound custom XML and ablr to recieve it in bpel also for processing, in the reports tab the inbound message state is changing to MSG_ERROR and it has the folloing error message:
    Error Code
    B2B-50037
    Error Description
    Machine Info: (***********)  Description: B2B inbound message processing error
    Error Level
    ERROR_LEVEL_COLLABORATION
    for AS2 MDN generation for custom XML receiving using As2 protocol, do we need to setup anything other than the outbound As2 Channel using the external vendor AS2 URL?
    Can you please help me how can i generate the AS2 MDN for the inbound custom XML document i have received and also why the inbound message is failing even though i am receiving the custom XML properly to bpel?
    Thanks,
    Amirineni.

    Hi Prasanna,
    Vendor has enabled the ACK mode as SYNC.
    Below are the headers for the inbound message to B2B. and we are able to receive the input message to bpel also.
    Protocol Transport Binding
    ChannelName=******** AS2-To=****AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=****** Recipient-Address=https://******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=****** Content-Disposition=attachment; filename="smime.p7m" Host=****** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=****** Mime-Version=1.0
    Message Digest
    Message Digest
    Digest Algorithm
    sha1
    Transport Protocol
    HTTP
    Transport Protocol Version
    1.0
    Url
    http://******
    security
    Transport Headers
    ChannelName=****** AS2-To=******AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****AS2_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=***** Recipient-Address=*******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=******* Content-Disposition=attachment; filename="smime.p7m" Host=***** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=***** Mime-Version=1.0
    Thanks,
    Amirineni

Maybe you are looking for

  • IOS 8.1 Excel % Issue

    Hi Applemates, With the update to 8.1 (from 7.1) on my iPhone & iPad, I am having issues reading my Excel reports that come through mails. The issue is the % numbers are shown incorrectly. E.g. 39% is shown as 0%, 90% is shown as 1% and 200% is shown

  • In  IT0359 how to make one feild as  visible in Screen Modification

    Hi Experts, I have one feild in IT0359 which is not visible.I checked in T558M and feild is checked as Standard settings.Still the feild is not visible in infotype. Appreciate your input in this regard.

  • How  to use US itun shop  in uk?

    i was wondering if you can help me with following problem... i would like to purchase some music and films from american itunes shop . unfortunately when i try doing this i am redirected to the original shop i signed up for - the UK shop. how to solv

  • Error when opening Itunes and quicktime

    when i try to open itunes it says "itunes cannot run because it has detected a problem with your audio configuration" when i try to open quicktime i get a runtime error. i just downloaded and installed 7.3.1. what should i do now?

  • Can Only Compile a Package in Object Browser  ORA-06502

    I am running Apex 3.0.1 against a 10.2 Database.. I have at least 2 packages, that I can only change in APEX using the Object Browser, If I try using SQL Developer/TOAD or any other tools it returns the error message below. The package bodies are aro