Values cannot added into z-table fields.. (have  full points..)

Hi All,
  I have one problem .
   I made a z-table,included a z-structure, two times in this  z-table.
  while inserting  some values in the table field. it is ok with the z-table fields but  i am able to inseert values in the z-structure fields used in the table.
Thankx in advance..
Lakhan

Hi..Lakhan..
Observe these points carefully . you will get the solution.
To add the Same structure multiple times in the Same Table We have to Assign the Suffix while including the Structure.
   How To:
      Open the Table in Change mode in SE11
      Select the Menu path : EDIT->Include->INSERT.
         Enter  Structure : <Your Z structure>
                   Suffix     :   <any character string Eg: A>
         Save .
         Now you can see all the Fields from include structure will have Suffix A.
       Same way you can include the Structure Several times to the
       Table using a different suffix each time.
       This ensures that the field names are not duplicated.
       Finally Activate your Table.
       Now create the entries.
<b>Reward if Helpful</b>

Similar Messages

  • I have I pad 2 and every time I try and get on message or FaceTime it says cannot connect check internet but I have full signal I have tried everything but no luck

    I have I pad 2 and every time I try and get on message or FaceTime it says cannot connect check internet but I have full signal I have tried everything but no luck

    Try this:
    Settings>General>Date & Time>Set Automatically>On

  • Custom field not getting added into MSEG table throuhBADI  MB_MIGO_BADI

    i have created a new tab in MIGO transaction and created a zfield called ZZcert . i have also created one append structure in MSEG table with field name ZZCERT .
    i have created new tab for migo using BADI MB_MIGO_BADI . when i enter value in ZZCERT in MIGO transaction , it is not updated in MSEG table .  but in debugging mode im able to see the value in  (SAPLMIGO)MSEG . i have tried the option of using Field symbols also . but it didnt work .
    I have searched in the forum for suitable answers.
    can anybody guide me how to update the ZZCERT value into MSEG table ??
    thanks in advance
    pavan

    Hi,
    if i am not wrong these are standard transactions..when you have created a screen  then for your field you can click on "get from dictionary" and the map your field(drag a field from MSEG directly on to the custom field on screen) and the you have to activate the screen....i think thats the only thing you need to do so as to update the field value in database...
    or else as sugegsted by the post above you need to use BDC recording to update the databse table MSEG.
    Abhijeet.

  • No values in added dropdownlisy dynamic table

    Hello Guru's.
    I am working with livecycler 7.1 on a NW2004S. I have the following problem,any help is appreciated. I have a dynamic table with a dropdownbox binded to an R/3 table from transaction SFP. When I start the form the first entrie with the initial created dropdown box is correct filled with all the data. But when I extend the row with the addinstancemanager, there are suddenly no values anymore.
    The extra functionality in 7.1 is that you don't have to populate the values by scripting in JAVA, but now I am lost how to deal with this problem, is this a bug?
    Thanks
    Harrie
    Message was edited by:
            Harrie Prinsen
    Hi All,
    I managed to solve the problem by my self.
    I code the binding in JAVA because the "extra functionality"  does not work.
    Here is my coding, I noticed that it is important to understand the Interactive Forms XFA model. You can find it at the adobe site and it is refered in a blog of Juergen Hauser.
    var oItems = xfa.resolveNode("xfa.record.TABMATNR1");
    var nItemsLength = oItems.nodes.length;
    app.alert(nItemsLength);
    for (var nItemCount = 0; nItemCount < nItemsLength; nItemCount++) {
    Vervolgkeuzelijst2.addItem(oItems.nodes.item(nItemCount).DATA.MATNR.value);
    The main piece in the coding is that you create an object reference to a node in the form via :
    xfa.resolveNode. TABMATNR1 is a table and contains several rows. The underlying structure is data and three fields matnr maktx kwmeng.
    Regards Harrie

    Dear Harrie,
    we are facing serious problems using Adobe IFS and SFP.
    We have problems when saving rows that are dynamically added to the form.
    Seems to be a problem with the xsd schema.
    Furthermore, I cannot link an internal table to a dropdownlist, not even for 1 single item on the form.
    I assume you have a lot of experience using IFS, maybe you have some information on this?
    Thanks in advance,
    Yoeri Coessens

  • How to save value in struture into internal table?

    good day to everyone,
    i have a prb with my coding below. i am trying to save the value tvbdpr-uecha into wa_zmas-uecha by using modify as shown below.
    however, the value uecha is not successfully being transported/saved into it_zmas.
    could anyone guide me?
    tvbdpr - is a structure table
    it_zmas - is an internal table
      LOOP AT tvbdpr WHERE posnr = wa_zmas-posnr AND matnr = wa_zmas-matnr.
              wa_zmas-uecha = tvbdpr-uecha.
              MODIFY TABLE it_zmas FROM wa_zmas TRANSPORTING uecha.
    thank you
    regards,
    sw

    Hi,
    If the internal table is already having contents and u need to modify it for the field uecha, you can try the following
    LOOP AT tvbdpr WHERE posnr = wa_zmas-posnr AND matnr = wa_zmas-matnr.
    wa_zmas-uecha = tvbdpr-uecha.
    READ TABLE it_zmas with KEY posnr = wa_zmas-posnr matnr = wa_zmas-matnr.
    if sy-subrc = 0.
    it_zmas-uecha = wa_zmas-uecha.
    MODIFY it_zmas index sy-index.
    clear it_zmas-uecha.
    endif.
    ENDLOOP.
    Else if the internal table is empty and you are populating the field uecha, use append
    LOOP AT tvbdpr WHERE posnr = wa_zmas-posnr AND matnr = wa_zmas-matnr.
    wa_zmas-uecha = tvbdpr-uecha.
    it_zmas-uecha = wa_zmas-uecha.
    append it_zmas.
    clear it_zmas.
    ENDLOOP.
    Regards,
    Vik

  • Can select, but cannot insert into oracle tables using php.

    I am having trouble inserting data into a tables in oracle using PHP. I can insert into the tables using baninst1, but nothing else. I can't even insert using the tables' owner. Every time I try I get the ORA-00492 error of table or view does not exist. However, I can run a select statement just fine. So far, baninst1 is the only user that can actually do inserts. I've triple checked all the table grants and everything is fine. Also, I can copy/paste the exact insert statement into SQL*Plus and it works with the correct user. It doesn't have to be baninst1. I've tried everything I can think of. I've tried putting the table name in quotes, adding the schema name to the table, checking public synonyms, but everything appears to be ok. I would greatly appreciate any suggestions others may have.
    I'm using PHP 5.2.3 with an oracle 9i DB.

    Here is the code that doesn't work. It works only with baninst1, no other username will work and all I do is change the my_username/my_password to something different. This is one example function where I try to do an insert, but it doesn't work on any of the tables I try.
    Thanks for looking.
    class Oracle {
         private $oracleUser = "my_username";
         private $oraclePassword = "my_password";
         private $oracleDB = "MY_DB";
         private $c = null;
         function Connect() {
              if ( !($this->c = ocilogon( $this->oracleUser, $this->oraclePassword, $this->oracleDB ) ) )
                   return false;
              return true;
         function AddNewTest($testName, $course, $section, $term, $maxAttempts, $length, $startDate, $startTime, $endDate, $endTime)
              $result = "";
              if( $this->c == null )
                   $this->Connect();     
              $splitIndex = strpos($course, " ");
              $subjectCode = substr($course, 0, $splitIndex);
              $courseNumber = substr($course, $splitIndex + 1);
              $insertStatment = "insert into szbtestinfo(szbtestinfo_test_name,
                                                                szbtestinfo_course_numb,
                                                           szbtestinfo_section,
                                                                szbtestinfo_max_attempts,
                                                                szbtestinfo_length_minutes,
                                                                szbtestinfo_start,
                                                                szbtestinfo_end,
                                                                szbtestinfo_id,
                                                                szbtestinfo_subj_code,
                                                                szbtestinfo_eff_term)
                                                                values( '" . $testName .
                   "', '" . $courseNumber .
                   "', '" . $section .
                   "', " . $maxAttempts .
                   ", " . $length .
                   ", to_date('" . $startDate . " " . $startTime . "', 'MM/DD/YYYY HH24:MI')" .
                   ", to_date('" . $endDate . " " . $endTime . "', 'MM/DD/YYYY HH24:MI')" .
                   ", szsnexttest.nextval" .
                   ", '" . $subjectCode .
                   "', '" . $term . "')";
              //return $insertStatment;
              $s = OCIParse($this->c, $insertStatment);
              try
                   $result = OCIExecute($s);
              catch(exception $e)
              return $result;
         }

  • The record is not added into the table.

    Hi,
    I am new to Hibernate.
    I have contact.hbm.xml
    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping>
    <class name="Contact" table="CONTACT">
    <id name="id" type="string" column="ID" >
    <generator class="assigned"/>
    </id>
    <property name="firstName">
    <column name="FIRSTNAME" />
    </property>
    <property name="lastName">
    <column name="LASTNAME"/>
    </property>
    <property name="email">
    <column name="EMAIL"/>
    </property>
    </class>
    </hibernate-mapping>
    And I have hibernate.cfg.xml
    <?xml version='1.0' encoding='utf-8'?>
    <!DOCTYPE hibernate-configuration PUBLIC
    "-//Hibernate/Hibernate Configuration DTD//EN"
    "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
    <hibernate-configuration>
    <session-factory>
    <property name="hibernate.connection.driver_class">sun.jdbc.odbc.JdbcOdbcDriver</property>
    <property name="hibernate.connection.url">jdbc:odbc:test</property>
    <property name="hibernate.connection.username"></property>
    <property name="hibernate.connection.password"></property>
    <property name="hibernate.connection.pool_size">10</property>
    <property name="show_sql">true</property>
    <!-- <property name="dialect">org.hibernate.dialect.MySQLDialect</property> -->
    <property name="dialect">com.hxtt.support.hibernate.HxttAccessDialect</property>
    <property name="hibernate.hbm2ddl.auto">update</property>
    <!-- Mapping files -->
    <mapping resource="contact.hbm.xml"/>
    </session-factory>
    </hibernate-configuration>
    And my client program to add a record into the table is as follows..
    File f=new File("..src/com/hibernateaction/chapter01/hello/hibernate.cfg.xml");
    Configuration cfg = new Configuration().addFile(f);
    Iterator itr=cfg.getClassMappings();
    while(itr.hasNext())
         System.out.println("V="+itr.next());
    SessionFactory sessionFactory = cfg.configure().buildSessionFactory();
    session =sessionFactory.openSession();
    System.out.println("Inserting Record");
    Contact contact = new Contact();
    contact.setId("3");
    contact.setFirstName("Senniappan");
    contact.setLastName("Gounder");
    contact.setEmail("[email protected]");
    session.save(contact);
    System.out.println("Done");
    session.flush();
    session.close();
    The output displayed as "Done" and "Hibernate: insert into CONTACT (FIRSTNAME, LASTNAME, EMAIL, ID) values (?, ?, ?, ?) ".
    But there is no record is added into the DB.
    Kindly help in this regards.

    I used transaction.commit() it workd fine. Thanks Balu.
    My query is, is it necessary to start a transaction to add a single row into the table? Could u brief about this implementation?

  • NULL values are inserted into interface table for read only columns

    Hi, I developed a custom Integrator where some of the columns has to be displayed as read only in the layout. I am using SQL content to populate the data. When I upload the data NULL values are inserted into table interface? Is there any work around for this?
    Thanks
    Edited by: user593879 on Jan 12, 2010 7:21 PM

    Doesn't WebADI drive you insane at times?
    I must say, when it's all working it looks great and it is very user friendly (end-user that is, NOT for developers!) but before you get to that stage… please please Oracle invest some time making Web ADI a bit more logical an coherent, get the obvious bugs out, please let us not have to update BNE tables anymore to get things done.
    Anyway, I sorted this one out by setting the Width to zero (0) in the Layout. HTH.

  • Incorrect data value when insert into oracle table

    Would like to ask expert here, how could I insert data into oracle table where the value is 03 ? The case is like that,  the column was defined as varchar2(50) data type, and I have a csv file where the value is 03 but when load into oracle table the value become 3 instead of 03.

    user11432758 wrote:
    Would like to ask expert here, how could I insert data into oracle table where the value is 03 ? The case is like that,  the column was defined as varchar2(50) data type, and I have a csv file where the value is 03 but when load into oracle table the value become 3 instead of 03.
    implicit datatype conversion to NUMBER can result in leading zero to be eliminated.
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • Wrong value getting updated into konv table.

    Hi,
    i have created 1 sales order through VA01 transaction.
    when i checked this sales order value into VA02 It shows 14,700, but when i check into KONV table this value shows 147.00 .
    please suggest a solution .
    thanks
    Abhay

    Hello Abhay,
    KONV is a table that deals with Condition types.
    It's not a wrong value but only a different way used by SAP to store the value.
    This rule is valid for all table where an amount, a percentage or unit dimension is stored.
    Please find below two links for your reference.
    For Eg - SAP will store 14.7 as 147 internally in SAP table.
    http://scn.sap.com/thread/55183
    http://scn.sap.com/thread/1208210
    Regards,
    Vikas

  • Insert value with quotes into the table

    Hi,
    How can I insert a value along with quotes into a table column of type varchar.
    Meaning..I want to insert the value 'TEST' including the single quotes.
    Regards,
    Murali Mohan

    It only a matter of using the correct number of quotes. to insert 'TEST' you use 3 quotes on each end
    example: '''TEST'''
    Hi,
    How can I insert a value along with quotes into a table column of type varchar.
    Meaning..I want to insert the value 'TEST' including the single quotes.
    Regards,
    Murali Mohan

  • Urgent..getting default & changed values in ALV editable....have ur point.s

    Hi all,
    I m using interactive ALV grid with 1 column editable with some default values, When i m clicking on SAVE button, only the values which are changed by the user in that column are coming in the internal table, & the default values are automatically deleted by the following code....
    But my requirement is to save all the default & changed values of the ALV column....
    <b>Help me out & have ur points.</b>
    DATA ref1 TYPE REF TO cl_gui_alv_grid.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    importing
                   e_grid                           = ref1
    CALL METHOD ref1->check_changed_data
    IMPORTING
       e_valid   =
    CHANGING
       c_refresh = 'X'

    Pradeep,
    When ur doing the CHECK_CHANGED_DATA, u ll get the edited values inside this callback sub -routine only. so here u trap the values those are changed ( thats after editing).
    Once the control goes back to the original program ( calling prog ) , u ll end up with ur old data ( before editing).
    you ll have to handle that explictly in your code, or shift to OO alv grid like this -
    REPORT ZSKC_GRID.
    TABLES : EQUI.
    DATA   : BEGIN OF T_EQUI OCCURS 0,
              EQUNR TYPE EQUI-EQUNR,
              AENAM TYPE EQUI-AENAM,
             END   OF T_EQUI.
    DATA : T_FCAT  TYPE LVC_T_FCAT,
           G_FCODE TYPE SY-UCOMM.
    DATA : G_GRID TYPE REF TO CL_GUI_ALV_GRID.
    SELECT-OPTIONS: S_EQUNR FOR EQUI-EQUNR.
    START-OF-SELECTION.
    * get data.
      PERFORM SUB_GET_DATA.
    * Populate catalog.
      PERFORM SUB_BUILD_CATALOG CHANGING T_FCAT.
    * Display the grid.
      PERFORM SUB_SHOW_GRID.
      CALL SCREEN 9001.
    *&      Form  SUB_GET_DATA
    *       Get data
    FORM SUB_GET_DATA .
      SELECT EQUNR AENAM
      FROM   EQUI
      INTO   TABLE T_EQUI
      WHERE  EQUNR IN S_EQUNR.
      IF SY-SUBRC NE 0.
    *  Give some message if needed
      ENDIF.
    ENDFORM.                    " SUB_GET_DATA
    *&      Form  SUB_BUILD_CATALOG
    *       text
    *      <--P_T_FCAT  text
    FORM SUB_BUILD_CATALOG  CHANGING PT_FCAT TYPE LVC_T_FCAT.
      DATA : WA_CAT TYPE LVC_S_FCAT.
      CLEAR WA_CAT.
      WA_CAT-FIELDNAME = 'EQUNR'.
      WA_CAT-TABNAME   = 'T_EQUI'.
      WA_CAT-REF_FIELD = 'EQUNR'.
      WA_CAT-REF_TABLE = 'EQUI'.
      APPEND WA_CAT TO PT_FCAT.
      CLEAR WA_CAT.
      WA_CAT-FIELDNAME = 'AENAM'.
      WA_CAT-TABNAME   = 'T_EQUI'.
      WA_CAT-REF_FIELD = 'AENAM'.
      WA_CAT-REF_TABLE = 'EQUI'.
      WA_CAT-EDIT      = 'X'.
      APPEND WA_CAT TO PT_FCAT.
    ENDFORM.                    " SUB_BUILD_CATALOG
    *&      Form  SUB_SHOW_GRID
    *       Show grid
    FORM SUB_SHOW_GRID .
    * create the Grid Object.
      CREATE OBJECT G_GRID
        EXPORTING
           I_PARENT          = CL_GUI_CONTAINER=>SCREEN0
        EXCEPTIONS
          ERROR_CNTL_CREATE = 1
          ERROR_CNTL_INIT   = 2
          ERROR_CNTL_LINK   = 3
          ERROR_DP_CREATE   = 4
          OTHERS            = 5.
      CHECK SY-SUBRC EQ 0.
    * Display contents,
      CALL METHOD G_GRID->SET_TABLE_FOR_FIRST_DISPLAY
        CHANGING
          IT_OUTTAB                     = t_equi[]
          IT_FIELDCATALOG               = t_fcat
        EXCEPTIONS
          INVALID_PARAMETER_COMBINATION = 1
          PROGRAM_ERROR                 = 2
          TOO_MANY_LINES                = 3
          others                        = 4.
    ENDFORM.                    " SUB_SHOW_GRID
    *&      Module  STATUS_9001  OUTPUT
    *       text
    MODULE STATUS_9001 OUTPUT.
       SET PF-STATUS 'PF_9001'.
       SET TITLEBAR 'TITLE_9001'.
    ENDMODULE.                 " STATUS_9001  OUTPUT
    *&      Module  USER_COMMAND_9001  INPUT
    *       text
    MODULE USER_COMMAND_9001 INPUT.
      CASE G_FCODE.
        WHEN 'BACK' OR 'CANC' OR 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'HAVE'.
    *    After editing everything user presses this button.
         PERFORM SUB_GET_EDITED_DATA.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    *&      Form  SUB_GET_EDITED_DATA
    *       Read the ALV grid and get current internal table.
    FORM SUB_GET_EDITED_DATA .
    DATA : T_OLD_DATA LIKE T_EQUI OCCURS 0.
    * hold the old values if u need them.
      t_old_data[] = t_equi[].
    * This will update the global internal table.
      CALL METHOD G_GRID->CHECK_CHANGED_DATA.
    * Now t_equi have changed here. u have the old data in the T_OLD_DATA.
      BREAK-POINT.
    ENDFORM.                    " SUB_GET_EDITED_DATA
    Create a blank screen called 9001. and Pf-staus has a buton with fcode "HAVE". ( alongwith BACK canc exit).

  • SQl Server - cant compare with values in table field have nchar as datatype

    Hello all!
    I am using jtds driver to connect with SQL server. My problem is i am saving arabic text into the SQL Server. The fields which contains arabic text have the datatype nchar. I can insert the values by simply placing N before the actual arabic text which i am reading from a file.
    I mean insert into [table] values(N'some arabic text') works fine.
    But when i try to select the values from the table and want to pass some paramerts (in arabic text) in where clause it doesnt return me anything.
    e.g select * from [table] where [column(nchar type)] = N'arabic text(read from file)' return nothing. Result set is always empty.
    Queryis fine as i printed the query in seperate file and run it on Query analyzer which gives me the right results.
    Any suggestions?? Please i am dying conditions tell me any solutions immediately
    Regards,
    Alam sher

    String url = "............";
    Properties props = new Properties();
    props.put("charset","cp1256");
    Connection con = DriverManager.getConnection(url,props);now this way if i get the resultset it would return me the expected resultset:)
    To compare an arabic word against the values in result set one also has to convert it into cp1256 encoding line this.
    new String([arabic word].getBytes(), "cp1256");
    The prolem was not to print the arabic words on console basically. No doubt on console it would print ???? as it doesnot support this encoding. Originial issu was comparing a string containig the arabic text with the values returned by the result set.
    This was the solution i could figure out and its working.
    Thanks anyways.
    Regards,
    Alam Sher

  • Put value into internal table field

    Hello Gurus,
    I have one field which I stored into one variable through cncatenate statment in variable VAR1.
    and I have another variable VAR2 have some amount.
    now I want to put this amount to the field which is present into the VAR1.
    ex: VAR1 = 't_display-co1'
          VAR2 = 200
    now I wnat to put this 200 into t_display-co1
    o/p  t_display-co1 = 200.
    How should I do this?
    Please Help.....
           CONCATENATE 'w_display-' col_name into var1.
           ASSIGN VAR1 to <fs>.
    Thanks in adv.

    Check this sample
    data: begin of t_display,
          col1(10) type c,
          end of t_display.
    FIELD-SYMBOLS: <fs> type any.
    data: var2 type i,
          var1 type string.
    var2 = 200.
    var1 = 't_display-col1'.
    assign (var1) to <fs> CASTING TYPE c.
    if sy-subrc = 0.
      <fs> = var2.
    endif.
    Vikranth

  • SSRS How to pass subtotal value in matrix into another table just for display?

    Hi all,
    I have two matrix with subtotal for two grouping. I need to pass the value of this two group subtotal into another matrix table to display and perform simple calculation to get the differences.
    How can I pass the subtotal amount into the other matrix?
    In Crystal report I can define two variable where i can set the total to the value and call the two variable anywhere in the same report. But how can I do it in SSRS?
    Appreciate can help
    Thank you

    Yes, basically both are same grouping, i just want to capture the subtotal for comparision with scenario 2.
    I can do it in SQL, but if possible, I hope to do it in report. Thank you
    Simulation as below
    Matrix for scenario 1
    Group 1
    Detail 
    Detail 
    Subtotal Group 1
    9999
    group  2
    Detail 
    Detail 
    SubTotal Group 2
    8888
    Matrix for scenario 2
    Group 1
     Scenario2 
    Scenario 1
    Differences
    Detail 
    Detail 
    Subtotal Group 1
    2000
    9999
    2000-9999
    group  2
    Detail 
    Detail 
    SubTotal Group 2
    3000
    8888
    3000-8888

Maybe you are looking for

  • How can I update my app store account ?

    Hi, I have a new Iphone and I wanted to add some applications from apple store. Unfortunately, I had a message saying that I was using app store on a new device (true) and they needed to check some security thing from my visa card. Unfortunately, I h

  • How to find out no of customize module pool program in SAP

    Hi All, I want to find out number of customize module pool program, Workflow, number of changes made to standard SAP objects (SPAU/SPDD in our SAP system Regards Sagar

  • SUMIF based on two criteria?

    I'm working on a spreadsheet which contains one table showing expenses over the course of a year. Each row contains a description, category, date and cost. Having read through the forums here I have managed to create a separate table that shows me ru

  • What is "data.noindex"?  It takes a lot of space and I didn't create it.

    I'm working on a better backup system for my mac. In trying to find space I came across extensive files that have in the name a directory called "data.noindex". Is there a purpose about these files? Are these related to the face identification functi

  • Nothing has gone right tonight.

    I've been clicking on boxes, finding white spaces where color should be, not being able to bring an object forward or backward. I thought that I was getting the hang of it and WHAM, all I've done tonight is click here and there and go back to Graphic