Smartform Problem in Displaying a string data

Hi Friends,
                 I am facing a problem while displaying a string data in smartform. Actually it is a one of the field's data in an internal table. It is a STRING field type of length 0. While populating in an internal table it is having a all the data(Around 700 char data). But while displaying in a smartform surprizingly only few characters(Around 225 char data). How can i overcome this problem?
Regards,
Sekhar.J

Hi
try this and see
Declare some Variables of 72 char each and split that long string data of internal table text field into them and display these variables strings one below other in smartform
var1 = itab-text+0(72)
var2 = itab-text+72(72)
var3 = itab-text+144(72)
like that
and display one below other in smartform.
&VAR1&
&VAR2&
&VAR3&
Reward points for useful Answers
Regards
Anji

Similar Messages

  • Problem in displaying long string in JTextField

    Hi All,
    I got problem in displaying long String in JtextField. It does center alignment & I can see middle part of string where length of JTextfield is 6 char. How can I do left alignement so that I can see starting 6 character?
    --Harish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    you may try this:
    yourTextFieldName.setHorizontalAlignment(JTextField.LEFT);
    or
    yourTextFieldName.setHorizontalAlignment(JTextField.LEADING);
    hth.

  • Smartform - problem in displaying text in a page

    Hi experts,
         I am developing an invoice printing in smartforms.Here i am facing one problem.
    i am displaying line items in a table in the footer window.In that table footer i am displaying some text (text contains 8 lines).
          Here if the number of line items are below 3 the text in the footer of the table printing correctly in the 2nd page.
         But if the number of line items are above 3 the text in the footer of the table in footer window is not printing correctly (4 lines in the text is printing in 2nd page remaining 4 lines are not moving to 3rd page).
    Regards,
    Navaneeth.

    Hi
    Generally we use MAIN WINDOW for printing the line itesm data which is not constant.
    Depending on lines it moves to next page.
    You are saying that you are using footer window. It seems that you have taken the height of that window as 3 Lines
    where you wants to print the lines if it is more than 3 ? naturally it goes to next page.
    So you increase the footer window height to a max of the line items, or reduce font.but even if it is not a constant data naturally it goes to next page.
    You have to use the footer window for printing some constant data in the footer like Signature, and address etc.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Problem in displaying dynamic japanese data in JSP

    Hi all,
    I am trying to display japanese data (address) fetched from RDBMS database but only ???????? getting displayed. First the data is fetched from database then populated in xml. From xml databean is created .
    Steps taken
    I have put chartset =shift-jis in jsp response header .
    I made sure the encoding for XML file is UTF-8 for parsing. I am using documentbuilder object for parsing for xml.
    I am not sure what needs to be done to display japnese text properly.
    I appreciate if i get solution as i am struck with this for long time
    Regards,
    prasad

    Your JSP pages need to contain a JSP directive that specifices the encoding for the pages (one that supports Japanese).
    I use:
    <%@ page contentType="text/html;charset=UTF-8" %>
    You could also use:
    <%@ page contentType="text/html;charset=SHIFT-JIS" %>
    When you view with your browser also remember to set the page encdoing and ensure your OS has the proper fonts installed.

  • Problem in displaying dynamiic japanese data

    I am trying to display japanese data (address) fetched from RDBMS database but only ???????? getting displayed.
    First the data is fetched from database then populated in xml. XML is in UTF-8 encoding,From xml ,databean is created .
    Steps taken
    I have put chartset =shift-jis in jsp response header .
    I made sure the encoding for XML file is UTF-8.
    I am not sure what needs to be done to display japnese text properly.
    cheers
    svp

    Tien ,
    I tired this but it did not work.
    I was curious knowing how japanese static text is put into jsp code. I want to know whether i followed right way because if the change te encoding to utf-8 ,my jsp displays question marks even for static content.

  • Urgent : Problem in displaying 0fiscper as dynamic data col.

    Hi SEM gurus,
    I have a problem in displaying 0FISCPER in data columns. Say, in my planning level I have restricted 0FISCPER to 0001.2005 to 012.2005. and I did selected in data column,  “Dynamic for 0fiscper”.
    Now when I run my lay out for keyfig. 0Amount the lay out is like this…
    Customer Amount Amount Amount
    Xxxxxx       10  20     30
    Its not displaying the month…what I want in the lay out should be like this…
             001.2004  002.2004  003.2004 …………………
    Customer Amount Amount Amount Amount
    Xxxxxx     10     20      30    40   .........
    Can any one Please help me out to fix this ???
    Thanks a bunch in advance…
    Rohith.
    Message was edited by: rohith gentle
    Message was edited by: rohith gentle

    Rohith,
    change HEADING column in the 2nd screen of the layout design to "0FISCPER Amount".
    I think, current HEADING is named as only "Amount".
    This will give layout as
    Customer 001.2004Amount 002.2004Amount 003.2004Amount
    hope that helps.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • How to display unicode string in alv

    Hi,guys, I came accross one problem on displaying unicode string in alv rows.
    some string like this: \u591c\u9e23\u732a  ,  They are displayed directly in alv. Actually, they are some chinese characters.
    Any one could help me? Should I invoke any function module to convert it ?
    Thanks.

    Hi,
    Kindly refer the link below:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1046905c-3acf-2b10-aea6-a70ade12c76f
    Hope this helps you.
    Regards,
    Tarun
    Edited by: Tarun Gambhir on Mar 22, 2009 9:49 AM

  • Problem with displaying chart data

    Hello everybody,
    I have problem with displaying chart data correctly. I'm using a cartesian chart with DateTimeAxis. The stockdata I'm using is for half a year and
    with ticks for every day. The problem is, that Flex displays the data of february in march together with the data of march. I have added a picture
    to show the result. The second column of the grid is for february and the third for march.
    Could anybody help me with this problem. Thanks in advance.
    Thomas

    Hi Chris,
    thanks for your reply. Here you get the source code:
    The following method creates the LineChart:
            public function init():void
                model.upperChart = this;
                model.upperChartStyle.setChartViewStyle(this);
                this.hAxis = new MyDateTimeAxis();
                model.upperChartData.configureHAxis(this.hAxis);
                this.vAxis = new LinearAxis();
                model.upperChartData.configureVAxis(this.vAxis);           
                this.vAxisTitle = new Label();
                this.vAxisTitle.text = model.upperChartData.getVAxisTitle();
                model.upperChartStyle.setVAxisTitleLabelStyle(this.vAxisTitle);
                this.vAxisTitle.x = 10
                this.vAxisTitle.y = 0;
                this.addChild(this.vAxisTitle);
                this.myChart = new CartesianChart();
                //remove default datatip
                this.myChart.showDataTips = false;
                this.myChart.x = 10;
                this.myChart.y = 0;
                this.myChart.width = 768; 
                this.myChart.height = 196;
                model.upperChartStyle.setChartStyle(this.myChart);
                this.addChild(this.myChart);
                //Remove line shadow
                this.myChart.seriesFilters = null;
                this.myChart.horizontalAxis = this.hAxis;
                this.myChart.verticalAxis = this.vAxis;
                this.hAxisRenderer = new AxisRenderer();
                model.upperChartData.configureHAxisRenderer(this.hAxisRenderer);
                this.hAxisRenderer.axis = this.hAxis;        
                model.upperChartStyle.setHAxisRendererStyle(this.hAxisRenderer);
                this.myChart.horizontalAxisRenderers.push(this.hAxisRenderer);
                this.vAxisRenderer = new AxisRenderer();
                model.upperChartData.configureVAxisRenderer(this.vAxisRenderer);
                this.vAxisRenderer.axis = this.vAxis;
                model.upperChartStyle.setVAxisRendererStyle(this.vAxisRenderer);
                this.myChart.verticalAxisRenderers.push(this.vAxisRenderer);
                model.upperChartStyle.setVAxisDataLabelStyle(this.vAxisMinLabel);
                this.addChild(this.vAxisMinLabel);   
                model.upperChartStyle.setSeriesStyle(model.upperChartData.series, model.upperChartData.shares);           
                this.myChart.dataProvider = model.upperChartData.dataProvider;
                this.myChart.series = model.upperChartData.series;
    The data for dataprovider and series you can see in attached file dataprovider.xml.
    xfield is equivalent to timestamp
    yfield is equivalent to absolute
    I think the problem could be the configuration of the datetimeaxis. The following method shows the parameter for the datetimeaxis:
            public function configureHAxis(axis:MyDateTimeAxis):void
                axis.parseFunction = UtilityClass.parseYYYYMMDDHHNNSSString2Date;
                axis.dataUnits = "days";
                axis.dataInterval = 1;
                axis.title = "";
                axis.minimum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-01-07 00:00:00").time);
                axis.maximum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-07-06 00:00:00").time);
    And finally you get the function, that I'm using for string to date conversion:
            public static function parseYYYYMMDDHHNNSSString2Date(input:String):Date
                var result:Date = new Date();
                var year:Number = Number(input.substring(0,4));
                var month:Number = Number(input.substring(5,7));
                var date:Number = Number(input.substring(8,10));
                var hours:Number = Number(input.substring(11,13));
                var minutes:Number = Number(input.substring(14,16));
                var seconds:Number = Number(input.substring(17,19));           
                result.setUTCFullYear(year);
                result.setUTCMonth(month-1);
                result.setUTCDate(date);
                result.setUTCHours(hours);
                result.setUTCMinutes(minutes);
                result.setUTCSeconds(seconds);
                return result;           
    I hope that will help to locate the reason for the wrong chart visualization.
    Thanks for any help.

  • Retain data in String Display untill new data is delivered in RS-232

    I am using Labview 8.6 on Windows XP OS and acquiring signal from RS-232 through COM1 port to which I have connected non NI instrument. My instrument sends data for flash of second and it displayed into String Indicator for flash of second. How to hold this data untill I get new data from instrument. I have tried to select "re-initialise to default value" and "make current value default" but none of them getting selected. I want data to be retained untill new data comes. I have enclosed VI as well as Picture file. Pl advice. 
    Attachments:
    HPLC Flow Meter 3.vi ‏32 KB
    HPLC FLow 3.JPG ‏123 KB

    -Looks you are sending or running the while loop every 5ms, are you sure you want this fast? This is the reason the data comes in flash(i think 5ms)
    -I use shift register to store something from previous iterations generally.
    -You need to keep case structure to check when new data comes and when it does, replace the value in that string.
    -else pass previous value to string.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • Babylon window displays every time i start my computer it says strings.dat is missing or corrupted how can you get rid of this?

    When i start my computer a window appears from Babylon and the message in the window is strings.dat is missing or corrupted.
    it has a button to push that says ok but when clicked on with curser nothing happens i uninstalled all babylon down loads and this was left behind would just like to get this out of my computer.
    can someone please help.

    pretty much exactly what i just figured out how to do it ealrier today! its a bug*er!
    i have posted a help request on a tech forum with logs etc incase there is any deeper infection, and will post any decent answer here. ok?
    basics for ridding of the actual babylon searchbar is like this...
    loading firefox, noticed that my google search bar wasnt google anymore and had ababylon icon instead!
    ASLO the browser displayed a FAKE GOOGLE search page!
    so i opened firefox, typed "about:config" in url bar and then you look just underneath the url bar, and you'll see another search bar.
    type babylon into it. right click on all of the results, and click reset.
    thats it now disabled totally for now.
    next go to tools>addons and look down the list and click uninstall babylon...
    bingo.
    but its not over yet! .....
    next go to start> search and type "babylon" (without the quotes) and see what comes up, mainly in programme files\mozzilla\search plugins
    and in the macromedia folder. if you get a "cannot delete.." notice, then that just means you havnt closed firefox (wich is odd coz you've apparently uninstalled the bug*er), so close firefox, then delete. you should now get rid of them all.
    it DOSNT show up on add/remove programmes, and it didnt show up on uninstall in advanced system care, though you may try the other uninstall button to the right , but you'll need to type in the "pathways" ( eg C:\my computer\programme files/etc).
    i'm still not convinced that this is the end of it though.
    from other forums i have noticed folk contacting AND phoning babylon and basaically being either abused or told they wont help.
    it seems to be invisible to AVG (i have the premium one too!) though around the time i installed the xvid codecs i did get an avg notice warning of an infection found in my t-mobile modem (dongle) but it seemed to actually be the tmobile liveupdat.exe, so i left it as i am sure i would get even worse problems if a effed around with it. (ie no connection, (eventually)
    this is th link to the posting i made on techguy
    please dont post willy nilly babylon posting on it so the volunteers dont get pist off, as that wont help if there are really deeper problems to solve. this is the link to it [[have i cleaned babylon hijack infection properly?|here it is]]

  • Problem in displaying total no of pages in Smartform

    Hello experts,
    I have a problem while displaying total no of pages in Smartform.
    When no of pages are more than 10 then in total no of pages , a * is shown till current page is 9, then after it is displaying correct no of pages.
    I am using &sfsy-formpages& to get total no of pages.
    Ex: Like if I have 12 pages to print then i am getting 1/, 2/, 3/* .......... 9/* then 10/12 , 11/12, 12/12.
    Do i have to write some code for that ?? Please give your inputs to get the total no of pages.
    Thanks !

    Hi,
    Try this.
    Page &SFSY-PAGE& of &SFSY-FORMPAGES(4ZC)&
    Thanks,
    Anitha A

  • Problem In Displaying Smartform Text Field In Qual & Prd Server

    Hi All,
    I am working on a smartform in which i am checking the field which is displaying fine in quality server but when it is transported to PRD server it is displaying text field  in the smartform having ms word document which is giving me problem in displaying in the PRD Server.
    Please provide me guideline for it..

    Hi Sarvan,
    Post the code in code format.Check on the right side for example.
    Sy-subrc  = 0
    Regards,
    Madhu.

  • Facing Problem in parsing a string to date

    Hi,
    I was trying to change a string into date with date format ("EEEE,MMM,d,h:mm") but I always get the year as 1970.
    here is my code
    String strDate="Saturday,Jan 19 7:31";
    String dateFormat3="EEEE,MMM,d,h:mm";
         try {
         DateFormat myDateFormat = new SimpleDateFormat(dateFormat3);
         result1=myDateFormat.parse(strDate);
    catch(ParseException pe) {
                System.out.println("ERROR: could not parse date in string \"" +
            }any solution for it.

    This is my actual code
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.Locale;
    public class TestingDate {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String dateFormat="EEEE, MMM d h:mm a";
              Date test=new Date(2007,0,19, 19, 31);
              System.out.println(" original date is "+test);
              String stringResult=DateToString(test,dateFormat);
              System.out.println("Date to string is "+stringResult);
              Date dateResult=stringToDate(stringResult,dateFormat);
              System.out.println(" String to date is "+dateResult);
              String stringResult2=DateToString(dateResult,dateFormat);
              System.out.println(" Date to string  is "+stringResult2);
    public static String DateToString(Date test, String dateFormat) {
             String result = null;
             try {
                  DateFormat myDateFormat = new SimpleDateFormat(dateFormat);
                     result = myDateFormat.format(test);
                     //System.out.println(" reslut date is "+result);
              } catch (Exception e) {
                   System.out.println(" Exception is "+e);
              return result;
    public static Date stringToDate(String strDate,String dateFormat1){
         Date result1=null;
         try {
              DateFormat myDateFormat = new SimpleDateFormat(dateFormat1);
              result1=myDateFormat.parse(strDate);
         catch(Exception e){
              System.out.println(" exception is "+e);
         return result1;
    }I am facing problem in getting the actual date. Please suggest the solution.

  • Problem in displaying data.

    Hi,
    I am facing a problem in display of data for a particular employee. This is a HR report with 5 selection variables out of which 3 are mandatory and rest 3 like company code, Cost centre and Employee are optional.
    when i run the report with company code and cost centre variable it shows me list of employees whose timesheet are missing in a particular time frame which misses out 1 employee and when i run the report with same variables but put in the employee it shows me the data of that employee which is assigned to same cost centre and company code. Its just that in first case i am using 2 diff optional variables and in 2nd i am using only 1 with rest of the variables same. This is so weired. For the first time i have encountered such issue. and if i run the report with company code and cost center and after getting the necessary output i select the filter value as that emplyees name i get the data for that employee.... I am unable to understand as to how where exactly is the problem?
    i checked the master data of employees, cost centre and company code. Everything is working fine.
    Kindly help to figure out the issue.
    Kind regards,
    Shailja kaul.

    Please perform the consistency check for the cube in RSRV and confirm that all the dimensions in the cube are consistent. Sometimes, this happens, which generates such situation that some of records disappear in the result set if not mentioned in the selection screen.
    Here as per your msg, if you mention the employee number, the record appears, that means you should also perform the consistency check for 0EMPLOYEE (if that is the infoobject for employee) master data.
    Thanks
    Danny.

  • Sql Devloper 4.0.0.13 - problems with displaying user data types

    Hi,
    I have installed new version of sqldeveloper and have discovered some problems with displaying user data types. The data that is described as VARCHAR2 are displayed with ‘???’.
    The problem persist in table view, script output and exported files.
    My type is described as follows:
    create or replace TYPE "DPTY_ADRESA" AS OBJECT
      ID_DPSF_OPCINE                                         NUMBER,
      ID_DPSF_MJESTA                                        NUMBER,
      OPCINA                                            VARCHAR2(100),
      MJESTO                                            VARCHAR2(100),
      ULICA                                 VARCHAR2(200),
      BROJ                                   VARCHAR2(20),
      SPRAT                VARCHAR2(20),
      OSTALO                             VARCHAR2(100),
      CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
    add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
    when make select column from table that contains this type I get next results:
    CASE 1:
    SQLDeveloper Version 3.2.20.09; Build MAIN-09.87; JDK 1.6.0_43; Windows 7 64 bit
    Select:
    select id, adresalokacija
    from dptr_saglasnosti
    where id = 1;
    Result:
            ID ADRESALOKACIJA
             1 COMP.DPTY_ADRESA(124,4913,'TRAIK','TURBE','BABANA','3452','0',NULL)
    END CASE 1;
    CASE 2:
    SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_40; Windows 7 64 bit
    Select1:
    select id, adresalokacija
    from dptr_saglasnosti
    where id = 1;
    Result1:
    ID ADRESALOKACIJA
             1 COMP.DPTY_ADRESA(124,4913,'???','???','???','???','???',NULL)    
    But if I select one element it is displayed normal.
    Select2:
    select id, a.adresalokacija.opcina
    from dptr_saglasnosti a
    where id = 1;
    Result2:
    ID ADRESALOKACIJA.OPCINA
             1 TRAVNIK                  
    END CASE 2;
    I have tried this scenario on three different pc with same output.
    Pleas help me to get rid of the '???' in result.
    Best Regards,
    Omer

      I tried on SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_45; Windows 7 64 bit; NLS setting is default
    all data can show,No ??? in result
    Test step as following:
    create or replace TYPE "DPTY_ADRESA" AS OBJECT
      ID_DPSF_OPCINE                                         NUMBER,
      ID_DPSF_MJESTA                                        NUMBER,
      OPCINA                                            VARCHAR2(100),
      MJESTO                                            VARCHAR2(100),
      ULICA                                 VARCHAR2(200),
      BROJ                                   VARCHAR2(20),
      SPRAT                VARCHAR2(20),
      OSTALO                             VARCHAR2(100),
      CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
    alter TYPE "DPTY_ADRESA" add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
    CREATE TABLE dptr_saglasnosti (
    adresalokacija        DPTY_ADRESA,
      id    number);
      INSERT INTO dptr_saglasnosti VALUES (
      DPTY_ADRESA (65,225,'Vrinda Mills', '1-800-555-4412','sss','aaaa','eeeee','attta'),1 );
    select id, adresalokacija from dptr_saglasnosti where id = 1;
    ID ADRESALOKACIJA
    1    HRCP.DPTY_ADRESA(65,225,'Vrinda Mills','1-800-555-4412','sss','aaaa','eeeee','attta')

Maybe you are looking for

  • How to turn off screen shot flash

    How do you to turn off screen shot flash?

  • Help on program

    SQL> create or replace package bulk_transfer is 2 type product is table of emp % rowtype index by binary_integer; 3 procedure bulk_proc(p_product in out product, p_product2 varchar2); 4 end; 5 / Package created. SQL> create or replace package body bu

  • None of buttons shown by Gmail or Yahoo Classic Mail works

    Dear Sirs, in Windows XP SP3, using Firefox 7 nor 7.0.1 , none of buttons shown at the top row by Gmail or Yahoo Classic Mail works and even I cannot do a sign out of my email box . I had not this problem when using Mozilla Firefox 6 series and earli

  • Modifying a Range Partition

    Hi! Guys I have a table partitioned by a date column.. My current highest partition is: SPSWEEK14 VALUES LESS THAN (TO_DATE(' 2008-02-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) How can I modify this partition to 2008-04-01? Th

  • Another Printing Problem with iPhoto

    iMac, 800 MHz, PowerPC G4 OS X 10.4.11 HP Printer I purchased the 08 iLife and iPhoto worked really well. I installed the update to 7.1.1 and this was the first I have tried to print since that update. Clicking on the print icon (between Email and Or