How can we read the screen field values from the report selection screen wi

Hi expart,
How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
Regards
Razz

use this code...
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
**Read the Values of the SCREEN FIELDs
CALL FUNCTION 'DYNP_VALUES_READ'

Similar Messages

  • How can I get dataTable to display values from the java layer?

    When I use the dataTAble in my JSP page it will only display values from my java layer if the facets tag has it's name set to "header". Why is this happening?
    If I set it to "header" and I look at the page source it actually has created the correct number of rows but it doesn't put the values between the <td> tags? It see's the length of my list but it doesn't pick the values out of the list.
    <h:dataTable var="data" value="#{NameBean.test}" border="1">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name"/>
    </f:facet>
    </h:column>
    <h:column>
    <f:facet name="header">
    <!-- <h:outputFormat styleClass="outputFormat" id="format1" value="#{NameBean.test}"></h:outputFormat>-->
    <h:outputText styleClass="outputText" value="#{NameBean.test}" style="" rendered="true" escape="false"/>
    </f:facet>
    </h:column>
    </h:dataTable>
    public List gettest()
              List li = new LinkedList();
              Object Developers[] = {"M@n00j", "sdsadas"};
              for( int i = 0; i < Developers.length; i++ )
                   li.add(Developers);
              return li;
    Thanks in advance to anyone that can help.
    -ls6v

    I've been able to get it working with some of those changes along with changes in the JSP. I think it's a setting or two in the JSP that'll allow the program to run correctly.
    I have a list and it's returned like what you suggested. A day or two ago I tried to move the outputtext outside of the facet tag but nothing would print, I know believe that's related to the following setting in the JSP:
    rows="0" in the <h:dataTAble tag
    Unfortunately the dataTAble isn't displaying the values correctly. It prints all of the values (Strings) in the list on each row and it make a new row for the number of items in the list.......... ???
    Here's what it's printing to the screen (the table):
    ===================
    == [asdasd], [sddfdfd] ==
    ===================
    ===================
    == [asdasd], [sddfdfd]==
    ===================
    what it should print:
    ============
    == [asdasd] ==
    ============
    ============
    == [sddfdfd] ==
    ============
    My code:
    public List gettest()
              List li = new ArrayList();
              li.add("asdasd");
              li.add("affffd");
              return li;
              }JSP
    <h:dataTable border="1" columnClasses="list-column-left"
        headerClass="list-header"
        rowClasses="list-row-odd"
        id="table"
        rows="0"
        value="#{NameBean.test}"
        var="data">
    <h:column>
    <f:facet name="header">
    <h:outputText value="test"/>
    </f:facet>
    <h:outputText value="#{NameBean.test}" style="" rendered="true" escape="false"/>
    </h:column>
    </h:dataTable>

  • How can we place a F4 help in a parameter in selection screen

    Hi,
    How can we place a F4 help in a parameter in selection screen. Can we do add a  Process 0n Value request similar to a module pool prg in stadard report program.
    saji

    Hello Saji,
    Try below attached report.
    Regards,
    Naimesh.
    Reward, if it is useful..!
    REPORT ZTEST_NP_1.
    DATA: HELPVAL1 LIKE HELP_VALUE OCCURS 0 WITH HEADER LINE .
    DATA: VALUE_TAB     LIKE PDTASK-OTEXT OCCURS 2 WITH HEADER LINE.
    DATA: VALUE         LIKE FEBMKA-BANKN,
          GIVEN_VALUE   LIKE HELP_INFO-FLDVALUE.
    DATA: IT_T005T LIKE T005T OCCURS 0 WITH HEADER LINE,
          IT_T002T LIKE T002T OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN: BEGIN OF BLOCK BLK1 WITH FRAME TITLE ABC.
    PARAMETERS:       P_SPRAS  LIKE  T002T-SPRAS,
                      P_LAND1  LIKE  T005T-LAND1.
    SELECTION-SCREEN: END   OF BLOCK BLK1.
    INITIALIZATION.
      ABC = 'Selection Criteria:'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_LAND1.
      PERFORM VALUE_REQUEST_LAND1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_SPRAS.
      PERFORM VALUE_REQUEST_SPRAS.
    *&      Form  VALUE_REQUEST_land1
    FORM VALUE_REQUEST_LAND1.
    *---- Reading the Screen values.
      DATA: LT_DYNPFIELDS LIKE DYNPREAD OCCURS 0 WITH HEADER LINE,
            LV_DYNAME     LIKE D020S-PROG,
            LV_DYNUMB     LIKE D020S-DNUM.
    *-------Append field which you want to read from the screen
      LV_DYNAME = SY-REPID.
      LV_DYNUMB = SY-DYNNR.
      LT_DYNPFIELDS-FIELDNAME = 'P_SPRAS'.
      APPEND LT_DYNPFIELDS.
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                DYNAME     = LV_DYNAME
                DYNUMB     = LV_DYNUMB
           TABLES
                DYNPFIELDS = LT_DYNPFIELDS.
      SELECT * FROM T005T
             INTO  TABLE IT_T005T
             WHERE SPRAS = P_SPRAS.
        REFRESH: HELPVAL1, VALUE_TAB.
        CLEAR:   HELPVAL1, VALUE_TAB, GIVEN_VALUE, VALUE.
    *---- Append field name for the columns in the help popup
        HELPVAL1-TABNAME    = 'T005T' .
        HELPVAL1-FIELDNAME  = 'LAND1' .
        HELPVAL1-SELECTFLAG = 'X' . " will return the value on the screen
        APPEND HELPVAL1 .
        CLEAR  HELPVAL1 .
        HELPVAL1-TABNAME    = 'T005T' .
        HELPVAL1-FIELDNAME  = 'LANDX' .
        HELPVAL1-SELECTFLAG = ' ' .
        APPEND HELPVAL1 .
        CLEAR  HELPVAL1 .
        LOOP AT IT_T005T.
          VALUE_TAB = IT_T005T-LAND1.
          APPEND VALUE_TAB.
          VALUE_TAB = IT_T005T-LANDX.
          APPEND VALUE_TAB.
        ENDLOOP.
        GIVEN_VALUE    = P_LAND1.
        CALL FUNCTION 'HELP_VALUES_GET_WITH_VALUE'
           EXPORTING
                DISPLAY      = SPACE
                GIVEN_VALUE  = GIVEN_VALUE
           IMPORTING
                SELECT_VALUE = VALUE
           TABLES
                FIELDS       = HELPVAL1
                VALUETAB     = VALUE_TAB.
        IF NOT VALUE IS INITIAL.
          P_LAND1 = VALUE. " Assing value to the parameter
        ENDIF.
    ENDFORM.                    " VALUE_REQUEST_land1
    *&      Form  VALUE_REQUEST_SPRAS
    FORM VALUE_REQUEST_SPRAS.
      REFRESH: HELPVAL1, VALUE_TAB.
      CLEAR:   HELPVAL1, VALUE_TAB, GIVEN_VALUE, VALUE.
      HELPVAL1-TABNAME    = 'T002T' .
      HELPVAL1-FIELDNAME  = 'SPRSL' .
      HELPVAL1-SELECTFLAG = 'X' .
      APPEND HELPVAL1 .
      CLEAR  HELPVAL1 .
      HELPVAL1-TABNAME    = 'T002T' .
      HELPVAL1-FIELDNAME  = 'SPTXT' .
      HELPVAL1-SELECTFLAG = ' ' .
      APPEND HELPVAL1 .
      CLEAR  HELPVAL1 .
      SELECT * FROM T002T
             INTO   TABLE IT_T002T
             WHERE  SPRAS = SY-LANGU.
      LOOP AT IT_T002T.
        VALUE_TAB = IT_T002T-SPRSL.
        APPEND VALUE_TAB.
        VALUE_TAB = IT_T002T-SPTXT.
        APPEND VALUE_TAB.
      ENDLOOP.
      GIVEN_VALUE    = P_SPRAS.
      CALL FUNCTION 'HELP_VALUES_GET_WITH_VALUE'
           EXPORTING
              DISPLAY      = SPACE
              GIVEN_VALUE  = GIVEN_VALUE
           IMPORTING
              SELECT_VALUE = VALUE
           TABLES
              FIELDS       = HELPVAL1
              VALUETAB     = VALUE_TAB.
      IF NOT VALUE IS INITIAL.
        P_SPRAS = VALUE.
      ENDIF.
    ENDFORM.                    " VALUE_REQUEST_SPRAS

  • HT204266 How can I remove my credit card information from the app store?

    How can I remove my credit card information from the app store?  I would like to have an account without the credit card information.
    I would like to put in my credit card only when I am ready to purchase. 

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your phone then tap on your id in Settings > iTunes & App Store and tap 'View Apple ID' on the popup - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918
    If you don't get the 'none' option on the payment details screen then do you owe iTunes anything or have any pre-orders/subscriptions due : http://support.apple.com/kb/TS5366 ?

  • How to get POF object's field value from query result

    hi,all:
    I want to get field value from the query result, my code is below
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
    Contact c=(Contact)iter.next();
    System.out.println ("firstame####=" + c.getFirstName());
    * but I get error*
    Exception in thread "main" java.lang.ClassCastException: com.tangosol.util.ConverterCollec
    tions$ConverterEntrySet$ConverterEntry cannot be cast to com.oracle.handson.Contact
    at com.oracle.handson.QueryExample.printResults(QueryExample.java:159)
    at com.oracle.handson.QueryExample.query(QueryExample.java:86)
    at com.oracle.handson.QueryExample.main(QueryExample.java:43)
    who can tell me how to get POF object's field value from query result

    Hi,
    If you look at the Java Doc for the entrySet method here http://download.oracle.com/docs/cd/E15357_01/coh.360/e15725/com/tangosol/util/QueryMap.html#entrySet_com_tangosol_util_Filter_ you will see that it returns a Set of Map.Entry instances so you need to do this...
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
        Map.Entry entry = iter.next();
        Contact c=(Contact)entry.getValue();
        System.out.println ("firstame####=" + c.getFirstName());
    }JK

  • I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • My iPhone is stolen. How can I get my address book back from the iCloud? I should have synchronized my iPad address book. However, I loss some recent contacts from iPhone.

    My iPhone is stolen. How can I get my address book back from the iCloud? I should have synchronized my iPad address book. However, I loss some recent contacts from iPhone.

    I use my iPad to get the address book backed up by iCloud from my iPhone. However, I cannot see the recent new contacts from my iPad. Is there anyway to check the iCloud server to see if my address book backup from my iPhone is still there?

  • I'm retiring my old computer (windows xp) to a new computer (windows 7). How can i easily move my itunes music from the old computer to the new computer? i have my playlists organized in my old computer, i would like it to stay that way in my new computer

    i'm retiring my old computer (with windows xp) and bought a new computer (with windows 7). How can i easily move my itunes music from the old computer to the new computer? i have my playlists organized in my old computer, i would like it to stay that way in my new computer. I also have my ipods, iphone sync'd in the old computer so i want to make sure that things won't get messed up (my apps, playlists, etc) when i move over everything to the new computer and sync all my devices with the new computer.
    Thanks in advance for the tips.

    Make sure the XP box is upgraded to the latest version of itunes. Also make sure it's using the itunes media folder layout as explained here, because that's what the W7 is going to be using.
    http://support.apple.com/kb/HT3847
    Install itunes on the new W7 PC.
    Get these folders from the XP machine
    C:\Documents and Settings\username\My Documents\My Music\iTunes
    C:\Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    And put them here on the W7 machine
    C:\users\username\My Music\iTunes
    C:\Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\

  • My apple id is set on France app. Store, how can I buy or rent a movie from the American store??!

    My apple id is set on France app. Store, how can I buy or rent a movie from the American store??!

    You are very welcome.  I lived in France for a couple years and wish I could buy books from the French bookstore but cannot so am very familiar with this issue.
    Part of the problem is concerned with international copyright laws.

  • How can i do to upload my movies from the ipad to the i cloud?

    How can i do to upload my movies from the ipad to the i cloud?

    If these are videos taken with your iPad, you can only add them to iCloud by adding them to a shared stream, as discussed here: http://help.apple.com/icloud/#/mmc0cd7e99.
    If these were movies purchased from the iTunes store, they are already in iCloud and can be redownloaded again in many countries for free as long as the movie is still available and the studio allows it.  See http://support.apple.com/kb/HT2519 and iTunes in the cloud availability by country here: http://support.apple.com/kb/HT5085.
    To be safe, import them to your iTunes library so you know you have them.  To do this, connect your iPad to your computer, open iTuens and go to File>Devices>Transfer Purchases.  Then you can sync them back to your iPad later if you ever need to.

  • How can I get my Aperture library back from the Photos application?

    As stated above, How can I get my Aperture library back from the Photos application?  I'm not a fan of Photos right now and haven't used iPhoto in years, so that wasn't a loss... I didn't realize when I gave Photo's access to my Aperture library, I was going to lose it...
    I want to get it back, any suggestions?
    Thanks again!
    MacTeacherMN

    what means ..."Once you open the Aperture library back into Aperture..."? What do I need to "klick" in order to getting back my old Aperture Project structure....

  • How can I get help for ADE downloads from the public library.   I am suddenly getting error messages

    How can I get help for ADE downloads from the public library.  It worked for years and now I am getting error messages.   I cannot find any practical help

    If you are trying to open the book on a device, try using the latest DL Reader on Android and iOS
    https://play.google.com/store/apps/details?id=com.datalogics.dlreader&hl=en

  • How can I remove apps no longer wanted from the cloud

    How can I remove apps no longer wanted from the cloud? they are not used any more and taking up space.

    Welcome to the Apple community Mickeymom.
    The apps are not actually in your iCloud storage, they are links to the apps in the App Store. What you are seeing is your purchase history and as such cannot be deleted.
    You can however hide your purchases, which you can do from the QuickLinks > Purchased option from the main page in the iTunes Store on your computer.

  • I have 2 Macs - an iMac that holds my entire iPhoto library and a Mac Book Pro that I use to hold a subset of the main library - how can I transfer photos and their metadata from the main library of the iMac to my Mac Book?

    I have 2 Macs - an iMac which holds my main iPhoto library and a Mac Book Pro which holds a subset of the library. How can I transfer photos and their metadata from the main library to the smaller 1 on the Mac Book Pro?

    Link the two Macs together and use iPhoto Library Manager
    Regards
    TD

  • My CD plyer is not working. How can i download Adobe creative suite 6 from the website

    my CD plyer is not working. How can i download Adobe creative suite 6 from the website

    Hi Jay,
    Please refer the following download page for CS6.
    https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Hope this helps.
    Regards,
    Sumit Singh

Maybe you are looking for