How to increase intensity od an image
hello
I used a XY graph and saved by jpeg format but in black and white. I used write to jpeg palette. Graph 's one of the property node options is image depth. If we set this by 1 we get b&w picture with major axxis is only visible. how to change the depth of the picture.minor axis is not visible in by setting of 1 in depth of image.
how to visible the minor axis of the XY graph
please help me
"Thanks with regards "
by
..........Gireesh..........
Hi Giresh,
pick the coloring tool (called "brush") and color your graph as you like (and need). You could make x axis markers black and use white as graph's background color. After you have finished that "art work" you can also print your results in BW
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Similar Messages
-
i'm using iphone 5 but its camera is not properly working. all the images i'm clicking are of dimension 600X800 and the size of the image is just 60-70 kb. now please tell me how to increase the dimension of images and its size.
''rojere [[#question-1055991|said]]''
<blockquote>
i try to keep my thumb palms off the mouse pad when i am typing but every now and then my screen resizes larger or smaller until i take my left palm off the keyboard base its only when my left palm is resting on the base next to the touch pad. i type pretty fast so it gets annoying and yes it also jumps screens or reverts back to previous message and i have to choose ctrl z to undo and get back to my message i was typing... it also switches tabs on me as well... not sure why my palm being on the left of the keypad on the base should effect anything but it does after a while. and i have to stop what i am doing...and go to the firefox menu and change the screen size back down to 100% sometimes it goes up to 200-300 other times it goes down to 70-80% i find it annoying i i wish there was a way to turn off the screen resize in the setup panel. if its just left to be 100% i am happy with that... i don't need it to be bigger or smaller... there should be a way to LOCK it down... i understand that there are people out there with eye problems and needs to have the screen size increase using the + or - but there should be a lock so it just stays no matter what is happening on my keypad or touch pad or base of the pad... that screen size will not increase or decrease. unless i turn off the lock... perhaps this is something they can implement in the next version or do a quick update of the browser
</blockquote>
sorry that is all greek to me thanks for attempting to explain what you were trying to explain sorry i just not tech person to be able to understand or where to begin ... have good day and thanks for again trying -
Contact Sheet X v2.1 - how to increase space between caption & images?
Contact Sheet X v2.1 has been working very well. But I can't find a way to increase the spacing between the captions and the images. They're practically touching. From time to time I need to move elements of the proof sheet. The dialog box for Contact Sheet X v2.1 doesn't appear to have anything to control the distance between caption and image. Does anyone have a solution? Using Photoshop CC, Mac OSX 10.9.5. Thank you.
Somehow setting width="400" did not change anything. I also tried:
mx|ColumnChart { columnWidthRatio: 0.8; width: 1000; columnWidth: 1000; }
to no avail.
Anyhow, I've reduced my columnWidthRatio to 0.8 though as you suggested. It looks better, but I'd still like some more space between the columns.
Thanks!
--Dwayne -
How to Increase Number of Images from 500 in a LR3 Flash Gallery
I noticed people asking (and I myself needed to know) so I thought I would explain how to increase the number of images (from 500) in a Flash gallery in Light Room 3
1. I exported a Flash gallery from LR3 and it capped the gallery at 500 images.
2. Because I had roughly 600 images to put in the gallery, I exported the remaining 100 as a separate flash gallery. (Going ahead and exporting 2 galleries will save you headache in a later step)
3. I combined all the images folders (copying "large" images from one folder to the "large" folder in the gallery I want to upload to my site, etc.) so that the files are all in one location.
4. The next step is to increase the gallery maximum in the code. Access (from the exported gallery) GALLERYNAME/resources/mediaGroupData/group.xml and open the group.xml file. The line of code you will be changing is <media totalGallerySize="500"> Change the 500 to the number of photos you want in the gallery.
5. This next step isn't too complicated, but it is specific. You know have to tell that flash file to look for the images you just transferred to the images folder. The best way to do this is to open the group.xml file for the second gallery you exported. Copy all the code beginning with <item> to the bottom of the page. This code tells the gallery to look at your specific images (Note: you'll notice within each item the names of your image file)
6. Return to the (other) group.xml file of the gallery you plan to use (with all your images in it). Scroll to the bottom and erase the lines </media> and </mediagroup> becaue you will repaste them in a moment. Next, paste the copied code there.
7. Save & check your browser!
I hope this was clear...please comment back and I'll clarify if needed.
ro500 images in a single gallery is too many - think of the poor viewer!
But if you must create Flash galeries with more than 500 images, you're better off editing the underlying engine - here's one link showing how to do it -
How to increase the speed of Zoom on TIFF image
Hi everyone,
i m doing zooming operation on tiff image.
when i applied zoom in operation on image which have properties
Bit per sample =1
Image Length = 2200 Pixel
Image Width = 1700 Pixel
Resolution(x) = 200 dpi
Resolution(y) = 200 dpi
then it require 2 sec.
then i apply the same code with tiff image which have properties like,
Bit per sample =1
Image Length = 3300 Pixel
Image Width = 2500 Pixel
Resolution(x) = 300 dpi
Resolution(y) = 300 dpi
then it require 9 to 10 sec.
my code is:
RenderedImage src= oriRndImage[selectedButtonIndex];(orirndImage is Rendered
Iamge)
//Transfer Current RenderedImage object into BufferedImage object
Raster ra= currRimage.getData(); //it take time.
DataBuffer db = ra.getDataBuffer();
SampleModel sa = ra.getSampleModel();
ColorModel cm = currRimage.getColorModel();
final BufferedImage currImage = new
BufferedImage(cm,Raster.createWritableRaster(sa,db,null), false, new
Hashtable());
//Create new Bufferred Image
BufferedImage bi = new BufferedImage(zoomW,zoomH, BufferedImage.TYPE_INT_RGB);
Graphics2D g = bi.createGraphics();
double scaleW = (double)(zoomW)/(double)(prev_width);
double scaleH = (double)(zoomH)/(double)(prev_height);
transAtZoom = AffineTransform.getScaleInstance(scaleW,scaleH);
g.drawRenderedImage(src, transAtZoom);
can any one plz suggest me the way ,how to increase the speed. of Zoom effect?
how to handle this problem?
thnxs..Are you using NI Vision IMAQ AVI Read Frame or anther method to read the AVI file?
Matthew Fitzsimons
Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison -
Hi There, I have just bought a new 2013 iMac.
Spec: 3.4 GHz intel core i5, 16GB 1600 MHz DDR3 Memory , NVIDIA GeForce GTX 775M 2048 MB Graphics with OS X 10.9.4.
How can I create a 'disk image' from a windows 7 professional 64bit installation DVD using a windows laptop with windows 7 Operating system on? I want to transfer this 'disk image' (ISO?) to a USB ready for installing windows onto my 2013 iMac using bootcamp? I want to use bootcamp from a USB as I have no disk drive for the installation DVD on my iMac. I hope all this is clear.
Thank you. JoeYes, that's correct, at least not directly. You can create a blank disk image, copy the file to the mounted disk image, then burn the image to a CD/DVD.
Open Disk Utility and select Blank Disk Image from the New menu. Provide a name, Save location, and select the image size from the drop down menu. Leave Encryptions at None and Format as read/write. Click on the Create button.
After the image file appears the "removable" disk should be automatically mounted. If not double-click on it to mount it. A "removable" disk icon will appear. Drag the file you want to place on the disk image to the "removable" disk icon. The eject the "removable" disk icon. Now select the disk image file in the DU left side list and click on the Burn icon in the DU toolbar. Be sure to have a blank disc ready.
The above is actually the "long" way to do this. A much easier way is to simply insert a blank CD or DVD into the optical drive. The Finder will pop up a dialog asking what to do. Select the option to mount on the Desktop. You will now see a disc icon on the Desktop. Drag the file you want to burn to the CD/DVD, right-click or CTRL-click on the disc icon and select Burn from the contextual menu.
Why reward points?(Quoted from Discussions Terms of Use.)
The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values. -
How do I make a still image (photo) fit the length of the music? I record music and want to convert the tracks to a video file with a still image of my business logo in the background. On windows movie maker you could just select "fit to music" but this program isnt as easy to figure out! Any help?
Double-click on the still image in the project timeline to open the Inspector. In the Inspector, adjust the duration by typing in a new duration to match the length of your music. I think the limit for a still image is 10 minutes. If you need more than this, simply drag the image into the timeline again then adjust its duration. The two images will play seamlessly (no gap will be visible).
See this iMovie Help topic:
http://help.apple.com/imovie/#mov3a883915
You can achieve more precision when entering durations by changing a preference in the menu item iMovie Preferences. Check (tick) the preference for Show Time As HH:MM:SS:frames. This will enable you to enter the duration of stills down to the frame level, rather than full seconds (NTSC is 30 frames per second; PAL is 25 fps). When entering times, type a colon between each time segment, such as 2:50:15, which represents 2 minutes 50 seconds and 15 frames. For 5 seconds 20 frames you would enter 5:20 and so forth.
Note that the music will only run to the length of the video in the timeline (in your case, the still images). So, after increasing the stills duration you will need to drag the end of the music track as far as required. The stills can be dragged inwards to reduce the duration if necessary.
John
Message was edited by: John Cogdell - added Note -
How to increase your battery health - anyone with similar experiences?
this is my very own self made instruction of "how to increase your battery health"
it is the procedure how i have done it serverall times on my powerbook g4 12".
my stats: 374 cycles, health 86% (3790 of 4400mAh)
age of my mac: 57month (battery bit newer)
**if you to try this: it is on your own risk!**
**this may not be suitable for mac newbies**
**be sure to read this twice before you do it once!**
you will need:
-a pocket lamp or comparable light (to see anything on your sreen when it is dark --> light from the back through apple logo)
-coconutbattery (coconut-flavour.com/coconutbattery) or comparable programm to track your battery information in realtime
-activity monitor
-cool enviroment (to ensure your fans don't have to work that much)
-some time and patience
the intructions:
step1: load your mac until the orange light turns green
step2: disconnect the power adapter
step3: use your mac until 15-25% battery life (track this information in your menu bar)
step4: slow down your activities. the order of the following actions depend on your usage of your mac:
__close programms that use lots of cpu/gpu to ensure the fans slow down to 0rpm (!!)
__turn off everything that needs battery power: airport / bluetooth / speakers / etc.
__eject dvd or cd
__close all programms with important data
__eject idisk / .dmg files in your finder (this is not only a matter of data security)
__dissonnected from peripherals such as ethernet / internet / mouse / keyboard
__use lower brightness level
__open activity monitor to ensure that your hard drive activity is very low, may be you need to close more active programms, close activity monitor when hard drive activity is very low
__open system preferences >> energy saver preferences >> choose longest battery life
when your are ready with those actions go on and ensure you are able to connect to power adapter with your mac quickly (be able to charge - don't do it yet!)
step5: be patient. now it should take some time until your battery level goes down to 3-5%
now there should be no programm running.
do not open any programm now!
do not have a look at your dashboard!
now your mac should be really quiet:
-no fans (0rpm!)
-nearly no hard drive activity!!
-->> if this not the case break go on with step 11&12, try again in a week or two
-->> if you are ready go on with step6
step6: open coconutbattery und use the lowest brightness level
play with your trackpad to ensure your screensaver won't start. waste time until you are at 1-2% battery life.
step7: take your lamp and spot through the transperent apple logo, position your coconut battery window somehow that you can see the current battery charge und the maxium battery charge in the spot of your lamp through the apple logo.
step8: go from the lowest brightness level to the level under the lowest brightness level (a dark screen)
step9: watch your current battery charge carefully und keep on playing with your trackpad to ensure your screensaver won't start.
step10: there is kind of battery buffer made of approximately 1% (once when my "current battery charge" was 3624mAh and this kind of buffer was at 36mAh)
to empty this kind of battery buffer takes much longer as you might expect!
when your current battery charge turns under this kind of battery buffer, your maximum battery charge should change. hopefully it is higher or stays the same. when it is lower now: i'm sorry - i have warned you. may be you have to go through this 'how to' more carefully!?
step11: plug in your power adapter before the battery is cero!
step12: load until the orange light turns green
step13: if it was helpful do not repeat it more than once a week, better once a month
-->webcal://www.apple.com/batteries/images/notebook_icalreminder.ics
(via: http://www.apple.com/batteries/notebooks.html)
anyone with similar experiences about increasing battery health!?
(yes, i'm sorry for my poor english, i've tried my best)Me too! My battery lasts for 10 minutes. It is awful and I am on my 4th power adapter since they keep breaking too.
From coconut battery: Maximum battery charge 310mah, original 4400, age of mac 45 months, 140 cycles.
From system profile:
Battery Installed: Yes
First low level warning: No
Full Charge Capacity (mAh): 310
Remaining Capacity (mAh): 213
Amperage (mA): -1205
Voltage (mV): 11557
Cycle Count: 140
I went to an apple authorized retailer and they said nothing I can do if it is out of warranty.. is this true? -
How to increase the size of sort_area_size
How to increase the size of sort_area_size and what size should be according to the PROD database
Thanksuser10869960 wrote:
Hi,
Many Thanks Charles
Oracle does not recommend using the SORT_AREA_SIZE parameter unless the instance is configured with the shared server option. Oracle recommends that you enable automatic sizing of SQL working areas by setting PGA_AGGREGATE_TARGET instead. SORT_AREA_SIZE is retained for backward compatibility."
--How can i know the instance is configured with the shared server option or not?This might be a tough question to answer. A shared server configuration may be enabled, but the clients may still connect using dedicated sessions, in which case PGA_AGGREGATE_TARGET would still apply.
From
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2088.htm
V$SESSION includes a column named SERVER which will contain one of the following for each of the sessions: DEDICATED, SHARED, PSEUDO, or NONE. As a quick check, you could query V$SESSION to see if any sessions are connected using a shared server connection.
From:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm
There are several parameters which are used to configure shared server support, as well as several views to monitor shared server.
As Robert mentioned, when the WORKAREA_SIZE_POLICY is set to AUTO, the SORT_AREA_SIZE setting is not used, unless a shared server configuration is in use.
--What default value is WORKAREA_SIZE_POLICY and SORT_AREA_SIZE ?From:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams157.htm
"Setting PGA_AGGREGATE_TARGET to a nonzero value has the effect of automatically setting the WORKAREA_SIZE_POLICY parameter to AUTO. This means that SQL working areas used by memory-intensive SQL operators (such as sort, group-by, hash-join, bitmap merge, and bitmap create) will be automatically sized. A nonzero value for this parameter is the default since, unless you specify otherwise, Oracle sets it to 20% of the SGA or 10 MB, whichever is greater."
Actually I am facing performence issue since long time till now i did not get the solution even i have raised SRs but i could not.When the issue occur system seems hang.what i monitored whenever hdisk0 and hdisk1 use 100% the issue occur.
Regards,
SajidWhen you say that you have had a performance issue for a long time, is it a performance problem faced by a single SQL statement, a single user, a single application, or everything on the server? If you are able to identify a single user, or SQL statement that is experiencing poor performance, I suggest starting with a 10046 trace at level 8 (wait events) or level 12 (wait events and bind variables) to determine why the execution appears to be slow. If you have not yet determined a specific user or SQL statement that is experiencing performance problems, you might start with either a Statspack Report or an AWR Report (AWR requires a separate license).
If you believe that temp tablespace usage may be a contributing factor to the performance problem, you may want to periodically run this query, which will indicate currently in use temp tablespace usage:
{code}
SELECT /*+ ORDERED */
TU.USERNAME,
S.SID,
S.SERIAL#,
S.SQL_ID,
S.SQL_ADDRESS,
TU.SEGTYPE,
TU.EXTENTS,
TU.BLOCKS,
SQL.SQL_TEXT
FROM
V$TEMPSEG_USAGE TU,
V$SESSION S,
V$SQL SQL
WHERE
TU.SESSION_ADDR=S.SADDR
AND TU.SESSION_NUM=S.SERIAL#
AND S.SQL_ID=SQL.SQL_ID
AND S.SQL_ADDRESS=SQL.ADDRESS;
{code}
The SID and SERIAL# returned by the above could then be used to enable a 10046 trace for a session. The SQL_ID (and CHILD_NUMBER from V$SESSION in recent releases) could be used with DBMS_XPLAN.DISPLAY_CURSOR to return the execution plan for the SQL statement.
You could also take a look in V$SQL_WORKAREA_ACTIVE to determine which, if any, SQL statement are resulting in single-pass, or multi-pass executions, which both access the temp tablespace.
Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
How to increase the size (Length and width) of check box
Hi All,
I have to increase the size of ( width and length) of check box, I have revised to check box topic in dev guide but didnt find any clue, i have also tried to use CCStyle class but that is also not working, I would appreciate if some can help me out on this. Thanks in advance , let me know if any clarification required.
Thanks
PratapHi Pratap ,
I honestly don't know how to increase the size
But i am giving you an alternate solution : we can create two Images with check box type 1 ) with checked
2 ) with unchecked . ( you can create image of any size ) and get them displayed on OAF screen dynamically using switcher case .
Dynamically displaying image will give the illusion of check box being checked and unchecked .
keep this image moved to following media directory
eg : /oraapp/mfgtestcomn/java/oracle/apps/media .
Implement the switcher case , add the fire action to this Image Column , create a transient attribute and attach to this
column . Depending on the value returned by transient attribute display the image on the column .
Let me know if its not clear .
Keerthi -
Increase dpi of a image (Chart , process )
Hi All,
I am getting the generated image of Charts , processes etc from Java(JFree Charts) to Flex.
But my requirement is to increase dpi of those charts in flex.
How to do that ...is there any solution for that??
thanks in Advance..Hi All ,
I am getting the generated image of Charts , processes etc from Java(JFree Charts) to Flex.
But my requirement is to increase dpi of those charts in flex or Increase resolution of charts and process diagrams..
My code is like ::
private var image:Image;
image = new Image();
image.source = "Some url .. which generates chart in Java" ;
At this point .. after getting image in Flex .. i want to increase resolution of that image in AS3 .. i Heard about JPGEncoder
How to do that ...is there any solution for that??
Thanks.. -
Feathering a layer's edge - increasing intensity closer to the edge
I am working on a project where I need to make an office chair appear to have eyes. Specifically, dog eyes.
I'm having trouble getting the edges of my eyes to look like they are part of the chair, which got me wondering. Is there a way to feather my edges with increased intensity closer to the edge? To be specific, I'd like to start the feather 100px inside the border with 60% opacity, all the way to the edge (border) with 0% opacity. I tried doing this manually a couple of ways and it just didn't look uniform. I'll post the photos I am using below, in case that might help. Please let me know if any additional information might help as well.
I have also tried with the eyes seperated (without the middle area), but I still have the same issues.
I found this image that shows what I'm trying to do.Two eye layers - and a small piece of copied chair on a layer above the bottom one. The small blue bit is set to Hue, so it colors the bottom eye layer. Mask out all but the eyes on the top layer, and leave just enough of the bottom (blue) eye layer to give some definition.
-
Windows7-how to increase page width & reduce font size
Compared to internet explorer, viewing each page on Firefox is difficult. Titles and images are overlapping and limited page width leaves blank columns on both sides, resulting in overlapping vertical text on the right side. Is there a way to 'Landscape' every page and also how do I reduce font size
See
how to increase the font size in outlook mail on iphone 4s and ios 6.0.1 operating system? -
How big can you create an Image?
Hi,
I am trying to create a scrollable horizontal tree view using ScrollPane with a child Canvas.
If I draw straight on to the canvas I get that awful flickering. If I create an offscreen Image and draw to it, if the image is bigger than 10000 by 10000 I get an out of memory exception. eg buffImage = this.createImage(10000, 10000);
Is there a way of increasing the JVM memory for IE5 - or is this not the question I should be asking? Should I be asking how do I create big offscreen Images?
Any help is much appreciated
Rich WNo need to increase the offscreen image!
Let the offscreen image be the size of the the ScrollPane.
Then, when painting to the offscreen image, adjust everything you paint for x, and y (leting the top left corner of the image not be the top left corner of the tree, but the top left corner of the viewable part of the tree). And when you scroll you paint your offscreen image to the viewable part of the canvas (not at 0,0 but at some x,y according to current scroll position). You dont need a huge Image for painting on nonviewable parts of the canvas. Even if you could get the resources needed, it would be a waste !
Ragnvald Barth
Software engineer -
In a tree how to increase length of node_key ?
Hi All,
While creating a tree structure, how do we increase the size og the node_key?
I want the node_key with the same length as MATNR (i.e. >12 characters)
How to achieve this ?
Regards,
AshishHello Ashish
I am not yet sure about how to fill the List Header column yet at least the sample report ZUS_SDN_LIST_TREE_MODEL_DEMO_1 gives you a flavour of how tree models work.
*& Report ZUS_SDN_LIST_TREE_MODEL_DEMO_1
*& Thread: In a tree how to increase length of node_key ?
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1148884"></a>
*& Flow logic of screen '0100' (contains no screen elements):
** PROCESS BEFORE OUTPUT.
** MODULE STATUS_0100.
** PROCESS AFTER INPUT.
** MODULE USER_COMMAND_0100.
REPORT zus_sdn_list_tree_model_demo_1.
CLASS cl_gui_column_tree DEFINITION LOAD.
CLASS cl_gui_cfw DEFINITION LOAD.
TYPE-POOLS: abap, shlp.
DATA: gt_node_table TYPE treemlnota,
gt_item_table TYPE treemlitac.
TYPES: BEGIN OF ty_s_key.
TYPES: nkey TYPE lvc_nkey.
TYPES: parent_key TYPE lvc_nkey.
TYPES: END OF ty_s_key.
TYPES: BEGIN OF ty_s_outtab.
INCLUDE TYPE knvv AS data.
INCLUDE TYPE ty_s_key AS key.
TYPES: END OF ty_s_outtab.
TYPES: ty_t_outtab TYPE STANDARD TABLE OF ty_s_outtab
WITH DEFAULT KEY.
DATA: gt_outtab TYPE ty_t_outtab.
DATA:
gd_okcode TYPE ui_func,
gd_repid TYPE syst-repid,
gt_fcat TYPE lvc_t_fcat,
gs_layout TYPE lvc_s_layo,
gs_variant TYPE disvariant,
go_docking TYPE REF TO cl_gui_docking_container,
go_listtree TYPE REF TO cl_list_tree_model.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_item_double_click
FOR EVENT item_double_click OF cl_list_tree_model
IMPORTING node_key
item_name,
handle_checkbox_change
FOR EVENT checkbox_change OF cl_list_tree_model
IMPORTING node_key
item_name
checked.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_item_double_click.
MESSAGE 'Event=Double-Click on Item' TYPE 'I'.
CALL TRANSACTION 'VA03'.
ENDMETHOD. "handle_item_double_click
METHOD handle_checkbox_change.
DATA: ls_outtab TYPE ty_s_outtab.
BREAK-POINT.
** IF ( fieldname = 'LOEVM' ).
** CALL METHOD go_tree->get_outtab_line
** EXPORTING
** i_node_key = node_key
** IMPORTING
** e_outtab_line = ls_outtab
*** e_node_text =
*** et_item_layout =
*** es_node_layout =
** EXCEPTIONS
** node_not_found = 1
** OTHERS = 2.
** IF sy-subrc <> 0.
*** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*** WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
** ENDIF.
** ls_outtab-loevm = checked.
** MODIFY gt_outtab FROM ls_outtab
** TRANSPORTING loevm
** WHERE ( nkey = node_key ).
** ENDIF.
" Trigger PAI
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'REFRESH'
* IMPORTING
* rc =
ENDMETHOD. "handle_checkbox_change
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
PERFORM init_controls.
gd_repid = syst-repid.
CALL METHOD go_docking->link
EXPORTING
repid = gd_repid
dynnr = '0100'
* container =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
lifetime_dynpro_dynpro_link = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL SCREEN '0100'.
** NOTE: no elements on screen
** PROCESS BEFORE OUTPUT.
** MODULE STATUS_0100.
** PROCESS AFTER INPUT.
** MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'.
* SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
TRANSLATE gd_okcode TO UPPER CASE.
CASE gd_okcode.
WHEN 'BACK' OR
'EXIT' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN 'REFRESH'.
** CALL METHOD go_tree->update_calculations
*** EXPORTING
*** no_frontend_update =
WHEN 'SELECTED_NODES'.
PERFORM get_selected_nodes.
WHEN 'DISPLAY'.
PERFORM display.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form init_controls
* text
* --> p1 text
* <-- p2 text
FORM init_controls .
* define local data
DATA: ls_hierarchy_header TYPE treemhhdr,
ls_list_header TYPE treemlhdr.
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ls_hierarchy_header-heading = 'Hierarchy Column'.
ls_hierarchy_header-width = 70.
ls_list_header-heading = 'List Column'.
* create tree control
CREATE OBJECT go_listtree
EXPORTING
node_selection_mode = cl_gui_column_tree=>node_sel_mode_single
* hide_selection =
item_selection = 'X'
with_headers = 'X'
hierarchy_header = ls_hierarchy_header
list_header = ls_list_header
EXCEPTIONS
illegal_node_selection_mode = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
** PERFORM add_nodes_and_items.
CALL METHOD go_listtree->create_tree_control
EXPORTING
* lifetime =
parent = go_docking
* shellstyle =
* IMPORTING
* control =
EXCEPTIONS
lifetime_error = 1
cntl_system_error = 2
create_error = 3
failed = 4
tree_control_already_created = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* create hierarchy
PERFORM create_hierarchy.
* register events
PERFORM register_events.
ENDFORM. " init_controls
*& Form BUILD_FIELDCATALOG
* text
* --> p1 text
* <-- p2 text
FORM build_fieldcatalog .
DATA: ls_fcat TYPE lvc_s_fcat.
REFRESH: gt_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
* I_BUFFER_ACTIVE =
i_structure_name = 'KNVV'
* I_CLIENT_NEVER_DISPLAY = 'X'
i_bypassing_buffer = 'X'
* I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DELETE gt_fcat FROM 10.
ls_fcat-tech = 'X'.
MODIFY gt_fcat FROM ls_fcat
TRANSPORTING tech
WHERE ( key = 'X' ).
ls_fcat-edit = 'X'.
MODIFY gt_fcat FROM ls_fcat
TRANSPORTING edit
WHERE ( key NE 'X' ).
READ TABLE gt_fcat INTO ls_fcat
WITH KEY fieldname = 'LOEVM'.
IF ( syst-subrc = 0 ).
ls_fcat-checkbox = 'X'.
ls_fcat-edit = 'X'.
** ls_fcat-hotspot = 'X'.
MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
ENDIF.
READ TABLE gt_fcat INTO ls_fcat
WITH KEY fieldname = 'ERNAM'.
IF ( syst-subrc = 0 ).
ls_fcat-hotspot = 'X'.
MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
ENDIF.
ENDFORM. " BUILD_FIELDCATALOG
*& Form SET_LAYOUT_AND_VARIANT
* text
* --> p1 text
* <-- p2 text
FORM set_layout_and_variant .
CLEAR: gs_layout,
gs_variant.
gs_variant-report = syst-repid.
gs_variant-handle = 'TREE'.
ENDFORM. " SET_LAYOUT_AND_VARIANT
*& Form create_hierarchy
* text
* --> p1 text
* <-- p2 text
FORM create_hierarchy .
DATA: ls_knvv TYPE sflight,
ld_idx TYPE i,
ls_outtab TYPE ty_s_outtab,
lt_outtab TYPE ty_t_outtab.
* get data
SELECT * FROM knvv INTO CORRESPONDING FIELDS OF TABLE lt_outtab
UP TO 20 ROWS . "#EC CI_NOWHERE
SORT lt_outtab BY kunnr vkorg.
* add data to tree
DATA: ld_root_key TYPE tm_nodekey,
ld_kunnr_key TYPE tm_nodekey,
ld_vkorg_key TYPE tm_nodekey,
ld_last_key TYPE tm_nodekey.
ld_idx = 0.
LOOP AT lt_outtab INTO ls_outtab.
AT FIRST.
PERFORM add_root_line USING ls_outtab-data
CHANGING ld_root_key.
ADD 1 TO ld_idx.
ls_outtab-nkey = ld_root_key.
ls_outtab-parent_key = space.
MODIFY gt_outtab FROM ls_outtab INDEX ld_idx
TRANSPORTING key.
ENDAT.
ON CHANGE OF ls_outtab-kunnr.
PERFORM add_customer_line USING ls_outtab-data
ld_root_key
CHANGING ld_kunnr_key.
ADD 1 TO ld_idx.
ls_outtab-nkey = ld_kunnr_key.
ls_outtab-parent_key = ld_root_key.
MODIFY gt_outtab FROM ls_outtab INDEX ld_idx
TRANSPORTING key.
ENDON.
ON CHANGE OF ls_outtab-vkorg.
PERFORM add_salesorg_line USING ls_outtab-data
ld_kunnr_key
CHANGING ld_vkorg_key.
ADD 1 TO ld_idx.
ls_outtab-nkey = ld_vkorg_key.
ls_outtab-parent_key = ld_kunnr_key.
MODIFY gt_outtab FROM ls_outtab INDEX ld_idx
TRANSPORTING key.
ENDON.
PERFORM add_complete_line USING ls_outtab-data
ld_vkorg_key
CHANGING ld_last_key.
ADD 1 TO ld_idx.
ls_outtab-nkey = ld_last_key.
ls_outtab-parent_key = ld_vkorg_key.
MODIFY gt_outtab FROM ls_outtab INDEX ld_idx
TRANSPORTING key.
ENDLOOP.
* calculate totals
** CALL METHOD go_tree->update_calculations.
* this method must be called to send the data to the frontend
** CALL METHOD go_tree->frontend_update.
ENDFORM. " create_hierarchy
*& Form add_customer_line
* add hierarchy-level 1 to tree
* -->P_LS_SFLIGHT sflight
* -->P_RELEATKEY relatkey
* <-->p_node_key new node-key
FORM add_root_line USING us_data TYPE ty_s_outtab-data
ud_relat_key TYPE tm_nodekey
CHANGING cd_node_key TYPE tm_nodekey.
DATA: l_node_text TYPE lvc_value,
ls_data TYPE ty_s_outtab-data.
* set item-layout
DATA: lt_item_table TYPE treemlitab,
ls_item TYPE treemlitem.
** ls_item-t_image = '@3Q@'. " icon_overview
ls_item-item_name = '1'.
ls_item-class = cl_list_tree_model=>item_class_text.
ls_item-style = cl_list_tree_model=>style_intensifd_critical.
ls_item-text = 'Overview: Sales Areas'.
ls_item-length = 25.
APPEND ls_item TO lt_item_table.
cd_node_key = 'ROOT'.
* add node
CALL METHOD go_listtree->add_node
EXPORTING
node_key = cd_node_key
* relative_node_key =
* relationship =
isfolder = 'X'
* hidden =
* disabled =
* style =
* no_branch =
* expander =
* image =
* expanded_image =
* drag_drop_id =
* last_hitem =
* user_object =
* items_incomplete =
item_table = lt_item_table
EXCEPTIONS
node_key_exists = 1
node_key_empty = 2
illegal_relationship = 3
relative_node_not_found = 4
error_in_item_table = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " add_root_line
*& Form add_customer_line
* add hierarchy-level 1 to tree
* -->P_LS_SFLIGHT sflight
* -->P_RELEATKEY relatkey
* <-->p_node_key new node-key
FORM add_customer_line USING us_data TYPE ty_s_outtab-data
ud_relat_key TYPE tm_nodekey
CHANGING cd_node_key TYPE tm_nodekey.
DATA: l_node_text TYPE lvc_value,
ls_data TYPE ty_s_outtab-data.
* set item-layout
DATA: lt_item_table TYPE treemlitab,
ls_item TYPE treemlitem.
ls_item-t_image = '@A0@'. " icon_customer
ls_item-item_name = '1'.
ls_item-class = cl_list_tree_model=>item_class_text.
ls_item-style = cl_list_tree_model=>style_intensifd_critical.
ls_item-text = us_data-kunnr.
ls_item-length = 15.
APPEND ls_item TO lt_item_table.
cd_node_key = us_data-kunnr.
* add node
CALL METHOD go_listtree->add_node
EXPORTING
node_key = cd_node_key
relative_node_key = ud_relat_key
relationship = cl_list_tree_model=>relat_last_child
isfolder = 'X'
* hidden =
* disabled =
* style =
* no_branch =
* expander =
* image =
* expanded_image =
* drag_drop_id =
* last_hitem =
* user_object =
* items_incomplete =
item_table = lt_item_table
EXCEPTIONS
node_key_exists = 1
node_key_empty = 2
illegal_relationship = 3
relative_node_not_found = 4
error_in_item_table = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " add_customer_line
*& Form add_salesorg_line
* add hierarchy-level 1 to tree
* -->P_LS_SFLIGHT sflight
* -->P_RELEATKEY relatkey
* <-->p_node_key new node-key
FORM add_salesorg_line USING us_data TYPE ty_s_outtab-data
ud_relat_key TYPE tm_nodekey
CHANGING cd_node_key TYPE tm_nodekey.
DATA: l_node_text TYPE lvc_value,
ls_data TYPE ty_s_outtab-data.
* set item-layout
DATA: lt_item_table TYPE treemlitab,
ls_item TYPE treemlitem.
** ls_item-t_image = '@A0@'. " icon_customer
ls_item-item_name = '1'.
ls_item-class = cl_list_tree_model=>item_class_text.
** ls_item-style = cl_list_tree_model=>style_intensifd_critical.
CONCATENATE 'Sales Organisation:' us_data-vkorg
INTO ls_item-text
SEPARATED BY space.
ls_item-length = 25.
APPEND ls_item TO lt_item_table.
CLEAR: ls_item.
ls_item-item_name = '2'.
ls_item-class = cl_list_tree_model=>item_class_text.
ls_item-text = us_data-vtweg.
ls_item-length = 5.
APPEND ls_item TO lt_item_table.
CLEAR: ls_item.
ls_item-item_name = '3'.
ls_item-class = cl_list_tree_model=>item_class_text.
ls_item-text = us_data-spart.
ls_item-length = 3.
APPEND ls_item TO lt_item_table.
CONCATENATE ud_relat_key us_data-vkorg
INTO cd_node_key
SEPARATED BY ' : '. " > 12 char
* add node
CALL METHOD go_listtree->add_node
EXPORTING
node_key = cd_node_key
relative_node_key = ud_relat_key
relationship = cl_list_tree_model=>relat_last_child
isfolder = 'X'
* hidden =
* disabled =
* style =
* no_branch =
* expander =
* image =
* expanded_image =
* drag_drop_id =
* last_hitem =
* user_object =
* items_incomplete =
item_table = lt_item_table
EXCEPTIONS
node_key_exists = 1
node_key_empty = 2
illegal_relationship = 3
relative_node_not_found = 4
error_in_item_table = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " add_salesorg_line
*& Form add_cmplete_line
* add hierarchy-level 3 to tree
* -->P_LS_SFLIGHT sflight
* -->P_RELEATKEY relatkey
* <-->p_node_key new node-key
FORM add_complete_line USING us_data TYPE ty_s_outtab-data
ud_relat_key TYPE tm_nodekey
CHANGING cd_node_key TYPE tm_nodekey.
** DATA: l_node_text TYPE lvc_value,
** ls_data TYPE ty_s_outtab-data.
*** set item-layout
** DATA: lt_item_table TYPE treemlitac,
** ls_item TYPE treemliten.
** ls_item-node_key = ud_relat_key.
**** ls_item-t_image = '@A0@'. " icon_customer
** ls_item-item_name = '3'.
** ls_item-class = cl_list_tree_model=>item_class_text.
**** ls_item-style = cl_list_tree_model=>style_intensifd_critical.
** CALL METHOD cl_abap_container_utilities=>fill_container_c
** EXPORTING
** im_value = us_data
** IMPORTING
** ex_container = ls_item-text
** EXCEPTIONS
** illegal_parameter_type = 1
** others = 2.
** IF sy-subrc <> 0.
*** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*** WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
** ENDIF.
** ls_item-length = 100.
** APPEND ls_item TO lt_item_table.
** CALL METHOD go_listtree->add_items
** EXPORTING
** item_table = lt_item_table
** EXCEPTIONS
** error_in_item_table = 1
** OTHERS = 2.
** IF sy-subrc <> 0.
*** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*** WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
** ENDIF.
ENDFORM. " add_complete_line
*& Form register_events
* text
* --> p1 text
* <-- p2 text
FORM register_events.
* define the events which will be passed to the backend
DATA: lt_events TYPE cntl_simple_events,
l_event TYPE cntl_simple_event.
* define the events which will be passed to the backend
* l_event-eventid = cl_list_tree_model=>eventid_expand_no_children.
* APPEND l_event TO lt_events.
l_event-eventid = cl_list_tree_model=>eventid_checkbox_change.
APPEND l_event TO lt_events.
** l_event-eventid = cl_gui_column_tree=>eventid_header_context_men_req.
** APPEND l_event TO lt_events.
** l_event-eventid = cl_gui_column_tree=>eventid_node_context_menu_req.
** APPEND l_event TO lt_events.
** l_event-eventid = cl_gui_column_tree=>eventid_item_context_menu_req.
** APPEND l_event TO lt_events.
** l_event-eventid = cl_gui_column_tree=>eventid_header_click.
** APPEND l_event TO lt_events.
** l_event-eventid = cl_gui_column_tree=>eventid_item_keypress.
** APPEND l_event TO lt_events.
l_event-eventid = cl_list_tree_model=>eventid_item_double_click.
APPEND l_event TO lt_events.
CALL METHOD go_listtree->set_registered_events
EXPORTING
events = lt_events
EXCEPTIONS
illegal_event_combination = 1
unknown_event = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* set Handler
SET HANDLER:
lcl_eventhandler=>handle_item_double_click FOR go_listtree,
lcl_eventhandler=>handle_checkbox_change FOR go_listtree.
ENDFORM. " register_events
*& Form DISPLAY
* text
* --> p1 text
* <-- p2 text
FORM display .
DATA: ls_outtab TYPE ty_s_outtab,
ls_line TYPE ty_s_outtab,
ld_msg TYPE bapi_msg.
BREAK-POINT.
LOOP AT gt_outtab INTO ls_outtab
WHERE ( loevm = 'X' ).
CONCATENATE 'Checkbox:'
ls_outtab-kunnr
ls_outtab-vkorg
ls_outtab-vtweg
ls_outtab-spart
ls_outtab-loevm
INTO ld_msg SEPARATED BY space.
MESSAGE ld_msg TYPE 'I'.
ENDLOOP.
IF ( syst-subrc NE 0 ).
MESSAGE 'No marked checkboxes found' TYPE 'I'.
ENDIF.
PERFORM get_selected_nodes.
ENDFORM. " DISPLAY
*& Form GET_SELECTED_NODES
* text
* --> p1 text
* <-- p2 text
FORM get_selected_nodes.
* define local data
DATA: ld_msg TYPE bapi_msg,
lt_nodes TYPE lvc_t_nkey,
ls_outtab TYPE ty_s_outtab,
ld_nkey TYPE lvc_nkey,
lt_items TYPE lvc_t_layi,
ls_item TYPE lvc_s_layi.
** CALL METHOD go_tree->get_selected_nodes
** CHANGING
** ct_selected_nodes = lt_nodes
** EXCEPTIONS
** cntl_system_error = 1
** dp_error = 2
** failed = 3
** OTHERS = 4.
** IF sy-subrc <> 0.
*** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*** WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
** ENDIF.
** CHECK ( lt_nodes IS NOT INITIAL ).
** BREAK-POINT.
** LOOP AT lt_nodes INTO ld_nkey.
** CALL METHOD go_tree->get_outtab_line
** EXPORTING
** i_node_key = ld_nkey
** IMPORTING
** e_outtab_line = ls_outtab-data
*** e_node_text =
** et_item_layout = lt_items
*** es_node_layout =
** EXCEPTIONS
** node_not_found = 1
** OTHERS = 2.
** IF sy-subrc <> 0.
*** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*** WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
** ENDIF.
** LOOP AT lt_items INTO ls_item
** WHERE ( chosen = 'X' ).
** CONCATENATE 'Item:'
** ls_outtab-kunnr
** ls_outtab-vkorg
** ls_outtab-vtweg
** ls_outtab-spart
** ls_outtab-loevm
** INTO ld_msg SEPARATED BY space.
** MESSAGE ld_msg TYPE 'I'.
** ENDLOOP.
** ENDLOOP.
ENDFORM. " GET_SELECTED_NODES
Regards
Uwe
Maybe you are looking for
-
It won't even let me select the highest resolution it should offer, the option doesn't exist in the scroll menu. But the weirdest part about this is, if i mirror my mac screen onto the monitor, it gives me the option to view both screens at full 1920
-
Report of Payments made on WBS
Dear Sir, We want to get reports of payments made on different WBS CJIA, but the data is not coming. Is there any specific reason for that or is there any other report to get the same. Thanks in advance. Regards Mudit Gupta
-
F110 not usting XBLNR??
Hi all, I have a problem. When I execute automatic payment (F110) then the XBLENR field or the 'Reference' is not copyed to the reconciliation bank account. This results with inability to close the items automatically when the bank account statement
-
Same Material with different itemcatagory groups
We have 3rd party manufacturers that make product for company and sometimes they send the finished product back to company and other times they will drop ship it to one of our customers. this scenario we need to have the same material with different
-
My Powerbook has started rejecting anything that is relates to the aristotle.net domain. I can't get email nor get to any aristotle.net site. The rest of the Web seems to work fine. Just aristotle.net. Have I setup a block somewhere that I'm unaware