OUT PUT FORMAT MIS MATCHING

Hi Gurus,
One of our user is facing an issue while giving a print out, when he is giving a print the out put of the print out size is very small.
Details : ECC5.0
Printer : HP laserjet 2600
Network printer
Any suggestions how to go ahead with this issue.
For the above details which drivers will be suitable.
Waiting for your response.
Thanks
VJ

Hi,
For HP Laserjet, there are lot of suitable device type of similar type. Choose any HP related device type and also while firing the printout ask user to select the correct format type. Is it a smartform or standard ALV print. Ask user to choose the correct format type.
Regards,
Sharath

Similar Messages

  • PO Out put format queries

    What is the control data for SRM PO out put format ( Vendor, or GL account)
    how the SRM PO output format (XML to Printer) got changed for some PO's? is related to vendor? is there any field available when we can assign the vendor BP?
    Please reply at the earliest. Thanks in advance...

    The vendor data controls it, it can be maintained via front-end via a user assigned with the Administrator role.
    Kind regards,
    Tim

  • MRP Schedule line out put format

    Hi Friends,
    I am working on SAP4.7 Version.
    I have maintained all the relavent MRP datas in material master.
    Like MRP type - PD,
    Lot Size- MB ( Monthly Lot size).
    I have created planned independent requirement in MD61 monthly wise for that material.
    I have given Schedule agreement number in Source in List with MRP indicator - 2.
    I am running MRP for a material with MD02 with MRP parameter Delivery schedules -3 (Schedule lines) .
    The MRP running succesfully and creating delivery Lines with delivery dates.
    But the requirement by the client is..
    The delivery lines should be generated in month wise.
    How to convert the schedule lines generated in day format to Month format in MRP run out put?
    While creating schedule lines with ME38. we have option to select the day format / month format/ week wise?
    But the MRP out put always generated in date wise?
    Any one knows what changes i should make?
    Guide me ..
    Thanks & Best Regards
    Giri

    Hi there,
    idealy its not possible in standard sap.
    but you can do one thing that...
    copy original programme of MD04 and create ZMD04 transaction  or you can search a usefull function mdule. Here you can convert date in months by using some abap code of function module if available.
    i know this is a very rough idea about solution bu it will help definitely help you
    Regards
    Hemant

  • ALV custom controller out put format

    hi all,
    i want to show out put with headline ex:
    sales quatation
    1 check box quatation id description
    Sales Order
    2 check box sales order id description
    Sales Invoivces
    3 check box sales invoice id description.
    but i am getting out put
    1 check box quatation id description
    2 check box sales order id description
    3 check box sales invoice id description.
    how can i show the out put based on my requirement.
    we are using custom cntroller is there any other way to show ouput based on Headline.please provide some example

    Hi,
    Try to Use these Classes  CL_GUI_ALV_TREE (ALV Tree Control)
    CL_GUI_ALV_TREE_SIMPLE (Simple ALV Tree) .
    And  also use this Class CL_GUI_TREE_MODEL, and when creating the object set the selection mode to cl_list_tree_model=>node_sel_mode_multiple.
    Regards ,
    S.Saravana

  • Regarding Input and Out put format

    Hello Experts,
    While uploading my notepad file, how the system will identify individual fields,I can make it using delimeters like with commas( , ) or pipe symbols ( | ) or Space. So how it is able to understand each individual fields. For this where we do configuration in our scenario.
    Thank  you

    Hi,
    You have to use file content conversion(FCC) for this.Using this you can make your file adapter to understand your FIle.
    Converting File Content in a Sender Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Converting File Content in the Receiver Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    There are many blogs with many cases- You can find in SDN very easily-
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    Thanks,
    Vijaya.

  • S_ALR_87012085 out Put modification

    Hai ,
         There is a standard report S_ALR_87012085  which is used to generate the vendor Aging Analysis , I need to change the out put format without using an enchacement   I am not aware exactly about imlicit and explicit enchancement if any body know about it please let  me know  the steps how we can achive this .
    Regards,
    K.Vinay Kumar

    Hi,
    I have  solved this issue my self, there is a accesibility mode in the GUI settings  then the output has been changed to alv ,
    Regards
    K. Vinay Kumar

  • When I run a BAPI ,  then What is the out put?

    When I run a BAPI ,  then What is the out put format ?
    Is there anyone in Chennai regarding this ?

    the BAPI i am creating will fetch the sales order header data (along with partner details) and item data  and put it in the JMS que (JAVA MESSAGE SERVICE)  ....
    Can we use more than one internal table  where i will put the data
    i.e
    1.  for header data
    2. for partner (because the partners will be repeated
    3. for  item data
    and the BAPI will fetch the data from SAP tables and put it in these tables....and we can fetch the data by an integrator software and finally put it in the JMS queue.....

  • MRP Out Put  Schedule lines date format to month

    Hi Friends,
    I am working on SAP4.7 Version.
    I have maintained all the relavent MRP datas in material master.
    Like MRP type - PD,
    Lot Size- MB ( Monthly Lot size).
    I have created planned independent requirement in MD61 monthly wise for that material.
    I have given Schedule agreement number in Source in List with MRP indicator - 2.
    I am running MRP for a material with MD02 with MRP parameter Delivery schedules -3 (Schedule lines) .
    The MRP running succesfully and creating delivery Lines with delivery dates.
    But the requirement by the client is..
    The delivery lines should be generated in month wise.
    How to convert the schedule lines generated in day format to Month format in MRP run out put?
    While creating schedule lines with ME38. we have option to select the day format / month format/ week wise?
    But the MRP out put always generated in date wise?
    Any one knows what changes i should make?
    Guide me ..
    Thanks & Best Regards
    Giri

    Hai Boss
              Can you throw some light , how you set default mrp indicator month wise with the help of ABAPER.
    My client requirement also same like you. Yours is month, mine is week. Pl help me out.
    regards
    ssp

  • Out put Script  or smart form formate

    Hi Experts,
    I want to send the PO Out  put to the Vendor through the mail.So in which formate it will got to the vendor wether it is word formate? Is that output  can be modifiable by the vendor ?
    Sridevi.

    Hi
    The output sent to the vendor via mail, need to be sent in ODF format , so that it cannot be changed.
    You can convert the Spool genrated into a PDF format & then send this throiugh mail in the PO Output Program
    Thanks & Regards
    Kishore

  • I have proubleam with string to date conversion, i out put date fromat is 2012-04-30T23:48:55.727-07:00 . so please help me the format conversion

    i have proubleam with string to date conversion, i out put date fromat is 2012-04-30T23:48:55.727-07:00 . so please help me the format conversion.
    i wrote the method but it not workig
    My method is
    -(NSDate *)dateformstr:(NSString *)str
    NSString *date = [str stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
        NSDateFormatter *dateFormate = [[NSDateFormatter alloc] init];
      [dateFormate setDateFormat:@"yyyy-MM-dd'T'HH:mm:sssZZZZ"]
    // NSDate *formatterDate = [dateFormate  dateFromString:str];
        return formatterDate;
    but i did not the value and if i try othere formate i is working but my requiremet format is 2012-04-30T23:48:55.727-07:00.
    can any help it out in this senario.

    Sorry Butterbean, but I'm interested in the answer to your question myself.
    I've spent a few hours transfering my library from one computer to another and then find out that my ratings didn't transfer. Like you, I've spent many hours rating my 2000+ songs. I'm sure you have more, nevertheless, I want to find out how to get those ratings. They still show in my iTunes on my laptop but, when I go to the iTunes folder and display the details of at song, no rating is there. If you find out how to get them to display there in the iTunes folder, it seems that would be the key.
    Hope you get your answer soon.

  • Issue formatting out put

    i have an app that stores text from a form, in a data base field called RESPONSE.  the form field is either a text input or textarea.  My issue is that the customer enters both paragraph text and list text in the same field.  When i out put this in  report they want to see:
    some text, some text some text some text some text
    item 1  
    item 2
    item 3
    and currently they  see two paragraph on with the list items strung end to end.
    is there a way that i can take the data and on out putting it display the paragraph as a paragraph and the list items as a list?
    currently using paragraphFormat(response) which works great as long as response is not a list.
    any suggestions?

    Doing it this way:
    #replace(HTMLEditFormat(response), chr(10), "<br />", "all")#
    has the following advantages.
    It will display more or less as entered.
    Javascript will display instead of execute.
    Angle brackets used as math symbols will display properly.

  • Sharepoint online multiline list colomn not rendering HTML out put

    Hi 
    I have list with multi line column with having multimedia options. my problem is i have created view and edited XSL  to format it. also i have added "escape out put =yes" for the column but no luck still column is rendering as HTML Tags witch
    is not rendering HTML formats in UI
    Following is my code for List view any help greatly appreciate.. 
    regards
    Radika
    <%@ Page language="C#" MasterPageFile="~masterurl/default.master"    Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=16.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document"
    meta:webpartpageexpansion="full"  %>
    <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities"
    Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI,
    Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral,
    PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="ApplicationPages" Namespace="Microsoft.SharePoint.ApplicationPages.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:ListProperty Property="TitleOrFolder" runat="server"/> - 
    <SharePoint:ListProperty Property="CurrentViewTitle" runat="server"/></asp:Content>
    <asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
    <SharePoint:RssLink runat="server"/>
    </asp:content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server">
    <SharePoint:ViewIcon Width="145" Height="54" runat="server"/></asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderLeftActions" runat="server">
    <SharePoint:RecentChangesMenu runat="server" id="RecentChanges"/>
    <SharePoint:ModifySettingsLink runat="server"/>
    </asp:Content>
    <asp:Content ContentPlaceHolderId ="PlaceHolderBodyLeftBorder" runat="server">
    <div height="100%" class="ms-pagemargin"><img src="/_layouts/15/images/blank.gif?rev=37" width='6' height='1' alt="" data-accessibility-nocheck="true"/></div>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
    <WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main"><ZoneTemplate>
    <WebPartPages:XsltListViewWebPart runat="server" ViewFlag="" ViewSelectorFetchAsync="False" InplaceSearchEnabled="True" ServerRender="False" ClientRender="False"
    InitialAsyncDataFetch="False" WebId="00000000-0000-0000-0000-000000000000" IsClientRender="False" GhostedXslLink="main.xsl" ViewGuid="{D63D68ED-17D1-4CC9-BCF6-20DFED0FB269}" EnableOriginalValue="False"
    DisplayName="NewsDisplay" ViewContentTypeId="0x" ListName="{17179938-EFC8-4DFE-92E9-CDE296D46919}" ListId="17179938-efc8-4dfe-92e9-cde296d46919" PageSize="-1" UseSQLDataSourcePaging="True" DataSourceID=""
    ShowWithSampleData="False" AsyncRefresh="False" ManualRefresh="False" AutoRefresh="False" AutoRefreshInterval="60" Title="CT_RSSFeeds" FrameType="Default" SuppressWebPartChrome="False"
    Description="" IsIncluded="True" PartOrder="2" FrameState="Normal" AllowRemove="True" AllowZoneChange="True" AllowMinimize="True" AllowConnect="True" AllowEdit="True"
    AllowHide="True" IsVisible="True" TitleUrl="/sites/EFLDEV/Lists/CT_RSSFeeds" DetailLink="/sites/EFLDEV/Lists/CT_RSSFeeds" HelpLink="" HelpMode="Modeless" Dir="Default" PartImageSmall=""
    MissingAssembly="Cannot import this Web Part." PartImageLarge="" IsIncludedFilter="" ExportControlledProperties="False" ConnectionID="00000000-0000-0000-0000-000000000000" ID="g_d63d68ed_17d1_4cc9_bcf6_20dfed0fb269"
    ExportMode="NonSensitiveData" __MarkupType="vsattributemarkup" __WebPartId="{D63D68ED-17D1-4CC9-BCF6-20DFED0FB269}" __AllowXSLTEditing="true" __designer:CustomXsl="Fldtypes_mswhTitle.xsl;fldtypes_Ratings.xsl"
    WebPart="true" Height="" Width=""><ParameterBindings>
    <ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/>
    <ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/>
    <ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue=""/>
    <ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
    <ParameterBinding Name="OpenMenuKeyAccessible" Location="Resource(wss,OpenMenuKeyAccessible)" />
    <ParameterBinding Name="open_menu" Location="Resource(wss,open_menu)" />
    <ParameterBinding Name="select_deselect_all" Location="Resource(wss,select_deselect_all)" />
    <ParameterBinding Name="idPresEnabled" Location="Resource(wss,idPresEnabled)" />
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
    </ParameterBindings>
    <Xsl>
    <xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
    xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal">     <xsl:output method="html" indent="no"/>     <xsl:decimal-format NaN=""/>  
      <xsl:param name="dvt_apos">&apos;</xsl:param>     <xsl:variable name="dvt_1_automode">0</xsl:variable>     <xsl:template match="/" xmlns:x="http://www.w3.org/2001/XMLSchema"
    xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:SharePoint="Microsoft.SharePoint.WebControls">
            <xsl:call-template name="dvt_1"/>     </xsl:template>     
    <xsl:template name="dvt_1" ddwrt:ghost="" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:ddwrt2="urn:frontpage:internal">      
      <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>      
         <link rel="stylesheet" href="/sites/EFLDEV/Utillity/ES/page.css" type="text/css" media="screen" /> <link rel="stylesheet" href="/sites/EFLDEV/Utillity/ES/slider.css" type="text/css"
    media="screen" /> <script type="text/javascript" src="/sites/EFLDEV/Utillity/ES/jquery.easing.1.2.js"></script> <script src="/sites/EFLDEV/Utillity/ES/jquery.anythingslider.js" type="text/javascript"
    charset="utf-8"></script> <script type="text/javascript">         function formatText(index, panel) {           return index + &quot;&quot;;        
    }         $(function () {             $(&apos;.anythingSlider&apos;).anythingSlider({                 easing: &quot;easeInOutExpo&quot;,    
                autoPlay: true,                 delay: 3000,                 startStopped: false,                
    animationTime: 600,                 hashTags: true,                 buildNavigation: true,             pauseOnHover: true,        
    startText: &quot;Go&quot;,         stopText: &quot;Stop&quot;,     navigationFormatter: formatText             });             $(&quot;#slide-jump&quot;).click(function(){
                    $(&apos;.anythingSlider&apos;).anythingSlider(6);             });         });     </script> <div class="anythingSlider">
        <div class="wrapper">         <ul>         <xsl:call-template name="dvt_1.body">             <xsl:with-param name="Rows"
    select="$Rows" />             </xsl:call-template>         </ul>             </div>         </div>     </xsl:template>
        <xsl:template name="dvt_1.body">         <xsl:param name="Rows" />         <xsl:for-each select="$Rows">    
            <xsl:call-template name="dvt_1.rowview" />         </xsl:for-each>     </xsl:template>     
    <xsl:template name="dvt_1.rowview" ddwrt:ghost="" xmlns:ddwrt2="urn:frontpage:internal">         <li>         <div class="textSlide">
    <!-- display the item title and a link to the item --><h3><a href="/{@FileDirRef}/DispForm.aspx?ID={@ID}" title="{@ItemTitle}"><xsl:value-of select="@ItemTitle" /></a></h3> <!-- display the
    body of the item  -->    <div><xsl:value-of select="@ItemDescription" disable-output-escaping="yes" /></div>     </div>     </li></xsl:template> 
    </xsl:stylesheet></Xsl>
    <DataFields>
    </DataFields>
    <XmlDefinition>
    <View Name="{D63D68ED-17D1-4CC9-BCF6-20DFED0FB269}" Type="HTML" DisplayName="NewsDisplay" Url="/sites/EFLDEV/Lists/CT_RSSFeeds/NewsDisplay.aspx" Level="1" BaseViewID="1"
    ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=37" >
    <Query/>
    <ViewFields>
    <FieldRef Name="LinkTitle"/>
    <FieldRef Name="ChannelID"/>
    <FieldRef Name="Tag"/>
    <FieldRef Name="Created1"/>
    <FieldRef Name="ItemTitle"/>
    <FieldRef Name="ID"/>
    <FieldRef Name="ItemDescription"/>
    </ViewFields>
    <RowLimit Paged="TRUE">30</RowLimit>
    <Aggregations Value="Off"/>
    <JSLink>clienttemplates.js</JSLink>
    <XslLink Default="TRUE">main.xsl</XslLink>
    <Toolbar Type="Standard"/>
    </View>
    </XmlDefinition>
    </WebPartPages:XsltListViewWebPart>
    </ZoneTemplate></WebPartPages:WebPartZone>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">
    <SharePoint:ListProperty CssClass="ms-listdescription" Property="Description" runat="server"/>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderCalendarNavigator" runat="server">
    <SharePoint:SPCalendarNavigator id="CalendarNavigatorId" runat="server"/>
      <ApplicationPages:CalendarAggregationPanel id="AggregationPanel" runat="server"/>
    </asp:Content>

    Hi,
    In SharePoint Online 2013, we can use jQuery to convert “&lt”  to “<” and  convert “&gt” to “>”.
    The following code for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    $(".ms-rtestate-field").each(function(){
    var $this = $(this).find("p");
    if ($this.length>0) {
    $this.each(function(){
    $(this).html($(this).html().replace('&lt;', '<').replace('&gt;', '>'));
    </script>
    We can also use JSLink to customize the display view.
    http://code.msdn.microsoft.com/office/Client-side-rendering-JS-2ed3538a
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • XML PUBLISHER report in Excel out put problem

    Hi Experts,
    I have developed one XML report which output type is EXCEL in Oracle Application.
    I am getting some -ve value in the report so I need to do the trailing sign
    Menace for example I got a value -8645 I need to display the value like (8645).
    This functionality is working in PDF output but in EXCEL out put it is not working.
    Could any body please help me on this..
    Its Urgent .
    Thanks in Advance.

    Check this metalink notes, did you got any error..?
    Note: 364547.1 - Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=364547.1
    Note: 359875.1 - Cannot View Xml Publisher Report Output In Excel Format
    Note: 358296.1 - How To Produce Requests In Formats Of HTML, RTF, and Excel From XML Publisher
    Note: 850685.1 - Wrong Output Format In Xml Publisher Output
    Note: 727031.1 - XML Publisher Requests Always Get Defaulted to Output Format as PDF Whatever the Template Type is Set To
    Note: 337343.1 - Unable to View Excel Output File Created by XML Publisher
    Note: 401328.1 - Default Layout Format for XML Publisher Concurrent Request Is Always PDF
    Re: XML Publisher Server on EBS 11.5.10.2

  • Out put in Background (SM37) not showing All columns

    Hi Folks,
             I’m creating an out put display for my query in background , we have define an output device , after submitting the query in back ground it just showing me only 10 columns . I mean I its not showing me all columns when I went to SE37-> select job->”spool ->view (display).
    Why it’s happening?
    Please help me
    Cheers
    Usman

    When you are submitting the job in background by exexuting your query from Sq01 or Tr.code , a screen will pop-up ask for you device name, on the same screen you’ll see properties hit that, it’ll take you to another screen and change the report format 65 and 200 or 65 and 200. It depends on your out put device . You can only display report till 255 . If you want to active ALV functional enable in background spool job you have to use extracts for that . So you can download your data in correct format.
    You can also decrease the length of variables in query so within 255 characters you can see all report columns. 
    Hope this’ll help you .
    Hope this’ll give you idea!!
    <b>P.S award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • On the input :   error message if there is no such id in the database to edit?  and out put comments messed up the whole

    The first page (CoGetEditForm.cfm lets you input the co id
    then it get to the next page for you to edit (CoEditForm.cfm). then
    it lets take action and UPDATEs (CoEditAction.cfm) finally, it goes
    to the colist.cfm to query results and outputs it to html format.
    <td>#comm#</td>
    Question is that:
    1. where and what do I do to have an error message if there
    is no such id in the database to edit?
    2. the out put comments messed up the whole query results
    when I added it to the html out put results. What can I do to clean
    this up and where do I put the code?
    <!-------------------------edit
    page----------------------------->
    <html>
    <head>
    <title>Main Title</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <h1>Edit a Co based on co_ID</h1>
    <table>
    <cfform action="CO_EditForm.cfm" method="POST">
    <tr>
    <td>Co_ID</td>
    <td>
    <cfinput type="Text"
    name="Co_ID"
    message="Please enter the Co_ID"
    validate="integer"
    required="Yes"
    size="22"
    maxlength="20">
    </td>
    </tr>
    <tr>
    <td> </td>
    <td>
    <input type="submit" value="GetCo">
    </td>
    </tr>
    </cfform>
    </table>
    </body>
    </html>
    <!------------------------------------------CO_EditForm.cfm
    page------------------------------------->
    <cfquery name="GetCo"
    datasource="#Request.MainDSN#">
    SELECT
    COName,
    ADD,
    City,
    st,
    zip,
    comm
    FROM
    CO
    WHERE
    Co_ID = #Val(Co_ID)#
    </cfquery>
    <html>
    <head>
    <title>Main Title</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <h1>Edit a CO</h1>
    <table>
    <cfform action="COEditAction.cfm" method="POST">
    <cfoutput>
    <input type="hidden" name="COID" value="#Val(COID)#">
    </cfoutput>
    <tr>
    <td>CO Name</td>
    <td>
    <cfinput type="Text"
    name="COName"
    value="#GetCO.COName#"
    message="Please enter a name for this CO."
    required="Yes"
    size="40"
    maxlength="40">
    </td>
    </tr>
    <tr>
    <td>ADD</td>
    <td>
    <cfinput type="Text"
    name="ADD"
    value="#GetCO.ADD#"
    message="Please enter this new CO's ADD."
    required="Yes"
    size="32"
    maxlength="30">
    </td>
    </tr>
    <tr>
    <td>City</td>
    <td>
    <cfinput type="Text"
    name="City"
    value="#GetCO.City#"
    message="Please enter a city."
    required="Yes"
    size="22"
    maxlength="20">
    </td>
    </tr>
    <tr>
    <td>st</td>
    <td>
    <cfinput type="Text"
    name="st"
    value="#GetCO.st#"
    message="Please enter a st."
    required="Yes"
    size="3"
    maxlength="2">
    </td>
    </tr>
    <tr>
    <td>ZIP Code</td>
    <td>
    <cfinput type="Text"
    name="zip"
    value="#GetCO.zip#"
    message="Please enter a valid ZIP Code."
    validate="zip"
    required="Yes"
    size="11"
    maxlength="10">
    </td>
    </tr>
    <tr>
    <td>comm</td>
    <td>
    <textarea cols="40" rows="5"
    name="comm"><cfoutput>#GetCO.comm#</cfoutput></textarea>
    </td>
    </tr>
    <tr>
    <td> </td>
    <td>
    <input type="submit" value="Update Database">
    </td>
    </tr>
    </cfform>
    </table>
    </body>
    </html>
    <cfquery name="UpdateCO"
    datasource="#Request.MainDSN#">
    UPDATE CO
    SET
    COName = '#Trim(Form.COName)#',
    ADD = '#Trim(Form.ADD)#',
    City = '#Trim(Form.City)#',
    st = '#Trim(Form.st)#',
    zip = '#Trim(Form.zip)#',
    comm =
    <cfif Len(Trim(Form.comm)) GT 0>
    '#Trim(Form.comm)#'
    <cfelse>
    NULL
    </cfif>
    WHERE
    COID = #Val(Form.COID)#
    </cfquery>
    <cflocation url="COList.cfm">
    <cfquery name="GetCo"
    datasource="#Request.MainDSN#">
    SELECT
    coID,
    coName,
    ADD,
    City,
    st,
    zip,
    comm
    FROM
    co
    ORDER BY
    coName ASC
    </cfquery>
    <html>
    <head>
    <title>title getco</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <h1>y List</h1>
    <table>
    <tr>
    <td><b>ID</b></td>
    <td><b>Name</b></td>
    <td><b>ADD</b></td>
    <td><b>City</b></td>
    <td><b>st</b></td>
    <td><b>ZIP Code</b></td>
    <td><b>comm</b></td>
    <td> </td>
    </tr>
    <cfoutput query="GetCompanies">
    <tr bgcolor="<cfif currentrow mod
    2>GHOSTWHITE<cfelse>WHITE</cfif>">
    <td>#coID#</td>
    <td>#coName#</td>
    <td>#ADD#</td>
    <td>#City#</td>
    <td>#st#</td>
    <td>#zip#</td>
    <td>#comm#</td>
    <td>
    <a
    href="EmployeeList.cfm?coID=#coID#">Employees</a>
    <a href="coAddForm.cfm">Add</a>
    <a href="coEditForm.cfm?coID=#coID#">Edit</a>
    <a
    href="coDeleteForm.cfm?coID=#coID#">Delete</a>
    </td>
    </tr>
    </cfoutput>
    </table>
    </body>
    </html>

    After your SQL SELECT on CO_EditForm.cfm, you need a
    <CFIF> that checks to see if any records were retrieved. See
    below.

Maybe you are looking for