F4IF_INT_TABLE_VALUE_REQUEST and first selection of mult

Hi All,
   I am using F4IF_INT_TABLE_VALUE_REQUEST and it works well, except for the first time.This is a regular report type program.
    o If one item/line is selected the first time, nothing is returned to the screen fields.
    o If more than one item is selected, the first one is lost. The second and other lines make it back to the screen field.
       o The actual values are not displayed until I right-click and select the 'multiple selection' option.
    o The next multiple selects always returns correctly- Whatever is chosen makes it to the bottom of the screen field.
    Using StepL or not does not seem to make a difference.
  Call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield        = RtField
      dynpprog        = l_prog             
      dynpnr          = l_screen           
      dynprofield     = specifichlpfld
      Value_org       = 'C'       
      WINDOW_TITLE    = WinTitle
      MULTIPLE_CHOICE = 'X'
    TABLES
      field_Tab       = OutField_Tab
      value_tab       = OutUsrAddrs    
      RETURN_TAB      = RETURN_TAB.
   Thanks for any help,
                   Dan P.

Hi All,
    This is the code that shows the problem. It can be cut/pasted into a program for demostration.
*& Report  YDMP_TRY2F4IN_INT_TABLE_VAL_RE                              *
*& Author: Daniel Perecky                                              *
*& Test prg for function module call F4IF_INT_TABLE_VALUE_REQUEST.     *
*& Works, kind of.                                                     *
*& o If one item/line is selected the first time, nothing is           *
*&   returned to the screen fields.                                    *
*& o If more than one item is selected, the first one is lost. The     *
*&   second and other lines make it back to the screen field.          *
*&      o The actual values are not displayed until I right-click      *
*&        and select the 'multiple selection' option.                  *
*& o The next multiple selects always returns correctly- Whatever is   *
*&   chosen makes it to the bottom of the screen field.                *
REPORT  YDMP_TRY3F4IN_INT_TABLE_VAL_RE          .
Tables: User_Addrs.
Selection-Screen Begin of Block EMAILN.
Selection-Screen Skip.
Selection-screen Begin of Line.
Selection-Screen Comment 1(25) Text-013.
Selection-screen End of Line.
Selection-screen Begin of Line.
Selection-Screen Comment 1(12) Text-015.
Selection-Screen Position 10.
Select-Options: GnrlF for USER_ADDRS-Name_First.
Selection-Screen Position 63.
Select-Options: GnrlL for USER_ADDRS-NAME_Last.
Selection-screen End of Line.
Selection-screen Begin of Line.
Selection-Screen Position 68.
Select-Options: GnrlSpMl for User_Addrs-BName.
Selection-screen End of Line.
Selection-Screen Skip.
Selection-Screen End of Block EMAILN.
Include type pool SSCR
TYPE-POOLS SSCR.
Define the object to be passed to the RESTRICTION parameter
DATA RESTRICT TYPE SSCR_RESTRICT.
DATA OPT_LIST TYPE SSCR_OPT_LIST.
DATA ASSRTD   TYPE SSCR_***.
      CLASS CX_RPTERR_EXCEPTION  DEFINITIO
CLASS CX_RPTERR_EXCEPTION DEFINITION
                        INHERITING FROM CX_STATIC_CHECK.
ENDCLASS.                    "CX_RPTERR_EXCEPTION  DEFINITIO
Initialization.
Used for function module: 'SELECT_OPTIONS_RESTRICT'
  Clear Opt_List.
  Move 'JUST_EQ' to Opt_List-Name.
  Move 'X' to Opt_List-Options-Eq.
  APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
  Clear Opt_List.
  Move 'NOINTERVLS' to Opt_List-Name.
  Move 'X' to: Opt_List-Options-CP,
               Opt_List-Options-EQ,
               Opt_List-Options-GE,
               Opt_List-Options-GT,
               Opt_List-Options-LE,
               Opt_List-Options-LT,
               Opt_List-Options-NE,
               Opt_List-Options-NP.
  APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
  Clear Opt_List.
  Clear Assrtd.
  Move: 'B' to Assrtd-Kind,
        'EMAILN' to Assrtd-Name,
        'I'      to Assrtd-SG_Main,
       'N'      to Assrtd-SG_Addy,
        'JUST_EQ' to Assrtd-Op_Main,
      'NOINTERVLS' TO Assrtd-OP_ADDY.
  APPEND Assrtd TO RESTRICT-***_TAB.
Call function module
  CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
       EXPORTING
             RESTRICTION                = RESTRICT
          DB                          = ' '
       EXCEPTIONS
             TOO_LATE                   = 1
             REPEATED                   = 2
             NOT_DURING_SUBMIT          = 3
            DB_CALL_AFTER_REPORT_CALL  = 4
            SELOPT_WITHOUT_OPTIONS     = 5
             SELOPT_WITHOUT_SIGNS       = 6
             INVALID_SIGN               = 7
            REPORT_CALL_AFTER_DB_ERROR = 8
              EMPTY_OPTION_LIST          = 9
             INVALID_KIND               = 10
             REPEATED_KIND_A            = 11
             OTHERS                     = 12.
Exception handling
  IF SY-SUBRC NE 0.
  ENDIF.
