Report to retrieve all Z_Programs

Dear Gurus,
I am looking for a report which retrieves all the Z_Programs from the system. I have checked the table TRDIR and TADIR and tried looking through the Where used list but couldnt fine any Report which retrieves all the Z_Programs.
Can anyone help me for the same... Thanks in advance
Regards
Pr

Hi
This is something I put together a little while ago, you may need to remove references to the Z messages etc. Please reward points if it helps you.
   NAME        : GGL: Program List
   DESCRIPTION : List of Programs/Reports by GGL
             M O D I F I C A T I O N   L O G
   CREATED BY : Brad Gorlicki
   DATE       : 10 OCTOBER 2007
REPORT ZGGLPROGRAMS MESSAGE-ID ZEW01.
TABLE DEFINITION
TABLES: TRDIR,     "Program Names
        TSTC,      "SAP Transaction Codes
        TSTCT.     "Transaction Code Text
INTERNAL TABLE DEFINITION
Program Names
DATA: BEGIN OF I_TRDIR OCCURS 0,
        NAME LIKE TRDIR-NAME,
        CNAM LIKE TRDIR-CNAM,
        CDAT LIKE TRDIR-CDAT,
        UNAM LIKE TRDIR-UNAM,
        UDAT LIKE TRDIR-UDAT,
        TCODE LIKE TSTC-TCODE,
        TTEXT LIKE TSTCT-TTEXT,
        Z TYPE C,
      END OF I_TRDIR.
SAP Transaction Codes
DATA: BEGIN OF I_TSTC OCCURS 0,
        TCODE LIKE TSTC-TCODE,
        PGMNA LIKE TSTC-PGMNA,
      END OF I_TSTC.
Transaction Code Text
DATA: BEGIN OF I_TSTCT OCCURS 0,
        TCODE LIKE TSTCT-TCODE,
        TTEXT LIKE TSTCT-TTEXT,
      END OF I_TSTCT.
Search Criteria table
DATA: BEGIN OF I_SEARCHDATA OCCURS 0,
        NAME(50) TYPE C,
      END OF I_SEARCHDATA.
General Variables
DATA: BEGIN OF VAR,
         FOUND(1)             TYPE C,            "Search Found
         FIELD(80)            TYPE C,
         POS                  TYPE I,
      END OF VAR.
ABAP LIST VIEWER DEFINITIONS
TYPE-POOLS: SLIS.
DATA: FIELDCAT      TYPE SLIS_T_FIELDCAT_ALV,
      FIELDCAT_LN   LIKE LINE OF FIELDCAT.
DATA: COL_POS TYPE I.
DATA: GS_LAYOUT   TYPE SLIS_LAYOUT_ALV.
DATA: EVENTS        TYPE SLIS_T_EVENT.
CONSTANTS : C_USER_COMMAND TYPE SLIS_FORMNAME VALUE 'USER_COMMAND'.
SELECTION SCREEN
*     SELECTION CRITERIA
SELECTION-SCREEN BEGIN OF BLOCK 01 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_NAME  FOR TRDIR-NAME.
SELECT-OPTIONS: S_CNAM  FOR TRDIR-CNAM.
SELECT-OPTIONS: S_TCODE FOR TSTC-TCODE.
SELECTION-SCREEN END OF BLOCK 01.
SELECTION-SCREEN BEGIN OF BLOCK BOX2 WITH FRAME TITLE TEXT-002.
PARAMETERS: P_SEARCH(80).
SELECTION-SCREEN SKIP.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN COMMENT 1(79) T1.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN COMMENT 2(79) T2.
SELECTION-SCREEN END OF BLOCK BOX2.
EVENT: INITIALIZATION
*     PRE PROCESSING
AT SELECTION-SCREEN OUTPUT.
  T1 = 'A multiple keyword search requires a comma seperator ie. Technical, Help, SAP'.
  T2 = 'NB! - If ANY of the keywords are found, record(s) will be displayed'.
EVENT     START OF SELECTION
START-OF-SELECTION.
  PERFORM DOCUMENT_SEARCH.
  PERFORM F????_FETCH_DATA.
  PERFORM F????_BUILD_DATA.
  PERFORM F????_BUILD_ALV_COLUMNS.
  PERFORM F????_START_LIST_VIEWER.
FORM          FETCH_DATA
FORM: F????_FETCH_DATA.
If no transaction code entered select all programs
first then select the transaction code
  IF S_TCODE[] IS INITIAL.
    SELECT NAME CNAM CDAT UNAM UDAT
      FROM TRDIR
      INTO CORRESPONDING FIELDS OF TABLE I_TRDIR
     WHERE NAME IN S_NAME
       AND CNAM IN S_CNAM
       AND NAME LIKE 'Z%'.
    SORT I_TRDIR BY NAME.
Select all Transaction Codes
    SELECT TCODE PGMNA
      FROM TSTC
      INTO CORRESPONDING FIELDS OF TABLE I_TSTC
       FOR ALL ENTRIES IN I_TRDIR
     WHERE PGMNA = I_TRDIR-NAME
       AND TCODE IN S_TCODE.
    SORT I_TSTC BY PGMNA.
