How to convert the text field into currency field

Hi,
I have an requirement to converting the text field into currency.
If I convert directly it gives dump.
If I convert this to Numeric means it takes the decimals also as whole value.
Is there any FM to convert the text field into Currency field.
Please advice me.
Thanks in advance.

Hi,
I am on an SRM sytem, which unfortunately does not have th FM: PSSV_TEXT_INTO_FIELD_CURRENCY.
But I also need to transfer a string value like '12,99' to a field with type curr.
Can i Do that manually, or is there another FM?
I have already checked code with write to or pack/unpack.
But without success yet.
Something like this:
DATA: g_str(11) type c.
DATA: g_p type p.
WRITE '12,99' TO g_str CURRENCY 'EUR'.
is no use for me. Finally I need to move g_str to my curr-field, which causes st22.
also: PACK g_str to <curr-field or g_p> dumps.
Help appreciated.
regards, matthias

Similar Messages

  • How to convert the TEXT file into an XML using plsql code

    Hi all ,
    I need to convert an TEXT file into an XML file how can i do it
    Below is my sample TEXT file .
    TDETL00000000020000000000000120131021115854ST2225SKU77598059          0023-000000010000
    I want the above to be converted into the below format
    <?xml version="1.0" encoding="UTF-8"?>
    <txt2xml>
      <!-- Processor splits text into lines -->
      <processor type="RegexDelimited">
      <regex>\n</regex>
            <!--
            This is used to specify that a message should be created per line in
            the incoming file;
            NOTE: this was designed to work with all the processors, however it
            only works correctly with 'RegexDelimited' processors (check the
            enclosing top processor type)
             -->
             <maxIterationsPerMsg>1</maxIterationsPerMsg>
      <!-- For lines beginning with FHEAD (File Header) -->
      <processor type="RegexMatch">
      <element>FHEAD</element>
      <regex>^FHEAD(.*)</regex>
      <processor type="RegexMatch">
      <element>OriginalLine</element>
      <regex>(.*)</regex>
      <consumeMatchedChars>false</consumeMatchedChars>
      </processor>
      <processor type="RegexMatch">
      <element>LineSeq,Type,Date</element>
      <regex>^(\d{10})(\w{4})(\d{14})$</regex>
      </processor>
      </processor>
      <!-- For lines beginning with TDETL (Transaction Details) -->
      <processor type="RegexMatch">
      <element>TDETL</element>
      <regex>^TDETL(.*)</regex>
      <processor type="RegexMatch">
      <element>OriginalLine</element>
      <regex>(.*)</regex>
      <consumeMatchedChars>false</consumeMatchedChars>
      </processor>
      <processor type="RegexMatch">
      <element>LineSeq,TransControlNumber,TransDate,LocationType,Location,ItemType,Item,UPCSupplement,InventoryStatus,AdjustReason,AdjustSign,AdjustQty</element>
      <regex>^(\d{10})(\d{14})(\d{14})(\w{2})(\d{4})(\w{3})([\w ]{13})([\w ]{5})(\d{2})(\d{2})([+-]{1})(\d{12})$</regex>
      </processor>
      </processor>
      <!-- For lines beginning with FTAIL (File Tail) -->
      <processor type="RegexMatch">
      <element>FTAIL</element>
      <regex>^FTAIL(.*)</regex>
      <processor type="RegexMatch">
      <element>OriginalLine</element>
      <regex>(.*)</regex>
      <consumeMatchedChars>false</consumeMatchedChars>
      </processor>
      <processor type="RegexMatch">
      <element>LineSeq,TransCount</element>
      <regex>^(\d{10})(\d{6})$</regex>
      </processor>
      </processor>
      </processor>
    </txt2xml>
    Thanks

    Sorry, that doesn't make much sense.
    The XML you gave is a configuration file for txt2xml utility. It doesn't represent the output format.
    Are you a user of this utility?

  • How to convert the character value to currency/numeric

    Hi,
    See the sample code here
    data: v_qtr_field(7).
    data: w_low_limit like glt0-kslvt,
          w_amount like glt0-hslvt.
    w_low_limit = 02.
    w_max_period = 3.
    concatenate 'HSL' w_low_limit into v_qtr_field.
    *comment
    *I am looking for a field formation thru above code like in GLT0 table like HSL02,HSL03 *etc based on the value user entered in the selection *screen
    DO w_max_period TIMES
      VARYING w_amount FROM v_qtr_field NEXT v_qtr_field + 1.
       t_trans_values-dmbe2 = t_trans_values-dmbe2 + w_amount.
      ENDDO.
    I am facing problem in the Do loop as it wont allows multiple data types. can you suggest me how to convert the v_qtr_field whose data type is character to currency?

    Hi,
    Please check this code .
    PERFORM write_currency
                  USING buf_anla-urwrt t_dates-waers t_txw_anla-urwrt.
    *       FORM WRITE_CURRENCY                                           *
    *       convert currency amount to string                             *
    *       - use decimal point                                           *
    *       - remove separator characters                                 *
    *  -->  P_AMOUNT                                                      *
    *  -->  P_CURRENCY_UNIT                                               *
    *  -->  P_STRING                                                      *
    FORM WRITE_CURRENCY
         USING P_AMOUNT        TYPE P
               P_CURRENCY_UNIT LIKE TCURC-WAERS
               P_STRING        TYPE C.
      DATA: DEC2POINT(2) TYPE C VALUE ',.'.
    * convert separator to decimal point
      WRITE P_AMOUNT TO P_STRING CURRENCY P_CURRENCY_UNIT
            NO-GROUPING
            NO-SIGN
            LEFT-JUSTIFIED.
      TRANSLATE P_STRING USING DEC2POINT.
    * put minus sign before number
      IF p_amount < 0.
        SHIFT P_STRING RIGHT.
        P_STRING(1) = '-'.
      ENDIF.
    ENDFORM.
    <i>Hope This Info Helps YOU.</i>
    Regards,
    Lakshmi

  • How to upload the text file into smart forms

    Hi Experts,
    can any one tell me that how to upload  the text file or html file to SAP Script form or smart forms
    i have download the form info from SAPscript form.to text file.
    now i want to upload the text file to smartforms.
    is it possible ? if it is possible, then how can i do that ?
    Thanks in Advance.
    Regards,
    Mani

    <b>For Scripts</b>
    Go to SE38. Put in the program name RSTXSCRP. Execute it.
    Mode(Export/Import) : Import.
    Give the file name from which you want to upload and execute it.
    <b>For Smartforms</b>
    TCode : smartforms.
    Give the form name.
    Utilities-->Upload form.
    Reward points if helpful.
    Thanks
    Aneesh.

  • How to convert select-options table into single field internal table

    Hi,
    My requirement is to convert select-options table into single internal table which has one field.
    e.g. select-options: s_matnr for mara-matnr.
           select-options table can have options  'BT',"EQ", "NE", "GE", "GT", "LE", "LT", "CP" etc. select-options table
           have   Sign:I ,Option:BT, Low: 1, High.10.The new internal table records should be 1,2,3,4,5,6,7,8,9,10.
    Please suggest any function module available for this scenario in SAP.
    Thanks,
    Somi.
    Edited by: somi reddy satti on Sep 15, 2009 3:18 PM

    Hi Sowmya,
    Here is the answer if I understand well of your question.
    Data: begin of gt_mon OCCURS 0,
                  mon(2)             TYPE n,
             end of gt_mon.
    Data: begin of gt_year OCCURS 0,
                  year(4)             TYPE n,
             end of gt_year.
    Select-options: s_period       FOR ptdw_pws_db-kmonth NO-EXTENSION
                                                                                    DEFAULT sy-datum(6)
                                                                                    TO sy-datum(6).
    For example according to above statement period is 201110 is 201201.
    Period field does n't exists in SAP for selection. If your selection is on date based on period which is given on the selection-screen then you need to convert the period to date by concatenating ( or using FM to convert )01 at the end of each period . You need to declare one range table for date to select the data from table.
    loop at s_period.
    gr_date-sign   = s_period-sign.
    gr_date-option = s_period-option.
    COncatenate s_period-low
                          '01'
    into gr_date-high.
    COncatenate s_period-high                   
                           '01'
    into gr_date-low
    append gr_date.                      
    ENDloop.
    Thanks,
    Satheesh

  • How to write the quires using into corresponding fields?

    Hi,
      How can i write the below quires using into corresponding fields statement.
    DATA :ws_d_budat TYPE bkpf-budat,
               ws_c_artnr TYPE ce10001-artnr,
    1) SELECT SINGLE budat
                        INTO ws_d_budat
                        FROM bkpf
                        WHERE awtyp = 'VBRK'
                        AND   awkey = wa_vbeln-vbeln.
    2)SELECT vbeln posnr matnr
                   FROM vbrp
                   INTO TABLE i_matnr
                   FOR ALL ENTRIES IN i_vbeln
                   WHERE vbeln = i_vbeln-vbeln
                   AND   matnr = ws_c_artnr
                   AND   posnr NE ' '.
    3) SELECT bukrs belnr gjahr budat awkey
                   INTO TABLE i_budat
                     FROM bkpf
                     FOR ALL ENTRIES IN i_awkey
                       WHERE awtyp = 'VBRK'
                       AND   awkey = i_awkey-awkey.
    Sudhakar

    1) SELECT SINGLE budat
    INTO ws_d_budat
    FROM bkpf
    WHERE awtyp = 'VBRK'
    AND awkey = wa_vbeln-vbeln.  -
    > <b>Not possible</b>
    2)SELECT vbeln posnr matnr
    FROM vbrp
    INTO corresponding fields of TABLE i_matnr
    FOR ALL ENTRIES IN i_vbeln
    WHERE vbeln = i_vbeln-vbeln
    AND matnr = ws_c_artnr
    AND posnr NE ' '.
    3) SELECT bukrs belnr gjahr budat awkey
    INTO corresponding fields of TABLE i_budat
    FROM bkpf
    FOR ALL ENTRIES IN i_awkey
    WHERE awtyp = 'VBRK'
    AND awkey = i_awkey-awkey.
    Reward points if helpful.
    Regards.
    Srikanta Gope

  • How to populate the calculated value into screen field.

    I am doing one enhancement in QM.I have added one custom screen to notification transaction ( QM01/QM02/QM03) transaction tab strip control using the enhancement QQMA0001.The Details of the calling and called screens as shown bellow
    The Calling screen: SAPLIQS0
    Screen Number: 7790
    Screen Area :USER0001
    Called Screen: SAPLXQQM
    Screen Number: 0101
    I have developed the Custom Screen in screen 0101 and called in PBO of program SAPLIQS0 7790 screen.
    The Screen in calling perfectly .The Custom screen having different fields like Raw cost, Intermediate cost, Finished cost, SCAR Cost and Sales Order Cost Etc... These fields are out put filed types. No input for these screens.. I have few doubts regarding this
    How to populate the calculated values in Custom screen?
    Where we wrote the code to populate the calculated values in custom screen?
    You have any idea please guide me
    Thanks & Regards,
    Samantula

    As your screen fields should be global variables in SAPLXQQM, you may initialize them by implementing function module EXIT_SAPMIWO0_008 which also belongs to SAPLXQQM (Customer Exit: Transfer Notification Data to User Screen)

  • How to convert the local file into unicode file?

    Hi All,
    I need read local file (GUI_UPLOAD) and save it as unicode file?
    I've found class CL_ABAP_CONV_OUT_CE but I've no idea how to use it.
    Should I read file in binary mode and then convert it into unicode? AT the and save it (GUI_DOWNLOAD) ?
    Thanks
    Adam

    Hi,
    Check these classes, will help you
    CL_ABAP_CONV_IN_CE : Reading binary data
    CL_ABAP_CONV_OUT_CE : exporting binary data
    CL_ABAP_CONV_X2X_CE : reading and exporting binary data and changing the format
    Regards,
    Satish

  • How to convert the exponential data into number

    Hi,
    I have a table with a column which is a vaarchar2(60). I have a CSV file in which, I have stored value as 77052512125510000, but it got converted into 7.71E16. And when I have stored the same in the database, it got saved as 7.71E16. How can I get the original value
    Please help
    Regards
    Edited by: Sarma12 on May 25, 2012 3:11 AM

    Sarma12 wrote:
    The issue is, the data is already copied into the database. Now while retrieving from the database, I am getting that value in the scientific notation and not similar to the data which I have in the CSV file.
    RegardsYou need to be smarter than the tools you use
    bcm@bcm-laptop:~$ sqlplus user1/user1
    SQL*Plus: Release 11.2.0.1.0 Production on Fri May 25 09:50:02 2012
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    09:50:03 SQL> @test
    09:50:07 SQL> drop table test;
    Table dropped.
    09:50:09 SQL> create table test (id number);
    Table created.
    09:50:10 SQL> insert into test values (77052512125510000);
    1 row created.
    09:50:10 SQL> select * from test;
         ID
    7.7053E+16
    09:50:10 SQL> column id format 999999999999999999999
    09:50:10 SQL> select * from test;
                  ID
         77052512125510000
    09:50:10 SQL>
    09:50:10 SQL>

  • How to turn the text edit into microsoft word

    Hi guys, please help me.. my professor send us a  a document but in text edit version.. i dont know how to edit it in microsoft word. or is this possible.. is just that i am scared that i typed in all my work in text edit and it will not be saved. please help.. thank you

    OS X 10.9 Mavericks
    Make a copy or two of the document and keep it safe.
    Open the TextEdit document.
    Click "File" menu in the TextEdit menubar and select "Duplicate"
    A new copy with" copy" attached to the title will be created.
    Click "Save" from the TextEdit "File" menu in the menu bar.
    Give it a name and answer "Where".
    Click File format popup box and select Word...

  • How to  convert the input  Dates  into ReminderInfo in AssignTask Activity!!

    Hi
    We are reading reminder  time and  Date from   the user   thru the form. We  want to  bind this input date and time with ReminderInfo data type to  set
    Reminders in Assign Task Activity.
    Please  find the ppt for more info.
    Please help  us in this regard.
    Thanks
    Praveen

    Nith,
    I know this thread is old, but how do you identify the Assign Task instance you want to adjust?
    I see processData/asdf..... in your screen shot - is this a global reference to assign task objects or to a specific instance?
    I have a process that has multiple assign task calls in it, and only want to set reminders on one of them.
    Thanks for your help - as always.
    Mark

  • How to convert the .dmp file into my oracle database

    There is a .dmp file which produced by the oracle for NT.
    How could I use this .dmp file to create my oracle for Linux
    database?
    Please help me to solve this problem.
    Thank you very much!
    The reply Email also send to [email protected] will be
    appreciated.
    null

    You will first need to create your database on your linux
    platform complete with all necessary tablespaces and datafiles.
    If you were going from unix to unix and each platfrom's datafile
    file structure was the same then only the system tablespace
    would need to be pre-created, import would have done the rest.
    However, you are going from nt to unix so the tablespace create
    statements will have invalid paths.
    So, list out the view dba_tablespaces. Create a starter
    database (system tablespace complete with installed options).
    The system tablespace should be the same (or bigger) at the one
    on the nt platform. Then create these same tablespaces on your
    linux platform. Once the database has been created complete with
    all tablespaces then use the import utility to populate your
    database.
    Done.
    Wan-rong Jih (guest) wrote:
    : There is a .dmp file which produced by the oracle for NT.
    : How could I use this .dmp file to create my oracle for Linux
    : database?
    : Please help me to solve this problem.
    : Thank you very much!
    : The reply Email also send to [email protected] will be
    : appreciated.
    null

  • How to convert the following code into an applet

    Please reply for me as soon as you can.
    import java.io.*;
    import java.awt.Frame;
    import java.awt.FlowLayout;
    import java.awt.Color;
    import java.awt.Insets;
    import java.awt.Dimension;
    import java.awt.event.WindowListener;
    import java.awt.event.WindowEvent;
    import java.util.Enumeration;
    import javax.comm.CommPort;
    import javax.comm.CommPortIdentifier;
    import javax.comm.SerialPort;
    import javax.comm.NoSuchPortException;
    import javax.comm.PortInUseException;
    public class BlackBox extends Frame implements WindowListener
         static int               portNum = 0,
                             panelNum = 0,
                             rcvDelay = 0;
         static SerialPortDisplay[]     portDisp;
         static BlackBox           win;
         static boolean               threaded = true,
                             silentReceive = false,
                             modemMode = false,
                             friendly = false;
         public BlackBox()
              super("Serial Port Black Box Tester");
              addNotify();
              addWindowListener(this);
         public void windowIconified(WindowEvent event)
         public void windowDeiconified(WindowEvent event)
         public void windowOpened(WindowEvent event)
         public void windowClosed(WindowEvent event)
         public void windowActivated(WindowEvent event)
         public void windowDeactivated(WindowEvent event)
         public void windowClosing(WindowEvent event)
              cleanup();
              dispose();
              System.exit(0);
         public static void main(String[] args)
              Enumeration           ports;
              CommPortIdentifier     portId;
              boolean               allPorts = true,
                             lineMonitor = false;
              int               idx = 0;
              win = new BlackBox();
              win.setLayout(new FlowLayout());
              win.setBackground(Color.gray);
              portDisp = new SerialPortDisplay[4];
              while (args.length > idx)
                   if (args[idx].equals("-h"))
                        printUsage();
                   else if (args[idx].equals("-f"))
                        friendly = true;
                        System.out.println("Friendly mode");
                   else if (args[idx].equals("-n"))
                        threaded = false;
                        System.out.println("No threads");
                   else if (args[idx].equals("-l"))
                        lineMonitor = true;
                        System.out.println("Line Monitor mode");
                   else if (args[idx].equals("-m"))
                        modemMode = true;
                        System.out.println("Modem mode");
                   else if (args[idx].equals("-s"))
                        silentReceive = true;
                        System.out.println("Silent Reciever");
                   else if (args[idx].equals("-d"))
                        idx++;
                        rcvDelay = new Integer(args[idx]).intValue();
                        System.out.println("Receive delay = "
                                  + rcvDelay + " msecs");
                   else if (args[idx].equals("-p"))
                        idx++;
                        while (args.length > idx)
                             * Get the specific port
                             try
                                  portId =
                                  CommPortIdentifier.getPortIdentifier(args[idx]);
                                  System.out.println("Opening port "
                                       + portId.getName());
                                  win.addPort(portId);
                             catch (NoSuchPortException e)
                                  System.out.println("Port "
                                            + args[idx]
                                            + " not found!");
                             idx++;
                        allPorts = false;
                        break;
                   else
                        System.out.println("Unknown option "
                                  + args[idx]);
                        printUsage();
                   idx++;
              if (allPorts)
                   * Get an enumeration of all of the comm ports
                   * on the machine
                   ports = CommPortIdentifier.getPortIdentifiers();
                   if (ports == null)
                        System.out.println("No comm ports found!");
                        return;
                   while (ports.hasMoreElements())
                        * Get the specific port
                        portId = (CommPortIdentifier)
                                       ports.nextElement();
                        win.addPort(portId);
              if (portNum > 0)
                   if (lineMonitor)
                        if (portNum >= 2)
                             portDisp[0].setLineMonitor(portDisp[1],
                                            true);
                        else
                             System.out.println("Need 2 ports for line monitor!");
                             System.exit(0);
              else
                   System.out.println("No serial ports found!");
                   System.exit(0);
         private void addPort(CommPortIdentifier     portId)
              * Is this a serial port?
              if (portId.getPortType()
              == CommPortIdentifier.PORT_SERIAL)
                   // Is the port in use?     
                   if (portId.isCurrentlyOwned())
                        System.out.println("Detected "
                                  + portId.getName()
                                  + " in use by "
                                  + portId.getCurrentOwner());
                   * Open the port and add it to our GUI
                   try
                        portDisp[portNum] = new
                             SerialPortDisplay(portId,
                                       threaded,
                                       friendly,
                                       silentReceive,
                                       modemMode,
                                       rcvDelay,
                                       win);
                        this.portNum++;
                   catch (PortInUseException e)
                        System.out.println(portId.getName()
                                  + " in use by "
                                  + e.currentOwner);
         public void addPanel(SerialPortDisplay     panel)
              Dimension     dim;
              Insets          ins;
              win.add(panel);
              win.validate();
              dim = panel.getSize();
              ins = win.getInsets();
              dim.height = ((this.panelNum + 1) * (dim.height + ins.top
                        + ins.bottom)) + 10;
              dim.width = dim.width + ins.left + ins.right + 20;
              win.setSize(dim);
              win.show();
              panelNum++;
         static void printUsage()
              System.out.println("Usage: BlackBox [-h] | [-f] [-l] [-m] [-n] [-s] [-d receive_delay] [-p ports]");
              System.out.println("Where:");
              System.out.println("\t-h     this usage message");
              System.out.println("\t-f     friendly - relinquish port if requested");
              System.out.println("\t-l     run as a line monitor");
              System.out.println("\t-m     newline is \\n\\r (modem mode)");
              System.out.println("\t-n     do not use receiver threads");
              System.out.println("\t-s     don't display received data");
              System.out.println("\t-d     sleep for receive_delay msecs after each read");
              System.out.println("\t-p     list of ports to open (separated by spaces)");
              System.exit(0);
         private void cleanup()
              SerialPort     p;
              while (portNum > 0)
                   portNum--;
                   panelNum--;
                   * Close the port
                   p = portDisp[portNum].getPort();
                   if (p != null)
                        System.out.println("Closing port "
                                  + portNum
                                  + " ("
                                  + p.getName()
                                  + ")");
                        portDisp[portNum].closeBBPort();
    }

    hi welcome to java forum,
    please do one thing for me so that i can help you, can you put your code in a code tag [code ][code ] (without spaces) so that your code can be readable easily

  • How to change the text of a user defined field in dynamic selections?

    Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
    Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
    Found an OSS note - 86980 - that tells that this is not possible.
    But when we read the documentation on the user field (CJI3 - dynamic selections  - double click on user field - F1), it shows the following text:
    User-defined field in which you can enter general information with a length of up to 20 characters.
    Dependencies
    The names (key words) for  user-defined fields depend on the field key.
    Now the question is where to change the field key..
    Thanks,
    Ven

    Madhu - you did not get the question I think.
    Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
    Thanks,

  • How to calcaulate the text field data

    hi frnds need help,
    how to find difference bet time if i taking  the data  from texts fields data i.e long text
    i called the FM & passed the parameters
    of text data but iam gettin answer as zero
    i hope ur gettin my point

    Hi
    You have to use READ_TEXT fun Module to fetch the Long text data by passing the correct paramters like OBJECT,ID,OBJECTNAME and LANGuage fields
    see the doc
    READ_TEXT
    READ_TEXT provides a text for the application program in the specified work areas.
    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.
    Function call:
    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:
    CLIENT
    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).
    <b>Reward points for useful Answers</b>
    Regards
    Anji

Maybe you are looking for

  • Supplier site open interface

    Hi, I am working on supplier site open interface. I succesfully loaded data into 'ap_supplier_sites_int' interface table. After submitting supplier site open interface program, it's giving '*Operating Unit Info is null*' error. But, i have operating

  • Help needed in lists

    Hi    I have to fill data manually in the fields of lists, and I need a save button, to save the data in the data base. for this scenario, which type of list is suitable.. Any useful suggestions will awarded.. Thanks!

  • Generating A CRF Completion Report

    Hi, I am in the process of creating a CRF completion report, by site, patient and visit. The problem I have with my current SQL is that it doesn't pull in records for DCIS I am expectiing but there is no data yet. Here is my SQL: I thought the outer

  • Cash Discount may only be granted up to 3%

    Hi Guys, Im new to FI. While posting an invoice in MIRO, we encounter an error "Cash Discount may only be granted up to 3%".  Payment term we are using has cash discount of 5%. I want to take out the limit of the cash discount, how will I do it? What

  • Link column in report

    Hello, How can I create a link column in a report region (not in an interactive report region). Link Column configuration section is not available for a report region. APEX version: 4.0.1.00.03 Thanks.