Add display field into form after updating database

I have a form generated, then add fields into database. Other than re-create the form, are there any other way to add the addition field into the form ?

K,
You'll find answers to most of the basic questions in the user guide, http://download-west.oracle.com/docs/cd/B13789_01/appdev.101/b10992/toc.htm. Let us know if you have specific questions that aren't addressed in there.
Scott

Similar Messages

  • Add new field infotype "z" in logical database selection screen pnp

    Can add new field infotype "z" in logical database selection screen pnp
    I could explain how to realize
    Thanks

    In case to somebody it interests to him: TO EXTEND SCREEN OF SELECTION WITH OPTIONAL DELIMITERS The case that can be given in a screen of selection of a logical data base it does not appear a certain field that we need in the filter, the steps that will be due to follow are the following:
    u2022 To create a view of selection in agreement with the fields that we want to show To review the following Link http://help.sap.com/saphelp_46c/helpdata/es/6e/6ed638e70ef679e10000000a114084/content.htm u2022 To assign the view of selection to a class of report
    u2022 In the code of report to create select option in the selection screen that allows to introduce imput to leak and after start-of-selection to put the following code,
    "Allocation operative area to optional delimiter
      IF NOT p_aroper IS INITIAL.
        DATA: lt_texpr TYPE rsds_expr OCCURS 0 WITH HEADER LINE,
              wa_texpr TYPE rsds_expr,
              lt_rsds_expr_tab LIKE rsdsexpr OCCURS 10 WITH HEADER LINE,
              wa_rsds_expr_tab LIKE rsdsexpr.
        REFRESH lt_rsds_expr_tab.
        wa_rsds_expr_tab-arity = '0'.
        wa_rsds_expr_tab-fieldname = 'OBJID'.
        wa_rsds_expr_tab-option = 'EQ'.
        wa_rsds_expr_tab-low = p_aroper.
        wa_rsds_expr_tab-high = '00000000'.
        MOVE-CORRESPONDING wa_rsds_expr_tab TO lt_rsds_expr_tab.
        APPEND lt_rsds_expr_tab.
        REFRESH lt_texpr.
        wa_texpr-tablename = 'PA9004'.
        wa_texpr-expr_tab[] = lt_rsds_expr_tab[].
        MOVE-CORRESPONDING wa_texpr TO lt_texpr.
        APPEND lt_texpr.
      pnpdynse[] = lt_texpr[].
      ENDIF.
    English is the forum language.
    Edited by: Rob Burbank on May 18, 2011 11:41 AM

  • How to add new field into dynamic internal table

    Hello Expert.
    how to add new field into dynamic internal table.
    PARAMETERS: P_TABLE(30).    "table name
    DATA: I_TAB TYPE REF TO DATA.
    FIELD-SYMBOLS: <TAB> TYPE standard TABLE.
    *Create dynamic FS
    create DATA I_TAB TYPE TABLE OF (p_table).
      ASSIGN I_TAB->* TO <TAB>.
    SELECT * FROM (p_table) INTO TABLE <TAB>.
       here i want to add one more field into <TAB> at LAST position and my 
       Field name  =  field_stype     and
       Field type    =  'LVC_T_STYL'
    could you please helpme out .

    Hi,
    Please find the code below.You can add the field acc to your requirement.
    Creating Dynamic internal table
    TYPE-POOLS: slis.
    FIELD-SYMBOLS: <t_dyntable> TYPE STANDARD TABLE,  u201C Dynamic internal table name
                   <fs_dyntable>,                     u201C Field symbol to create work area
                   <fs_fldval> type any.              u201C Field symbol to assign values 
    PARAMETERS: p_cols(5) TYPE c.                     u201C Input number of columns
    DATA:   t_newtable TYPE REF TO data,
            t_newline  TYPE REF TO data,
            t_fldcat   TYPE slis_t_fldcat_alv,
            t_fldcat   TYPE lvc_t_fcat,
            wa_it_fldcat TYPE lvc_s_fcat,
            wa_colno(2) TYPE n,
            wa_flname(5) TYPE c. 
    Create fields .
      DO p_cols TIMES.
        CLEAR wa_it_fldcat.
        move sy-index to wa_colno.
        concatenate 'COL'
                    wa_colno
               into wa_flname.
        wa_it_fldcat-fieldname = wa_flname.
        wa_it_fldcat-datatype = 'CHAR'.
        wa_it_fldcat-intlen = 10.
        APPEND wa_it_fldcat TO t_fldcat.
      ENDDO. 
    Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = t_fldcat
        IMPORTING
          ep_table        = t_newtable. 
      ASSIGN t_newtable->* TO <t_dyntable>. 
    Create dynamic work area and assign to FS
      CREATE DATA t_newline LIKE LINE OF <t_dyntable>.
      ASSIGN t_newline->* TO <fs_dyntable>.
    Populating Dynamic internal table 
      DATA: fieldname(20) TYPE c.
      DATA: fieldvalue(10) TYPE c.
      DATA: index(3) TYPE c. 
      DO p_cols TIMES. 
        index = sy-index.
        MOVE sy-index TO wa_colno.
        CONCATENATE 'COL'
                    wa_colno
               INTO wa_flname. 
    Set up fieldvalue
        CONCATENATE 'VALUE' index INTO
                    fieldvalue.
        CONDENSE    fieldvalue NO-GAPS. 
        ASSIGN COMPONENT  wa_flname
            OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
        <fs_fldval> =  fieldvalue. 
      ENDDO. 
    Append to the dynamic internal table
      APPEND <fs_dyntable> TO <t_dyntable>.
    Displaying dynamic internal table using Grid. 
    DATA: wa_cat LIKE LINE OF fs_fldcat. 
      DO p_cols TIMES.
        CLEAR wa_cat.
        MOVE sy-index TO wa_colno.
        CONCATENATE 'COL'
                    wa_colno
               INTO wa_flname. 
        wa_cat-fieldname = wa_flname.
        wa_cat-seltext_s = wa_flname.
        wa_cat-outputlen = '10'.
        APPEND wa_cat TO fs_fldcat.
      ENDDO. 
    Call ABAP List Viewer (ALV)
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          it_fieldcat = fs_fldcat
        TABLES
          t_outtab    = <t_dyntable>.

  • How to add additional field into output table for RFIDYYWT(Generic Withholding Tax Reporting)

    Hi Experts,
    How to add additional field into output table VENDORS/WH TAX TYPES AND CODES in RFIDYYWT(Generic Withholding Tax Reporting).
    I have no idea how to start with, please give some advice.
    Thanks!
    Ice

    Dear Ice,
    Use Append structure, see given link:
    https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
    Regards,
    Abbas.

  • Add EEWB Fields Into BP Contacts Screen In Web Ui

    Hi Gurus,
                      I added 2 fields through EEWB for the BP relations screen it is working  perefectly in the SAP GUI , i need to add these fields Into BP Contacts web ui screen , the problem is if fields data is already present it is working fine , if want to create new one for the contacts it is not setting the field value in web ui what is the problem help me resolve this problem.
    Regards,
    Naveen Kumar M S

    Hi Masood,
    In BP_DATA   and BP_CONT  SET Methods We Have the same Code
    entity ?= current.
          coll = entity->get_related_entities(
                   iv_relation_name = 'ZZ2RCEEWCONTACTRel' ). "#EC NOTEXT
          current = coll->get_current( ).
          if current is not bound.
            return.
          endif.
    But while Debugging  we found  a difference 
    In BP_DATA
    current is bound
    whereas in BP_CONT current is not bound
    while going inside
    current = coll->get_current( ).
    method IF_BOL_BO_COL~GET_CURRENT .
           data: LV_ENTRY type CRMT_BOL_COL_ENTRY.
           if ME->TABIX > 0.
             read table ME->ENTITY_LIST index ME->TABIX            into LV_ENTRY.
             RV_RESULT = LV_ENTRY-BO.
           endif.
         endmethod.
    ME->ENTITY_LIST  was populated for BP_DATA and not populated for BP_CONT
    Any Suggestions...
    Regards,
    Naveen.

  • How can i add Custom fields into the

    Dear Experts
    We have Ecc6.0 system,
    How can i add Custom fields into the Infotype Screen(PA30),i heard that we do it by PM01 Tcode.
    But in PM01 i am unable to find the enhance infotype tab.
    How can i do it ....pls help.....
    Regards
    Sajid

    Hi,
    Do it thru the third tab : Single Screen.
    There write down the infotype number (e.g. 0022) and say generate objects.
    Regards,
    Dilek

  • Add display fields on subsequent delivery split

    Hello all,
    I need to add new fields to display additional information on the delivery split.
    This information is very important to help the person that is performing the delivery split.
    Is there a way to add display fields?
    Thanks in advance.
    Best regards,
    Tiago Magalhães

    No solution..

  • Question: using links in report to copy data into form for update

    Hi there,
    I have a report that selects data from one a table, and i want to populate a form to update the report info and more info that a user will enter into another table. With alot of help I have managed to get the first 3 column fields across by editing the report link, under report attributes -> column link. The values of Item 1 to Item 3 work fine, but how do i get the rest of the info in the other 5 columns across??
    regards

    I think you're trying to reinvent the htmldb wheel.
    Have you tried looking at the wizards that help you do this?
    Anyway, as an example, to populate the form using the pk
    1: create your items on the page, including the PK
    eg P2_EMPNO (PK), P2_ENAME, P2_SAL,P2_DEPTNO
    2: create a page process "on load" that runs if the PK item is not null
    begin
    select ename,sal,deptno
    into :P2_ENAME,P2_SAL,P2_DEPNTO
    from emp
    where empno = :P2_EMPNO
    end;
    3: You now need to write a process that does an update
    after submit
    begin
    update emp
    set ename = :P2_ENAME,
    sal = P2_SAL,
    deptno = :P2_DEPTNO
    where empno = :P2_EMPNO;
    end
    You need to consider how to handle new rows, optimistic locking and a few other things.
    I would suggest that you have a look at the existing form wizard that does all this for you. We can then work around any "limitations" you find.
    Chris

  • Web form not updating database with stored procedure

    Hello
    i have a problem with the web form updating the database i have a stored procedure which i need to connect to. If i execute the procedure in the SQL it will update the database but when i run the web form i get my catch error "could not update database".
    I have read so much on the net and my code seem ok but i,m just so lost.
    stored procedure
    PROCEDURE [dbo].[UpdateCustomer]
    @ID INT,
    @Firstname VARCHAR(30),
    @Surname VARCHAR(30),
    @Age INT
    AS
    BEGIN
    UPDATE Customer
    SET Firstname = @Firstname,
    Surname = @Surname,
    Age = @Age
    WHERE CustID = @ID
    END
    update code
    try
    SqlCommand command = new SqlCommand();
    command.Connection = conn;
    command.CommandType = CommandType.StoredProcedure;
    command.CommandText = "UpdateCustomer";
    command.Connection.Open();
    SqlParameter param = new SqlParameter();
    param.ParameterName = "@ID";
    param.SqlDbType = SqlDbType.Int;
    param.Direction = ParameterDirection.Input;
    param.Value = txtCustID.Text;
    command.Parameters.Add(param);
    command.Parameters.AddWithValue("@CustID", txtCustID.Text.ToString());
    command.Parameters.AddWithValue("@Firstname", txtFirstname.Text);
    command.Parameters.AddWithValue("@Surname", txtSurname.Text);
    command.Parameters.AddWithValue("@Gender", Gender.Text.ToString());
    command.Parameters.AddWithValue("@Age" ,txtAge.Text.ToString());
    command.Parameters.AddWithValue("@Address1", txtAddress1.Text.ToString());
    command.Parameters.AddWithValue("@Address2", txtAddress2.Text.ToString());
    command.Parameters.AddWithValue("@City", txtCity.Text.ToString());
    command.Parameters.AddWithValue("@Phone", txtPhone.Text.ToString());
    command.Parameters.AddWithValue("@Mobile", txtMobile.Text.ToString());
    command.Parameters.AddWithValue("@Email", txtEmail.Text.ToString());
    command.ExecuteNonQuery();
    lblMessage.Text = "Your Record(s) Have been Updated";
    command.Connection.Close();
    catch
    lblMessage.Text = "Your Record was not updated please try again";
    Thank you for your help

    To expand on Mike's advice.
    Change your catch to:
    catch(Exception ex)
    { // Break point here
    lblMessage.Text = "Your Record was not updated please try again";
    Put a break point in where the comment says.
    Run it.
    Hover over ex or add a quickwatch ( right click it ) and see what the error and inner exception is.
    I see several problems though.
    You have way too many parameters and Age should be int.
    They are objects  - they have a type.
    It'll be a string with your code there.
    Something more like
    command.Parameters.Add("@Age", SqlDbType.Int);
    command.Parameters["@Age"].Value = Convert.ToInt32(txtAge.Text);
    Although that might not cut and paste, it's air code intended to give you the idea.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • How can I to resolve a write protected form after updating the form?

    The following error is displayed after updating a form “Any changes made to this form cannot be saved.”  These are the steps taken to update the form:
    1)      Move form to Workbench ES Resources.
    2)      Point Variables to new form
    3)      Invoke process
    The updated form is posted on Workspace.  LAN users can make changes and submit the form, but WAN users get the error above and cannot make any changes.
    Thanks,

    You need to know that "USB Key" technology may not be appropriate for a system disk.  Check out "wear leveling" on Wikipedia for a sobering discussion of the service life of solid-state drives.  Also read "solid-state drives" (Ibid.) for a detailed comparison with hard disk technology.
    --Gil

  • How to add  the fields into combo ?

    Hi,
    I want to add the table fields into combo box. Now I am able to getting the columns from table but I don�t know how to add that columns in combo box.
    My jsp getting the columns from table.
    function metadata(){
         try {
         Connection con =  null;
         Class.forName("oracle.jdbc.driver.OracleDriver") ;
         con = DriverManager.getConnection("jdbc:oracle:thin:@10.60.4.25:1521:clopaydb","scott","tiger");
         String query = "SELECT * FROM emp";
               DatabaseMetaData dma = con.getMetaData ();
             Statement stmt = con.createStatement ();
              ResultSet rs = stmt.executeQuery (query);
              ResultSetMetaData rsmd = rs.getMetaData ();
              int i;
              int numCols = rsmd.getColumnCount ();
              for (i=1; i<=numCols; i++) {
              if (i > 1) System.out.print(",");
              System.out.print("\nThe Table Column list "+rsmd.getColumnLabel(i));
              rs.close();
              stmt.close();
              con.close();
              catch (Exception ex) {
              ex.printStackTrace ();
         }Please give me a sample code for add these items into combo. (I need JSP sample code )
    Thanks & Regards,
    Merlin Roshina

    function metadata(){
    try {??
    Are you sure on this ? Dont mix javascript function with a java method.
    Make a java bean and your method may return an ArrayList.
    In your JSP ..
    <select name="yourComboBox">
    <%
    // Make a For Loop for the arraylist
    String columnLabel = (String ) arrayList.get(i);
    <option value="<%=columnLabel%>"><%=columnLabel%></option>
    <%
    } // end bracing of for loop
    %>
    </select>
    Post your code based on the directions above then we can help you more on this if reqd.
    Probably you should look up into sample JSP ..JDBC sample codes on google.
    -Rohit

  • Can't add songs to iPod Touch after updating to v2.0

    I just updated my iPod Touch to v2.0 and now I cannot load any songs onto it. When I drag songs or playlists over the Touch in the iTunes Devices list they just bounce off. Everything else seems to be acting properly. Contacts, Photos, etc. sync/update just fine.
    I had this problem before after updating to Leopard. I can't find the thread I used then. It walked you through a process of deleting some file in the User>>Library folder before reinstalling iTunes. Unfortunately I don't remember which file(s) need to be tossed.
    Anybody know the sequence or have a link to the earlier thread?
    Thanks...
    John

    An update...
    Having nothing left to lose, I trashed iTunes and reinstalled it. Now I can at least sync Playlists. I'm not sure why I can't drag songs onto the iPod touch.
    Still waiting for help on that one...

  • Add new field into Standard Adobe Form

    Hi Expert,
    I'm trying to do a very simple thing (at least that is what i think), we want to have new scenario for PCR (personnel change request). So i copy the standard interface and form (ISR_FORM_SPEG)  and add some new field in that form (trough Tcode SFP). The problem is the new field that i added is not showing up any value, i tried to add address or personnel area to the form. What do i miss here? I'm relatively new to this adobe form. Thanks
    Regards
    Hendri

    Hi,
    Because I'm new at this i will assume that this problem is just as a matter of binding problem. I've copy the form and interface  ISR_form_SPEG to Z.
    In interface(TCode SFP)  Z_ISR_IF_SPEG there is enty in import like this
    position | Type | QISR_TAB_type|   |    |
    In the Z_ISR_FORM_SPEG i drag the interface Position (from import folder) into the context on the right side of screen, in Layout tab i create ISR Text Display, and drag the position into the text display (which i believe is the binding processes). Activate it and save. But no value is displayed when running the iview on the portal (personnel change request), the form show and all label are show too but the value is not showing. Thanks

  • How do I add a field into an existing form in SharePoint Designer 2010 and...?

    I'm trying to add an existing field to an existing form in SharePoint Designer 2010. It's a URL to the employee's photo. But each time I try to "Insert as picture" the url to the photo has a trailing comma. Why and more importantly, how do I get
    rid of it?
    Thanks!

    Hello,
    See this similar thread:
    http://sharepoint.stackexchange.com/questions/10149/comma-in-url-field
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Add new field into result of the transaction MD4C

    i want more information into the result of MD4C
    example:
    delivery date of the purchase order and confirmation date of the purchase order and field USR06 of PRPS table and other field like
    moving average price VERPR of the table MBEW and other information from SAP table related to purchase order or WBS elements or Order
    thanks a lot for reply
    best regards
    Patrice

    User exits and BAdI's for MD4C
    Enhancement/ Business Add-in            Description
    Enhancement
    CO610001               User exits: Assembly processing
    M61X0001               User exits PP-MRP materials planning
    M61X0002               User Exits PP-MRP Material Requirements Planning Evaluations
    Business Add-in
    MD_MRP_RUN_PARALLEL         Add-Ins for parallel planning run of requirements planning
    MD_PIR_FLEX_CONS            BAdI for flexible planned ind. req. consumption/reduction
    MD_PLANNING_RESULT          BADI for Issuing Planning Result
    MD_PLANNING_SCENARIO          BAdI for Maintenance of Add. Parameters in Planning Scenario
    MD_PLDORD_BOMEX_CIF         BAdI: Deactivation of BOM Forced Explosion in CIF
    MD_PLDORD_CHANGE            BAdI for Changing Planned Orders
    MD_PLDORD_POST              BAdI: Update of Planned Orders
    MD_PLDORD_SCHEDULING          BAdI: Schedule Planned Orders
    MD_PLDORD_TIME_STAMP          BADI for publishing time stamp problems
    MD_PURREQ_CHANGE            BADI for changing purchase requisitions
    MD_PURREQ_POST              BADI for updating purchase requisitions
    MD_PURREQ_REL_STRAT         BAdI for Deactivating Release Strategy for MRP Purch. Reqs
    MD_STOCK_TRANSFER           BADI: Change the Requirement Date During Stock Transfer
    MD_SUBCONT_LOGIC            BADI: Determine Subcontracting Logic
    MD_ADD_COL_EZPS             BAdI: Extra Columns for Evaluation PP-MRP Reqmnts Planning
    MD_ADD_COL_OVERVIEW         BAdI: Display of Additional Columns in the Material Overview
    MD_ADD_ELEMENTS             BAdI for Adding Additional Requirements/Receipts
    MD_ALTERN_EXPLOSION         BAdI for Alternative Explosion of Planned Orders (IPPE)
    MD_CHANGE_CALENDAR          BAdI: Change Calendar for Range of Coverage Calculation
    MD_CHANGE_MRP_DATA          BAdI: Change Data when Importing MDPSX
    MD_DISPLAY_ELEMENT          BAdI for Changing Display of MRP Elements
    MD_EXT_SUP                  BAdI for Determining the Issuing Storage Location
    MD_INTERACT_PLANNING          BAdI for Deactivating Changeability of MRP Elements
    MD_LAST_LOT_EXACT           BAdI for Calculating Last Lot Exactly in Individual Segment
    MD_MODIFY_PRODVERS          BAdI for Modifying Production Version
    MD_MODIFY_SOURCE            BAdI for Modifying Source Determination in MRP
    MD_MRP_LIST          BADI for further processing of MRP list
    MD_MRP_PARAMETERS           BAdI: Change Planning Parameters

Maybe you are looking for

  • LSMW RFBIBL00 using only one file

    Hello everyone, I am creating an LSMW for post documents. My input file is so far given by an legacy system. I have one file, which contains the accounting transactions. One accounting transaction is distributed over more than one line in my input fi

  • Mac webstart and java 1.4

    hello, i am having trouble with using an app designed for java 1.4 on the mac with webstart. Basically it works fine when launching from the JNLP, but when the user creates a desktop icon for it, the mac wants to run java 1.3 instead, thereby failing

  • Setting up User accounts

    I have made 2 user accounts on my G5 (intel) desktop. However, when they go in with their login details it goes to their own desktop but you can still see all my files (the administrater) etc on the Hard Disk icon when they click on it. I don't them

  • SPAM OR UPGRADE TO EHP BETTER???

    Dear all, We have to make ready a plan for updating the latest support packs for all the landscapes of SAP. But, there is quite a confusion. We are currently on SAP ECC 6.0 on PRD landscape and rest all, SAP EHP1 for netweaver. Should we spend time i

  • Printer tray commands

    Xerox 7345 and Jetform tray commands Our customer is using JF-5.5 currently working with a no. of the following printers models. Dell 1700N Dell Laser Printer 1710n Xerox Work Centre PRO 232 Xerox Work Centre PRO45 PCL6 Xerox Work Centre PRO45 PCL6 X