If there was a Transaction Code entered select this first
  ELSEIF NOT S_TCODE[] IS INITIAL.
    SELECT TCODE PGMNA
      FROM TSTC
      INTO CORRESPONDING FIELDS OF TABLE I_TSTC
     WHERE TCODE IN S_TCODE.
    SORT I_TSTC BY PGMNA.
    IF NOT I_TSTC[] IS INITIAL.
If Transaction Code entered select all programs related now
      SELECT NAME CNAM CDAT UNAM UDAT
        FROM TRDIR
        INTO CORRESPONDING FIELDS OF TABLE I_TRDIR
         FOR ALL ENTRIES IN I_TSTC
       WHERE NAME = I_TSTC-PGMNA
         AND CNAM IN S_CNAM
         AND NAME IN S_NAME.
      SORT I_TRDIR BY NAME.
    ENDIF.
  ENDIF.
Select Transaction Code Text
  SELECT TCODE TTEXT
    FROM TSTCT
    INTO CORRESPONDING FIELDS OF TABLE I_TSTCT
     FOR ALL ENTRIES IN I_TSTC
   WHERE TCODE = I_TSTC-TCODE
     AND SPRSL = 'E'.
  SORT I_TSTCT BY TCODE.
ENDFORM.                    "F????_FETCH_DATA
FORM          BUILD_DATA
FORM: F????_BUILD_DATA.
Read Transaction Codes and Text
  LOOP AT I_TRDIR.
    READ TABLE I_TSTC WITH KEY PGMNA = I_TRDIR-NAME
                                      BINARY SEARCH.
    I_TRDIR-TCODE = I_TSTC-TCODE.
    IF SY-SUBRC = 0.
      READ TABLE I_TSTCT WITH KEY TCODE = I_TRDIR-TCODE
                                        BINARY SEARCH.
      I_TRDIR-TTEXT = I_TSTCT-TTEXT.
      IF NOT I_SEARCHDATA[] IS INITIAL.
        LOOP AT I_SEARCHDATA.
Search for transaction Text
          SEARCH I_TRDIR-TTEXT FOR I_SEARCHDATA-NAME.
          IF SY-SUBRC NE 0.
            DELETE I_TRDIR.
            VAR-FOUND = 'X'.
          ELSE.
            CLEAR VAR-FOUND.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDIF.
Check record is to be modified
    IF VAR-FOUND = ''.
    MODIFY I_TRDIR TRANSPORTING TCODE TTEXT.
    ENDIF.
    IF NOT I_SEARCHDATA[] IS INITIAL.
Check the program has transaction code text
      IF I_TRDIR-TTEXT = SPACE.
        DELETE I_TRDIR.
      ENDIF.
    ENDIF.
    CLEAR: I_TRDIR, I_TSTC, I_TSTCT.
  ENDLOOP.
ENDFORM.                    "F????_BUILD_DATA
FORM: DOCUMENT_SEARCH
*     CREATE KEYWORDS TO SEARCH FOR INTO INTERNAL TABLE
FORM DOCUMENT_SEARCH .
  IF P_SEARCH CS ',' AND P_SEARCH NE ','.
    TRANSLATE P_SEARCH TO UPPER CASE.
Multiple search
    WHILE P_SEARCH <> ''.
      IF P_SEARCH CS ','.
        VAR-FIELD = P_SEARCH+0(SY-FDPOS).
        I_SEARCHDATA-NAME = VAR-FIELD.
        CONDENSE I_SEARCHDATA-NAME NO-GAPS.
        APPEND I_SEARCHDATA.
        VAR-POS = SY-FDPOS + 1.
        P_SEARCH = P_SEARCH+VAR-POS.
      ELSEIF P_SEARCH NE SPACE.
        I_SEARCHDATA-NAME = P_SEARCH.
        CONDENSE I_SEARCHDATA-NAME NO-GAPS.
        APPEND I_SEARCHDATA.
        CLEAR P_SEARCH.
      ENDIF.
    ENDWHILE.
  ELSEIF NOT P_SEARCH IS INITIAL.
Single search
    I_SEARCHDATA-NAME = P_SEARCH+0(SY-FDPOS).
    APPEND I_SEARCHDATA.
  ENDIF.
ENDFORM.                    " document_search
FORM          BUILD_EVENT_TOPOFPAGE
FORM BUILD_EVENT_TOPOFPAGE USING LT_EVENTS TYPE SLIS_T_EVENT.
  DATA: LS_EVENTS TYPE SLIS_ALV_EVENT.
  CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
      I_LIST_TYPE = 0
    IMPORTING
      ET_EVENTS   = LT_EVENTS.
Double Click Event
  READ TABLE EVENTS WITH KEY NAME = SLIS_EV_USER_COMMAND
                    INTO LS_EVENTS.
  IF SY-SUBRC = 0.
    MOVE C_USER_COMMAND TO LS_EVENTS-FORM.
    APPEND LS_EVENTS TO LT_EVENTS.
  ENDIF.