Use same form for all three fields. Update all fields every time.
At Selection-Screen on Value-Request for GnrlF-Low.
  Perform GetFillUserInfo Tables GnrlF GnrlL GnrlSpMl.
At Selection-Screen on Value-Request for GnrlL-Low.
  Perform GetFillUserInfo Tables GnrlF GnrlL GnrlSpMl.
At Selection-Screen on Value-Request for GnrlSpMl-Low.
  Perform GetFillUserInfo Tables GnrlF GnrlL GnrlSpMl.
Start-of-Selection.
  Try.
Some regular report code goes here.
    Catch CX_ROOT.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      Exit.
  EndTry.
End-of-Selection.
*=============================================================================================
*| Form  GetFillUserInfo                                                                       |
*| Get all user information from SAP tables and fill out Selection-Screen tables.              |
*| Fill in all fields for user.                                                                |
*=============================================================================================
Form GetFillUserInfo Tables NameF Type Standard Table          NameL Type Standard Table
                                         SAPIds Type Standard Table.
  Data: NameFLoc Type Range of User_Addrs-Name_First with header line,
        NameLLoc Type Range of User_Addrs-Name_Last with header line,
       OutlookLoc Type Range of ZXX_Hrid-ZZ_EMail_Address with header line,
        SAPIdLoc Type Range of User_Addrs-BName with header line.
  data: step_line like sy-stepl.
  Types: Begin of UsrAddrsT.
  Types: BNAME Like User_Addrs-BName,
         NAME_LAST Like User_Addrs-Name_Last,
         NAME_FIRST Like User_Addrs-Name_First,
         NAME_TEXT Like User_Addrs-Name_Text,
         DEPARTMENT Like User_Addrs-Department.
  Types: End of UsrAddrsT.
  Data: UsrAddrsInt type standard table of UsrAddrsT with header line.
  Types: Begin of UsrAddrsT2.
  Types: Value(80) Type C.
  Types: End of UsrAddrsT2.
  Data: UsrAddrs type standard table of UsrAddrsT2 with header line.
  Data: Field_Tab type standard table of DFIES with header line.
  DATA: Return_Tab Type Standard table of ddshretval with HEADER LINE.
  Data: RtField Like DFIES-FIELDNAME,
        WinTitle(40) Type C.
Generic F4 tables
  Data: OutField_Tab Type Standard table of DFIES with header line,
        OutUsrAddrs Type Standard table of UsrAddrsT2 with header line.
  Data: l_prog like syst-cprog,
        l_screen like syst-dynnr,
        specifichlpfld like Help_Info-Dynprofld.
  Data: TblSz Type I.
  l_prog = syst-cprog.
  l_screen = syst-dynnr.
    Select D2BName D2Name_First D2NAME_LAST D2Name_Text D2~Department
        From ( Usr21 as D1
          Inner Join User_Addrs as D2
          On  D1BName = D2BName )
          Appending Corresponding fields of table UsrAddrsInt
       Where D2~BName <> Space.
    Sort UsrAddrsInt by Name_Last Name_First BName.
    Delete UsrAddrsInt Where BName cs 'n/a' or ( BName = 'Z_USER' and Name_Text cs 'USER SAMPLE' ) or BName = 'SAMPLE'.
