Using read text fm in smartforms

hi experts,
              I have captured a text using Read_text Fm .now i need to use it inside a smartforms .how to do .
i have used that code inside a program line .
and in text i have called the field.
declaration in form interface
text type char20
itab type tline
in program lines
data itab like TLINE occurs 0 with header line.
CALL FUNCTION 'READ_TEXT'
  EXPORTING
* CLIENT                        = SY-MANDT
    id                            = '0001'
    language                      = 'E'
    name                          = '0080000055'
    object                        = 'VBBK'
  ARCHIVE_HANDLE                = 0
  LOCAL_CAT                     = ' '
IMPORTING
  HEADER                        =
  tables
    lines                         = itab.
LOOP AT ITAB.
text = ITAB-TDLINE.
ENDLOOP.
in text
&text&
but the text value is not printing .but i am getting the value when i do it in SE38.
what shall i do?
regards,
mani

Hi ,
    Instead of using the FM, Use the standard functionality to print the required text provided by Smartforms.
  Create a text element, in the left top...in the drop down there is an option of include text...
id = '0001'
language = 'E'
name = '0080000055'
object = 'VBBK'
u will get the dessired output
Regards,
Himanshu

Similar Messages

  • How to read mutiple texts using read text

    Hi friends,
    iam facing a problem.
    iam using READ_TEXT  function module to read the text in va01 for line item.
    name = w_test i always have same ie : vbeln & posnr   1000020012000010
    vbeln = 1000020012   posnr = 000010
       CALL FUNCTION 'READ_TEXT'
    EXPORTING
    client = sy-mandt
    id = p_textid
    language = sy-langu
    name = w_test
    object = 'VBBK'
    TABLES
    lines = t_tline
    EXCEPTIONS
    id = 1
    language = 2
    name = 3
    not_found = 4
    object = 5
    reference_check = 6
    wrong_access_to_archive = 7
    OTHERS = 8.
    now i have to read text for different ids for same line item and order number
    0001 , 1000 , 2000 , 3000
    now in the above code only my textid will be change
    do i need to call the read text function module 4 times to read 4 diferent texts.
    can one one tell me how can i use it as per modulirization coding.
    Regards
    Priyanka.

    Hi,
    Put the Function module READ_TEXT in LOOP ... ENLOOP.
    When you put inside the loop .. based on ID it will change...
    Thanks ,
    Chandra Babu.A

  • How to use read text for VF03 for a particular header text ID...

    Hello Experts,
    How do we read the text from a given text ID? in my speccs, it says that I need to get the text from
    a given text ID for invoices(VF03).
    Thank you guys and take care!

    i am not at system right now, but I guess object is VBBK. you can do SE16 on STXH, put name as your invoiuce#, iD as your text id, object as VBBK and see if it returns the row. if not leave object as blank and see hwat does it return for object for the given key

  • Text element in smartforms

    Hi guys,
    What is the use of text elements in smartforms? I am getting confused. For texts, we generally use text modules rite? So what is the difference between the two. Wehn am i to use text element and when am i to choose text module. Please explain me in detail
    Regards,
    Prem

    Hi,
    Text Elements (locally in form)
    To include data from the form interface (data from application tables) or system data (date, time) into the text, use system fields or user-defined fields in the text When processing the form, SAP Smart Forms replaces these fields with the corresponding values
    Text Modules (for reusing texts)
    You can use text modules to store texts that frequently appear in your forms which is stored centrally in the system. This detaches text maintenance from form maintenance, with the result that you do not need to call the Form Builder to edit individual texts.

  • Save text and read text

    Hi all.
    i have a requirement to copy shipment instructions text from delivery to shipment in struction text in shipment when a delivery is added to a shipment.
    i can read the shipment text corresponding to the delivery using the fm read_text but when saving it to shipment i am facing a problem.
    my shipment number is not geneerated at that time.so how can i get the text read using read text to be seen in the shipment before it is saved.
    is there a way out?'
    regards

    Hi,
    Till the time it gets created you can not save text, because you need to have object name to pass into save_text function module.
    Regards,
    Satish

  • How to use standard texts in smartforms

    Hi Friends,
          How to use standard texts in smartforms, ie in scripts we are using standard texts using tr so10.
    thanks in advance,
    regards,
    sharma.

    For long text
    method1
    Create TEXT node- general attributes change text type to include text
    then you can input text name/text object/text id/language
    method2
    create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
    then use LOOP or TABLE node to display it
    For TEXT module(For foreign language)
    Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
    then enter smartform Create TEXT node- general attributes change text type to text module
    input the text module name which created by above
    btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10

  • What is the Use of Text Module Radio buton in Smartforms

    Hi all,
    What is the Use of Text Module Radio buton in Smartforms T - code ? How can we link this to our form ?
    Thanks in advance
    KR

    Text modules
    Text modules are used to centrally store texts that are used frequently in forms in the system.
    Text modules are included in forms using texts nodes. The text node can either refer to the text module or take its text. You can then change the text or add to it to suit the form.
    Text modules have the following attributes:
    They are client-independent
    They are connected to the transport system
    They are connected to the translation tools in the system
    The third attribute means that a text module can be uniquely assigned to a language using the logon language. When including a text module, you can also access translations of the text module, for example, to include an English text module in a German form.
    Reward Points if useful.

  • Is it possible to add text to a non-fillable form using Reader DC?

    TLDR: Can I add text to a form (e.g., fill it out) using Adobe Reader DC on Windows, or can that only be done with "fillable" forms?  If so, how?
    I'm attempting to fill out a fairly lengthy "paper" form.  The form is not a fillable form, it is a government form that is downloadable for printing but for whatever reason the government agency chose not to enable the "fillable" feature. 
    On my Mac, I can just use the "text box" tool in the Preview app to add all of the text that I need to complete this form. 
    On Adobe Reader DC, which is installed on my Work PC running Windows 8, nothing happens when I click the "fill and sign" button and the features displayed in the online tutorial simply don't show up.  There's no text tool.  I just see the "hand" icon.  When I right-click, I get an option for the Select tool, which enables me to select text, but doesn't allow me to add a text box.  The web tutorial says there should be a menu somewhere with an icon to add a text box, but that icon is just straight up missing. 
    I am very confused by this software.  I am not an idiot with computers; but I am a bit old, and I'm more used to keyboards, toolbars, and windows than this "pane" based touch-oriented approach.  The toolbar up top seems to be limited to a "pane selector" between Home, Tools (which just reveals a panel of icons most of which are links to cloud services that I don't want), an then a few file handling icons.  On the right there is a little panel that says "get started" and offers only two clickable functions, "Send & Track" and "Get Others to Sign" neither of which reveals any text tools. 
    Now, the answer to my question very well may be "no" which is fine, I'll just keep using my Mac for the task since I know that it works, but I'd really like to be able to leave my personal computer and get everything done within Windows.  Surely this isn't one of those things that can only be done on a Mac or with expensive third-party software on a PC.  But the web seems to insist that this is a thing that should be both possible and simple.  Is it?

    You can try the comments tools.

  • What is use of Read-Text  command in Sapscript  plz replay

    What is use of Read-Text  command in Sapscript  plz replay
    i m geting problem with read-text command in sapscript as will as
    perform and endperform .

    Hi Majid,
              It's a function module to read the texts from a text file. Generally it is used to retrieve the long texts.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ´
    ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:  
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    Br,
    laxmi.

  • How to read the Key value from the Message using the text value.. Urgent

    I need to read the Key valuefrom the message pool using the text value for the Key.. Is it possible.. Please help me with sample code..
    Thanks and Regards
    Avijit

    Avijit,
    I got your requirement. I really dont know the scenario your working on but its possible to do it. There is no direct way to do so, but complexity is in getting to know the Keys dynamically from interface.
    Here you go..
         try
              Class msgClass      = IMessageTestWDApps.class;
    //Replace IMessageTestWDApps with IMessage<Your WD Component name>
              Field keys[]      = msgClass.getFields();
              IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();
              if(keys != null)
                   String key = "";
                   for(int index=0;index<keys.length;index++)
                        key = keys[index].getName();
                        wdComponentAPI.getMessageManager().reportSuccess("Key= "+key);
                        if(textAccessor.getText(key).equals("My message text"))
                             //your logic.
         catch(Exception cnfe)
              wdComponentAPI.getMessageManager().reportException("Exe "+cnfe.getMessage(),false);
    Regards
    Abhilash
    Message was edited by:
            Abhilash Gampa

  • Can't seem to save non-English as text from PDF using Reader

    I have several PDF documents that were originally generated by OpenOffice from a UTF8-encoded text file. The text is in different languages, e.g. Korean, Arabic, Russian, English. When I open these documents and then "save as text", the resulting text files contain garbage or nothing at all in all cases except for English. Is it possible to extract non-English text from a PDF document using Reader? If not, is there a different product that could be used for this purpose? Thanks much!

    They're using fonts that you don't have on your system so no, it isn't possible with Reader.

  • Read text file insert into table using utl_file

    Hi
    i have script for read and insert into table but i want error records load into error table so i sent you my script and please fix the error log table
    script
    DECLARE
    v_line VARCHAR2(2000);
    v_file utl_file.file_type;
    v_dir VARCHAR2(250);
    v_filename VARCHAR2(50);
    BEGIN
    v_dir :='MID5010_DOC1TP';
    v_filename := 'OPT_CM_BASE.txt';
    v_file := utl_file.fopen(v_dir, v_filename, 'r');
    LOOP
    BEGIN
    utl_file.get_line(v_file, v_line);
    EXCEPTION
    WHEN no_data_found THEN
    EXIT;
    END ;
    v_line := REPLACE(v_line,'|','|~');
    INSERT
    INTO optum_icd10cm_base VALUES
    ( REPLACE(TRANSLATE(regexp_substr(v_line,'[^|~]+',1,1),'a~','a'),'.'),
    TRANSLATE(regexp_substr(v_line,'[^|~]+',1,2),'a~','a'),
    TRANSLATE(regexp_substr(v_line,'[^|~]+',1,3),'a~','a'),
    TRANSLATE(regexp_substr(v_line,'[^|~]+',1,4),'a~','a'),
    TRANSLATE(regexp_substr(v_line,'[^|~]+',1,5),'a~','a'),
    CASE
    WHEN LENGTH(regexp_substr(v_line,'[^|~]+',1,6)) < 10
    THEN to_date(ltrim(TRANSLATE(regexp_substr(v_line,'[^|~]+',1,6),'a~','a'),'0'),'mm-yyyy')
    ELSE to_date(TRANSLATE(regexp_substr(v_line,'[^|]+',1,6),'a~','a'),'mm-dd-yyyy')
    END,
    CASE
    WHEN LENGTH(regexp_substr(v_line,'[^|~]+',1,7)) < 10
    THEN to_date(ltrim(TRANSLATE(regexp_substr(v_line,'[^|~]+',1,7),'a~','a'),'0'),'mm-yyyy')
    ELSE to_date(TRANSLATE(regexp_substr(v_line,'[^|]+',1,7),'a~','a'),'mm-dd-yyyy')
    END,
    CASE
    WHEN LENGTH(regexp_substr(v_line,'[^|~]+',1,8)) < 10
    THEN to_date(ltrim(TRANSLATE(regexp_substr(v_line,'[^|~]+',1,8),'a~','a'),'0'),'mm-yyyy')
    ELSE to_date(TRANSLATE(regexp_substr(v_line,'[^|]+',1,8),'a~','a'),'mm-dd-yyyy')
    END,
    CASE
    WHEN LENGTH(regexp_substr(v_line,'[^|~]+',1,9)) < 10
    THEN to_date(ltrim(TRANSLATE(regexp_substr(v_line,'[^|~]+',1,9),'a~','a'),'0'),'mm-yyyy')
    ELSE to_date(TRANSLATE(regexp_substr(v_line,'[^|]+',1,9),'a~','a'),'mm-dd-yyyy')
    END,
    CASE
    WHEN LENGTH(regexp_substr(v_line,'[^|~]+',1,10)) < 10
    THEN to_date(ltrim(TRANSLATE(regexp_substr(v_line,'[^|~]+',1,10),'a~','a'),'0'),'mm-yyyy')
    ELSE to_date(TRANSLATE(regexp_substr(v_line,'[^|]+',1,10),'a~','a'),'mm-dd-yyyy')
    END,
    TRANSLATE(regexp_substr(v_line,'[^|~]+',1,11),'a~','a')
    -----commit;
    END LOOP;
    utl_file.fclose(v_file);
    END;
    text file
    A50.0||Short|Long|Full|01-01-2009|01-2009||01-01-2013|09-18-2012|C|
    A50.1||Short|Long|Full|01-01-2009|01-01-2009||001-2013|09-18-2012|C|
    A50.2||Short|Long|Full|01-01-2009|01-01-2009|67|01-01-2013|09-18-2012|C|
    A50.3||Short|Long|Full|011-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A50.4||Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|5|
    A50.5|R|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A50.6||Short|Long||01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A50.7||Short||Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    2345||Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A60.0|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A60.1|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A60.2|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A60.3|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A60.4|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A60.5|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A60.6|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A60.7|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A60.8|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A60.9|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A70.0|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A70.1|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A70.2|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A70.3|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A70.4|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    B222|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A4.1|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A4.2|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A4.3|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A4.4|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A4.5|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A4.6|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A4.7|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A4.8|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A4.9|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A5.0|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A5.1|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A5.2|D|Short|Long|Full|01-01-2009|01-01-2009|01-10-2013|01-01-2013|09-18-2012|C|
    A5.3|D|Short|Long|Full|01-01-2009|01-01-2009|01-10-2013|01-01-2013|09-18-2012|C|
    D642|D|Short|Long|Full|01-01-2009|01-01-2009|01-10-2013|01-01-2013|09-18-2012|C|
    A5.5|D|Short|Long|Full|01-01-2009|01-01-2009|01-10-2013|01-01-2013|09-18-2012|C|
    A5.6|D|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A5.7|C|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A001|C|Short Updated|Long Updated|Full Updated|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A009|C|Short Updated|Long Updated|Full Updated|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A5.10|C|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A0109|C|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    F10.0|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    F10.1|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    F10.2|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    F10.3|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    F10.4|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    F10.5|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    F10.6|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    F10.7|N|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A30|C|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A316|C|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    A317|C|Short|Long|Full|01-01-2009|01-01-2009||01-01-2013|09-18-2012|C|
    ----clearly read text file insert into table and error records load into error table
    please help me

    hI
    i am using utl_file prepared script but i got error like 01861. 00000 - "literal does not match format string"
    script:
    DECLARE
    f utl_file.file_type;
    s VARCHAR2(32000);
    f1 VARCHAR2(100);
    f2 varchar2(100);
    F3 VARCHAR2(100);
    F4 VARCHAR2(100);
    F5 VARCHAR2(100);
    F6 DATE;
    F7 DATE;
    F8 DATE;
    F9 DATE;
    F10 DATE;
    f11 CHAR(1);
    BEGIN
    --DBMS_OUTPUT.ENABLE(100000);
    f := utl_file.fopen('MID5010_DOC1TP', 'OPT_CM_BASE.txt', 'R');
    LOOP
    BEGIN
    UTL_FILE.GET_LINE(f, s);
    f1 := REGEXP_SUBSTR (s,'[^|]+',1,1);
    f2 := REGEXP_SUBSTR (REPLACE(s,'||','||'),'[^|]+', 1,2);
    F3 := REGEXP_SUBSTR (REPLACE(s,'||','||'),'[^|]+', 1,3);
    F4 := REGEXP_SUBSTR (REPLACE(s,'||','||'),'[^|]+', 1,4);
    F5 := REGEXP_SUBSTR (REPLACE(s,'||','||'),'[^|]+', 1,5);
    F6 := to_date(REGEXP_SUBSTR (REPLACE(s,'||','||'),'[^|]+',1,6),'mm-dd-yyyy');
    F8 := to_date(REGEXP_SUBSTR (REPLACE(s,'||','||'),'[^|]+',1,8),'mm-dd-yyyy');
    F7 := to_date(REGEXP_SUBSTR (REPLACE(s,'||','||'),'[^|]+',1,7),'mm-dd-yyyy');
    F9 := to_date(REGEXP_SUBSTR (REPLACE(s,'||','||'),'[^|]+',1,9),'mm-dd-yyyy');
    F10 :=to_date(REGEXP_SUBSTR (REPLACE(s,'||','||') ,'[^|]+',1,10),'mm-dd-yyyy');
    f11 := REGEXP_SUBSTR (REPLACE(s,'||','||'),'[^|]+', 1,11);
    INSERT
    INTO OPTUM_ICD10CM_BASE
    ( CODE,
    STATUS,
    SHORT_DESCRIPTION,
    LONG_DESCRIPTION,
    FULL_DESCRIPTION,
    CODE_EFFECTIVE_DATE,
    CHANGE_EFFECTIVE_DATE,
    TERMINATION_DATE,
    RELEASE_DATE,
    CREATION_DATE,
    VALIDITY
    VALUES
    F1,
    F2,
    F3,
    F4,
    F5,
    F6,
    F7,
    F8,
    F9,
    F10,
    f11
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXIT;
    END;
    END LOOP;
    UTL_FILE.FCLOSE(F);
    END;
    please help me(in my org looks utl_file standards only)

  • Item txt using include text smartform

    Hello Friends ,
    How can we print Item text from purchase order in smartform using include text . I know click on the include text mode and then write the following details .
    text id = f01
    lanuage = en
    object = ekpo
    what should i write in text name . Any other details i need to mention
    Do i need to create one using SO10 . Plzzzzzzzzzzz help
    Joseph

    Hi,
    Right click on node(on which you need the text)
    Create-Flow logic-Program lines.
    system gives %CODE1
    there are two tabs General attributes and Conditions
    click on General Attributes
    Provide the Input parameters - which contains po no and item no
    Provide the output parameters- globally defined Variable  ex NAME type C
    write the code:
    CONCATENATE ekpo-ebeln ekpo-ebelp into name
    Now again right click on program line create Text.
    Give text type as Include text.
    provide the details
    Text Name      &NAME&
    Language        EN
    Text ID         F01
    Text Object     EKPO   
    Check the box : no error
    Rgd
    Narsim
    Edited by: Aeda N on Nov 17, 2009 11:59 AM

  • Hi..how we enter standard text for smartform using include text

    hi
    guru
    ..how we enter standard text for smartform using include text..
    i know only using so10 we write text..
    in smartform it asking text-object
                                     text-id,
    so what values we should give to get text

    Hi,
       Do u want to print Standard Text or the Texts that are maintained at the Transaction level.
    If it is standard text , then u use text id as ST or if it is Texts that are maintained at the Transaction level then u have to go to that specific transaction and check for that text , then go to text editor ,in the goto menu u have header data where u get the Text id , text name.... , use them in ur smartform in the INCLUDE text.
    Further u have the option of text modules in smartforms which act as standard texts, so if u r going for creation of standard texts then its better to use text modules.
    Regards,
    Shafivullah Mohammad

  • Trouble using read() to append html text to JEditoPane()

    Trouble using read() to append html text to JEditoPane()
    I`ve created the method bellow in my GEditorPane class, wich extends JEditorPane. The problem is that, after each appended text, an undesired line break is added. I checked the getText() of the pane, and there was no <br> (but a \n) where the line breaks are localized, what is strange, since html doesn`t break lines with \n.
    Someone can help me ? Thankyou. SrLontra
    public void append(String str) {
    try {
    Document doc = getDocument();
    if (str == null || str.equals("")) {
    return;
    Reader r = new StringReader(str);
    HTMLEditorKit kit = (HTMLEditorKit) getEditorKit();
    kit.read(r, doc, doc.getLength());
    } catch (IOException ioe) {
    UIManager.getLookAndFeel().provideErrorFeedback(this);
    System.out.println("IOException :: appendHTML() :: GEditorPane");
    System.out.println(ioe.getMessage());
    } catch (BadLocationException ble) {
    UIManager.getLookAndFeel().provideErrorFeedback(this);
    System.out.println(     "BadLocationException :: appendHTML () :: GEditorPane");
    System.out.println(ble.getMessage());
    }

    Hello lukik,
    This is not exactly my problem, in my case, the break is not desired. For some reason, just before the appended text, a line break (\n) is inserted in the Document. And I don`t want this to happen. Added to this, why the HTML text breaks with the \n?
    Anyway, the threads were very instructive ^^.
    Thankyou. SrLontra.

Maybe you are looking for

  • [SOLVED]EasyStroke no longer works after upgrading Xorg....

    Hi, First i would just like to take the time to say, that ArchLinux kicks butt!  I just joined the forum, but have been using Arch for about a month. Thus far, i have had very few problems....until tonight I keep my system really up-to-date (almost e

  • Supplier Sites open interface

    Hi, I got a problem in Supplier Sites open interface in 12,After importing it to Interface we are running concurrent program Supplier Sites open interface in this it was not picking the records, in the output file it was showing , Zero records import

  • Configuring Alert Monitor

    Hi Friends, I have installed the Netweaver Full ABAP Preview edition in a WinXP system and trying to setup CCMS locally. Currently I don't see any data under the Alert Monitor(RZ20). I just see the tree elements but no monitors under them. What do I

  • Autofill for password not working

    When I go to one specific website, the username is autofilled but not the password. I searched firefox preferences and hit "show passwords" and nothing was saved for that url--neither user name nor password. So I "tricked" firefox into saving by chan

  • Changing Default Transition Possible in FCExpress 2?

    Does anybody know of a way to change the default video transition being something other than "Cross-Dissolve 1 sec"? "Set Default Transition" may be a Right-Click option in FCPro, but I cannot find it anywhere in my FCE version 2. IMac Mac OS X (10.3