ENDFORM.                    "BUILD_EVENT_TOPOFPAGE
FORM          USER_COMMAND
Subroutine for at user command for calling transaction
FORM USER_COMMAND USING P_UCOMM LIKE SY-UCOMM
LS_SELFIELD TYPE SLIS_SELFIELD.
  CASE P_UCOMM.
    WHEN '&IC1'.                                           "Double Click
      READ TABLE I_TRDIR INDEX LS_SELFIELD-TABINDEX.
      IF SY-SUBRC = 0.
        SET PARAMETER ID 'RID' FIELD I_TRDIR-NAME.
        CALL TRANSACTION 'SE38' AND SKIP FIRST SCREEN.
      ENDIF.
  ENDCASE.
ENDFORM.                    "generate_usercommand
FORM          BUILD_ALV_COLUMNS
FORM F????_BUILD_ALV_COLUMNS.
  CLEAR FIELDCAT_LN.
  ADD 1 TO COL_POS.
  FIELDCAT_LN-REF_TABNAME = 'TRDIR'.
  FIELDCAT_LN-FIELDNAME = 'NAME'.
  FIELDCAT_LN-KEY = 'X'.
  FIELDCAT_LN-COL_POS = COL_POS.
  APPEND FIELDCAT_LN TO FIELDCAT.
  CLEAR FIELDCAT_LN.
  ADD 2 TO COL_POS.
  FIELDCAT_LN-REF_TABNAME = 'TRDIR'.
  FIELDCAT_LN-FIELDNAME = 'CNAM'.
  FIELDCAT_LN-COL_POS = COL_POS.
  APPEND FIELDCAT_LN TO FIELDCAT.
  CLEAR FIELDCAT_LN.
  ADD 3 TO COL_POS.
  FIELDCAT_LN-REF_TABNAME = 'TRDIR'.
  FIELDCAT_LN-FIELDNAME = 'CDAT'.
  FIELDCAT_LN-COL_POS = COL_POS.
  APPEND FIELDCAT_LN TO FIELDCAT.
  CLEAR FIELDCAT_LN.
  ADD 4 TO COL_POS.
  FIELDCAT_LN-REF_TABNAME = 'TRDIR'.
  FIELDCAT_LN-FIELDNAME = 'UNAM'.
  FIELDCAT_LN-COL_POS = COL_POS.
  APPEND FIELDCAT_LN TO FIELDCAT.
  CLEAR FIELDCAT_LN.
  ADD 5 TO COL_POS.
  FIELDCAT_LN-REF_TABNAME = 'TRDIR'.
  FIELDCAT_LN-FIELDNAME = 'UDAT'.
  FIELDCAT_LN-COL_POS = COL_POS.
  APPEND FIELDCAT_LN TO FIELDCAT.
  CLEAR FIELDCAT_LN.
  ADD 6 TO COL_POS.
  FIELDCAT_LN-REF_TABNAME = 'TSTC'.
  FIELDCAT_LN-FIELDNAME = 'TCODE'.
  FIELDCAT_LN-COL_POS = COL_POS.
  APPEND FIELDCAT_LN TO FIELDCAT.
  CLEAR FIELDCAT_LN.
  ADD 7 TO COL_POS.
  FIELDCAT_LN-REF_TABNAME = 'TSTCT'.
  FIELDCAT_LN-FIELDNAME = 'TTEXT'.
  FIELDCAT_LN-COL_POS = COL_POS.
  APPEND FIELDCAT_LN TO FIELDCAT.
ENDFORM.                    " F????_BUILD_ALV_COLUMNS
FORM          START_LIST_VIEWER
FORM F????_START_LIST_VIEWER .
  PERFORM BUILD_EVENT_TOPOFPAGE USING EVENTS[].
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_CALLBACK_PROGRAM = 'ZBRADTEST4'
      I_GRID_TITLE       = 'GGL Program List'
      IS_LAYOUT          = GS_LAYOUT
      IT_FIELDCAT        = FIELDCAT
      IT_EVENTS          = EVENTS[]
      I_SAVE             = 'A'
    TABLES
      T_OUTTAB           = I_TRDIR.
ENDFORM.                    " F????_START_LIST_VIEWER

