Help on table

i am using netbeans and i got this runtime error
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integerif i click the link it brings me to this code
qStock   =   (Integer) tabTemp.getValueAt(counter,2);qStock is integer
and tabTemp is default table model
any help ???

solved, but it is weird tho, i have to use
qStock = Integer.parseInt(tabTemp.getValueAt(counter,2).toString());i dont understand, it works if cast it to string first, but it won't work if i cast it to integer...
it works this way also...
String abc;
abc = (String) tabTemp.getValueAt(counter,2);
qStock = Integer.parseInt(abc);thx for the helps !!!

Similar Messages

  • Search Help on Table Control - Fill more than one field in the table?

    Hey everyone,
    I have built a screen with a Table Control on it... the fields of the table control are linked to an internal table...  The internal table has the line type of a structure I've defined in the data dictionary.  Within that structure in the data dictionary, I've linked some fields to search helps (For example, a MATNR and CUSTOMER search help)...  I've defined in the structure definition which fields from the search help are to be returned to which fields in the structure.
    The problem is, even though I have the search help set to export both the customer number and location when using the search help on the customer field, it still does not fill the location field within the table.  Is this a limitation of using search helps within table controls?
    I'm also finding that by defining the search help through the structure, instead of directly within the screen, the search help round button does not show up on the field, yet I can still press F4 to bring up the search help.  Is there a reason why it's not showing the search help clickable button even though it works fine using F4?
    For doing search helps in Table Controls, is it better to just build the search help, attach it directly to the field in the table, and then after the user picks the single field, use the PAI to run a select and fill the rest of the fields required?
    Thanks,
    Dallas

    Hi Dallas,
    (1)
    What  i understood is that you added a search help by defining it in the internal table type for a field customer number..in the search help you have 2 fields customer number and location...user press the search help ..then you need to fill 2 different fields or 1 field?
    if you need to fill the customer location or location (only one) then you need to set the "import" in the search help for whichever is required.....
    if you need to fill 2 or more different fields..then you can use the technique you have mentioned last , to do a select in PAI and fill the fields....but this you can use if the combination for the fields is unique...eg: u have customer number and location..if customer X can be mapped to location X and location Y..when a select statement is done there are 2 options..so in such cases it is better to leave the option to the user otherwise if there is a clear mapping like customer X can be mapped only to location X then you can use the select..
    (2)
    usually when you define it as a type in the internal table the icon doesn't show up..but you can do alternative like mentioned..go to the table,find the search help for the required field if present or create a new one if required and place the search help mentioned in the screen itself..so as to see the icon...sometimes users are adamant that they need the search help icon to be seen..so it depends on if your user
    (3)
    as in the example of customer number and location mentioned we can provide them different search helps and do the needful processing in PAI to fill the fields
    Table controls may be used for different purposes and requirements....even a checkbox,push button can be placed as a field in table control and used,but yes most of the time requirements are like what is mentioned in your case...
    Regards
    Byju

  • Assign Search Help to Table

    Hi All,
      I have created a custom check table which also has a text tables assigned to it. I have created a Elementary Search help for the check table and the selection method for the search help is the check table itself.
      The issue is when I goto the check table using SE11, I click on Extras --> Search Help for Table, it does not display the search help that I had created however the search help is displayed for a similar customizing table created by SAP, TVK8.
      I think I need to assign the search help to the custom table that I have created. I would greatly appreciate if anyone can tell me as to how I can assign the search help to the check table.
    Thanks,
    Vamseedhar K

    Check this link..Attaching to Check Tables
    http://help.sap.com/saphelp_nw04s/helpdata/en/63/1b70bfc32111d1950600a0c929b3c3/frameset.htm
    Also check this link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70260b78-ff89-2a10-5eb0-d2f51467560b
    Also check the steps to create search help.
    This is how u can create "Search Help" for the fields of the ztables that u have created.
    SE11- Create Search Help for 1 field, "Selection Method" box put the Table name to which the field belongs to. "Dialog Type" box write: "Display Value Immediately".
    Search Help Parameter is the Field name for which u want the Help. Tick Imp & Exp options and assign LPOS = 1 and Enter. , save and Activate.
    SE11- Go to the table , Click on the Field that needs to be assigned a search Help....Click at the left side of the Field so that all the corresponding data Elements, Key field etc also gets selected.
    Click on the "Search Help tab" just above the "Data Type " column.
    Put the "Search Help" name that u just created. Mention the Field and Enter. it takes up the required values. Now Copy.
    U can repeat the process for whatever fields u want to assign a Search Help.
    se51- Go to Screen Painter, Select Fields from Dictionary table to which u want search help to be assigned.
    Double click on the Text box of the corresponding field,......> Screen Painter Attributes.......> Search help Text box.........> Enter the name of the Search help that u created for a field.
    Ok....>Save.........> Activate
    Now u should be able to get the Search help for the fields that u wanted to.

  • F4 help in table control. - Urgent  Please

    Hi all,
    Iam using F4 help in table control. when the user selects the data in F4 values 4 more fields that are displayed in the F4 has to be updated in the table control
    What function modules should I use to capture the f4 values and keep in the current table control record. Please help by sending some code.
    Helpful answers will be rewarded.
    Thankhs
    Aditya

    Hi ,
    Check out the follwing Eg.
    To read the remaining fields in the corresponding row use <b>dynpfld_mapping</b> parameters in Table option of F4 help Function Module.And then use <b>DYNP_VALUES_UPDATE </b> FM to populate into the screen fields.
    MODULE shlpcntno INPUT.
      DATA : BEGIN OF i_cntno OCCURS 0,
              contnum LIKE zmps_veh_entry-contnum,
              contsl LIKE zmps_veh_entry-contsl,
              END OF i_cntno.
      CLEAR: i_cntno,i_cntno[],i_return,i_return[],i_map,i_map[].
      SELECT contnum contsl FROM zmps_veh_entry INTO TABLE i_cntno.
      i_map-fldname = 'F0001'.
      i_map-dyfldname = 'I_CNTNO-CONTNUM'.
      APPEND i_map.
      CLEAR i_map.
      i_map-fldname = 'F0002'.
      i_map-dyfldname = 'I_CNTNO-CONSTL'.
      APPEND i_map.
      CLEAR i_map.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'CONTNUM'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = 'W_CONTNUM'
          value_org       = 'S'
        TABLES
          value_tab       = i_cntno
          dynpfld_mapping = i_map
          return_tab      = i_return.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT i_return.
        IF i_return-fieldname = 'F0001'.
          w_contnum = i_return-fieldval.
        ELSEIF i_return-fieldname = 'F0002' AND flag = 3.
          w_slno = i_return-fieldval.
          CLEAR: i_dynread, i_dynread[].
          i_dynread-fieldname = 'W_SLNO'.
          i_dynread-fieldvalue = w_slno.
          APPEND i_dynread.
          CLEAR i_dynread.
          CALL FUNCTION 'DYNP_VALUES_UPDATE'
            EXPORTING
              dyname                     = sy-repid
              dynumb                     = sy-dynnr
            TABLES
              dynpfields                 = i_dynread
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMODULE.

  • Help views ( search helps) in tables

    Hello Experts,
    we are creating customized infotypes.Can anyone tell me how to create help views ( search help ) in tables.
    Regards,
    Shilpa.

    Helli Shipa
    You can create the search helps via se11 transaction and then attach the seach help from the field in table
    Regards
    Sonu Gupta

  • Help with tables (should be simple...)

    I'm trying to use a Table component as a spreadsheet template in my app:
    I'd like the first column to be static-y labels (such as Sunday, Monday, etc.) and the rest of the columns to be bound to a relational data source. I thought that I could just create a simple String array of labels in the session bean and then wrap that array with an Object Array Data Provider on the page and bind the table column to the Object Array Data Provider. Doing this doesn't give me the desired/expected results, namely the first column displaying the labels. What am I missing? I can't seem to visually wrap an Object Array Data Provider around anything other than a bult-in DataType array (String, Integer, etc.) and the only properties of the String array that I can choose from for the column are CASE_INSENSITIVE_ORDER, bytes and empty??
    Thanx in adv.
    -Jake

    I cross-posted and received a reply on the Netbeans - J2EE Nabble forum: http://www.nabble.com/help-with-tables-%28should-be-simple...%29-tf3574200.html
    Essentially, the reply points me to this Tutorial Diva article:
    http://blogs.sun.com/divas/entry/using_the_object_array_data
    Parenthetically, what are are the audiences of the Nabble forum vs. this forum? It seems (to me at least) that there is a lot of overlap in the Creator/VWP topics. Which forum is more active? Does anyone find that the Creator audience is migrating to the Netbeans VWP forum? I seem to be getting better responses to my queries on that forum, but that may be due to the nature of my (admittedly newbie-ish) posts.

  • Help with table calculations

    Hi, all, I am working on a form that was previously made in Excel. I wanted to remake this in an expandable pdf fillable so that I can add the accessibiltiy information to the form. The first link is to the static pdf converted from Excel here:
    https://acrobat.com/#d=lIGyn*lpuWSQ-Qzkklml6w
    The second link is the the form as my strained brain has recreated it. I'm sure there is probably a better method than I have chosen and I am open to all suggestions. But I can't get the table to total.
    In the first table, all the calcs work correctly, ie 11, 12, 13, 14 and the total from 14 does show up in 15. but I need 17 to show the amount after the Discount (#16) is deducted. You would think something simple would do the trick, like SubTotal - Discount. That doesn't work.
    Column 19 should total in the footer row next to 21. It doesn't. And column 23 should total into space #24. I have been trying for hours at a time to come up with the magic script to make this form work but......now I've decided to grovel for help.
    https://acrobat.com/#d=mzovRUkKit7JnPVebPKgZw

    Hi,
    Here is your form back to you: https://acrobat.com/#d=a06D-SL7SK58ZulXCKNSuw. Please note that all of the scripts are FormCalc, as we are using the sum function and the wildcard. Neither of these will work in JavaScript.
    Have a look at this post on how to reference objects, in particular the deomonstration of Control+Click:
    http://www.assuredynamics.com/index.php/2011/05/som-expressions/
    Also with buttons with linear gradient I would change the click behaviour from Inverted to Outline or None. It will be a little easier on the eyes. I have changed the two Add buttons. Also I think that you are getting in to readibility issues with the contrast between the button background and the black caption. I would recommend a read of this post, which outlines an approach to primary buttons (like the add rows) and secondary buttons (like the delete rows):
    http://www.assuredynamics.com/index.php/2010/12/buttons/.
    Maybe this discussion on colours:
    http://www.assuredynamics.com/index.php/2011/02/any-colour-as-long-as-its-black/
    Hope that helps,
    Niall

  • Help with table scan

    I have a problem with full table scans that make very slow the performance of a report.
    The test case is below. It looks that when the column is called from the table, the index is in use. If I use the same select from the view, then I get a table scan.
    I would appreciate any idea on how to optimize it.
    Thanks a lot for the help.
    mj
    <pre>
    create table test1 (id1 number , id2 number, id3 number, col1 varchar(10),col2 varchar(50), col3 varchar(100));
    create table test2 (id4 number , id5 number, id6 number, col4 varchar(10),col5 varchar(50), col6 varchar(100));
    ALTER TABLE test1 ADD CONSTRAINT PK_test1 PRIMARY KEY(ID1) USING INDEX REVERSE;
    create index index1 on test1(ID2);
    create index index2 on test1(ID3,col2 );
    ALTER TABLE test2 ADD CONSTRAINT PK_test2 PRIMARY KEY(ID4) USING INDEX REVERSE;
    create or replace view test_view as select t1.*,
    case (select t2.id4 from test2 t2 where t1.id2 = t2.id5 and t2.id6 = -1)
    when t1.id2 then t1.id3
    else t1.id2
    end as main_id
    from test1 t1 ;
    create or replace view test_view2 as select * from test_view; --(requred by security levels)
    select * from test1 where id2 =1000;
    select * from test_view where id2 = 1000;
    select * from test_view2 where id2 = 1000;
    SQL> select * from test_view where id2 = 1000;
    Elapsed: 00:00:00.00
    Execution Plan
    Plan hash value: 1970977999
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 125 | 1 (0)| 00:00:01 |
    |* 1 | TABLE ACCESS FULL | TEST2 | 1 | 39 | 2 (0)| 00:00:01 |
    | 2 | TABLE ACCESS BY INDEX ROWID| TEST1 | 1 | 125 | 1 (0)| 00:00:01 |
    |* 3 | INDEX RANGE SCAN | INDEX1 | 1 | | 1 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    1 - filter("T2"."ID5"=:B1 AND "T2"."ID6"=(-1))
    3 - access("T1"."ID2"=1000)
    SQL> select * from test_view where main_id = 1000;
    Elapsed: 00:00:00.03
    Execution Plan
    Plan hash value: 3806368241
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 125 | 4 (0)| 00:00:01 |
    |* 1 | TABLE ACCESS FULL | TEST2 | 1 | 39 | 2 (0)| 00:00:01 |
    |* 2 | FILTER | | | | | |
    | 3 | TABLE ACCESS FULL| TEST1 | 1 | 125 | 2 (0)| 00:00:01 |
    |* 4 | TABLE ACCESS FULL| TEST2 | 1 | 39 | 2 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    1 - filter("T2"."ID5"=:B1 AND "T2"."ID6"=(-1))
    2 - filter(CASE WHEN "T1"."ID2"= (SELECT /*+ */ "T2"."ID4" FROM
    MJ42."TEST2" "T2" WHERE "T2"."ID5"=:B1 AND "T2"."ID6"=(-1)) THEN
    "T1"."ID3" ELSE "T1"."ID2" END =1000)
    4 - filter("T2"."ID5"=:B1 AND "T2"."ID6"=(-1))
    SQL>
    </pre>

    If you think about what the two queries are doing, it is easy to see why the first uses an index and the second does not.
    Your first query:
    SELECT * FROM test_view WHERE id2 = 1000explicitly uses an indexed column from test1 in the predicate. Oracle can use the index to identify the correct row from test1. Having found that single row in test1, it uses the FULL SCAN test2 to resolve the case statement.
    Your second query:
    SELECT * FROM test_view WHERE main_id = 1000uses the result of the case statement as the predicate. Oracle has no way of determing what row from test1 to use initially, so it must full scan both tables.
    John

  • How to implement F4 help in table control

    Hi all,
    I am working on a table control in a module pool program. I have three fields in table control , material no. , material description and quantity. my requirement is , in table control , i need to provide the F4 help for material no. and material description, in a way, if i select material no. using F4, the corresponding material description field would be entered automatically in the table control field.
    Pls suggest me on this , if possible pls give me code or logic to do this.
    Thanks
    Saravan
    Moderator message: please don't post the identical question again after the first attempt was locked for good reasons. Search for available information before asking.
    Edited by: Thomas Zloch on Mar 3, 2011 11:54 AM

    Hi Saravana,
    Please search in SCN before posting. You will find many threads related to this question. The basic logic is you have to get the selected row of table control  using DYNP_GET_STEPL function in your POV. Then using function DYNP_VALUES_READ read the material and create the description to be displayed. You have use function F4IF_INT_TABLE_VALUE_REQUEST to display search help.

  • Transfering multiple fields from help in table control

    Hi everyone.
    I have a table control in a dynpro.
    The table control has many fields: x, y, z ...
    I have a module in PROCESS ON VALUE REQUEST for a field "x".
    The module calls a function to search values for field "x" and for field "y".
    How can I transfer the value of field "y" to the screen?
    I know that I can use the function DYNP_VALUES_UPDATE but it updates the field "y" in the wrong position of the table.
    Thanks so much for your help.

    Hi Sara
    It seems you are a new member; welcome to SDN forums. According to SDN customs, you can assign points to posts to thank people. You can do this by clicking the yellow star icon at header of each post. You can assign;
    - one 10 points (solved)
    - two 6 points (very helpful answer)
    - many 2 points (helpful answer)
    Kind regards...
    *--Serdar

  • Multiple selection in F4 help in table control

    Hi,
    I am providing F4 help for a particular field in the table control. User must be able to select multiple values from this F4 help this is done using the function module F4IF_INT_TABLE_VALUE_REQUEST. Now the selected fields have to be transferred to screen, this is done using FM DYNP_VALUES_UPDATE.
    My problem is i have 6 rows displayed in my table control. So only first 6 values from the user selected values are getting updated in my screen fields others are not getting updated. Say if the user selects 10 values out of them only 6 is populating in the screen. How do i get the others also? Please help.
    Thanks,
    Karthik

    Hi,
    Check the Following threads
    can we select multiple entries from a F4 result?
    Table Control dynamic F4
    After you select Multiple rows from F4 Help these are stored in RETURN table.
    Now in main program modify the Internal Table.
    In PAI
    loop at itab.
    " You can not handle this in this Loop
    endloop.
    module modify_from_f4
    process on value-request
    field fname module get_f4 " Here you get the F4 Help and the values are in RETURN tab
    in Program
    module modify_from_f4.
    " in this module you can use the RETURN TAB like
    loop at itab
    read table RETURN with key fnam = itab-fnam " and get the corresponding value and modify itab from RETURN tab
    if you can not find common fields and just want to pass the values then
    read table RETURN INDEX SY-TABIX. " IF the Itab is empty then follow below loop
    endloop.
    loop at return.
    move return-fieldvalue to itab-fnam
    append itab.
    endloop.
    endmodule.
    Cheerz
    Ram

  • Search help for table control input value

    Hi,
    We have designed a GUI for supply invoice approval workflow with table control.
    In the table control fields, we assigned one search help on one field.
    We can enter the values(F4 Help) up 8 row in the default screen, which is having 8 row.
    After scrolling down for 9th row, I am not getting any F4 help, which I am able to get upto 8 rows.
    Please any one could help me in this...
    BR,
    Thirupathi

    Hi,
    Did you assign the search help to the <b>Search Help</b> of the <b>Attributes -> Dictionary</b> tab of the field?
    Irrespective of scrolling, the F4 help should work for the field in table control.
    Regards,
    Raj

  • Need help with Table of Content

    Hi,
    I have recently started working with Robohelp 7. I just
    completed my first project working with the tool. This project has
    several Topics, and each topic has sub-topic under them. When I
    generated the html files, I had given the Introductory sub-topic as
    the default topic.
    Now after the files are generated, I cannot open any other
    topic in the table of content until I expand the topic containing
    the default sub-topic. This issue is basically with Firefox
    browser. It seems to work well with Safari. IE anyways opens the
    folder containing the default topic.
    I am not sure if any other user have faced similar problems?
    Would like to hear from you guys too.

    Welcome to the forum
    Whenever you install new software, check for updates before
    starting work.
    Go to Help | Updates and apply both patches.
    Regenerate your help and try again. It should be OK.

  • How to get our own F4 help in table maintanance generator

    hi all,
    i developed a table maint generator.
    in this i have 3 fields out of three there is a field called subtype. for this i ahve to create f4 help for this. foir this field i have to display two descptions calles' sub type1 and subtype2. these are not coming from any database tables. any body can tell me how to wrote. and send me the sample code for it.
    thanks,
    maheedhar

    Go to SE51..Give the program name..in your case..SAPL + function group name.
    Give the screen number...that you gave when you created the table maintenance..
    THen press change..
    Create an event process on value-request for F4..
    PROCESS ON VALUE-REQUEST.
    FIELD ZTABLE-F4 MODULE F4_FOR_F4.
    **In the module use the function module F4IF_INT_TABLE_VALUE_REQUEST.
    Check this example for how to use this function module
    TABLES: T005T.
    DATA: BEGIN OF t_t005 OCCURS 0,
            land1 TYPE t005-land1,
          END OF t_t005.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(6) v_text FOR FIELD P_LAND1.
    PARAMETERS: p_land1  TYPE t005-land1.
    SELECTION-SCREEN COMMENT 13(35) v_text1.
    SELECTION-SCREEN END OF LINE.
    INITIALIZATION.
      v_text = 'Country'.
      v_text1 = ' '.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_land1.
      REFRESH: t_t005.
      SELECT land1
             INTO TABLE t_t005
             FROM t005.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
               DDIC_STRUCTURE   = 'T005'
                PVALKEY          = ' '
                retfield         = 'LAND1'
                dynpprog         = sy-repid
                DYNPNR           = sy-dynnr
                dynprofield      = 'P_LAND1'
                callback_program = sy-repid
                value_org        = 'S'
           TABLES
                value_tab        = t_t005
           EXCEPTIONS
                parameter_error  = 1
                no_values_found  = 2
                OTHERS           = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • Problem in Search help in Table control

    Dear ABAPers,
    I am using the Table control.In that i am using F4 help.the F4 Value should be based o the
    another field in the Table control.how to do this.
    Thanks & Regards,
    Ashok.

    I had a similar requirement. In this table control the values for the F4 help for the shipping conditions depend on the vendor the user selects in the first column.
    Here is my code:
    PROCESS ON VALUE-REQUEST.
      FIELD gs_pod_screen-ship_cond
        MODULE f4_ship_cond.
    MODULE f4_ship_cond INPUT.
      PERFORM f4_pod_shipping_conditions.
    ENDMODULE.                 " f4_ship_cond  INPUT
    FORM f4_pod_shipping_conditions .
      DATA: lt_return TYPE TABLE OF ddshretval,
            ls_return TYPE ddshretval,
            lv_line   TYPE i,
            lv_vendor TYPE bu_partner,
            ls_shlp   TYPE shlp_descr,
            ls_selopt TYPE ddshselopt,
            ls_if     TYPE ddshiface,
            lv_c(132) TYPE c.
    * where on the table control did we hit F4?
      GET CURSOR LINE lv_line.
      READ TABLE gt_pod_sales
           INTO gs_pod_screen
           INDEX lv_line
           TRANSPORTING vendor.
      CHECK NOT gs_pod_screen-vendor IS INITIAL.
    * the possible values always depend on the vendor => build it every time
    * get the search help parameters first
      CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
        EXPORTING
          shlpname = gc_shlp_shipcon
        IMPORTING
          shlp     = ls_shlp.
    * now we have to set restrictions based on the vendor
      CLEAR ls_selopt.
      ls_selopt-shlpname  = gc_shlp_shipcon.
      ls_selopt-shlpfield = gc_name_vendor.
      ls_selopt-sign      = gc_i.
      ls_selopt-option    = gc_eq.
      ls_selopt-low       = gs_pod_screen-vendor.
      APPEND ls_selopt TO ls_shlp-selopt.
    * set the field for the output
      READ TABLE ls_shlp-interface INTO ls_if
           WITH KEY shlpfield = gc_name_ship_cond.
      IF sy-subrc EQ 0.
        ls_if-valfield = gc_field_shipcon.
        MODIFY ls_shlp-interface FROM ls_if
               INDEX sy-tabix TRANSPORTING valfield.
      ENDIF.
    * pass in the base date and call the search help
      CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
        EXPORTING
          shlp                = ls_shlp
        TABLES
          return_values       = lt_return.
      READ TABLE lt_return INTO ls_return INDEX 1.
      IF sy-subrc EQ 0.
        gs_pod_screen-ship_cond = ls_return-fieldval.
      ELSE.
        CLEAR gs_pod_screen-ship_cond.
      ENDIF.
    * transfer the value
      MODIFY gt_pod_sales
             FROM gs_pod_screen
             INDEX lv_line
             TRANSPORTING ship_cond.
    ENDFORM.                    " f4_shipping_conditions
    Hope that helps,
    Michael

  • Search Help Exit : Table appears sorted in Search Help!

    Hi All,
    I have implemented a search help exit to show a custom list of objects. Unfortunately, the list gets sorted somewhere in between the search help exit and the actual F4 display.
    Any ideas what I can do tp prevent the sorting?  It's very important that the output list displays in exact order that I have in the exit function module.
    Thanks!
    Roman D.

    while passing the changing parameter CALLCONTROL
    chk while populating the table make sure that
    callcontroltable-sortoff(DDSHF4CTRL-SORTOFF)
    is not 'X'.
    Refer to this link below
    search help exit
    Regds
    Manohar

Maybe you are looking for

  • How do I delete exact duplicates in my library?

    How do I delete exact duplicates from my library?

  • Want to play same stream on multiple pc's in diff rooms

    I want to play the same stream or playlist at the same time on multiple PC's in different rooms.  I have computers. I have speakers. I shouldn't have to buy speakers with computers in them to make this work.  Can this be done with Spotify?

  • Where do I find pictures after sync

    I just synced my pictures from the computer to the phone using the blackberry download software and when I opened my pictures on the phone nothing was there. Where do I find the pictures on the phone after sync?

  • Optimisation

    Dear All, I need everything written into columns like the below script does, however I was wondering if there was a way I could reduce my code. I can't give you data for this and I can't give you the column names. However the values held in the numer

  • PSE 4.0 with photos on EHD; getting new computer

    Hi- I'm using PSE 4.0 on a PC running XP. I have all of my photos on an external hard drive, but the software and catalog info is on the internal hard drive. I want to order a new PC that will run Vista, and I'd like to keep my photos on the external