Fill value table- one column data per row.
    Loop at UsrAddrsInt.
      If UsrAddrsInt-BName <> Space.
        Write UsrAddrsInt-BName to Usraddrs-Value.
      Else.
        Write space to UsrAddrs-Value.
      Endif.
      Append UsrAddrs.
      If UsrAddrsInt-NAME_TEXT <> Space.
        Write UsrAddrsInt-NAME_TEXT to Usraddrs-Value.
      Else.
        Write space to UsrAddrs-Value.
      Endif.
      Append UsrAddrs.
      If UsrAddrsInt-DEPARTMENT <> Space.
        Write UsrAddrsInt-DEPARTMENT to Usraddrs-Value.
      Else.
        Write space to UsrAddrs-Value.
      Endif.
      Append UsrAddrs.
    EndLoop.
    Select Distinct d1tabname D1fieldname D1Domname d1Datatype D1~position
           D1rollname D1inttype D1intlen D1leng D1Decimals D1outputLen
        From DD03M as D1
        appending corresponding fields of table Field_tab
      where
         DDLanguage = Syst-Langu  and
         d1~tabname = 'USER_ADDRS' and
         D1~fieldname in ('BNAME', 'NAME_TEXT', 'DEPARTMENT').
    Sort Field_Tab by position.
    Loop at Field_Tab.
      Select Single DDText
           Into Field_Tab-FieldText
        From DD03M
      Where Tabname = Field_Tab-Tabname and
         FieldName = Field_Tab-fieldName and
         DDLanguage = Syst-Langu.
        If Syst-Subrc = 0.
          Modify Field_Tab.
        Endif.
    EndLoop.
    RtField = 'BNAME'.
    WinTitle = 'Find Person(s) for SAP E-Mail'.
    specifichlpfld = 'USR21-BNAME'.
    Clear: OutField_Tab, OutUsrAddrs.  Refresh: OutField_Tab, OutUsrAddrs.
    OutField_Tab[] = Field_Tab[].
    OutUsrAddrs[] = UsrAddrs[].
  Call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield        = RtField
     stepL           = Step_Line
      dynpprog        = l_prog              " sy-cprog
      dynpnr          = l_screen            " sy-dynnr
      dynprofield     = specifichlpfld
      Value_org       = 'C'        "'S'
      WINDOW_TITLE    = WinTitle
      MULTIPLE_CHOICE = 'X'
    TABLES
      field_Tab       = OutField_Tab
      value_tab       = OutUsrAddrs      "SelFNames
      RETURN_TAB      = RETURN_TAB.
  If SY-SUBRC <> 0.
    If Syst-Batch = ' '.  " Online
      Sy-MsgTy = 'I'.
    Else.
      Sy-MsgTy = 'E'.
    Endif.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    If Syst-Batch = ' '.  " Online
      Raise Exception Type CX_RPTERR_EXCEPTION.
    Endif.
  Endif.
  CALL FUNCTION 'DYNP_GET_STEPL'
    IMPORTING
      POVSTEPL        = Step_Line
    EXCEPTIONS
      STEPL_NOT_FOUND = 1
      OTHERS          = 2.
  If SY-SUBRC <> 0.
    If Syst-Batch = ' '.  " Online
      Sy-MsgTy = 'I'.
    Else.
      Sy-MsgTy = 'E'.
    Endif.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    If Syst-Batch = ' '.  " Online
      Raise Exception Type CX_RPTERR_EXCEPTION.
    Endif.
  Endif.
      Loop at Return_Tab.
        Clear UsrAddrsInt.
        Read table UsrAddrsInt with key BName = Return_Tab-FIELDVAL.
        If Syst-Subrc = 0.
          NameFLoc-Low = UsrAddrsInt-Name_First.       " should be ok if blank- append anyway.
          NameLLoc-Low = UsrAddrsInt-Name_Last.
          sapIdLoc-Low = UsrAddrsInt-BName.
          Append: NameFLoc, NameLLoc, SapIdLoc.
          Clear: NameFLoc, NameLLoc, SapIdLoc.
        Endif.
      EndLoop.
  Loop at NameFLoc.
    NameFLoc-High = space.   NameFLoc-Sign = 'I'.   NameFLoc-Option = 'EQ'.    Modify NameFLoc.
  EndLoop.
  Loop at NameLLoc.
    NameLLoc-High = space.   NameLLoc-Sign = 'I'.   NameLLoc-Option = 'EQ'.    Modify NameLLoc.
  EndLoop.
  Loop at SapIdLoc.
    SapIdLoc-High = space.   SapIdLoc-Sign = 'I'.   SapIdLoc-Option = 'EQ'.    Modify SapIdLoc.
  EndLoop.
  Loop at NameFLoc.
    Move-Corresponding NameFLoc to NameF.
    Append NameF.
    Add 1 to TblSz.
  EndLoop.
  Refresh NameFLoc. Clear: NameF, NameFLoc.
  Loop at NameLLoc.
    Move-Corresponding NameLLoc to NameL.
    Append NameL.
  EndLoop.
  Refresh NameLLoc. Clear: NameL, NameLLoc.
  Loop at SapIdLoc.
  Move-Corresponding SapIdLoc to SAPIds.
    Append SapIds.
  EndLoop.
  Refresh SapIdLoc.   Clear: SapIds, SapIdLoc.
EndForm.                    " GetFillUserInfo

