Saving texts in transparent table

HI all,
           How can we create a transparent table and save texts in it.
        Actually my requirement is to create a button on an ALV and when user clicks that button then a text editor should open and whatever user enter in that window should get saved in a transparent table.
Does anyone have any idea how to do this??
please help me as soon as possible.
regards,
kushagra

Hi,
After setting all field catelogs and all
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
            i_callback_program       = ws_repid  ---report name
            i_callback_pf_status_set = 'GUI_STAT'
            i_callback_user_command  = 'STAT'
            is_layout                = gs_layout
            it_fieldcat              = i_fieldcat[]
       TABLES
            t_outtab                 = i_zaw_pol_plan.
  IF sy-subrc <> 0.
   MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
ENDFORM.                    " change_data
**--Setting Status of outout screen
FORM gui_stat USING rt_extab TYPE slis_t_extab.
  SET PF-STATUS 'STANDARD' EXCLUDING rt_extab.
  SET TITLEBAR text-005.
ENDFORM.
**--Calling the subroutine when button clicked on output
FORM stat USING r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield.
  DATA selfield TYPE slis_selfield.
  CASE r_ucomm.
    WHEN 'SAVE'.      
    LOOP AT i_zaw_pol_plan WHERE flag EQ c_x.
         here you will get the selected data and update the table with this
   ENDLOOP.
  ENDCASE.
ENDFORM.
double click on PF-STATUS 'STANDARD' in above code in application tool bar add button fcode and text and icon.

