Value tables and BSP-Pages

Hello,
how is supposed to work the value table or the search help that a field has behind it ?? When the end user enters a non-valid value in a field, the system should mark the frame of the field in red. For some fields in our BSP application it works, for some others it doesn´t. Probably we forgot to declare something in the structure in SE11 but can´t work it out.
Has anyone an idea ??  Thanks a lot.

Hi Jorge
You are creating F-4 HELP and getting possible values in a pop-up.(say AAAA,BBBB).how can user select(HHHH) from that pop-up.
Now let us assume you are not disabling the field to which you want to insert value via pop up.
Now user is inserting value in that field without getting values from F-4 help.
As you said it simply saves the record without checking whether user is inserting proper value or not.
Now when you save that value in the record,just before that validate it.
example:
SELECT SINGLE <field-name> from <table> into <wa> where
<field_name> eq <input_field_value>.
if sy-subrc eq '0'.
--success.
else.
--failed.
endif.
if it is success,then you should allow it to save record.
else.
Do the desired, Show a message....
I assume,i understod the problem right way..
cheers
Vijay,

Similar Messages

  • How to return values from a BSP page to Javascript

    Hi All,
    I want to call a BSP page which reads a single value from a table and returns that value I want the Javascript in the HTML code to get the value from the BSP page.
    Can you kindly let me know how I can return the value from the BSP page to JavaScript.
    Kindly please provide me a simple code of a BSP page and the Javascript
    Thanks
    Karen

    Hi,
    you need 3 elements to make the javascript code read the value in any field in the table: table´s name, line and column. This is how your code could look like:
    script language="javascript>
       var row = 0;
       function display(){
          row = row + 1;
          campo = 'tabla1_' + row + '_4';                 " <-- table, line, column
          valor = document.getElementById(campo).value;
    </script>
    ROW works as a counter. You have in variable valor the value of the field and can do with it what you want, perhaps display it with ALERT. I am reading the values from field 1 to n in column 4 in table TABLA1. Pay attention to the '_' in the concatenation of field´s name. The table in my BSP is very simple:
    <htmlb:tableView id                = "tabla1"
                           table             = "<%= mytable %>"
                           width             = "100%"
                           allRowsEditable   = "X"/>
    and somewhere I must call function display in my javascript code:
    <htmlb:button  id="boton" text="Texto aqui" onClientClick="display()" />
    So, give it a try.

  • Internal table to BSP Page

    how do I fill up the internal table on BSP page.

    I have the following code in a view
    <htmlb:textView text   = "PO # "
                    design = "EMPHASIZED" />
    <htmlb:inputField invalid  = "false"
                      value    = "po number"
                      required = "true" />
    v_po_num type ref to my_model
    but when I execute the BSP, i'm getting "po number" displayed in the PO number field.  Couldn't figure out
    why it is not displaying the value retrieved from the model method.

  • Reg value table and check table

    Hi Friends,
        I have defined a value table(ZVALTAB) for a domain and defined the relation ship between check table(ZCHKTAB) and dependent table(ZDEPTAB). Here value table and check table both are different. My problem is while I am entering the values into check table, it is not restricting the values to enter into check table even those values are not in value table. And while I am entering values into the dependent table through the menu option Utilities->Create entries then also foreign key is not working. But when I use the SM30 then the foreign key is working. So can any body explain me when this value table restrict the values and why the option Utilities->Create entries is not validating the foreign key relation ship.
    Sathish Reddy

    Hi,
      Value Table will just provide you the possible set of values.  It won't restrict u for the wrong entries.  Moreover whenever u enter entries thru Create entries no user interface is available.  The constraints whatever we give is not at all stored in the Data Dictionary.  Only the user interface which takes care all about this.  Hence it wont restrict you.  For this u have to create table maintenance generator for your table.  Then it will restrict the values against check table.
    Both Value table and Check table will provide u possible set of values.  But only the check table will restrict the values.
    Hope this will help u.

  • Dynamic tables and conditional page break

    I have inserted a table in my form and have included an Add New Row button to insert additonal rows.   I want a maximum of 16 rows added with a subtotal field.  I want the table, then to automatically go to a new page with a subtotal field.  At the end of all pages I want to include a total field.   The table goes to the next page after a number of rows are entered, but there is not a break;  the original form continues.  How do conditionally break the page and have a (new) table display in the second page?
    Thanks for your help.

    Hi Paul,
    Thanks for working with me on this.   I have sent a copy to the gmail.com address.  I'm new to LiveCycle, so please forgive me.
    Date: Thu, 29 Jul 2010 09:18:53 -0600
    From: [email protected]
    To: [email protected]
    Subject: dynamic tables and conditional page break
    You can accomplish that with a single table and some creative script. I suggest that you get the table worked out and working correctly then we can add in the page totals and final total afterwards. Once the table is ready email the form to mailto:[email protected] and I will put together a sample for you that shows what to do. Please include a description of what you want to do with the email as the mail message and this forum are not tied together. Also if you have a data file  that fills out the table that would be useful as well.
    Paul
    >

  • Info on HTMLB and BSP page development needed

    Hi,
    Can someone please tell me some good books and websites where I can get learning material for HTMLB and BSP page development.
    Thanks
    Rehmat

    Don't forget:
    These examples in SE80 as well as thoughs mentioned above!
    SBSPEXT_BSP
    SBSPEXT_TABLE
    IT00
    There is also a fantastic book called <a href="http://www.sap-press.com/H959.html">Web Programming with the SAP Web Application Server</a>

  • Difference between a value table and a check table?

    What is the difference between a value table and a check table?

    Value Table
    This is maintained at Domain Level.
    When ever you create a domain , you can entered allowed values.   For example  you go to Domain   SHKZG - Debit/credit indicator.  Here only allowed values is H or S.
    When ever you use this Domain, the system will forces you to enter only these values.
    This is a sort of master check . To be maintained as a customization object. This mean that if you want to enter values to this table you have to create a development request & transport the same.
    Check table
    For example you have Employee master table & Employee Transaction table.
    When ever an employee Transacts we need to check whether that employee exists , so we can refer to the employee master table.
    This is nothing but a Parent & Child relationship .  Here data can be maintained at client level , no development involved.
    As per DBMS what we call foregin key table, is called as check table in SAP.
    Reward points for the answer

  • Error Passing an internal table between BSP pages

    Any time there is data in the internal table and I try to pass it from one BSP page to the next I get an Web error.  I've heard that it is possible to pass an internal table from one page to the next.  can anyone point me in the right direction here?

    You can do this with the navigation object only if the table is very small. Overwise it overflows 2+KB limitation of URLs.
    Alternative ideas is to use server side cookies (search forum for many examples).
    If stateful, just hang stuff of your application class.

  • Custome theme to custom applications and BSP pages

    Hi all,
    I would like to know how I can apply the same custom theme thats coming up with the standard applications.. to be applied to the custom ABAP WDP applications.
    And also want to apply the same theme to the EREC and LSO BSP pages.
    We have already created our own theme and applied that, we are able to see the modified theme in our standard ESS applications. But its not reflecting the same to the custome ABAP WDP applications.
    Do let me know where i am going wrong ...
    Thanks,
    NR

    NR,
    If you are displaying WDA from portal you need to follow the below mentioned steps to assign portal theme to WDA
    1.for assigning custom theme to the WDA pages you need to create configuration
    2.go to the webdynpro component-right click on the webdynpro application for that componet and create/change configuration.
    3.give some name and click on create
    4.go to properties tab and select external portal style sheet and save it
    5.go to iview properties for that WDA in portal and fill the configuration name with the name u created above
    6.stylesheet value to controls and select yes for support portal stylesheet.
    if you are executing WDA from backend itself then you need to pass a parameter to the application like sap-wd-configid=<name of the theme>
    for BSP applications change the iview properties
    stylesheet value to controls and select yes for support portal stylesheet.
    reward points if helpful

  • Nested Tables and Multiple Pages

    Hi,
    I have a problem with nested tables that span multiple pages.
    Lets assume I want to create a list of orders. Each order contains several order items. As long as an order contains less order items than fit to one page the list is rendered correctly. But if an order contain more items all items that can´t be displayed at the first page are cut off.
    I´ve tried so many combinations of subforms with flow content and position content, subform sets and "Allow Page Breaks within Content" as well as Layout Property "Expand to fit" but nothing helped.
    Can someone tell me if and how I can achieve this. In the meantime I do work in Designer directly with a XML datasource. So I could send you the form and example data.
    I´m working with NW04 SP11 and Adobe Designer 6.0
    Best regards
    Helmut

    Hello Helmut,
    There are some limitations and bugs in your requirement.
    Please see the output after copying into notepad.
    1.Eventhough if you give overflow leader , the headers for item table will not repeat.it is a bug.this is not solved in designer 7.1 also.
    2.There are some accessibilty bugs in case of nested table.
    Please follow the below design in the hierachy tab.
    MainTable (subform)
          |---- Header (subform)
          |      |- Header texts for Main table   +
          |      |-     Text for nested table
          |---- DATA_main (subform)     
                 |-Main table fields
              |-ITEMDATA ( Table SUBFORM)  
                     |-Header (Subform)
                     |   |-ItemHeader texts
                     |-DATA_item (subform)
                        |-Item data fields     
    for DATA_main and DATA_item subforms, set repeat count MIN in binding tab.Set all flow content and allow page break with in the content.
    The output will appear in the following manner.
    <b>( Copy the below text into the notepad. )</b>
    <b>Order no.     text                 customer
                    Order items</b>
    =================================================================
    1             Computer             Mr. Smith
       <b>Order item no.     short text          quantity        price</b>  
        10                 PC Tower            1               400.00
        20                 LCD Display         1               200.00
        30                 Keyboard            1                15.00
        40                 Mouse               1                10.00
    2             Notebook             Mrs. Parker
       <b>Order item no.     short text          quantity        price</b>  
        10                 HP Notebook         1               600.00
        20                 Ext. hard drive     1                80.00
    let me know if u didnt get the solution.
    Thanks and Regards,
    Pavan Meda

  • HR programming and BSP pages

    Can't get some simple HR programming to Work with BSP pages.  I've tried defining field "zevnt1" just about every way I can think of and I can't get the following to work.  Below I've added 1 example that I tried to define "zevnt1".
    How do I define zevnt1 so this will work? 
    I keep getting an error message saying that "wa_pa0041-dar01 AND zevnt1 are type-incompatable" 
    DATA: BEGIN OF zevnt1,
           darxx TYPE pa0041-dar01,
           datxx TYPE pa0041-dat01,
          END OF zevnt1.
    LOOP AT i_pa0041 INTO wa_pa0041.
      DO 12 TIMES
      VARYING zevnt1 FROM wa_pa0041-dar01
                     NEXT wa_pa0041-dar02.
      ENDDO.
    ENDLOOP.

    Hi,
    The syntax should be like this:
    DATA: zevnt1 TYPE pa0041-dar01,
          zevnt2 TYPE pa0041-dat01.
    LOOP AT i_pa0041 INTO wa_pa0041.
    DO 12 TIMES
    VARYING zevnt1 FROM wa_pa0041-dar01 NEXT wa_pa0041-dar02
    VARYING zevnt2 FROM wa_pa0041-dat01 NEXT wa_pa0041-dat02.
    ENDDO.
    ENDLOOP.
    Greetings,
    Vincent

  • Tables and Multiple Pages

    Hello, I'm a beginner user of InDesign, using CS5, and am needing some help with tables.
    I'm creating a schedule for an event. I have a 4 page, facing-pages, each page is letter-sized with vertical orientation. I'm inputting the schedule data into a table because that seems to be the easiest way to keep everything aligned and easy to re-organize. My table begins in the lower-half of Page 1, and runs to the bottom of Page 3.
    My questions:
    1) On Page 2 and 3, if I adjust the column width the width is automatically updated on the facing page (e.g. width change on Page 3 auto-updates Page 2). However on Page 1 the width remains the same. Anyway to have it update as well? The text in the tables is linked (e.g. can push text from Page 1 to Page 2)
    2) On each Page I merged the first row of cells to create a 'Date' header (e.g. March 4 2011). As changes are made to the schedule (e.g. events added or removed), and because the text between the 3 pages/tables linked together, sometimes the Date header from Page 3 appears on Page 2, so I then have to repeatedly shorten the height of the Page 2 table so that the Page 3 Date header is 'pushed' to Page 3 properly. Anyway to force a certain row to appear on Page 3? I guess I could create a stand-alone table for Page 3, but then if I adjust column width, it won't be automatically changed on Page 2 anymore.
    Thanks!

    Hello, I'm a beginner user of InDesign, using CS5, and am needing some help with tables.
    I'm creating a schedule for an event. I have a 4 page, facing-pages, each page is letter-sized with vertical orientation. I'm inputting the schedule data into a table because that seems to be the easiest way to keep everything aligned and easy to re-organize. My table begins in the lower-half of Page 1, and runs to the bottom of Page 3.
    My questions:
    1) On Page 2 and 3, if I adjust the column width the width is automatically updated on the facing page (e.g. width change on Page 3 auto-updates Page 2). However on Page 1 the width remains the same. Anyway to have it update as well? The text in the tables is linked (e.g. can push text from Page 1 to Page 2)
    2) On each Page I merged the first row of cells to create a 'Date' header (e.g. March 4 2011). As changes are made to the schedule (e.g. events added or removed), and because the text between the 3 pages/tables linked together, sometimes the Date header from Page 3 appears on Page 2, so I then have to repeatedly shorten the height of the Page 2 table so that the Page 3 Date header is 'pushed' to Page 3 properly. Anyway to force a certain row to appear on Page 3? I guess I could create a stand-alone table for Page 3, but then if I adjust column width, it won't be automatically changed on Page 2 anymore.
    Thanks!

  • FS10N cumulative value Table and Fields

    Hi,
    FS10N balances, cumulative balances in which table it will store this values. I am not able to see cumulative balances in BKPF or BSEG. In which table we can see the cumulativie values by period wise for FS10N.
    Thanks
    srinu

    Hi,
    Table GLT0 for classical G/L
    the BAPI is : BAPI_GL_ACC_GETPERIODBALANCES
    These informations will be very useful for your ABAPer if you need an Abap report
    Regards
    Tarek

  • Need help with JSF table and scrollable pages

    I need help regarding usage of <t:dataTable>
    I have a List on my managed bean. It has 50 records.
    I am displaying the first 10 records and need to implement paging.
    I hear that there is a faces taglibrary called tomahawk which provides a <t:dataTable> and a <t:dataScroller> to implement scrolling.
    Is there a sample implentation that I can take a look at to see how I can solve my problem??
    Any help is highly appreciated.
    Thanks
    Amol

    Check here: http://www.irian.at/myfaces/dataScroller.jsf;jsessionid=F3F50A51583FEEF38D968A4AF5DC949C

  • Check table and value table -Example

    Hi Experts
                  Please give me the step by step procedure to create the check table and value table, and how to work on it.
    Thanks in advance.
    Regards
    Rajaram

    Hi
    Check Table is for Field level Validation whereas Value table is for Domain Level Validations.
    Value Table proposes table for check table.
    I think you are clear with this.
    more elaborate.
    Check Table
    The Check Table is the table used by system to check if a data exist or not exist.
    While creating a table if you want to be sure that a field can have some values
    and these are in a certain table, you can give IT this table as CHECK TABLE.
    Value Table
    This is maintained at Domain Level.
    When ever you create a domain , you can entered allowed values. For example you go to Domain SHKZG - Debit/credit indicator.
    Here only allowed values is H or S.
    When ever you use this Domain, the system will forces you to enter only these values.
    This is a sort of master check . .
    To be maintained as a customization object.
    This mean that if you want to enter values to this table you have to create a development request & transport the same.
    Differences:
    1)check table will carry out the check for input values for the table field being entered in any application
    and value table will provide values on F4 help for that table field.
    2)The check table defines the foreign keys and is part of the table definition.
    The value table is part of the domain definition.
    check table is validation at field level.
    value table is at domain level.
    Value table is defined at the domain level and is used to provide F4 help for all the fields which refer to that domain.
    Check table is defined against a field in SE11 if you want the values in that field to be checked against a list of valid values. For e.g. if you are using the field matnr in a table you could define MARA as the check table.
    Also while defining a check table SAP proposes the value table as check table by default. Referring to the previous example if you tried to define a check table for the matnr field SAP would propose MARA as the check table.
    1. what is the purpose / use ?
    -- so that the user can select values
    from some master table , for that field !!!!
    2. This is done by
    CHECK TABLE (foreign key concept)
    (and not value table)
    3. When we create a check table for a field,
    then
    some DEFAULT table is PROPOSED
    4. that DEFAULT table is nothing
    but PICKED up from the domain of that field,
    and shown from the value of VALUE TABLE.
    CHECK TABLE -it is a parent table.
    for example..
    i have two tables ZTAB1 and ZTAB2.
    I have one common field in both the tables,i can make any ztable to be the check table .If i make Ztab1 to be the check table then when i have to make an entry in ztab2 i will check whether ztab1 is having that value or not..
    its also field level checking..
    Valuetable-It is nothing but default check table.
    one parent can have n number of child tables.For example
    For ztable we have zchild1 and zchild2 tables r there.
    Its domain level checking..When zchild2 uses the same domain as used by zchild1 then the system automatically generates a popup saying a check table already exists would u want to maintain it.
    go to domain and then press the value tab u can see the valuetable at the end...
    Please refer the links below,
    d/r b/n check and value table?
    wjhat is the exct difference between check table and value table
    what is the check table and value table
    check table and value table
    Re: wjhat is the exct difference between check table and value table
    http://www.sap-img.com/abap/difference-between-a-check-table-and-a-value-table.htm

Maybe you are looking for

  • Creative Cloud for Teams or Individuals?

    Hi, I work for a small company that has 2 designers and I am looking into getting creative cloud. Would I need to get cloud for teams to be able to install the software on both computers and have the software be used at the same time? Or can I do thi

  • How do I add my AirPrint printer to my WiFi (airport express) with iPad2?

    Hi! So, my questions relates to how do I connect my printer (a Samsung Express M2022W) to my existing network? All the instructions that I can find relates to how I print from my iPad2 but that is now my problem. I do not have a computer, only an iPa

  • "Recordsets per Message" for jdbc adapter

    Hi all, is "Recordsets per Message" kind of option is available for JDBC adapter. Any help will be appriciated Thanks -Kulwant

  • [SOLVED]Youtube and Video Codecs

    Hey guys Ok basically today i went to make a screen recording for a friend. and i got this command line of the internet, youtube itself actually. i do remember the guy on the video saying he converts it later The recording went fine. better than fine

  • Link Target, Code Snips and Nag-Screens?

    I shelled out the cash to buy a copy of iLife '06 so I could get iWeb. I quickly found that it was missing the ability to specify targets in links, this is an incredibly basic feature that iWeb is strangely missing. Without it iWeb sites aren't frame