Similar Messages

  • How to Create a Parameterized Report - The select "- ALL-" for department and manager not working.

    I downloaded the OEHR Sample Objects application and followed the steps in Oracle® Application Express Advanced Tutorials
    Release 3.2.
    The parameters and report seem to be working correctly except when I enter "all" for department or manager I get no matching hits.
    What's the most efficient way to retrieve "all" if the users selects all for dept and mgr - thus we'd want to return all records in the table.
    Region snipprt
    Enter Search
    Search Employee
    Dept
    - ALL -
    Administration
    Marketing
    Purchasing
    Human Resources
    Shipping
    IT
    Public Relations
    Sales
    Executive
    Finance
    Accounting
    Treasury
    Corporate Tax
    Control And Credit
    Shareholder Services
    Benefits
    Manufacturing
    Construction
    Contracting
    Operations
    IT Support
    NOC
    IT Helpdesk
    Government Sales
    Retail Sales
    Recruiting
    Payroll
    Mgr
    - ALL -
    Steven King
    Neena Kochhar
    Lex De Haan
    Alexander Hunold
    Nancy Greenberg
    Den Raphaely
    Matthew Weiss
    Adam Fripp
    Payam Kaufling
    Shanta Vollman
    Kevin Mourgos
    John Russell
    Karen Partners
    Alberto Errazuriz
    Gerald Cambrault
    Eleni Zlotkey
    Michael Hartstein
    Shelley Higgins
    The following is the sql that was provided as part of the turitoral.
    SELECT
       "OEHR_EMPLOYEES"."EMPLOYEE_ID" "EMPLOYEE_ID",
       "OEHR_EMPLOYEES"."FIRST_NAME" "FIRST_NAME",
       "OEHR_EMPLOYEES"."LAST_NAME" "LAST_NAME",
       "OEHR_EMPLOYEES"."EMAIL" "EMAIL",
       "OEHR_EMPLOYEES"."PHONE_NUMBER" "PHONE_NUMBER",
       "OEHR_EMPLOYEES"."HIRE_DATE" "HIRE_DATE",
       "OEHR_EMPLOYEES"."JOB_ID" "JOB_ID",
       "OEHR_EMPLOYEES"."SALARY" "SALARY",
       "OEHR_EMPLOYEES"."COMMISSION_PCT" "COMMISSION_PCT",
       "OEHR_EMPLOYEES"."MANAGER_ID" "MANAGER_ID",
       "OEHR_EMPLOYEES"."DEPARTMENT_ID" "DEPARTMENT_ID"
    FROM
       "#OWNER#"."OEHR_EMPLOYEES" "OEHR_EMPLOYEES"
    WHERE
         (lower(first_name) like '%' || lower(:P1_NAME) || '%' OR
          lower(last_name) like '%' || lower(:P1_NAME) || '%')
    AND department_id = decode(:P1_DEPT,'%null%',department_id,:P1_DEPT)
    AND manager_id = decode(:P1_MGR,'%null%',manager_id,:P1_MGR)

    Hi,
    Use this..
    SELECT
       "OEHR_EMPLOYEES"."EMPLOYEE_ID" "EMPLOYEE_ID",
       "OEHR_EMPLOYEES"."FIRST_NAME" "FIRST_NAME",
       "OEHR_EMPLOYEES"."LAST_NAME" "LAST_NAME",
       "OEHR_EMPLOYEES"."EMAIL" "EMAIL",
       "OEHR_EMPLOYEES"."PHONE_NUMBER" "PHONE_NUMBER",
       "OEHR_EMPLOYEES"."HIRE_DATE" "HIRE_DATE",
       "OEHR_EMPLOYEES"."JOB_ID" "JOB_ID",
       "OEHR_EMPLOYEES"."SALARY" "SALARY",
       "OEHR_EMPLOYEES"."COMMISSION_PCT" "COMMISSION_PCT",
       "OEHR_EMPLOYEES"."MANAGER_ID" "MANAGER_ID",
       "OEHR_EMPLOYEES"."DEPARTMENT_ID" "DEPARTMENT_ID"
    FROM
       "#OWNER#"."OEHR_EMPLOYEES" "OEHR_EMPLOYEES"
    WHERE
        (:P1_NAME IS NULL OR
            (:P1_NAME IS NOT NULL AND
                    (lower(first_name) like '%' || lower(:P1_NAME) || '%') OR
                    (lower(last_name) like '%' || lower(:P1_NAME) || '%')
        ) AND
        (:P1_DEPT IS NULL OR department_id = :P1_DEPT) AND
        (:P1_MGR IS NULL OR manager_id = :P1_MGR)

  • Function to retrieve all days of the previous month.

    Hi,
    Yes, it's a monthly report i've been given the task to achieve.
    So, all I need is all days of previous month (even if there is no data for this day)
    I've been instructed to use the following code, but it does not return any value:
    DECLARE
       CURSOR CUR_LAST_DAY IS
          SELECT TO_CHAR (LAST_DAY (ADD_MONTHS (SYSDATE, -1) ), 'DD')
            FROM DUAL;
       VVA_LAST_DAY   VARCHAR2 (2);
       VNU_JOUR       NUMBER       := 0;
    BEGIN
       OPEN CUR_LAST_DAY;
       FETCH CUR_LAST_DAY
        INTO VVA_LAST_DAY;
       CLOSE CUR_LAST_DAY;
       WHILE VNU_JOUR <= TO_NUMBER (VVA_LAST_DAY) - 1
       LOOP
          VNU_JOUR := VNU_JOUR + 1;
       END LOOP;
    END;
    --CLOSE CUR_LAST_DAY
    --DEALLOCATE CUR_LAST_DAY-----
    On the other end, i've developped this code:
    SELECT TO_CHAR(SYSDATE,'dd')
    FROM DUAL
    WHERE TO_CHAR(SYSDATE,'dd') >= to_char(to_date(to_char(ADD_MONTHS(SYSDATE, -1),'yyyy-mm')||'-01'),'yyyy-mm-dd')
    AND TO_CHAR(SYSDATE,'dd') < to_char(LAST_DAY(to_date(to_date(to_char(ADD_MONTHS(SYSDATE, -1),'yyyy-mm')||'-01'),'yyyy-mm-dd')));Which is returning a null value. :(
    Regards

    Hello,
    You want to retrieve complete days of last month from one query...so here it is..
    SELECT
    TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY') COMP_DATE,
    TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'DD') ONLY_DD,
    TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'MM') ONLY_MM,
    TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'YY') ONLY_YY
    FROM DUAL
    CONNECT BY LEVEL <= TO_NUMBER(TO_CHAR(LAST_DAY(ADD_MONTHS(SYSDATE,-1)),'DD'))I am not at database machine so therefore not tested.
    But one thing keep in mind that this forum only for reports there is separate forum for sql and pl/sql.
    Function to retrieve all days of the previous month.
    -Ammad
    Edited by: Ammad Ahmed on Apr 22, 2010 10:53 PM
    Spelling Mistake

  • Function module to retrieve all the personnel numbers in the eval path

    Hi all,
    I want to retrieve all the personnel numbers that fall in the evaluation path.
    Like if my evaluation path is "B002" ( eval path for relationship is line supervisor of ), I want a function module that retrieves all the pernrs in this wval path up to the bottom level.
    if A reports to B and B reports to C and C reports to D . I want a function module to retrieve(either positions or pernrs) C, B and A when I run it for position D.
    any help??
    regards
    Sam
    regards
    Sam

    Hi
    U can use FM  RH_STRUC_GET to get the pernr in the evaluation path
    data : IT_RESULT_TAB     TYPE STANDARD TABLE OF SWHACTOR .
                CALL FUNCTION 'RH_STRUC_GET'
                  EXPORTING
                    ACT_OTYPE  = C_OTYPE
                    ACT_OBJID  = W_POSIT
                    ACT_WEGID  = C_WEGID (relation B002 like )
                    ACT_BEGDA  = W_BEGDA
                    ACT_ENDDA  = W_BEGDA
                   ACT_TDEPTH = 1 ( depath 1, 2, etc )
                  TABLES
                    RESULT_TAB = IT_RESULT_TAB .
    Nb : Give points if it worths

  • Report to generate all custom objects

    Dear experts,
    Is there any report or tool to generate all custom objects in system. I have to retrieve all custom reports, function modules, fuction groups, tcodes, data elements, domain, tables, views, search helps, partner profiles, rfc connections, idoc types, segments types.
    Taj.

    Dear Gautam your reply is helpfull, but as i have mentioned there are many local objects, and also rfc connection names, partner profiles, idoc types, segments types.. will not get stored in request, so cannot query them. Is there any other ways.
    I know a tool called ACE Tool, but i cannot apply here.
    Edited by: Mohd Tajuddin on Apr 28, 2009 1:58 PM

  • Essbase error currently multiple reports per retrieval not supported

    Hi,
    One of my users got this error message while working on Essbase Excel add-in. "currently multiple reports per retrieval not supported". Any suggestions why do we get this error and what changes have to be to made to avoid it?
    Thanks,
    Junaid

    It's kind of a catch-all error message, usually spurred (so I guess that isn't really a catch-all) by having the same dimension referenced more than once in the sheet, e.g., Product in the grid point of view and in rows going down or a dimension repeated in the grid point of view.
    Regards,
    Cameron Lackpour

  • Pls advise any report to retrieved the list of  STR/ PR  cancellation.

    Hi All,
    Pls advise any report to retrieved the list of  STR/ PR  cancellation via User ID.
    Thanks
    Chandru

    Hi,
    Since the cancellation data of all STRs and PRs is kept in Change document.  Therefore, you should run Transaction S_ALR_87101238 with object class BANF and at the report output, set the filter on the Field name ''LOEKZ''.
    Cheers,
    HT

  • Can't retrieve all presets with AVGetOptimizerPresets

    Hi,
    I'm trying to retrieve all presets defined for my Acrobat Pro 9.3.4 on Windows via that AVGetOptimizerPresets call and always get count of defined presets as 1 (retrieved is first one from the list of defined), while I have them actually 3 - 2 defined with name in Cyrillic and 1 in Latin.
    I've found this my old post in this forum:
    http://forums.adobe.com/message/1159879#1159879
    But right now I'm already using Acrobat Pro 9.3.4 and not any old of v8.x
    Is it a bug or limitation or anything else?
    This is what I see in my customer's Acrobat Pro 9.3.4 Russian version:

    So, what are further steps?
    You've mentioned before (for other issue, to which you didn't answered to my question) that it's possible to submit formal report to Dev. team and probably (I expect) get back some incident number to track.
    Could you or anyone else from Adobe on this forum help with that process?
    Or should we with our customer together call some Adobe Volume Licensing (because customer has purchased Acrobat Pro 9.0 VL) team first, then wait while they redirect our question to proper Dev. team instead? I think it will take then much longer to resolve.
    I really want to understand how we could resolve such issues in a quick way.
    Anyone to comment?

  • Re: [iPlanet-JATO] Re: Retrieving all Values from a Tiled View

    Todd,
    Let me try to explain you this time. I have a text field in a TiledViewBean.
    When I display the page, the text field
    html tag is created with the name="PageDetail.rDetail[0].tbFieldName" say
    five times/rows with same name.
    The html tags look like this.
    <input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
    maxlength=9 size=13>
    <input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
    maxlength=9 size=13>
    <input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
    maxlength=9 size=13>
    When the form is submitted, I want to get the text field values using the
    method getTbFieldName().getValues() which
    returns an array object[]. This is in case where my TiledViewBean is not
    bound and it is working fine.
    Now in case when my TiledView is bound to a model, it creates the html tags
    as follows.
    <input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
    maxlength=9 size=13>
    <input type=text name="PageDetail.rDetail[1].tbFieldName" value=""
    maxlength=9 size=13>
    <input type=text name="PageDetail.rDetail[2].tbFieldName" value=""
    maxlength=9 size=13>
    Now when I say getTbFieldName().getValues() it returns only the first
    element values in the object[] and the rest of the
    values are null.
    May be we need to create a utility method do get these values from
    requestContext.
    raju.
    ----- Original Message -----
    From: Todd Fast <toddwork@c...>
    Sent: Saturday, July 07, 2001 3:52 AM
    Subject: Re: [iPlanet-JATO] Re: Retrieving all Values from a Tiled View
    Raju.--
    I wanted to know how the getValues() method works the reason being,
    when the tiled view is NOT bound to a model, it populates all the
    fields with the same name as some thing likeI'm afraid I don't understand your point--can you please clarify? Do you
    mean "value" instead of "name"?
    What are you trying to do? What behavior are you expecting but notseeing?
    >
    Without further clarification, I can say that the setValues() methodsNEVER
    populates data on multiple rows of a (dataset) model, nor does it affect
    multiple fields on the same row. Perhaps what you are seeing is theeffect
    of default values. Model that derive from DefaulModel have the ability to
    carry forward the values set on the first row to other rows in lieu ofdata
    in those other rows. This behavior is for pure convenience and can be
    turned off, and it is turned off for the SQL-based models.
    Todd
    [email protected]

    Hi,
    I wanted to know how the getValues() method works the reason being,
    when the tiled view is NOT bound to a model, it populates all the
    fields with the same name as some thing like
    PageDetail.rDetail[0].tbFieldValue
    PageDetail.rDetail[0].tbFieldValue
    in which case, the getValues() method works fine.
    But in case where the tiled view is bound to a model, it populates
    with different field names such as,
    PageDetail.rDetail[0].tbFieldValue
    PageDetail.rDetail[1].tbFieldValue
    in this case, the getValues() doesn't work. Any soultion to this?
    We are using Moko 1.1.1.
    thanks in advance,
    raju.
    --- In iPlanet-JATO@y..., "Todd Fast" <toddwork@c...> wrote:
    Does anyone know of is there a single method to get all values of a
    display
    field in a tiled view without having to iterate through all the
    values ie
    resetTileIndex() / nextTile() approach.
    ie Something that returns an Object[] or Vector just like ND returned a
    CspVector. I tried using the getValues() methods but that allways returns
    a
    single element array containing the first element.
    (I think now, that method is used for multi selecteable ListBoxes)Actually, no. We can add this in the next patch, but for now, I'd recommend
    creating a simple utility method to do the iteration on an arbitrary model
    and build the list for you.
    Todd

  • Retrieving ALL values from a single restricted user property

    How can I retrieve ALL values of a single restricted user property from within
    a .jpf file?
    I want to display a dropdown list within a form in a JSP which should contain
    all the locations listed in the property 'locations'. I ever get just the default
    value when I access the property via
    ProfileWrapper pw = userprofile.getProfileForUser(user);
    Object prop = pw.getProperty("ClockSetup", "Locations");

    Well, the code you've got will retrieve the single value of the property
    for the current user. You're getting the default value because the
    current user doesn't have Locations property set, so the ProfileWrapper
    returns the default value from the property set.
    I assume you want to get the list of available values that you entered
    into the .usr file in Workshop. If so, I've attached a
    SetColorController.jpf, index.jsp, and GeneralInfo.usr (put in
    META-INF/data/userprofiles) I wrote for an example that does just this.
    It uses the PropertySetManagerControl to retrieve the restricted values
    for a property, and the jsp uses data-binding to create a list from that
    pageflow method.
    For a just-jsps solution, you can also use the
    <ps:getRestrictedPropertyValues/> tag. I've attached a setcolor-tags.jsp
    that does the same thing.
    Greg
    Dirk wrote:
    How can I retrieve ALL values of a single restricted user property from within
    a .jpf file?
    I want to display a dropdown list within a form in a JSP which should contain
    all the locations listed in the property 'locations'. I ever get just the default
    value when I access the property via
    ProfileWrapper pw = userprofile.getProfileForUser(user);
    Object prop = pw.getProperty("ClockSetup", "Locations");
    [att1.html]
    package users.setcolor;
    import com.bea.p13n.controls.exceptions.P13nControlException;
    import com.bea.p13n.property.PropertyDefinition;
    import com.bea.p13n.property.PropertySet;
    import com.bea.p13n.usermgmt.profile.ProfileWrapper;
    import com.bea.wlw.netui.pageflow.FormData;
    import com.bea.wlw.netui.pageflow.Forward;
    import com.bea.wlw.netui.pageflow.PageFlowController;
    import java.util.Collection;
    import java.util.Iterator;
    * @jpf:controller
    * @jpf:view-properties view-properties::
    * <!-- This data is auto-generated. Hand-editing this section is not recommended. -->
    * <view-properties>
    * <pageflow-object id="pageflow:/users/setcolor/SetColorController.jpf"/>
    * <pageflow-object id="action:begin.do">
    * <property value="80" name="x"/>
    * <property value="100" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action:setColor.do#users.setcolor.SetColorController.ColorFormBean">
    * <property value="240" name="x"/>
    * <property value="220" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action-call:@page:index.jsp@#@action:setColor.do#users.setcolor.SetColorController.ColorFormBean@">
    * <property value="240,240,240,240" name="elbowsX"/>
    * <property value="144,160,160,176" name="elbowsY"/>
    * <property value="South_1" name="fromPort"/>
    * <property value="North_1" name="toPort"/>
    * </pageflow-object>
    * <pageflow-object id="page:index.jsp">
    * <property value="240" name="x"/>
    * <property value="100" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#index.jsp#@action:begin.do@">
    * <property value="116,160,160,204" name="elbowsX"/>
    * <property value="92,92,92,92" name="elbowsY"/>
    * <property value="East_1" name="fromPort"/>
    * <property value="West_1" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#begin.do#@action:setColor.do#users.setcolor.SetColorController.ColorFormBean@">
    * <property value="204,160,160,116" name="elbowsX"/>
    * <property value="201,201,103,103" name="elbowsY"/>
    * <property value="West_0" name="fromPort"/>
    * <property value="East_2" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="control:com.bea.p13n.controls.ejb.property.PropertySetManager#propSetMgr">
    * <property value="31" name="x"/>
    * <property value="34" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="control:com.bea.p13n.controls.profile.UserProfileControl#profileControl">
    * <property value="37" name="x"/>
    * <property value="34" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="formbeanprop:users.setcolor.SetColorController.ColorFormBean#color#java.lang.String"/>
    * <pageflow-object id="formbean:users.setcolor.SetColorController.ColorFormBean"/>
    * </view-properties>
    public class SetColorController extends PageFlowController
    * @common:control
    private com.bea.p13n.controls.ejb.property.PropertySetManager propSetMgr;
    * @common:control
    private com.bea.p13n.controls.profile.UserProfileControl profileControl;
    /** Cached possible colors from the User Profile Property Set definition.
    private String[] possibleColors = null;
    /** Get the possible colors, based upon the User Profile Property Set.
    public String[] getPossibleColors()
    if (possibleColors != null)
    return possibleColors;
    try
    PropertySet ps = propSetMgr.getPropertySet("USER", "GeneralInfo");
    PropertyDefinition pd = ps.getPropertyDefinition("FavoriteColor");
    Collection l = pd.getRestrictedValues();
    String[] s = new String[l.size()];
    Iterator it = l.iterator();
    for (int i = 0; it.hasNext(); i++)
    s[i] = it.next().toString();
    possibleColors = s;
    catch (P13nControlException ex)
    ex.printStackTrace();
    possibleColors = new String[0];
    return possibleColors;
    /** Get the user's favorite color from their profile.
    public String getUsersColor()
    try
    ProfileWrapper profile = profileControl.getProfileFromRequest(getRequest());
    return profileControl.getProperty(profile, "GeneralInfo", "FavoriteColor").toString();
    catch (P13nControlException ex)
    ex.printStackTrace();
    return null;
    // Uncomment this declaration to access Global.app.
    // protected global.Global globalApp;
    // For an example of page flow exception handling see the example "catch" and "exception-handler"
    // annotations in {project}/WEB-INF/src/global/Global.app
    * This method represents the point of entry into the pageflow
    * @jpf:action
    * @jpf:forward name="success" path="index.jsp"
    protected Forward begin()
    return new Forward("success");
    * @jpf:action
    * @jpf:forward name="success" path="begin.do"
    protected Forward setColor(ColorFormBean form)
    // set the color in the user's profile
    try
    ProfileWrapper profile = profileControl.getProfileFromRequest(getRequest());
    profileControl.setProperty(profile, "GeneralInfo", "FavoriteColor", form.getColor());
    catch (P13nControlException ex)
    ex.printStackTrace();
    return new Forward("success");
    * FormData get and set methods may be overwritten by the Form Bean editor.
    public static class ColorFormBean extends FormData
    private String color;
    public void setColor(String color)
    this.color = color;
    public String getColor()
    return this.color;
    [GeneralInfo.usr]
    [att1.html]

  • Hi, my laptop just crashed and I was unable to retrieve all the pictures saved in it. However, I have a backup on my iPod touch. Is it possible to sync pictures from my iPod to my laptop? Thanks.

    Hi, my laptop just crashed and I was unable to retrieve all the pictures saved in it. However, I have a backup on my iPod touch. Is it possible to sync pictures from my iPod to my laptop? Thanks.

    Sync with "new" computer
    https://discussions.apple.com/docs/DOC-3141

  • How to retrieve all the data from a BLOB using view-generated accessor

    I am using JDeveveloper 10g v. 10.1.3 and am storing an image in a database as a blob object and need to retrieve all of the data to get the entire image and store it in an ImageIcon. The code I have works partially in that it retrieves the correct data, but only gets a piece of it, leaving me with a partial image.
    AppModuleImpl am;
    ImageVwViewImpl vo;
    am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
    vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
    ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();
    ImageIcon icon = new ImageIcon(ivo.getImage().getBytes(1, (int)ivo.getImage().getBufferSize()));
    jULabel1.setIcon(icon);I either need to know how to use a stream to get the data out (from BlobDomain method getBinaryStream()), or how to get the other chunks of data separately.
    edit: I know the problem is that getBufferSize() returns an int which is too small to hold all the data, but need to know what to use instead. Thanks!

    This is the code I'm using now. Same problem :(
    AppModuleImpl am;
            ImageVwViewImpl vo;
            am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
            vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
            ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();  
            ImageIcon icon = new ImageIcon(ivo.getImage().toByteArray());
            jULabel1.setIcon(icon);

  • Retrieving All Objects From Session

    I'm developing a JSP shopping cart application, i have problem with sessions. A user can add a product to their cart, this adds the product name and the product price to the cart using:
    <%
    session.setAttribute("pname", pname);
    session.setAttribute("pprice", pprice);
    %>
    The problem I have is viewing the cart. The page must display all items the user has added to the cart. I need to retrieve all the objects from the users session.
    session.getAttribute("pname") will only return the last object which was added to the session. Is there a method or mechansim to loop through all the objects in a users session?
    Any suggestions appreciated.

    session.getAttribute("pname") will only return the
    last object which was added to the session. Is there a
    method or mechansim to loop through all the objects in
    a users session?You can't use session.setAttribute("pname",pname); repeatedly. Each time it will overwrite contents of existing attribute. Thats the reason why you are always getting last added value.
    You can do one thing. Add pname to the Vector or Hashtable, like this,Vector v = (Vector) session.getAttribute("pname"); // Get the existing Vector in the session.
    if(v == null) v = new Vector(); //If there is no attribute "pname" in the session, create an object of Vector.
    v.add(pname) //add item to the Vector.
    session.setAttribute("pname",v); //Now add this vector to the session.Hope this helps.
    Sudha

  • Retrieving all values from hashmap in order you put them in

    Hi guys,
    I want to retrieve all values from a HashMap in the order I put them in.
    So I can't use the values() method that gives back a collection and iterate over that.
    Do you guys know a good way to do that ?

    You can just do something like this:
    class OrderedMap
        private final Map  m_rep = new HashMap();
        private final List m_keys = new ArrayList();
        public Object get( final Object key )
            return m_rep.get( key );
        public Object put( final Object key, final Object value )
            final Object result = m_rep.put( key, value );
            if ( result != null )
                m_keys.add( key );
            return result;
        public Object remove( final Object key )
            final Object result = m_rep.remove( key );
            if ( result != null )
                m_keys.add( key );
            return result;
        public Iterator keyIterator()
            return m_rep.iterator();
    }Then use it like this:
       for ( Iterator it = map.keyIterator(); it.hasNext(); )
           final Object value = map.get( it.next() );
       }This will be in the order you put them in. However, if you want to do this correctly, you should implement the Map interface and add all the methods. Another thing you can do is download the JDK 1.4 source, learn how they did and do it the same way for 1.2.
    R.

  • Vendor report that shows all vendors missing tax id information

    I would like to create a report that shows all vendors that are missing the tax id information.  Please direct me on where to go.
    thx
    Trace

    Dear,
    Enter T-code MASS.
    Select Object Type LFA1 and click on execute button.
    Than click on Fields tab, Find your required field and click on execute button.
    Than enter vendor list for which you want to find out the list.
    And click on execute button.
    Regards,
    Mahesh Wagh.

Maybe you are looking for

  • Need to Open Another jspx page as popup from template

    Hi everyone, I have one more question about popups and template. I'm working on JDev 11gU2 ADFRC I have one template for my all pages, and there is a link on my template to show user information. for that i need to fetch the info of logged in user fr

  • The requested action is not supported for this object. [message 131-171]

    Hi, One user is having the below error message appear when she attempts to print remittances. This has only started happening since yesterday and all other documents are still printing. "The requested action is not supported for this object. [message

  • Copy DTOs to aggregate (as defined by Eric Evans)

    Hello, I have the following situation: Hand is an aggregate which consists of several fingers. Each finger can only belong to one hand. So hand is the aggregate root. One could write: package org.hand; class Hand {   private long id; //generated by h

  • VA01 user-exit to modify net price of line item...

    Hello Experts, Is there a user-exit to modify the net price value of a line item upon 'ENTERING' in VA01 transaction? Hope you can help me guys. Thank you and take care!

  • CS5 Photoshop stalls, unresponsive

    PS opens fine. Then stalls and is unresponsive (spinning ball for 5+ minutes) even if I don't have anything open. If I do have something open (even a 3mb jpg) it's also extremely slow. I'll just try to move a window around and everything freezes for