Similar Messages

  • Long Text Field in Transparent Table

    Hi,
    I have a requirement more than 3 fields in table with more than 4000 character and same data or text to print using smartforms.
    I have taken string data type in transparent table but maximum 3 fields can be  string data type in a table.
    And after save the data in table it automatically convert into upper case but it should be same as input.
    So what is the solution for this type of requieremnt  means how to sovle this issue.
    i.e.
    field type
    a    char key field
    b    char  key field
    c    string
    d    string
    e    string
    f     string
    g    string
    and so on..
    Thanks in Advance.
    Ram

    hello sir,
    can you guide me how to create z object for long text and how to use this .  please ..I have read save_txt Function but unable to find the use of this.
    Actually I want to use in Module Pool Program. I have 7 field which have long text in a zTable.
    Thanks.
    Ram
    Edited by: Ram Shanker on Oct 12, 2011 5:45 PM

  • How to save formatted text in Transparent or cluster table using WDA

    Hi All,
    From WDA application I want to save formatted text in Transparent or cluster table.
    What Datatypes/Data elements should take in Tables? Format should remain as it is.
    How can I achieve above requirement. Please guide step by step.
    Thanks in advance.
    Note : I will use FormattedText UI element in the view
    BR
    CW

    Hi,
    I am not sure may you can try XSTRING also..
    And you can check this for special char.
    http://www.google.co.in/url?q=http://forums.sdn.sap.com/thread.jspa%3FthreadID%3D1342827&sa=U&ei=ynTkTZDvNsbsrAepvIWsBg&ved=0CBYQFjAA&usg=AFQjCNEHLu2lPsOLP0m78AqWKjZPvBB8Yw
    Cheers,
    Kris.

  • How to preserve the case of a text(upper/lower) in the transparent table

    Hi Experts,
      I've created a Z table. Whenever I'm maintaing some text in this table via SM30, the whole text is being stored in UPPER case.
       But I want to store the text as it is i.e. a combination of lower/upper/numbers etc..
    Please advise.
    Thanks and Regards,
    Rudresh

    Goto SE11 Transaction and got ur domain field ,in the output charcterstics - check the lower case check box..
    and also maintain ur domain char field..
    Reward Points if it is helpful
    Thanks
    Seshu

  • InDesign Help - eps file text going transparent.

    I am building a business card for a client and they provided me with an .eps logo. In the logo there is a white script font along the bottom of it with their saying. I place this into inDesign and everything looks fine until i .pdf the file and the text goes transparent so only the drop shadows on the letters are visible.
    - I have tried going into the eps and the text is already converted to curves so it can't be a font problem.
    - I changed the color of the text from white to 1% black thinking maybe the eps was dropping the color but i get the same results, even when i changed it to a hot pink as a test (same problem just a transparent pink).
    - I tried saving the file as an .ai file and bringing it in and I get the same problem.
    All of us in the art room have never seen this from the new CS3 lineup before and we are stumped. If you can come up with any suggestions on how to solve this it would be appreciated, The client needs their cards soon and I can't give them this without that line of script.

    The white is set to overprint. Open it in Illustrator and fix it. While
    you're at it resave it as a AI or PDF.
    Bob

  • Value not reflecting into the transparent table when checked through se11

    Hi friends.    i am using the following code to add data to a transparent table already creted by me.Now i am adding data to it through a ABAP program.It is displaying the output when I execute it but the new record added in the program is not saved itno the table actually.my code is :
    REPORT  ZWRITE_DATA.
    tables zlfa2.
    move 'achal' to zlfa2-field_name_1.
    update zlfa2.
    select * from zlfa2.
    write / zlfa2-field_name_1.
    endselect.
    the above code is not showing the value 'achal' in it.and also no error message is being displayed.

    Hi,
    Commit work saves the changes done into the database. Using COMMIT WORK statement in your program have below mentioned effect:
    Calls the subroutines specified by PERFORM ... ON COMMIT
    Executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK) specified in these subroutines or started just before
    Processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK
    Resets the time slice counter to 0.
    Ensures that the locks of the SAP locking concept are handled in accordance with its SCOPE Parameter.
    Executes a database commit on all database connections
    Closes all open database cursors (OPEN CURSOR) on all database connections
    Releases all database locks on all database connections
    KR Jaideep,

  • About Transparent Tables and Views..

    Greetings SAP Gurus...
    How does one differentiate between Tables, Views (are they the same as table views) and logical views?  What are the differences, if ever?
    Why is it better to create a view rather that create a table?
    Cheers!
    Philips

    Hi Phillips,
    The Different Types of SAP Tables
    What is transparent, cluster and pool table? Where and when we use these tables?
    Transparent Table : Exists with the same structure both in dictionary as well as in database exactly with the same data and fields.
    Pooled Table : Pooled tables are logical tables that must be assigned to a table pool when they are defined. Pooled tables are used to store control data. Several pooled tables can be cominied in a table pool. The data of these pooled tables are then sorted in a common table in the database.
    Cluster Table : Cluster tables are logical tables that must be assigned to a table cluster when they are defined. Cluster tables can be used to strore control data. They can also be used to store temporary data or texts, such as documentation.
    Could anyone tell me what is the major difference between Standard tables, Pooled tables and Clusterd Tables?
    A transparent table is a table that stores data directly. You can read these tables directly on the database from outside SAP with for instance an SQL statement.
    Transparent table is a one to one relation table i.e. when you create one transparent table then exactly same table will create in data base and if is basically used to store transaction data.
    A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.
    One of the possible reasons is for instance that their content can be variable in length and build up. Database manipulations in Abap are limited as well.
    But pool and cluster table is a many to one relationship table. This means many pool table store in a database table which is know as table pool.
    All the pool table stored table in table pool does not need to have any foreign key relationship but in the case of cluster table it is must. And pool and cluster table is basically use to store application data.
    Table pool can contain 10 to 1000 small pool table which has 10 to 100 records. But cluster table can contain very big but few (1 to 10) cluster table.
    For pool and cluster table you can create secondary index and you can use select distinct, group for pool and cluster table. You can use native SQL statement for pool and cluster table.
    A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.
    A view is a way of looking at the contents of tables. It only contains the combination of the tables at the basis and the way the data needs to be represented. You actually call directly upon the underlying tables.
    Regards

  • I want to publish a simple text animation transparent but keep getting a black background?

    I want to publish a simple text animation transparent but keep getting a black background?

    trouble is, it's not always that straight forward if the initial animation has not been set to a transparent background, as you cant simply change/update the poster.png
    What I mean is, if the poster has been saved as non transparent once, the only wayto update it,  is to physically open the file and make it transparent, even then it doesnt always work especially working with OAM's
    hope that also helps
    Alistair

  • In ME23N where do the data saves in TEXT TAB (means tables)

    HI,
    i have small problem in ME23n screen regarding wher do data gets saved means in which table.
    in ME23n , In Header we have TEXT TAB,
                                                                     In tht we have HEADER TEXT -
    In this we have option for entering                                                                               
    HEADER NOTE
                                                                                    PRINCING TYPE
    in which table does the data entered in header note will be saved.
    please tell table name where this data get saves.
    thanks in advance.

    Hi ajju_bobby  ,
    these texts are text modules and they are saved in tables STXL in raw format.
    you can get the text via FM read_text.
    Double click on text edit control - choose GOTO>HEADER then you get detailed info of the text module, usefull for using the FM
    regards
    rea

  • Procedure for creating transparent table, data element and domain

    Hi,
    Can anybody let me know the procedure for creating transparent table, data element and domain.
    Thanks,
    Mahathi

    Hi
    Database table and its components
    A database table is the central data structure of the ABAP/4 data dictionary.
    The structure of the objects of application development are mapped in tables on the underlying relational database.
    The attributes of these objects correspond to fields of the table.
    A table consists of columns (fields) and rows (entries). It has a name and different attributes, such as delivery class and maintenance authorization.
    A field has a unique name and attributes; for example it can be a key field.
    A table has one or more key fields, called the primary key.
    The values of these key fields uniquely identify a table entry.
    You must specify a reference table for fields containing a currency (data type CURR) or quantity (data type QUAN). It must contain a field (reference field) with the format for currency keys (data type CUKY) or the format for units (data type UNIT). The field is only assigned to the reference field at program runtime.
    The basic objects for defining data in the ABAP Dictionary are tables, data elements and domains. The domain is used for the technical definition of a table field (for example field type and length) and the data element is used for the semantic definition (for example short description).
    A domain describes the value range of a field. It is defined by its data type and length. The value range can be limited by specifying fixed values.
    A data element describes the meaning of a domain in a certain business context. It contains primarily the field help (F1 documentation) and the field labels in the screen.
    A field is not an independent object. It is table-dependent and can only be maintained within a table.
    You can enter the data type and number of places directly for a field. No data element is required in this case. Instead the data type and number of places is defined by specifying a direct type.
    The data type attributes of a data element can also be defined by specifying a built-in type, where the data type and number of places is entered directly.
    <b>Two Level Domain Example</b>
    A domain defines a field technically and therefore it may
    be used at different business levels.
    A data element describes the meaning of a domain in a certain business context.
    A domain, however, is used for the technical definition of a table field (for example field type and length).
    Therefore, although a take-off airport (data element S_FROMAIRP) would have a different business meaning from an airport where a plane lands (data element S_TOAIRP), they could still have the same domain(here S_AIRPID) because technically we could assign the same number of characters whether the airport is a take-off or a landing airport.
    <b>Definitions of Table in Database</b>
    In SAP R/3 tables are defined as
    A) Transparent tables: All of the fields of a dictionary table correspond to a field in the real database table.
    B) Pooled tables: Different tables which are not linked to each other with a common key are combined into a TABLE POOL. Several logical tables thus exist as a single real database table.
    C) Cluster tables: Several tables linked by a common key may sometimes be combined by the data dictionary and made to exist on the database schema as a single table.
    SAP is evolving R/3 tables in transparent tables.
    <b>Elaboration on each of the definitions</b>
    A transparent table is automatically created on the database when it is activated in the ABAP Dictionary. At this time the database-independent description of the table in the ABAP Dictionary is translated into the language of the database system used.
    The database table has the same name as the table in the ABAP Dictionary. The fields also have the same name in both the database and the ABAP Dictionary. The data types in the ABAP Dictionary are converted to the corresponding data types of the database system.
    The order of the fields in the ABAP Dictionary can differ from the order of the fields on the database. This permits you to insert new fields without having to convert the table. When a new field is added, the adjustment is made by changing the database catalog (ALTER TABLE). The new field is added to the database table, whatever the position of the new field in the ABAP Dictionary.
    Tables can also reside on the database as Pooled tables or cluster tables
    Pooled Tables: Different tables which are not linked to each other with a common key can be combined into a Table Pool. The tables contained within this pool are called Pooled Tables. A table pool is stored in the database a simple table. The table's data sets contain, in separate fields, the actual key for the data set to be stored, the name of the pooled table and the contents of the data set to be stored.
    Using this schema, several logical tables are combined into a single real database table. Although the data structure of each set is lost during the write to the table pool, it is restored during the read by the ABAP/4 Data Dictionary. The ABAP/4 Data Dictionary utilizes its meta-data to accomplish this.
    Since information must be prepared (defined) within the ABAP/4 Data Dictionary when it is read or written to (or accessed), this process itself defines these as not transparent tables
    Cluster Tables: Occasionally, several tables may be linked by a common key. The ABAP/4 Data Dictionary can also combine these tables into a single table. Each data set of the real table within the database contains a key and in a single data field, several data sets of the subsequent table for this key.
    As mentioned above, these table types require special data handling, therefore they are not transparent tables.
    <b>Technical Settings in Dictionary</b>
    The data class logically defines the physical area of the database (for ORACLE the table space) in which your table should be created. If you choose the data class correctly, the table will automatically be created in the appropriate area on the database when it is activated in the ABAP Dictionary.
    The most important data classes are master data, transaction data, organizational data and system data.
    Master data is data that is rarely modified. An example of master data is the data of an address file, for example the name, address and telephone number.
    Transaction data is data that is frequently modified. An example is the material stock of a warehouse, which can change after each purchase order.
    Organizational data is data that is defined during customizing when the system is installed and that is rarely modified thereafter. The country keys are an example.
    System data is data that the R/3 System itself needs. The program sources are an example.
    Further data classes, called customer data classes (USER, USER1), are provided for customers. These should be used for customer developments. Special storage areas must be allocated in the database.
    The size category describes the expected storage requirements for the table on the database.
    An initial extent is reserved when a table is created on the database. The size of the initial extent is identical for all size categories. If the table needs more space for data at a later time, extents are added. These additional extents have a fixed size that is determined by the size category specified in the ABAP Dictionary.
    You can choose a size category from 0 to 4. A fixed extent size, which depends on the database system used, is assigned to each category.
    Correctly assigning a size category therefore ensures that you do not create a large number of small extents. It also prevents storage space from being wasted when creating extents that are too large.
    Modifications to the entries of a table can be recorded and stored using logging.
    To activate logging, the corresponding field must be selected in the technical settings. Logging, however, only will take place if the R/3 System was started with a profile containing parameter 'rec/client'. Only selecting the flag in the ABAP Dictionary is not sufficient to trigger logging.
    Parameter 'rec/client' can have the following settings:
    rec/client = ALL All clients should be logged.
    rec/client = 000[...] Only the specified clients should be logged.
    rec/client = OFF Logging is not enabled on this system.
    The data modifications are logged independently of the update. The logs can be displayed with the Transaction Table History (SCU3).
    Logging creates a 'bottleneck' in the system:
    Additional write access for each modification to tables being logged.
    This can result in lock situations although the users are accessing different application tables!
    <b>Create transparent table</b>
    Go to transaction SE11. Enter name of table you want to create (beginning with Y or Z) and click on create pushbutton
    Enter the delivery class and the table maintenance criteria
    The delivery class controls the transport of table data when installing or upgrading, in a client copy and when transporting between customer systems .
    The display/maintenance indicator specifies whether it is possible to display/maintain a table/view using the maintenance tools Data Browser (transaction SE16) and table view maintenance (transactions SM30 and SM31).
    Enter the name of the table field and the data element. The
    System automatically populates the technical details for
    existing data elements.
    So far as possible it is advisable to use existing data elements which befit the business requirements.
    However, we may create data elements if need be. The same is shown in the next slide.
    To create a data element simply double click on it.
    Alternately create a data element by simply choosing the
    data type radio button on SE11 initial screen.
    <b>Create data element</b>
    The system prompts you to create a new data element.
    Choose the Yes pushbutton.
    Under the data type tab enter the domain name which
    determines the technical characteristics of the field.
    Further characteristics tab: Allows you to specify a search help assigned to the data element.
    It also allows you to specify a parameter id which helps you populate a field from SAP memory.
    Field label: Can be assigned as prefixed text to a screen field referring to the ABAP Dictionary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    <b>Create domain</b>
    If the domain does not exist in the data dictionary the
    system prompts you to create one.
    Give the technical characteristics under the definition
    tab. Value range allows you value restriction at domain
    level.
    Value range tab:
    As explained in the section Consistency through input checks one can restrict the possible values for a field at domain level itself by either entering fixed values or by specifying a value table under the tab Value range.
    <b>Currency/Quantity fields in a table</b>
    A currency or a quantity field must be assigned a reference field from a reference table containing applicable qty unit or currency unit.
    Field of the reference table, containing the applicable quantity unit or currency
    A field containing currency amounts (data type CURR) must be assigned a reference field including the currency key (data type CUKY).
    A field containing quantity specifications (data type QUAN) must be assigned a reference field including the associated quantity unit (data type UNIT).
    <b>Create transparent table continue</b>
    Maintain the technical settings of the table by clicking on the tab

  • Error while saving text as attachment

    Hi All,
      When a layout is generated. I get the following error :
    Error while saving text as attachment , Size of the attachment is maximun than the size allowed.
    I guess the generated layout is automatically saved as attachment. Can any one suggest how to disable the option of automatic saving as attachment
    Thanks ,
    Kaushik

    Hi,
    if you want to keep the automatic saving as attachment you might check note 599680.
    The saving is done normally in method TextGeneration in the underlying Business Object, e.g. BOSALESDOCGEN, BOACTIVITY or BOSERVICETRANSACTION. There you will find the according code lines in the end.
    Regards,
    Wolfhard

  • How to activate the transparent table along with append structure

    Hi,
    I add the new fields in existing append structure on tale VBAP.
    Initially i provide them the data type as Char with length 20.
    Similarly i added the fields in user exit on scree 8459 to add fields on screen.
    Until this eveything was working fine.
    Then my functional consultant ask me to delete one field from structure and change the length of other data types to 40 characters.
    I done this changes but when i go to activate that append structure its giving me error that certan structures in which it is been used are not adjusted and activated.
    The table is not adjusted through SE14 - Database Utlity.
    Its showing me that Runtime Object and Transparent table are different and not consistent.
    Can i delete the runtime object?
    The domains which i ave changed are also not geing activated.
    Suggest me the node of problem and solution also.
    What should be the problem.
    What should i do to solve the problem.
    Suggest me the solution if any.

    Give a trail that instead of activating all together, activate low-level objects (domains, data elements etc)first and then high levels (structures, tables) individually. With this approach you could find the errors easily and can resolve quickly.
    Regards,
    Prasanth

  • The text in the tables is hazy when printed in the new version of pages. How can I get this to the same clear text as before?

    In the new version of Pages, the text in the tables are no long clear and sharp as before, they look embedded on all print outs. How can I change this.

    You can do a check for corrupted fonts and other font issues:
    *http://www.thexlab.com/faqs/multipleappsquit.html - Font Book 2.0 Help: Checking for damaged fonts
    *http://www.creativetechs.com/iq/garbled_fonts_troubleshooting_guide.html

  • Highlighting text in a table cell

    Im trying to get text in a table have it background shaded a different colour to the rest of the table cell but it doesnt work. No exceptions are thrown does anyone have any idea.
    public Component getTableCellRendererComponent(JTable table,
            Object value,
            boolean isSelected,
            boolean hasFocus,
            int row,
            int column)
            setFont(table.getFont());     
            this.setText(value));
            this.selectAll();
            this.setSelectionColor(new Color(0,0,255,100);
            return this;
        }

    The answer is similar to what someone else asked recently for highlighting text in a JFormattedTextField cell.
    class MyFocusListener extends FocusAdapter
    public void focusGained(FocusEvent e)
    SwingUtilities.invokeLater(new Runnable()
    public void run()
    selectAll();
    Put that in your cell editor or its base class. You can change the color or whatever you want. I think the problem is a timing thing where normal focus processing is interrupting your changes. So give the focus processing time to run with this Runnable triggering your processing to occur on the Awt thread (as is proper) after the system is doing whatever it wants to do. Let us know if it works for you.

  • Sales Orders Transparent Tables Needed

    I am trying to create a report with SQV1 that shows
    Sales Order 
    Sales Order Status
    Material
    Rev Level on Material
    ECN Number on Material
    ECN Description on Material
    I need the transparancy tables for
    Sales Order Detail; I tried VBAP and VBAK and both do not show me the
    Sales Order Status VBSTT
    Also I need to know the Rev Level and ECN Number and description. I
    thought they would be in MARC because the rev level shows up in the
    Material Master but it is not one of the items you can select. Any idea where
    I can find it?
    Thanks,
    Linda

    Hi
    For the sales order status, you can refer to VBUK or VBUP.
    I looked for ECN number, I think the table and the field are MARC-PRENO
    Pls check whether the same is useful to you.
    Reward point if it helps.

Maybe you are looking for

  • How To Install Boot Camp 64-bit in Window 7

    Hi, I have a MacBook (13-Inch, Early 2009 and Uni-Body Silver) and with Snow OSX, I install Win7 64-bit operation and I can't find any Boot Camp for 64-Bit WIN7....Does anyone know how and where can download it? I insert Snow disk and it's show it's

  • WWC-00000 error while creating the user

    Any one can help me on the WWC-00000 error while creating the user from the Admin tab of Oralce Portal. In fact I can't use the Login server administration. same problem exists. I granted DBA privileges to the PORTAL30, just to verify and NO use. I a

  • Issues with Synchronize to and from DB (version 3.3.0.747)

    Having an issue with syncing the model and the data dictionary is a very specific case: 1. Reverse engineer an existing table (T1) 2. Copy the table (in data modeler) - T2 3. Rename the table, make changes (add columns and keys) 4. Forward engineer t

  • Trouble Downloading PDFs

    I'm trying to download a pdf but I keep getting the error message "To view the full contents of this document you need a later version of the PDF viewer" however, I already have the latest version installed (11.0.04).  How can I download this pdf?  t

  • User exit before the call of FM CCARD_AUTH_SIMULATION

    HI Gurus I wanna know if there is any user-exit before the call of FM CCARD_AUTH_SIMULATION, for the structure XVBAK. I want to manipulate with  the document category for that particular order before the order is saved. If anyone can provide me the u