Similar Messages

  • Whats the difference between ALL and FIRST  in Multi Inserting

    SQL> Drop Table Sales;
    Table dropped.
    SQL> Drop Table Accounts;
    Table dropped.
    SQL> Drop Table Research;
    Table dropped.
    SQL> Create Table Sales As Select * From Emp;
    Table created.
    SQL> Create Table Accounts As Select * From Emp;
    Table created.
    SQL> Create Table Research As Select * From Emp;
    Table created.
    SQL> Truncate Table Sales;
    Table truncated.
    SQL> Truncate Table Accounts;
    Table truncated.
    SQL> Truncate Table Research;
    Table truncated.
    SQL> Select * From Sales;
    no rows selected
    SQL> Select * From Accounts;
    no rows selected
    SQL> Select * From Research;
    no rows selected
    SQL> Insert All
      2  When Deptno=10 Then
      3  Into Sales (Empno,Ename,Job,Mgr,Hiredate,Sal,Comm,DeptNo)
      4  When Deptno=20 Then
      5  Into Accounts (Empno,Ename,Job,Mgr,Hiredate,Sal,Comm,DeptNo)
      6  When Deptno=30 Then
      7  Into Research (Empno,Ename,Job,Mgr,Hiredate,Sal,Comm,DeptNo)
      8  Select * From Emp
      9  .
    SQL> /
    16 rows created.
    SQL> Select * From Sales;
        EMPNO ENAME      JOB             MGR HIREDATE        SAL      COMM    DEPTNO
         7782 CLARK      MANAGER        7839 09-JUN-81       100                  10
         7839 KING       PRESIDENT           17-NOV-81       100                  10
         7934 MILLER     CLERK          7782 23-JAN-82       100                  10
         7999 ABCDEFGH   JOB            7839 09-FEB-06       100         0        10
    4 rows selected.
    SQL> Select * From Accounts;
        EMPNO ENAME      JOB             MGR HIREDATE        SAL      COMM    DEPTNO
         7901 SMITH      CLERK          7902 17-DEC-80       100                  20
         7566 JONES      MANAGER        7839 02-APR-81       100                  20
         7788 SCOTT      ANALYST        7566 19-APR-87       100                  20
         7876 ADAMS      CLERK          7788 23-MAY-87       100                  20
         7902 FORD       ANALYST        7566 03-DEC-81       100                  20
          123                                                                     20
    6 rows selected.
    SQL> Select * From Research;
        EMPNO ENAME      JOB             MGR HIREDATE        SAL      COMM    DEPTNO
         7499 ALLEN      SALESMAN       7698 20-FEB-81       100       300        30
         7521 WARD       SALESMAN       7698 22-FEB-81       100       500        30
         7654 MARTIN     SALESMAN       7698 28-SEP-81       100      1400        30
         7698 BLAKE      MANAGER        7839 01-MAY-81       100                  30
         7844 TURNER     SALESMAN       7698 08-SEP-81       100         0        30
         7900 JAMES      MANAGER        7698 03-DEC-81       100                  30
    6 rows selected.
    SQL> Truncate Table Sales;
    Table truncated.
    SQL> Truncate Table Accounts;
    Table truncated.
    SQL> Truncate Table Research;
    Table truncated.
    SQL> Insert First
      2  When Deptno=10 Then
      3  Into Sales (Empno,Ename,Job,Mgr,Hiredate,Sal,Comm,DeptNo)
      4  When Deptno=20 Then
      5  Into Accounts (Empno,Ename,Job,Mgr,Hiredate,Sal,Comm,DeptNo)
      6  When Deptno=30 Then
      7  Into Research (Empno,Ename,Job,Mgr,Hiredate,Sal,Comm,DeptNo)
      8  Select * From Emp
      9  /
    16 rows created.
    SQL> Select * From Sales;
        EMPNO ENAME      JOB             MGR HIREDATE        SAL      COMM    DEPTNO
         7782 CLARK      MANAGER        7839 09-JUN-81       100                  10
         7839 KING       PRESIDENT           17-NOV-81       100                  10
         7934 MILLER     CLERK          7782 23-JAN-82       100                  10
         7999 ABCDEFGH   JOB            7839 09-FEB-06       100         0        10
    4 rows selected.
    SQL> Select * From Accounts;
        EMPNO ENAME      JOB             MGR HIREDATE        SAL      COMM    DEPTNO
         7901 SMITH      CLERK          7902 17-DEC-80       100                  20
         7566 JONES      MANAGER        7839 02-APR-81       100                  20
         7788 SCOTT      ANALYST        7566 19-APR-87       100                  20
         7876 ADAMS      CLERK          7788 23-MAY-87       100                  20
         7902 FORD       ANALYST        7566 03-DEC-81       100                  20
          123                                                                     20
    6 rows selected.
    SQL> Select * From Research;
        EMPNO ENAME      JOB             MGR HIREDATE        SAL      COMM    DEPTNO
         7499 ALLEN      SALESMAN       7698 20-FEB-81       100       300        30
         7521 WARD       SALESMAN       7698 22-FEB-81       100       500        30
         7654 MARTIN     SALESMAN       7698 28-SEP-81       100      1400        30
         7698 BLAKE      MANAGER        7839 01-MAY-81       100                  30
         7844 TURNER     SALESMAN       7698 08-SEP-81       100         0        30
         7900 JAMES      MANAGER        7698 03-DEC-81       100                  30
    6 rows selected.Both inserting insert the same records then whats the difference between ALL and FIRST clause in multi insert DML
    Khurram Siddiqui
    [email protected]

    Hello
    From the docs:
    ALL
    If you specify ALL, then Oracle evaluates each WHEN clause regardless of the results of the evaluation of any other WHEN clause. For each WHEN clause whose condition evaluates to true, Oracle executes the corresponding INTO clause list.
    FIRST
    If you specify FIRST, then Oracle evaluates each WHEN clause in the order in which it appears in the statement. For the first WHEN clause that evaluates to true, Oracle executes the corresponding INTO clause and skips subsequent WHEN clauses for the given row.
    ELSE clause
    For a given row, if no WHEN clause evaluates to true:
    * If you have specified an ELSE clause, then Oracle executes the INTO clause list associated with the ELSE clause.
    * If you did not specify an else clause, then Oracle takes no action for that row.
    See Also:
    "Multitable Inserts: Examples"
    Restrictions on Multitable Inserts
    * You can perform multitable inserts only on tables, not on views or materialized views.
    * You cannot perform a multitable insert into a remote table.
    * You cannot specify a table collection expression when performing a multitable insert.
    * In a multitable insert, all of the insert_into_clauses cannot combine to specify more than 999 target columns.
    * Multitable inserts are not parallelized in a Real Application Clusters environment, or if any target table is index organized, or if any target table has a bitmap index defined on it.
    * Plan stability is not supported for multitable insert statements.
    * The subquery of the multitable insert statement cannot use a sequence.
    So given this the following example shows the difference:
    SQL> CREATE TABLE dt_test_insert_base as select rownum id from dba_objects where rownum <=20
      2  /
    Table created.
    SQL> CREATE TABLE dt_test_insert_1 (id number)
      2  /
    Table created.
    SQL> CREATE TABLE dt_test_insert_2 (id number)
      2  /
    Table created.
    SQL>
    SQL> INSERT ALL
      2     WHEN rownum <=15 THEN
      3             INTO dt_test_insert_1 (id)
      4     WHEN rownum >=10 THEN
      5             INTO dt_test_insert_2 (id)
      6  SELECT
      7     ID
      8  FROM
      9     dt_test_insert_base
    10  /
    26 rows created.
    SQL>
    SQL> SELECT * from dt_test_insert_1
      2  /
            ID
             1
             2
             3
             4
             5
             6
             7
             8
             9
            10
            11
            12
            13
            14
            15
    15 rows selected.
    SQL> SELECT * from dt_test_insert_2
      2  /
            ID
            10
            11
            12
            13
            14
            15
            16
            17
            18
            19
            20
    11 rows selected.
    SQL>
    SQL> TRUNCATE TABLE dt_test_insert_1
      2  /
    Table truncated.
    SQL> TRUNCATE TABLE dt_test_insert_2
      2  /
    Table truncated.
    SQL>
    SQL> INSERT FIRST
      2     WHEN rownum <=15 THEN
      3             INTO dt_test_insert_1 (id)
      4     WHEN rownum >=10 THEN --This condition is ignored until the value of id is > 15
      5             INTO dt_test_insert_2 (id)
      6  SELECT
      7     ID
      8  FROM
      9     dt_test_insert_base
    10  /
    20 rows created.
    SQL> SELECT * from dt_test_insert_1
      2  /
            ID
             1
             2
             3
             4
             5
             6
             7
             8
             9
            10
            11
            12
            13
            14
            15
    15 rows selected.
    SQL> SELECT * from dt_test_insert_2
      2  /
            ID
            16
            17
            18
            19
            20HTH
    David

  • XMLP 5.6.2 - Parameters -  Both Multi-Select and All-Select  Do Not Work

    Both Multi-Select and All-Select Do Not Work.
    What's up with this behavior?
    And when might it be fixed?
    BG...

    The Multi-Select is now working, not sure what I did wrong earlier. However the "Can select all" option when building the parameter does not work as advertised, though I was able to get around that as well.
    Create a Data Model
    select LAST_NAME, FIRST_NAME from SOME_TABLE where SOME_COLUMN =:SOME_VALUE
    OR
    select LAST_NAME, FIRST_NAME from SOME_TABLE where SOME_COLUMN in (:SOME_VALUE)
    Create a LOV
    Name = LOV_SOME_COLUMN
    Type = SQL Query
    select distinct SOME_TABLE.SOME_COLUMN as SOME_COLUMN from SCHEMA.TABLE
    Create a Parameter
    Identifier = PARM_SOME_COLUMN
    Data Type = String
    Default Value = NULL
    Parameter Type = Menu
    Display Label = LOV_SOME_COLUMN
    List Of Value = LOV_SOME_COLUMN
    Option
    Multiple Selection - Checked
    Can select all - Checked
    Refresh other parameters on change - Checked
    Then test your report. Select "All" from the LOV and click view. Result - No Rows Returned.
    Selecting a "Single" or "Multiple Values" values from the LOV does work.
    The way I am getting around the problem is to uncheck the "Can select all" and then manually select all the values in the LOV in order to get the "All".
    BG...

  • Drop down menus on iPad, the first selection in the drop down will not load as a selection when using safari, what can I do?

    Drop down menus on iPad, the first selection in the drop down will not load as a selection when using safari, what can I do?  I use this for my mobile, on-site auto repair business and not being able to call up repair and diagnostic info and reference for some cars is troublesome for sure. It works fine on the computer and I have installed a remote desktop app as a workaround but it is unreliable because the desktop is not business dedicated and may be off or in use at the time. So is there a known fix for this?
    Let me paint a more descriptive picture, visualize 4 drop down selection menus, first one is for year, next one is for make, 3rd one is model and the last one is for engine size/type. If I wanted to choose a 2012 vehicle it wont work because it is the top selection on the list. This can be forced by selecting any other year and then coming back to 2012. Ok fine, but then let's say I wanted to choose Acura as the make, well it won't take it because again it's the top selection. Again you work around it be selecting any other make and coming back to Acura. Ok now select the model, same trend follows. But now since most Acura vehicles come with dedicated engines and no optional engines I have only 1 selection in that final drop down menu and it will not take my selection and therefore never let me proceed to the info I need.
    This is also true when ordering parts from my wholesaler's website, they use drop downs and I can only get to that last drop down and then I'm stuck. This is blindingly frustrating, what options do I have. I'm not opposed to any avenue at this point.

    Did you ever figure this out? I bought my iPad last week to use in my business as well. I assume you are trying to use alldata? That is where I noticed this same issue. I had problems with identifix working with safari but downloaded a different browser and that works fine. Alldata does not work with either browser. The main difference is that on identifix if there is only one engine selection, it automatically selects the only option and continues to the home page. With alldata you have to make the selection manually even if there is only one option. Honestly if I can't get this to work I am going to return the iPad as it looses a significant amount of usefulness to men

  • How can I make a list and after selecting a value, avoid displaying it.

    Let's say I have a ListBox or a ListOfValues(in Forms), and I have as Data.
    "LEVEL 1"
    "LEVEL 2"
    "LEVEL 3"
    "LEVEL 4"
    and I select "LEVEL 2".
    next time I display the list, (been selected "LEVEL2"), it doesnt display it anymore (unless I clean it or select another value).

    I've search on google but I did not found any tutorial for this particular thing. I found instead this code : 
    on (press) {     startDrag ("", false);   
    this.swapDepths(_global.depth++);
    on (release, releaseOutside)
    stopDrag ();   
    this.swapDepths(_global.depth++);   
    if (this._x > 493.250000 && this._x < 636.050000 && this._y > 142.900000 && this._y < 271.350000)   
       this.removeMovieClip();   
        } // end if
    but I don't know how to make the _x/_y to work, better said I changed  the values but nothing happend, did I did something wrong ? The first _x/_y stands for the position? I've played with the range values but cant seem to make it happend.

  • When my iPod Touch is connected to my Mac, and I select Update to update the software of my iPod Touch, I get a message saying that my iTunes software is current, but it will not update my iPod Touch software.  Is there a bug in the iPod program?

    When my iPod Touch is connected to my Mac, and I select Update to update the software of my iPod Touch, I get a message saying that my iTunes software is current, but it will not update my iPod Touch software.  Is there a bug in the iPod program?

    If you have the first gen ipod touch as your information shows, then you would have to buy a software update:
    Purchasing iOS 3.1 Software Update for iPod touch (1st generation)

  • Updated iPad 2 last night.  All movies (9) on my iPad can no longer be viewed.  The movie plays but the photos and scene selection are blank. How do I fix this

    Updated iPad 2 last night.  All movies (9) on my iPad can no longer be viewed.  The movie plays but the photos and scene selection are blank. How do I fix this

    Quit the app and restart the iPad.
    In order to quit or close apps - Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Try the videos app again.

  • At selection-screen output and  at selection-screen on

    Hi Experts,
    I had coded in both at selection-screen output for disabling input of certain fields and at selection-screen for validation like this:
    AT SELECTION-SCREEN output.
      IF p_amt = 'X'.
        LOOP AT SCREEN.
          CASE screen-name.
            WHEN 'P_AMT'.
              screen-input = '1'.
            WHEN 'P_TST'.
              screen-input = '1'.
            WHEN 'P_B4C'.
              screen-input = '1'.
            WHEN 'P_AFC'.
              screen-input = '1'.
            WHEN 'P_COM'.
              screen-input = '1'.
            WHEN 'P_COM1'.
              screen-input = '1'.
            WHEN 'P_COM2'.
              screen-input = '1'.
            WHEN OTHERS.
              screen-input = '0'.
          ENDCASE.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
      IF p_amt = 'X'.
        LOOP AT SCREEN.
          CASE screen-name.
            WHEN 'P_AMT'.
              screen-input = '1'.
            WHEN 'P_TST'.
              screen-input = '1'.
            WHEN 'P_B4C'.
              screen-input = '1'.
            WHEN 'P_AFC'.
              screen-input = '1'.
            WHEN 'P_COM'.
              screen-input = '1'.
            WHEN 'P_COM1'.
              screen-input = '1'.
            WHEN 'P_COM2'.
              screen-input = '1'.
            WHEN OTHERS.
              screen-input = '0'.
          ENDCASE.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
      IF p_pdf = 'X'.
        LOOP AT SCREEN.
          CASE screen-name.
            WHEN 'P_PDF'.
              screen-input = '1'.
            WHEN 'P_TST'.
              screen-input = '1'.
            WHEN 'P_PATH'.
              screen-input = '1'.
            WHEN OTHERS.
              screen-input = '0'.
          ENDCASE.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
      IF p_afc = 'X'.
        LOOP AT SCREEN.
          CASE screen-name.
            WHEN 'P_TST'.
              screen-input = '1'.
            WHEN 'S_FID-LOW' OR 'S_FID-HIGH'.
              screen-input = '0'.
            WHEN 'S_ORG-LOW' OR 'S_ORG-HIGH'.
              screen-input = '0'.
            WHEN 'S_OFF-LOW' OR 'S_OFF-HIGH'.
              screen-input = '0'.
            WHEN 'S_DAT-LOW' OR 'S_DAT-HIGH'.
              screen-input = '0'.
          ENDCASE.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    AT selection-screen on block b5.
    if p_tst is initial.
      message text-016 type 'E'.
    endif.
    AT selection-screen on block b2.
    if p_amt ne 'X' and p_pdf ne 'X'.
    if s_fid is initial and s_org is initial.
    message text-000 type 'E'.
    endif.
    if s_dat is initial.
    message text-000 type 'E'.
    endif.
    endif.
    when i comment out at selection-screen validations the input is disabled for the screen fields as set, else the validations are executed first.
    Any solution for this???
    Thanks in advance.

    AT SELECTION-SCREEN
    Syntax
    AT SELECTION-SCREEN selscreen_event.
    Effect
    This statement defines event blocks for different events selscreen_event that are triggered by the ABAP runtime environment during selection screen processing.
    Selection screen events occur immediately before sending a selection screen and after certain user actions on a displayed selection screen. They assist in selection screen processing in the ABAP program.
    AT SELECTION-SCREEN is triggered at least twice during actions on selection screens that are linked into another selection screen as a subscreen - first for the linked selection screen itself, and then for the linking selection screens.
    Note
    The event blocks after AT SELECTION-SCREEN are implemented internally as procedures. Declarative statments in these event blocks create local data.

  • Modeling Question: Last Item value and First Value

    Dear all,
    I have the data coming in the following format:
    Data Source:
    HEAD1     1     21.01.2005
         2     21.01.2005
         3     21.01.2005
         4     21.01.2005
         5     23.01.2005
         6     21.01.2005
         7     21.01.2005
         8     21.01.2005
         9     21.01.2005
         10     25.01.2005 * ( I need this last Value)
    HEAD2     1     26.01.2005 * ( I need 1st Value)
         2     28.01.2005
         3     28.01.2005
         4     28.01.2005
         5     28.01.2005 * (I need this last value)
    HEAD2     1     29.01.2005 * (I need this 1st Value in the report)
         2     30.01.2005
         3     30.01.2005 * ( I need this last value in the report)
    And I want in reporting as:
    Reporting:
    0) 00.00.0000  21.01.2005
    1) 25.01.2005  26.01.2005
    2) 28.01.2005  29.01.2005
    3) 30.01.2005  00.00.0000
    What can be my options?
    I am not interested to use ABAP logic..
    Is any last and first value aggregations can be helpfull??
    Thanks for your time..
    Regards,
    Hari

    Hi Aborgeld,
    you can remove headers after writing the csv by using Get-Content $file | Select -skip 1 | Set-Content $file.
    If null values are a problem for your SQL, this may work for you in your Select-Object call:
    # Service Pack Filter-hash
    $spf = @{
    n = "osServicePack"
    e = {
    if ($_.osServicePack) { $_.osServicePack }
    else { " " }
    # Using it later in Select
    Select-Object Name, lastLogonTimestamp, OSName, ParentContainerDN, osversion, $spf
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • Bug?: TV shows in iOS 7 return to the first selected show

    I manage my video on iTunes withouth synching with iTunes. In particular, "Sync TV shows" checkbox is off. Instead, I drag and drop the cartoons for my kid from my collection (which automatically places them in Home Video category), then adjust info on the videos that are uploaded to categorize them as TV Shows, and group cartoons by series. It worked fine in iOS 6, but after I upgraded to 7, it does not. I did full factory reset before upgrade and then reuploaded the videos, so it's not "new way" vs "old way".
    What happens now after I go to Video app and choose TV shows section is that I can select any TV show first time I click on it. However, if I want to switch to another show, I cannot - tapping on any other show still brings me to the first selected one. To be visual, you can see this behavior on the small video clip I've made: http://www.youtube.com/watch?v=tAYqbb-bFvw.
    Anybody saw this behavior?

    Upgrade to iOS 7.1, the issue seems to be fixed.

  • Can u please tell me events trigaring and first event in report

    hi experts,
    can u please tell me events trigaring and first event in report

    actually first event triggering in a report is intialization
    but before that there is one more event get triggered that is load of program.....This is the very first event which is trigger in a report program. Really I have never needed a reason to use this. But I would assume that it can be used when you want to do something before the INITIALIZATION event.
    Classical Reports can have these events, in the given order :
    initialization
    at selection-screen
    start-of-selection
    end-of-selection
    top-of-page
    end-of-page
    In addition o the above, the following events are possible in case of Interactive Reports -
    at line-selection
    at user-command
    at PFnn.

  • If I select multiple images to apply a change to all Aperture it does so only with the first selected. Why?

    If I select multiple images to apply a change to all openings it does so only with the first selected. Why?

    You probably have Primary Selection only on.
    Aperture identifies the images you’ve selected by displaying them with a white border. When you select a group of images, the actively selected image, called the primary selection, appears with a thick white border and the rest of the selected images appear with thin white borders.
    Primary Only button: Click this button to make changes to the primary image selection only.

  • Toggling between single and multiple selection in a table

    I am working on ADF faces. I need to switch between single and multiple selection in <af:table based on a button I select.
    I cannot use switcher or rendered property inside <af:table. Only the first one is rendering the second one is not rendering based on the switch
    <f:facet name="selection">
    <af:tableSelectMany autoSubmit="true"
    rendered="#{treeBean.multipleRows}"/>
    </f:facet>
    <f:facet name="selection">
    <af:tableSelectOne autoSubmit="true"
    rendered="#{treeBean.singleRows}"/>
    </f:facet>
    When I use inside the switcher, it doesn't like the parent.
    Any ideas would be greatly appreciated.
    Thanks,
    Vijay.

    I have probably misunderstood what your issue is. I do not know what your version of ADF faces is. Here is some sample code working with my version. Please check if your jdev has "rowSelection" attribute. If it has, please try my sampe code
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces">
    <jsp:directive.page contentType="text/html;charset=utf-8"/>
    <f:view>
    <af:document title="tableSelectMany Demo">
    <af:form>
    <af:panelGroup layout="vertical">
    <af:messages/>
    <af:selectOneChoice value="#{sessionScope.tableSelection}"
    autoSubmit="true"
    id="selType"
    label="Selection Type">
    <af:selectItem label="Single" value="#{null}"/>
    <af:selectItem label="Multiple" value="#{true}"/>
    </af:selectOneChoice>
    <af:table summary="Periodic table"
    binding="#{tableActions.table}"
    partialTriggers="selType"
    rowSelection="#{sessionScope.tableSelection ? 'multiple' : 'single'}"
    value="#{periodicTable.tableData}" var="row" rows="10">
    <af:column>
    <f:facet name="header">
    <af:outputText value="Name"/>
    </f:facet>
    <af:outputText value="#{row.name}"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Symbol"/>
    </f:facet>
    <af:outputText value="#{row.symbol}"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Action Column"/>
    </f:facet>
    <af:commandButton immediate="true" text="Action"
    action="#{row.action}"/>
    </af:column>
    </af:table>
    </af:panelGroup>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • How to call subscreen and provide selection screen in subscreen

    Hi experts,
    please anybody suggest me how to call subscreen in module pool screen and provide selection screen in that sub screen.
    please tell me how to design this subscreen in module pool screen.
    adevanced
    thank you
    regards
    vijay krishna

    Hi,
    If you need to have select-options in module pool then follow these steps:-
    To implement select-options in module pool, first design two input/output fields (textboxes) for the low and high value of the field and name it as <field_name>-low and <field_name>-high.
    Create a button next the high value textbox and keep its sutaible function code.
    Now, to call the pop-up on this button click, we have to call the same pop-up as in standard      select-options. For this we have to use the function module COMPLEX_SELECTIONS_DIALOG.
    For this FM we have to pass the table name, field name and the range for the field whose range needs to fill when using the popup screen.
    To pass the table name and field name details into the FM, we have to declare as:
    DATA : tab TYPE rstabfield.
    This structure comprises of table name and field name.
    Pass these details in program as:-
    u2003
    *-- clear table and field details
      CLEAR tab.
    *-- append for range depending on the button clicked
    *   either for sales order or line item
      CASE sy-ucomm.
        WHEN 'VBELN'.
          tab-tablename = 'VBAP'.
          tab-fieldname = 'VBELN'.
    *--To call the popup screen for the field use code:-
      CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
        EXPORTING
          title             = text-002  u201Ctitle text
          text              = ' '
          signed            = 'X'
          search_help       = v_shelp u201Csearch help if required
          tab_and_field     = tab u201Ctable and field name details
        TABLES
          range             = r_vbeln u201Crange for the associated field
        EXCEPTIONS
          no_range_tab      = 1
          cancelled         = 2
          internal_error    = 3
          invalid_fieldname = 4
          OTHERS            = 5.
    Hope this helps you.
    Regards,
    Tarun

  • Need help with parameter fields and report selection.

    Hi all:
    I hope some one can help me with the problem I am having with my parameter field and record selection.
    First, can anyone explain to me why my parameter field CustStart, which is dynamic and is based on the field Customer in the table CustMaster.  There are over 1800 records in the CustMaster table but the drop down list only shows maybe about half of them and there is no way to scroll down to the last customer record.  What am I doing wrong?
    Second, is there any way to base a parameter field on a formula field on my report?  On my report I have created a field Cust that is the customer name and number joined together in one field.  I would very much llike to use this formula in my record selection and in my parameter field.  Can it be done?
    All help is greatly appreciated
    Thanks,
    FatMan

    Hi,
    You can use the following for changin increasing the LOV.
    Crystal Reports XI BusinessObjects Enterprise XI
    For performance reasons, in Crystal Reports XI Release 1 and Release 2 the maximum number of values that are returned for a list of values is set to 1000. If you have a cascading List of Values (for example Country > Region > City), the lowest level (in this case City) will only display a maximum of 1000 values. This means that the higher-level prompts may display far fewer values than you expect. The list of values provides the data for the dynamic parameter list.
    How can you modify the maximum number of values available in a dynamic parameter list?
    Resolution
    To increase the maximum number of values available in a dynamic parameter list, you must add a registry key.
    CAUTION     The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. For information on how to edit the registry key, view the 'Changing Keys and Values' online Help topic in the Registry Editor (Regedit.exe).
    It is strongly recommended that you make a backup copy of the registry files (System.dat and User.dat on Win9x computers) before you edit the registry.
    Crystal Reports XI Release 1
    1.     Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV.
    NOTE     Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV key.
    2.     Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter. NOTE: The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    NOTE     The higher the number of values is, the longer it will take the Enter Values dialog box to populate with values.
    3.      After making changes to the registry, restart the affected service or application as required.
    Crystal Reports XI Release 2
    1.     Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV.
    NOTE     Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV key.
    2.     Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter. 
    NOTE     The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    3.     After making changes to the registry, restart the affected service or application as required.
    I hope this helps you.
    Regards,
    Prashant

Maybe you are looking for