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.

Similar Messages

  • Problem in displaying total text in total line

    Hi...I am facing problem in displaying total text in first column of total line. Width of first column is sufficient to display text "TOTAL". But somehow its not getting displayed....Please Help...?
    code is as follows:
    ls_layout TYPE  slis_layout_alv .
    ls_layout-totals_text       = 'TOTAL'.
      ls_layout-colwidth_optimize = 'X'.
      ls_layout-no_vline          = 'X'.
      ls_layout-no_hline          = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program     = gv_repid            " Report ID
          i_callback_top_of_page = 'TOP_OF_PAGE'
          is_layout              = ls_layout
          it_fieldcat            = gt_fieldcat         " Field Catlog
        TABLES
          t_outtab               = gt_cost_output      " Output Table

    hi me to i have the same problem
       FORM create_layout .
      data: text(20) TYPE c.
      it_layout-window_titlebar   = text.
      it_layout-colwidth_optimize = 'X'.
      it_layout-totals_text       = text-013."'Totals'(013).
      it_layout-cell_merge        = 'X'.
      it_layout-zebra             = 'X'.
    ENDFORM.         
    but no output total in alv
    also i had another broplem i had unit i wanna show it in total line and calc value in header

  • How to set "Display as Text" field with AJAX select list

    thanks Denes for your posting. I'm trying to use the Denes Kubicek code to populate a "Display as Text" field. It works for Text Field (disabled), but not "Display as Text" field(saves state) . In my applciation I need to show this field only (not the disabled text box) when a select list value is changed. any ideas to modify the code below are appreciated.
    http://htmldb.oracle.com/pls/otn/f?p=31517:80:3418128396960418::NO
    here is the code from the url above
    1. Create an Application Process - getDet:
    DECLARE
    my_det VARCHAR2 (200);
    BEGIN
    SELECT ename || CHR(10) || job || CHR(10) || mgr
    INTO my_det
    FROM emp
    WHERE empno = :P80_EMPLOYEES;
    HTP.prn (my_det);
    END;
    2. Put the following in the Region Header of your page:
    <script language="JavaScript" type="text/javascript">
    function f_getDet ()
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);
    get.add('P80_EMPLOYEES',html_GetElement('P80_EMPLOYEES').value)
    gReturn = get.get();
    if(gReturn)
    {  html_GetElement('P80_DETAILS').value = gReturn  }
    else
    {  html_GetElement('P80_DETAILS').value = 'null'  }
    get = null;
    </script>
    3. Put the following in the HTML Form Element Attributes of :P80_EMPLOYEES:
    onChange="f_getDet()";

    Arie,
    this works fine on normal page, except page zero. I have the AJAX select list and "Display as Text" field on page zero. The "Display as Text" field doesn't show the the value when AJAX select is changed. I'm using similar code as used in my other APEX page on OTN site. I tired to display the gReturn value, just before calling "setDisplayOnlyNode" function in the code below and it's showing correct value, but fails to display the value in the APEX field on page zero. Any ideas are appreciated.
    Thanks,
    Surya
    <script language="JavaScript" type="text/javascript">
    function setDisplayOnlyNode(pItem, pValue)
    { var textNode = pItem + '_DISPLAY'; $x(textNode).innerText = pValue; }
    function f_getDet ()
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);
    get.add('P1_EMPLOYEES',html_GetElement('P1_EMPLOYEES').value)
    gReturn = get.get();
    if(gReturn)
    { setDisplayOnlyNode('P1_DETAILS',gReturn)}
    {  html_GetElement('P1_TEST').value = gReturn  }
    get = null;
    </script>

  • Using a text field as well as a display as text field on a form

    I have a text field that a user will enter in an employee id and from there it will populate a display as text field with their first and last name. I am trying to accomplish this using a javascript process but can not get the name to display. This does work if i change the display as text field to a select list. Can someone tell me what im doing wrong? Thanks
    My code is below:
    Application Process
    DECLARE
    v_desc VARCHAR2(255);
    BEGIN
    SELECT last_name||','||first_name
    INTO v_desc
    FROM org1
    WHERE radionum = :P2_technician1_radio;
    htp.prn(v_desc);
    END;
    HTML Form Attributes for p2technician1_radio_
    onblur="set_Item();"
    Javascript in HTML header
    <script language="JavaScript" type="text/javascript">
    <!--
    function set_item(pValue){
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Item',0);
    if(pValue){
    get.add('P2_TEMP_APPLICATION_ITEM',pValue)
    }else{
    get.add('P2_TEMP_APPLICATION_ITEM','null')
    gReturn = get.get('XML');
    if(gReturn){
    var l_Count = gReturn.getElementsByTagName("item").length;
    for(var i = 0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("item");
    var l_ID = l_Opt_Xml.getAttribute('id');
    var l_El = html_GetElement(l_ID);
    if(l_Opt_Xml.firstChild){
    var l_Value = l_Opt_Xml.firstChild.nodeValue;
    }else{
    var l_Value = '';
    if(l_El){
    if(l_El.tagName == 'INPUT'){
    l_El.value = l_Value;
    }else if(l_El.tagName == 'SPAN' &&
    l_El.className == 'grabber'){
    l_El.parentNode.innerHTML = l_Value;
    l_El.parentNode.id = l_ID;
    }else{
    l_El.innerHTML = l_Value;
    get = null;
    //-->
    </script>
    Edited by: Dclipse03 on Dec 1, 2008 9:48 AM

    Javascript:
    <script language="JavaScript" type="text/javascript">
    <!--
    function pull_value(pValue){
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Item',0);
    if(pValue){
    get.add('P2_TEMP_APPLICATION_ITEM',pValue)
    }else{
    get.add('P2_TEMP_APPLICATION_ITEM','null')
    gReturn = get.get('XML');
    if(gReturn){
    var l_Count = gReturn.getElementsByTagName("item").length;
    for(var i = 0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("item");
    var l_ID = l_Opt_Xml.getAttribute('id');
    var l_El = html_GetElement(l_ID);
    if(l_Opt_Xml.firstChild){
    var l_Value = l_Opt_Xml.firstChild.nodeValue;
    }else{
    var l_Value = '';
    if(l_El){
    if(l_El.tagName == 'INPUT'){
    l_El.value = l_Value;
    }else if(l_El.tagName == 'SPAN' &&
    l_El.className == 'grabber'){
    l_El.parentNode.innerHTML = l_Value;
    l_El.parentNode.id = l_ID;
    }else{
    l_El.innerHTML = l_Value;
    get = null;
    //-->
    </script>
    Setitem Process:_
    DECLARE
    v_technician1_name VARCHAR2 (200);
    CURSOR cur_c
    IS
    SELECT last_name||','||first_name d,last_name||','||first_name r
    FROM org1
    WHERE radionum = v('p2_TEMP_APPLICATION_ITEM'));
    BEGIN
    FOR c IN cur_c
    LOOP
    v_technician1_name := c.technician1_name;
    END LOOP;
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<body>');
    HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
    HTP.prn ('<item id="P2_technician1_name">' || v_technician1_name || '</item>');
    HTP.prn ('</body>');
    EXCEPTION
    WHEN OTHERS
    THEN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<body>');
    HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
    HTP.prn ('<item id="P2_technician1_name">' || SQLERRM || '</item>');
    HTP.prn ('</body>');
    END;

  • Problem in Displaying Subtotal text in Grid Display

    Hi Experts,
                 I got a problem in passing the Subtotal text and Total Text in Grid Display.In my Case we are calculating Interest Rate for Document Number for Each Assignment Number. If any discount is maintain for document, calculate the interest rate as per the given formula.
               So, in this case, Instead of Subtotal text, we can view the 2 dots in Grid display. But in the place of that or else, i want to display the Subtotal. But this not happen in case of Grid Display, I tried in List Display, i can able to display the text.
    Here is the Code what i maintain.
      wa_sortcat-fieldname = 'ZUONR'.
      wa_sortcat-tabname   = 'IT_FINAL'.
      wa_sortcat-subtot    = c_x.
      APPEND wa_sortcat TO sortcat.
      wa_sortcat-fieldname = 'BUDAT'.
      wa_sortcat-tabname   = 'IT_FINAL'.
      APPEND wa_sortcat TO sortcat.
      wa_sortcat-fieldname = 'INTER'.         "Interest Rate
      wa_sortcat-subtot    = c_x.
      wa_sortcat-tabname   = 'IT_FINAL'.
      APPEND wa_sortcat TO sortcat.
    Fieldcatalog:
        wa_fieldcat-outputlen    = c_15.   " Interest Rate
        wa_fieldcat-do_sum       = c_x.
    Layout:
      alv_layout-colwidth_optimize = c_x.
      alv_layout-zebra                    = c_x.
      alv_layout-subtotals_text       = 'Subtotal'.
      alv_layout-totals_text              = 'Total'.
    I check in the SDN, But in some Threads, They explain as, We cant display the Subtotal text in Grid display.
    Please help me to sort this issue. And clarify this whether this is possible or not.
    Thanks in Advance.
    Srini

    Hi Naresh,
        Thanks for your reply, I added the given code by you to fieldcatalog for Interest rate field. i.e.
        wa_fieldcat-outputlen    = c_15.
        wa_fieldcat-do_sum       = c_x.
        wa_fieldcat-inttype      = 'I'.
    Is this is a correct process what you are thinking, or i had to declare for every field what i declare under fieldcatalog.
    Regards,
    Srini

  • Display as Text field won't populate from select

    I'm an Oracle Forms person trying to learn APEX. Love it but having problems with seemingly simple stuff. I made a simple page exactly from sample code found from Oracle documentation and still can't get to work. Appreciate any help.
    Have simple form with 2 fields. One field P400_DEPTNO which is select field. Code in the HTML Form Element Attributes: onchange="javascript:getDNAME(this);"
    The other field is D400_DNAME which have as Display as Text(escape special characters, does not save state)
    I have application item G_DEPTNO
    application process GET_DNAME:
    DECLARE
    vDNAME VARCHAR2(100);
    BEGIN
    SELECT DNAME INTO vDNAME FROM DEPT WHERE DEPTNO = :G_DEPTNO;
    htp.p(vDNAME);
    EXCEPTION WHEN OTHERS THEN
    htp.p('No such department!');
    END;
    code in HTML Header of page 400:
    <script type="text/javascript">
    function getDNAME(filter)
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=GET_DNAME',0);
    get.add('G_DEPTNO', filter.value);
    var ret = get.get();
    if(ret)
    var d = document.getElementById("P400_DNAME");
    d.innerHTML = ret;
    get = null;
    </script>
    I'm getting this error when running page:
    get error:
    Line: 25
    Char: 3
    Error: 'null' is null or not an object
    when I view source: line 25 is:
    d.innerHTML = ret;
    I have tried so many variations. Could something on my system not be installed correctly or am I just missing something simple? Appreciate any help offered.
    Gayle

    Hi Vinad:
    I am running version 3.0.0.00.20.
    I followed the directions step by step from http://apex.oracle.com/pls/otn/f?p=56976:1:2691826935187310
    I assume the code you are interested in is the javascript code:
    HTML HEADER
    <script type="text/javascript">
    function getDNAME(filter)
    var get = new htmldb_Get(null,$v('pFlowId'), 'APPLICATION_PROCESS=GET_DNAME',0);
    get.add('G_DEPTNO', filter.value);
    var ret = get.get();
    if(ret)
    var d = document.getElementById('P1_DNAME');
    d.innerHTML = ret;
    get = null;
    </script>
    On Demand Application Process
    DECLARE
    vDNAME VARCHAR2(200);
    BEGIN
    SELECT WHS_LST_NM INTO vDNAME FROM dw_tst.emp_dim@dm_dev
    WHERE emp_id = :G_DEPTNO;
    htp.p(vDNAME);
    EXCEPTION WHEN OTHERS THEN
    htp.p('No such employee!');
    END;
    Please let me know if you need any other information. Thank you.

  • Problem with characters in text field

    hi all
    i am missing a few characters, once i load text into a dynamic text field. chars are not missing per say; they are being replaced with empty squares.
    characters like the euro sign and accentuated german a letter.
    whats is weird is that other accentuated german letters do appear. so only a few selected are missing.
    How ive set up the fla:
    1) i've added 4 text fields to the stage in the font im using, Arial, one for each font style: normal, italic, bold and bold italic, and in all 4 fields ive embedded all latin characters (to include the german accentuaded characters and im guessing it's in the punctuation group that holds the euro sign, so that one is also embedded), besides lowercase, uppercase, numerical, and all the default groupd to include basic text.
    2) i've got a dynamic text field, created with createTextField, and setup the following ActionScript (2):
    this.createTextField("T_text",1,0,10,Stage.width-60,50);
    var myFmt = new TextFormat();
    myFmt.size = 12;
    myFmt.leading = 3;
    myFmt.font = "Arial";
    T_text.html = true;
    T_text.autoSize = "left";
    T_text.multiline = true;
    T_text.wordWrap = true;
    T_text.selectable = false;
    T_text.embedFonts = false;
    T_text.textColor = "0x666666";
    T_text.htmlText = _global.gallery_1_image_text_1; // this holds the text im displayed, called in from a database.
    T_text.setNewTextFormat(myFmt);
    now, im calling text from a database.
    when calling the text from the browser  url bar, there's no chars missing.
    its just when i make this call from flash and load the text into the dynamic text field, that characters go missing.
    below is a link to a print screen of the faulty text that is displayed in flash's dynamic text field.
    http://img210.imageshack.us/img210/340/utf8.png
    any ideas? i mean, it seems that the arial font is missing a few accentuated characters! because the code i have setup loads other accentuated characters.
    anyone has seen this issue before and know how to solve it?
    regards

    no.
    you assigned your embedFonts property to be false.
    look, you can test if you've embedded fonts correctly by using:
    T_text._rotation=3;
    if you see no text, you're not embedding fonts correctly.
    so, use:
    T_text.embedFonts=true;
    and then test.  if you see no text, use:
    click on the upper right of your library panel > new Font > select Arial and tick the symbols you need to embed > tick export for actionscript and assign a linkage id (eg, ArialID). click ok.  then use:
    this.createTextField("T_text",1,0,10,Stage.width-60,50);
    var myFmt = new TextFormat();
    myFmt.size = 12;
    myFmt.leading = 3;
    myFmt.font = "ArialID";
    T_text.html = true;
    T_text.autoSize = "left";
    T_text.multiline = true;
    T_text.wordWrap = true;
    T_text.selectable = false;
    T_text.embedFonts = true;
    T_text.textColor = 0x666666;  // no quotes here.  this is a number
    T_text.htmlText = _global.gallery_1_image_text_1; // this holds the text im displayed, called in from a database.
    T_text.setTextFormat(myFmt);  // to format the above text, use setTextFormat().  if you want to format text added after this line, use setNewTextFormat()

  • How to create a group/list of check box variables for display in text field, in appended format

    I need to identify a series of single-response checkbox variables and display the ones selected (as a group) in a text field in an appended (comma, space) format. Last week, you provided a great little script for a similar need using List Box (multiple response) variables. This time I need to know how to formally identify the checkbox variables and, I presume, use a similar script to display the results in a comma, space format.
    You've been of great help.
    Thanks

    Here's the script adapted to this situation. It assumes there are ten check boxes named cb1, cb1, cb2, ...cb10.
    // Custom Calculate script for text field
    (function () {
        // Initialize the string
        var v, s = "";
        // Loop through the check boxes to build up a string
        for (var i = 1; i < 11; i++) {
            // Get the value of the current check box
            v = getField("cb" + i).value;
            if (v !== "Off") {
                if (s) s += ", ";  // Add a comma and a space if needed
                s += v;  // Add the selected value
        // Set this field value to the string
        event.value = s;
    You'll have to change the field name and starting/ending numbers to match your form.

  • Using plugin to display a text field

    How can I use plugin to display textfield?              

    It's a bit more complicated than you probably would expect: You need to
    load the AcroForm HFT and then execute the JavaScript to create your text
    field via the the AFExecuteThisScript() function.
    Karl Heinz Kremer
    PDF Acrobatics Without a Net
    [email protected]
    http://www.khkonsulting.com

  • URGENT help please. Problem creating Chinese language text field in Adobe LiveCycle.

    A client requested to create an employee details form in which few text fields has to be in Chinese language. I selected "Arial Unicode MS" for that fields. In final PDF I am able to insert text in Chinese text fields in Acrobat. But I cant insert text when i opened the final PDF in Adobe Reader. (only these Arial Unicode MS fields are disabled). All other fields (English) are in Arial font., they are working in both (Acrobat and Reader). As these forms will be distributed to people who may don't have Acrobat and only the Free Adobe Reader. Can someone please advice me how to solve this problem.
    Thank you
    - Amal

    Make sure the format of the date strings provided by the calendar is what you are expecting. Or use the "formattedValue" for the input strings.

  • Problem in displaying Arabic text in flash cs3/cs4

    Hi All, I'm creating one website. I have to display dynamic xmlize arabic text in flash. I have done it using flash cs3/AS3. But problem is that when text displays in flash it is not rendering as expected. Some gaps comes in the characters. But when I open my xml in browser, arabic text displays correct.
    Is there any way to do it in flash cs3 or Flash cs4 using player 9? It would be really great if anyone can give me solution on this. Thanks
    Chandrakant

    You have to do it yourself -  I don't have a ready solution. Just look into documentation how StyleSheets are used and see what properties work best for you:
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/StyleSheet.html
    Also, with embedded fonts you need to play with TextFormat settings and AntiAliasType
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/AntiAliasType.html
    In addition, on my machine even if I don't emebed fonts - Arabic works in Arial, TImes and others.

  • Problem in displaying smartform as pdf in portal

    Hi all,
    We  created a smartform and we are displaying as a pdf in portal.Everything is fine and pdf  is coming.But there is arabic data in the form .
    Some of the arabic data is coming perfectly.
    But some data is coming in Japanese or chinese and some data is coming like
    F,D'! 9(/'D1-EF (F 5'D- 'D3JA 叉â
    Department 'D%/'1) 'D9'E) DDEH'1/ 'D(41J).
    Please let me know what could be the problem.
    Thanks and Regards,
    Rajesh

    hi Rajesh.....
    Could you explain me how 2 display SMARTFORM as PDF in portal..... please.....
    I have the requirement as follows.....
    By pressing a button the smartform must be generated.....
    SO what must be the RFC o/p from ABAP.... I am ABAPER basically
    and what the portal guys must do.....
    pleaseeee

  • How to display a text field if yes selected in radio button

    Does anyone know how to hide/show a text field based upon a
    radio button selection? What I want to do is ask a question with
    yes or no as radio buttons. Then, if the user selects "YES" I want
    to display a required text field. If the user click no, there isn't
    a need for the text field.

    Try this...
    <html>
    <head>
    </head>
    <script>
    function ShowField(){document.MyForm.MyField.style.display =
    "inline";}
    </script>
    <body>
    <form name="MyForm">
    <input type="radio" name="MyCheckBox"
    onClick="ShowField()">
    <input type="text" style="display: none"
    name="MyField">
    </form>
    </body>
    </html>

  • CreateTextField and _height: Problem with Placement of Text Fields

    I'm using createTextField to create several text fields
    dynamically. I'm also using an external XML file and a style sheet
    to populate the text fields.
    My problem is that I'm trying to position the various text
    fields on the page so that they are spaced evenly on the page
    (regardless of how much content they might contain). I'm trying to
    use _height of the prior text fields to place subsequent text
    fields, but I'm getting very inconsistent results. When I trace the
    value of _height, I get differing results, even if I don't actually
    change any of the parameters. So, the question is...is there a way
    for Flash to get the height of a dynamically created text field
    that's populated via an exteral XML file and using CSS? I know
    that's asking a lot, but I'm trying to avoid using scroll bars if
    at all possible.
    Thanks for any pointers.
    Bill

    i assume you're using multiline textifields with a fixed
    width and autoSize="left".
    flash will report the correct _height of your textfields IF
    you access the _height property after your htmlText has been
    assigned to your textfield. ie, you're probably seeing inconsistant
    results because you're not waiting until all data needed to
    populate your textfield has loaded.

  • Display long text field in multiple rows using CL_GUI_ALV_TREE

    Hi,
    I am working on ALV using CL_GUI_ALV_TREE. My last column in this ALV is a long text field which is a text editor field in a standard transactiion. As this text can have more than 250 characters value also, I want to display this field in more than one line , restricting each line to 75 characters. Is it possible to display a field content in more than one line? Please help.
    Thanks.

    HI,
    I dont think it is possible., but instead what i can suggest is  under last node which u want to split automatically, create 3 text edit fields and split ur text manually through program.

Maybe you are looking for