How do I get "Measured EV" EXIF field shown/filtered in Aperture?
I have 80000 photos in my Aperture library, from a host of different digicams, but mostly from Canon Powershot G's. I'd like to be able to select from the library all photos within a particular range of Exposure Value (shutter speed, aperture, and ISO which yields the equivalent exposure - NOT the EV bias). Using EXIFTool, I have confirmed that a great many of my photos have the "Measured EV" field populated with the correct value given the shutter/aperture also in the EXIF. Aperture allows me to show the "Measured EV" metadata field in various tooltips or Viewer custom configs. However, when I filter my entire library for a non-empty "Measured EV" EXIF field, I get exactly zero results. So, why does Aperture apparent ignore/miss this EXIF field, even though it purports that it reads it???
Thanks @ComputerWhiz - and apologies for the delay in responding.
I disabled Googlebar Lite, and then checked Show All History. I found that things were unchanged: I could search for an item and it would appear, but if I select all items from "this month", those items with a blank name field still didn't show up.
Even if creating an entry with a blank name is not "good practice", I'd argue that Show All History should do just that in all cases, not just when a search term thows up a match.
I'm relieved that it's not Googlebar Lite interferring with the History display, though. Its word seach buttons (that disappeared when Google Toolbar for Firefox was withdrawn) are an essential part of using search, IMO...
Similar Messages
-
I am currently managing 20 iPads on a macbook. I would like to manage the same 20 iPads on a new macbook pro. I have logged into the iTunes account on the new machine and see our apps but not the devices. How do i get the devices to be shown on new comp?
Has anyone used apple cpnfigurator for this purpose?
-
How can I get rid of the values shown on x axis
How can I get rid of the values shown on x axis ?
The two diagrams are for illustrations .I want the A diagram like values and wanna get rid of 50 150 250 350on x axis
MudassarIn Axis Options, set Interval to 1. Every category group label
is displayed. If you want to show every other category group label on the x-axis, type 2.
"If you want to show every other category group label on the x-axis, type 2."
what does this mean ?
when you set 1 as per it everything is shown and when you set 2 every other ????
Any example on this ?
Mudassar -
How do I get a volume discount on a book in Aperture?
How do I get a volume discount on a book in Aperture, I want 115 of the same book.
There used to be a discount, if you ordered more then 10 books at once, but I see it no longer listed on the "Options and Prices"-Page http://www.apple.com/aperture/resources/print-products.html, maybe that differs between countries, see also this post by Niel: Re: Reductions for bulk orders?
-
How can i get value when the field name is user's defined
Hi,
I have a one java method:
public ResultSet countUserDb(String id) {
ResultSet rs = null;
con = dbcon.connect();
String queryString = ("select count as count from
db_allocation where user_id='"+id+"'");
Statement stmt = con.createStatement();
rs = stmt.executeQuery(queryString);
When i call it in a jsp file.
ResultSet counter =db.countUserDb(request.getParameter("id"));
if(counter.next())
int x=rs.getInt("count");
Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
Best regards
RickyYou should give the user defined name in the ResultSet.getXXX method to retrieve the column value.
Example
SQL:
Select ename as employeename from emp;
You should say :
ResultSet.getString("employeename"); to get the value.
Alternatively you can retrieve it using column number:
ResultSet.getString(1);
Chandar -
How do I get the number of messages shown in the current MessageArea
Hi there,
I try to display the messages at the top of the screen in a MessageArea inside a scrollable Container which shows only one message to save space.
In case that there are more than one message I would like to show a hint, that there are more than the displayed message.
Is there an possiblity to get the count of messages shown in the current MessageArea? I already tried to get the MessageArea and had a look at the properties of the object: No Luck
Afterwards I got the MessageManager but there was no apropriate methodHi ,
Looks like there is no such an API !!! How about implementing on our own
Take a int variable or valueAttribute "count" and increment the count after calling reportwarning or reportsuccess methods on the MessageManager.
This will give count of the exceptions that you are handling in your code.
@All, Correct me if there is such an API exists
Regards, Anilkumar
Message was edited by:
Anilkumar Vippagunta -
HT5132 How do I get rid of the 'MobileMe discontinued' alert for Aperture
I get this alert each time I start up Aperture. (Aperture 3.2.4). I tried every button to respond to Apple's notice but it appears to be an permanent advertisement. Deleting MobileMe preferences but no effect. The window continues to pop up at every launch of the program.
Have removed your MobileMe account from the Aperture Preferences?
The "Web" tab > Accounts?
And signed out of MobileMe from the "MobileMe" pane of the System Preferences, if your MacOS X version still has a "MobileMe" System Preferences pane? -
How do I get back audiobook Metadata fields that iTunes 12 has removed?
The Audiobooks Get Info window in iTunes 12 appears be lacking fields that previously existed unless you had them filled in. I can’t find a way to access the ‘missing’ fields - either to add them back or fill them in. Example - I previously used Author as the one who wrote the book and Album Artist at the voice who reads the book (JK Rowling vs Jim Dale), each of those offering a different Sort category I should be able to select by. But if I didn’t have it filled it when I converted to iTunes 12, I can’t do it now! Same thing with Year. I can make the List View show a Year column, but if it wasn’t previously filled it, I can’t figure out how to add it. Clicking in the blank under the Year column doesn’t highlight it to be filled in and Get Info view won’t offer Year as a Field (it’s not listed under the Add Field drop down menu at the bottom of Get Info window either). I even tried going to a book with everything filled in and choosing Always Show Current Fields from the Add Field drop down, hoping it would allow those fields on all the books, to no avail. It feels like Apple is restricting our ability to manipulate the Metadata in our libraries so that they don't best function how us users have set them up. First iBooks and now Audiobooks in iTunes. Any suggestions?
what exactly are you trying to do? What does the purchase history in iTunes have to do with getting Snow Leopard? What do you mean by "don't want to re-purchase OS all over again to get back to Snow Leopard"?
-
How can I get Measurement Studio out of Evaluation Mode in Windows XP
I have a licensed Measurement Studio version 7.1. for Visual Studio 6. I have been using this no problem on a Windows 2000 computer. I installed this on my WindowsXP computer and it installs all the VB libraries put not the C++ libraries. I message pops up stating that I need Service Pack3 for WindowsXP. First of all, I don't think service pack 3 for Windows XP exists yet. Luckily, I have been able to still use all my DataSocket components. I believe Datasockets are part of Measurement Stuidio. I notice that CWgraph has evaluation mode on the graph and I get a popup message in VB6 stating I'm using Measurement Studio in evaluation mode.
Hello,
The service pack in question is not for Windows XP. The Measurement Studio installer required the VC++ 6 service pack 3 or higher. I know that Microsoft has a service pack 6 for Visual C++ 6, and this is what you should install to get the C++ libraries on your machine.
There is a tool on the CD that is in the ActiveXLicenseFixer folder that you can run to fix up the license. If you have a valid license on the machine it will correct any licenseing issues.
-Jeff
NI -
How can I get the sum of fields in group
example:
fieldA fieldB
2 30 group1
2 10
5 12 group2
5 14
5 9 group3
8 1
8 9
the values of fieldA in a group are the same.
each group i want to calculate fieldA only once: 258
how can i do this and display the sum at the first page of the report?Please re-post if this is still an issue to the Business Objects Integration Kits - SAP Forum or purchase a case and have a dedicated support engineer work with you directly
-
How can i get the additional text fields in the ALV methods
Hi all,
I have 2 different layouts in the same screen, here i am using the 2 custom containers,for each container having the method called SET_TABLE_FOR_FIRST_DISPLAY, in this i have used the Title through the gridtitle field, now i need to display some more texts under the title OR in the top of the layouts.
Please suggest me.
Thanks
GiridharHi,
check this code, here i developed using splitter container, and implemented top of page event. check it. and i documented it also.
REPORT ZTEST1234_ALV_TOP MESSAGE-ID ZZ .
DATA: G_GRID TYPE REF TO CL_GUI_ALV_GRID.
DATA: L_VALID TYPE C,
V_FLAG,
V_DATA_CHANGE,
V_ROW TYPE LVC_S_ROW,
V_COLUMN TYPE LVC_S_COL,
V_ROW_NUM TYPE LVC_S_ROID.
DATA: IT_ROW_NO TYPE LVC_T_ROID,
X_ROW_NO TYPE LVC_S_ROID.
DATA:BEGIN OF ITAB OCCURS 0,
VBELN LIKE LIKP-VBELN,
POSNR LIKE LIPS-POSNR,
CELLCOLOR TYPE LVC_T_SCOL, "required for color
DROP(10),
END OF ITAB.
"The Below Definitions Must.....
DATA:
* Reference to document
DG_DYNDOC_ID TYPE REF TO CL_DD_DOCUMENT,
* Reference to split container
DG_SPLITTER TYPE REF TO CL_GUI_SPLITTER_CONTAINER,
* Reference to grid container
DG_PARENT_GRID TYPE REF TO CL_GUI_CONTAINER,
* Reference to html container
DG_HTML_CNTRL TYPE REF TO CL_GUI_HTML_VIEWER,
* Reference to html container
DG_PARENT_HTML TYPE REF TO CL_GUI_CONTAINER.
"up to here
* CLASS lcl_event_handler DEFINITION
CLASS LCL_EVENT_HANDLER DEFINITION .
PUBLIC SECTION .
METHODS:
**Hot spot Handler
HANDLE_HOTSPOT_CLICK FOR EVENT HOTSPOT_CLICK OF CL_GUI_ALV_GRID
IMPORTING E_ROW_ID E_COLUMN_ID ES_ROW_NO,
**Double Click Handler
HANDLE_DOUBLE_CLICK FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID
IMPORTING E_ROW E_COLUMN ES_ROW_NO,
TOP_OF_PAGE FOR EVENT TOP_OF_PAGE "event handler
OF CL_GUI_ALV_GRID
IMPORTING E_DYNDOC_ID.
* END_OF_LIST FOR EVENT end_of_list "event handler
* OF CL_GUI_ALV_GRID
* IMPORTING E_DYNDOC_ID.
ENDCLASS. "lcl_event_handler DEFINITION
* CLASS lcl_event_handler IMPLEMENTATION
CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
*Handle Hotspot Click
METHOD HANDLE_HOTSPOT_CLICK .
CLEAR: V_ROW,V_COLUMN,V_ROW_NUM.
V_ROW = E_ROW_ID.
V_COLUMN = E_COLUMN_ID.
V_ROW_NUM = ES_ROW_NO.
* MESSAGE I000 WITH V_ROW 'clicked'.
CLEAR IT_ROW_NO[].
X_ROW_NO-ROW_ID = V_ROW.
APPEND X_ROW_NO TO IT_ROW_NO .
CALL METHOD G_GRID->SET_SELECTED_ROWS
EXPORTING
IT_ROW_NO = IT_ROW_NO.
ENDMETHOD. "lcl_event_handler
*Handle Double Click
METHOD HANDLE_DOUBLE_CLICK.
CLEAR: V_ROW,V_COLUMN,V_ROW_NUM.
V_ROW = E_ROW.
V_COLUMN = E_COLUMN.
V_ROW_NUM = ES_ROW_NO.
IF E_COLUMN = 'VBELN'.
SET PARAMETER ID 'VL' FIELD ITAB-VBELN.
CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.
ENDIF.
IF E_COLUMN = 'POSNR'.
SET PARAMETER ID 'VL' FIELD ITAB-VBELN.
CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN."
ENDIF.
ENDMETHOD. "handle_double_click
* METHOD END_OF_LIST. "implementation
** Top-of-page event
* PERFORM EVENT_TOP_OF_PAGE USING DG_DYNDOC_ID.
* ENDMETHOD. "top_of_page
METHOD TOP_OF_PAGE. "implementation
* Top-of-page event
PERFORM EVENT_TOP_OF_PAGE USING DG_DYNDOC_ID.
ENDMETHOD. "top_of_page
ENDCLASS. "LCL_EVENT_HANDLER IMPLEMENTATION
*& Global Definitions
DATA: G_CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,"Container1
G_HANDLER TYPE REF TO LCL_EVENT_HANDLER. "handler
DATA: OK_CODE LIKE SY-UCOMM,
SAVE_OK LIKE SY-UCOMM,
G_CONTAINER1 TYPE SCRFNAME VALUE 'TEST',
GS_LAYOUT TYPE LVC_S_LAYO.
data: v_lines type i.
data: v_line(3) type c.
*- Fieldcatalog for First and second Report
DATA: IT_FIELDCAT TYPE LVC_T_FCAT,
X_FIELDCAT TYPE LVC_S_FCAT,
LS_VARI TYPE DISVARIANT.
* START-OF_SELECTION
START-OF-SELECTION.
SELECT VBELN
POSNR
FROM LIPS
UP TO 20 ROWS
INTO CORRESPONDING FIELDS OF TABLE ITAB.
describe table itab lines v_lines.
END-OF-SELECTION.
IF NOT ITAB[] IS INITIAL.
CALL SCREEN 100.
ELSE.
MESSAGE I002 WITH 'NO DATA FOR THE SELECTION'(004).
ENDIF.
*& Form CREATE_AND_INIT_ALV
* text
FORM CREATE_AND_INIT_ALV .
DATA: LT_EXCLUDE TYPE UI_FUNCTIONS.
"attention.....from here
"split your container here...into two parts
"create the container
CREATE OBJECT G_CUSTOM_CONTAINER
EXPORTING CONTAINER_NAME = G_CONTAINER1.
"this is for top of page
* Create TOP-Document
CREATE OBJECT DG_DYNDOC_ID
EXPORTING STYLE = 'ALV_GRID'.
* Create Splitter for custom_container
CREATE OBJECT DG_SPLITTER
EXPORTING PARENT = G_CUSTOM_CONTAINER
ROWS = 2
COLUMNS = 1.
* Split the custom_container to two containers and move the reference
* to receiving containers g_parent_html and g_parent_grid
"i am allocating the space for grid and top of page
CALL METHOD DG_SPLITTER->GET_CONTAINER
EXPORTING
ROW = 1
COLUMN = 1
RECEIVING
CONTAINER = DG_PARENT_HTML.
CALL METHOD DG_SPLITTER->GET_CONTAINER
EXPORTING
ROW = 2
COLUMN = 1
RECEIVING
CONTAINER = DG_PARENT_GRID.
* CALL METHOD DG_SPLITTER->GET_CONTAINER
* EXPORTING
* ROW = 2
* COLUMN = 1
* RECEIVING
* CONTAINER = DG_PARENT_HTML.
* CALL METHOD DG_SPLITTER->GET_CONTAINER
* EXPORTING
* ROW = 1
* COLUMN = 1
* RECEIVING
* CONTAINER = DG_PARENT_GRID.
"you can set the height of it
* Set height for g_parent_html
CALL METHOD DG_SPLITTER->SET_ROW_HEIGHT
EXPORTING
ID = 1
HEIGHT = 5.
"from here as usual..you need to specify parent as splitter part
"which we alloted for grid
CREATE OBJECT G_GRID
EXPORTING I_PARENT = DG_PARENT_GRID.
* Set a titlebar for the grid control
CLEAR GS_LAYOUT.
GS_LAYOUT-GRID_TITLE = TEXT-003.
GS_LAYOUT-ZEBRA = SPACE.
GS_LAYOUT-CWIDTH_OPT = 'X'.
GS_LAYOUT-NO_ROWMARK = 'X'.
GS_LAYOUT-CTAB_FNAME = 'CELLCOLOR'.
CALL METHOD G_GRID->REGISTER_EDIT_EVENT
EXPORTING
I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_ENTER.
CREATE OBJECT G_HANDLER.
SET HANDLER G_HANDLER->HANDLE_DOUBLE_CLICK FOR G_GRID.
SET HANDLER G_HANDLER->HANDLE_HOTSPOT_CLICK FOR G_GRID.
* SET HANDLER G_HANDLER->END_OF_LIST FOR G_GRID.
SET HANDLER G_HANDLER->TOP_OF_PAGE FOR G_GRID.
DATA: LS_CELLCOLOR TYPE LVC_S_SCOL. "required for color
DATA: L_INDEX TYPE SY-TABIX.
"Here i am changing the color of line 1,5,10...
"so you can change the color of font conditionally
LOOP AT ITAB.
L_INDEX = SY-TABIX.
IF L_INDEX = 1 OR L_INDEX = 5 OR L_INDEX = 10.
LS_CELLCOLOR-FNAME = 'VBELN'.
LS_CELLCOLOR-COLOR-COL = '6'.
LS_CELLCOLOR-COLOR-INT = '0'.
LS_CELLCOLOR-COLOR-INV = '1'.
APPEND LS_CELLCOLOR TO ITAB-CELLCOLOR.
MODIFY ITAB INDEX L_INDEX TRANSPORTING CELLCOLOR.
LS_CELLCOLOR-FNAME = 'POSNR'.
LS_CELLCOLOR-COLOR-COL = '6'.
LS_CELLCOLOR-COLOR-INT = '0'.
LS_CELLCOLOR-COLOR-INV = '1'.
APPEND LS_CELLCOLOR TO ITAB-CELLCOLOR.
MODIFY ITAB INDEX L_INDEX TRANSPORTING CELLCOLOR.
ENDIF.
ENDLOOP.
* setting focus for created grid control
CALL METHOD CL_GUI_CONTROL=>SET_FOCUS
EXPORTING
CONTROL = G_GRID.
* Build fieldcat and set editable for date and reason code
* edit enabled. Assign a handle for the dropdown listbox.
PERFORM BUILD_FIELDCAT.
PERFORM SET_DRDN_TABLE.
* Optionally restrict generic functions to 'change only'.
* (The user shall not be able to add new lines).
PERFORM EXCLUDE_TB_FUNCTIONS CHANGING LT_EXCLUDE.
**Vaiant to save the layout
LS_VARI-REPORT = SY-REPID.
LS_VARI-HANDLE = SPACE.
LS_VARI-LOG_GROUP = SPACE.
LS_VARI-USERNAME = SPACE.
LS_VARI-VARIANT = SPACE.
LS_VARI-TEXT = SPACE.
LS_VARI-DEPENDVARS = SPACE.
**Calling the Method for ALV output
CALL METHOD G_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IT_TOOLBAR_EXCLUDING = LT_EXCLUDE
IS_VARIANT = LS_VARI
IS_LAYOUT = GS_LAYOUT
I_SAVE = 'A'
CHANGING
IT_FIELDCATALOG = IT_FIELDCAT
IT_OUTTAB = ITAB[].
"do these..{
* Initializing document
CALL METHOD DG_DYNDOC_ID->INITIALIZE_DOCUMENT.
* Processing events
CALL METHOD G_GRID->LIST_PROCESSING_EVENTS
EXPORTING
I_EVENT_NAME = 'TOP_OF_PAGE'
I_DYNDOC_ID = DG_DYNDOC_ID.
"end }
* Set editable cells to ready for input initially
CALL METHOD G_GRID->SET_READY_FOR_INPUT
EXPORTING
I_READY_FOR_INPUT = 1.
ENDFORM. "CREATE_AND_INIT_ALV
*& Form EXCLUDE_TB_FUNCTIONS
* text
* -->PT_EXCLUDE text
FORM EXCLUDE_TB_FUNCTIONS CHANGING PT_EXCLUDE TYPE UI_FUNCTIONS.
* Only allow to change data not to create new entries (exclude
* generic functions).
DATA LS_EXCLUDE TYPE UI_FUNC.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_COPY_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_DELETE_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_APPEND_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_INSERT_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_MOVE_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_COPY.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_CUT.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_PASTE.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_PASTE_NEW_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_UNDO.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
ENDFORM. " EXCLUDE_TB_FUNCTIONS
*& Form build_fieldcat
* Fieldcatalog
FORM BUILD_FIELDCAT .
DATA: L_POS TYPE I.
L_POS = L_POS + 1.
X_FIELDCAT-SCRTEXT_M = 'Delivery'(024).
X_FIELDCAT-FIELDNAME = 'VBELN'.
X_FIELDCAT-TABNAME = 'IT_FINAL'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-NO_ZERO = 'X'.
X_FIELDCAT-OUTPUTLEN = '10'.
X_FIELDCAT-HOTSPOT = 'X'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.
X_FIELDCAT-SCRTEXT_M = 'Item'(025).
X_FIELDCAT-FIELDNAME = 'POSNR'.
X_FIELDCAT-TABNAME = 'IT_FINAL'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-OUTPUTLEN = '5'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.
X_FIELDCAT-SCRTEXT_M = 'Drop'(025).
X_FIELDCAT-FIELDNAME = 'DROP'.
X_FIELDCAT-TABNAME = 'IT_FINAL'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-OUTPUTLEN = '5'.
X_FIELDCAT-EDIT = 'X'.
X_FIELDCAT-DRDN_HNDL = '1'.
X_FIELDCAT-DRDN_ALIAS = 'X'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
ENDFORM. " build_fieldcat
*& Module STATUS_0100 OUTPUT
* text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'MAIN100'.
SET TITLEBAR 'MAIN100'.
IF G_CUSTOM_CONTAINER IS INITIAL.
**Initializing the grid and calling the fm to Display the O/P
PERFORM CREATE_AND_INIT_ALV.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form SET_DRDN_TABLE
* text
FORM SET_DRDN_TABLE.
DATA:LT_DRAL TYPE LVC_T_DRAL,
LS_DRAL TYPE LVC_S_DRAL.
LOOP AT ITAB .
* First listbox (handle '1').
IF SY-INDEX = 1.
LS_DRAL-HANDLE = '1'.
LS_DRAL-VALUE = ' '.
LS_DRAL-INT_VALUE = ' '.
ELSE.
LS_DRAL-HANDLE = '1'.
LS_DRAL-VALUE = ITAB-POSNR.
LS_DRAL-INT_VALUE = ITAB-POSNR.
ENDIF.
APPEND LS_DRAL TO LT_DRAL.
ENDLOOP.
**Setting the Drop down table for Reason Code
CALL METHOD G_GRID->SET_DROP_DOWN_TABLE
EXPORTING
IT_DROP_DOWN_ALIAS = LT_DRAL.
ENDFORM. " set_drdn_table
*& Form EVENT_TOP_OF_PAGE
* text
* -->DG_DYNDOC_ID text
FORM EVENT_TOP_OF_PAGE USING DG_DYNDOC_ID TYPE REF TO CL_DD_DOCUMENT.
"this is more clear.....check it
"first add text, then pass it to comentry write fm
DATA : DL_TEXT(255) TYPE C. "Text
* Populating header to top-of-page
CALL METHOD DG_DYNDOC_ID->ADD_TEXT
EXPORTING
TEXT = 'Test Report'
SAP_STYLE = CL_DD_AREA=>HEADING.
* Add new-line
CALL METHOD DG_DYNDOC_ID->NEW_LINE.
CLEAR : DL_TEXT.
* Move program ID
CONCATENATE 'Program Name :' SY-REPID
INTO DL_TEXT SEPARATED BY SPACE.
* Add Program Name to Document
PERFORM ADD_TEXT USING DL_TEXT.
* Add new-line
CALL METHOD DG_DYNDOC_ID->NEW_LINE.
CLEAR : DL_TEXT.
* Move User ID
CONCATENATE 'User ID :' SY-UNAME INTO DL_TEXT SEPARATED BY SPACE
* Add User ID to Document
PERFORM ADD_TEXT USING DL_TEXT.
* Add new-line
CALL METHOD DG_DYNDOC_ID->NEW_LINE.
CLEAR : DL_TEXT.
* Move count (no of records).
move v_lines to v_line.
CONCATENATE 'No of records :' v_line INTO DL_TEXT SEPARATED BY SPACE.
* Add Client to Document
PERFORM ADD_TEXT USING DL_TEXT.
* Add new-line
CALL METHOD DG_DYNDOC_ID->NEW_LINE.
CLEAR : DL_TEXT.
* Move date
WRITE SY-DATUM TO DL_TEXT.
CONCATENATE 'Date :' DL_TEXT INTO DL_TEXT SEPARATED BY SPACE.
* Add Date to Document
PERFORM ADD_TEXT USING DL_TEXT.
* Add new-line
CALL METHOD DG_DYNDOC_ID->NEW_LINE.
CLEAR : DL_TEXT.
* Move time
WRITE SY-UZEIT TO DL_TEXT.
CONCATENATE 'Time :' DL_TEXT INTO DL_TEXT SEPARATED BY SPACE.
* Add Time to Document
PERFORM ADD_TEXT USING DL_TEXT.
* Add new-line
CALL METHOD DG_DYNDOC_ID->NEW_LINE.
* Populating data to html control
PERFORM HTML.
ENDFORM. " EVENT_TOP_OF_PAGE
*& Form ADD_TEXT
* To add Text
FORM ADD_TEXT USING P_TEXT TYPE SDYDO_TEXT_ELEMENT.
* Adding text
CALL METHOD DG_DYNDOC_ID->ADD_TEXT
EXPORTING
TEXT = P_TEXT
SAP_EMPHASIS = CL_DD_AREA=>HEADING.
ENDFORM. " ADD_TEXT
*& Form HTML
* text
FORM HTML.
DATA : DL_LENGTH TYPE I, " Length
DL_BACKGROUND_ID TYPE SDYDO_KEY VALUE SPACE. " Background_id
* Creating html control
IF DG_HTML_CNTRL IS INITIAL.
CREATE OBJECT DG_HTML_CNTRL
EXPORTING
PARENT = DG_PARENT_HTML.
ENDIF.
* Reuse_alv_grid_commentary_set
CALL FUNCTION 'REUSE_ALV_GRID_COMMENTARY_SET'
EXPORTING
DOCUMENT = DG_DYNDOC_ID
BOTTOM = SPACE
IMPORTING
LENGTH = DL_LENGTH.
* Get TOP->HTML_TABLE ready
CALL METHOD DG_DYNDOC_ID->MERGE_DOCUMENT.
* Set wallpaper
CALL METHOD DG_DYNDOC_ID->SET_DOCUMENT_BACKGROUND
EXPORTING
PICTURE_ID = DL_BACKGROUND_ID.
* Connect TOP document to HTML-Control
DG_DYNDOC_ID->HTML_CONTROL = DG_HTML_CNTRL.
* Display TOP document
CALL METHOD DG_DYNDOC_ID->DISPLAY_DOCUMENT
EXPORTING
REUSE_CONTROL = 'X'
PARENT = DG_PARENT_HTML
EXCEPTIONS
HTML_DISPLAY_ERROR = 1.
IF SY-SUBRC NE 0.
MESSAGE I999 WITH 'Error in displaying top-of-page'(036).
ENDIF.
ENDFORM. " HTML
Regards
vijay -
Using a thermocouple, how do I get measurements with reference to time?
I have a thermocouple wired to an XY graph but when I run the application the Y-axis takes the data but does not move along the X-axis, with reference to time, while plotting each new data point. This is to say that I have a completely vertical plot of points for different temperatures a time=0 or x=0.
It sounds like you're not correctly updating the array of x values that contain the time. Unless your acquisition time is not constant, then it's usually easier to use a graph or chart for plotting something versus time. It's pretty automatic then instead of having to do some coding. Could you explain in more detail how you're creating the x axis values or maybe attach the program.
-
How do you get different check box fields to display based upon a list box selection?
I am a relative newbie with LifeCycle Designer ES using v.8.2.1 to create interactive forms to replace manual hardcopies. I am working on a form that has a few pull down list boxes. I want different check box fields to display based upon the selection of an item from one of the pull down lists.
Any guidance on the best way to accomplish this would be greatly appreciated.Hi,
Here is a sample with script in the change event of the dropdown. You may want to clear previous checkbox choices once the subform is hidden.
It is good to group objects in a subform - that way you only need to hide the subform and not each object in turn.
Good luck,
Niall -
My entire music collection was recently deleted on accident. It was my fault (and partially my external harddrive's ridiculously touchy USB cord's fault), but anyways I was able to use an undelete software to get the files back. Some are gone, some are somehow warped into each other, e.g., a folk song, audio-wise, is now replaced with half of a death metal song. I'm trying to fix all that up right now, but my problem is that I can only see album art in the main part of iTunes, right next to the song titles displayed. iTunes refuses to display the art in the bottom left-hand corner, where I think it usually shows what the cursor is locked on at a given time. I'm sorry for not elaborating a sentence or two back, I've also lost about half of my album art in iTunes, so that's why I'm adding it back.
The weird thing is, album art that was retained after the deletion fiasco does show up in both areas. It's just album art that I add right now that doesn't work. And it can't just be because the files are corrupted or something, because they are editable and play fine, and the same thing happened with a file I just redownloaded and then imported. That file should be perfectly OK.
Can anyone tell me if there's a reason for album art to not display in the bottom left-hand corner of iTunes while I have certain files selected?
Thanks
p.s. one more thing, it's not like the Currently Selected box in that corner is hidden, it's in plain view which is why the blank space is so bothersome.I am having a similar problem - my iPod Touch (2nd gen., 32GB, iOS 4.1) was recognized by iTunes on my 24" iMac (Intel, Late 2006) after I had updated it about 1-2 weeks ago (Software Update) to 10.2.2 (the iMac has OS X 10.5.8 on it). I had to take my iMac to a local WiFi spot to do the updating, because I don't have Internet at home currently (can't find anyone who provides just affordable DSL if you don't have your landline via AT&T).
Today I went to sync my iPod Touch with the iMac (I had updated some apps and bought one new one using the iPT through local WiFi spot). However, iTunes did not see ANY devices at all(!). I tried connecting the iPod Touch first, restarting iTunes and then re-connecting the iPT - nothing helps. The iPod screen turns on just like when charging, but no sign of syncing.
I'm wondering how applicable the article that you listed would be, or is there a comparable article for iPod Touches with 10.5.8? (I'm getting very fed up with what seems to be the standard Apple partyline of "Just buy a new iPod/Mac/get new software....blah, blah, blah" -Apple, what about those of us who consider it wasteful and unnecessary to buy new hardware or software every few years, just to get a helpful and NON-condescending reply from your support people? (/rant off)) -
How do I get a copy of the free trial of Aperture 3?
I think I'm ready to try Aperture 3, but I'm not sure how to get a free trial of the program. Could someone let me know?
Here is a link to the Aperture Trial 3.1:
Download the Aperture 3.1 Trial.
Regards
Léonie
Maybe you are looking for
-
PDS Attachment Opening Error in ECC6
Hello, We are having problem with below report sending PDF Email Attachment.I'm able to send emails, but the PDF file wont open. I'm getting a message "Adobe reader could not attachement the file has been damaged".This report works in our
-
SSL Config for SAP webgui service of ABAP
Hi Gurus, We have a duel stack system, details are as follows: ECC 6.0 SR2 ABAP Stack 11 Java Stack 13 we want to access the webgui via internet and for this we have configured the webdispatcher which is behid the firewall. we had created the ccr and
-
Here's the message I get: "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: file:///Applications/Firefox.app/Contents/MacOS/components/n
-
I am an illustrator. I create illustrations on my iMac in Photoshop. I want to transfer my illustration files, as jpegs, onto my iPad so that I have a portfolio and can showcase my work when I visit clients. Can anyone help. Thank you!
-
Dear All, Here I want ti create one Organisation Unit. But When I am creating the same no request no is generating and also not able to save the same. Please guide. Thanks & Regards