Dynamically display OVS or f4 help....? possible
Hello Friends,
I have a table which will have e.g "dropdownbyIndex" depending upon the value of dropdownByIndex, I want to display either OVS help or f4 help ? so user can search the value mark one row and values will be written next to the columns of dropdownbyindex column....
so my question is: ..........is it possible to popup/triger dynamically f4 help or ovs help ?
Regards,
Any ideas ??
Edited by: Shah H on Mar 24, 2009 3:09 PM
Have you tried the set_search_help method of the context node? or context info node, I don't remember.
Similar Messages
-
Hi All,
I have a few dynamic requirement regarding the portal help link.
I wanted to display the help content dynamically.
My scenario is like this.
If I am in page Google in the portal content area when i click Help I should be able to sdispaly about Google in a seperate window.
If I am in page yahoo in the portal content area when i click Help I should be able to sdispaly about yahoo in a seperate window.
By editing the default framwork page and giving the help url to my requirement I can give only one url under navigation.But my requirement is dynamic which will be depending on my page which I browse.
I also opened Headeriview.jsp from PCD folder and found the javascript method for displaying help.Is there any way where in i can pass the context of my page iview dynamically to the help function in headeriview.jsp.
Does Portal support this?
Helpful answers will be rewarded.
Regards,
B.NarayananHi Narayanan
Y dont u try with URL iviews..by passing links to that iview. i would strongly feel that..that is not the feasible solution ur going for...
Its just my suggestion
rgds
pradeep -
Hi,
I need to display 4 html tables which are constructed and populated with data from java. So i make 4 method calls and pass the out object to the methods, These methods populate the table with data and then display them using the out parameter. But even am makin the method calls sequentially all the tables are displayed on the screen only once the last method gets and displays its data. Is it possible to somehow tell the JSP to display my first table once it has the data, and then the next and so on.
Some sort of dynamic display {Once u r ready display it rather than wait for all the data to come up}
Thanks
deepakWill any of these methods help setContentLength(int len)
setBufferSize(int size) ,flushBuffer()
Also watz the type argument in setContentLength - Is it here length of the string
and setBufferSize - and here the number of bytes.
Thanks
deepak -
How to dynamically display .flv files in website
I'm using a JSP for my interface.?? In the webpage, I want to pass a java variable, which holds the url to the video that was retrieved from the database, to the flash player script to dynamically determine which video to play.?? For example, this code in the page will play a movie successfully:
<td><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','widt h','706','height','633','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_Co mponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video1_1&autoPlay=true&autoRewind= false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage',' http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','FLVPlayer_Progressive' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="706" height="633" id="FLVPlayer">
?????????????????????????????? <param name="movie" value="FLVPlayer_Progressive.swf" />
?????????????????????????????? <param name="salign" value="lt" />
?????????????????????????????? <param name="quality" value="high" />
?????????????????????????????? <param name="scale" value="noscale" />
?????????????????????????????? <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video1_1&autoPlay=tr ue&autoRewind=false" />
?????????????????????????????? <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video1_1&autoPla y=true&autoRewind=false" quality="high" scale="noscale" width="706" height="633" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />??????????????????????????
</object></noscript></td>
But this code will not play the movie successfully:
<td><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','widt h','706','height','633','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','<%= flashVars %>','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','FLVPlayer_Progressive' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="706" height="633" id="FLVPlayer">
?????????????????????????????? <param name="movie" value="FLVPlayer_Progressive.swf" />
?????????????????????????????? <param name="salign" value="lt" />
?????????????????????????????? <param name="quality" value="high" />
?????????????????????????????? <param name="scale" value="noscale" />
?????????????????????????????? <param name="FlashVars" value="<%= flashVars %>" />
?????????????????????????????? <embed src="FLVPlayer_Progressive.swf" flashvars="<%= flashVars %>" quality="high" scale="noscale" width="706" height="633" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />??????????????????????????
</object></noscript></td>
The only difference in the two is that in the second, I use a java variable to set the flash Variables. The variable I use is <%= flashVars %>?? which is equal to: &MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video2&autoPlay=false&autoRe wind=false
When I view the resulting page source code after building and running the site, The source code is exactly the same for both of them yet one works and one doesn't.?? Any help would be greatly appreciated!I've been searching google all day to figure this one out. I'm not simply trying to play a video, I can already do that... I'm retrieving the location of the video from the database and trying to pass it as an argument to the player, no different than if I was dynamically displaying an image or some text. For some reason I'm not able to do this.
-
Site won't display in IE, need help BAD...
Heya,
My website
http://www.firetree.us is not
displaying at all in IE7 (possibly IE6 too) but unfortunately I
don't have a machine I can test it in. I'm really in need of some
help because it works perfectly in Safari, FF PC & Mac but IE
doesn't displaying anything at all. I really need some support on
this one, thanks guys.> Thanks for pointing out the improperly closed script
attributes, I
> have
> been a little confused with when XHTML wants me to close
them like that
> versus
> />
Your usage is not XHTML vs HTML - it's just bad code.
<script> is always
paired with </script>. XHTML doesn't affect such tags.
It's only the self
closing tags that are affected by XHTML - <hr />,
<br />, etc.
> Unwise application of the onclick.... I know that's not
the way most
> people do it, but I don't understand why one would
include the <a> tag
> around
> the image element except to get the browser to turn the
mouse into a hand
> to
> signify it's a link... ?
That's why.
> don't ask why just an old habit I guess
Seems like a habit that is out of date to me!
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Spencer Hill" <[email protected]> wrote in
message
news:[email protected]...
> Hey Murray,
> Thanks for your reply. Because this project isn't
complete I assumed
> anyone helping would know that's why I haven't put the
Doctype, encoding
> etc...
> That's usually the last thing I do (don't ask why just
an old habit I
> guess :p)
> Thanks for pointing out the improperly closed script
attributes, I
> have
> been a little confused with when XHTML wants me to close
them like that
> versus
> /> but I didn't think to run the site through the
validator til after your
> post. So thanks!
>
> Unwise application of the onclick.... I know that's not
the way most
> people do it, but I don't understand why one would
include the <a> tag
> around
> the image element except to get the browser to turn the
mouse into a hand
> to
> signify it's a link... ?
>
> I think it was the improperly closed script tags that
broke it in IE.
> That was the only thing I changed before it stopped
displaying in it.
>
> Thanks man!
> -
Input field in display mode; but F4 help has to be avail
Hi,
i have a input field in my view and i want that one to be in display mode ( the intention is that i want to have the value to be filled from F4 help values only). I have set the read only set for the input field. I have tried all the cases of normal ddic help;OVS;Freely input help; context node info value set but no luck.
In the below forum message Re: how to provide f4 help to the read only input field i could see the input from Thomas that the Freely input help will be useful in this case;I tired this way too but no luck.
Can you please let me know do i missed any point ;your inputs are higly appreciated.
Thanks and Regards,
Satish A.hi,Satish A.
After check your requirement, i think you can use "Freely programmed Input help".You can search them in this forum or google, i think you will get some clue.
As a reply, i summarize this topic simply. Take one example.
Scenario:
F4-help component will be used for "F4". It displays all the data in table, and you can select one record, then the F4-help will be closed and the "CARRID" will be returned to the Read-only field in your main component.
F4-help-component
(1). You should implement one WD Component which implemented the WD interface "IWD_VALUE_HelP".
(2).In this component, you can add one "Interface event", for example, named "Select". And this event has one parameter "CARRID".
(3).In the table's OnSELECT event, you can use:
method ONACTIONSELECT_ROW .
data:
lo_Node type ref to If_Wd_Context_Node,
lo_Elem type ref to If_Wd_Context_Element,
ls_elem type wd_this->element_table,
lt_elem type wd_this->elements_table.
*1. get the Solution-list context node
lo_Node = wd_context->get_child_node( Name = 'TABLE' ).
*2. set the lead selection of table
lo_node->set_lead_selection( element = NEW_LEAD_SELECTION ).
*3. get the attribute value of selected row
NEW_LEAD_SELECTION->get_Static_Attributes(
importing
Static_Attributes = ls_elem ).
*4. Fire interface event:
"will return the CARRID parameter
WD_COMP_CONTROLLER->Fire_select_Evt(
CARRID = ls_elem-carrid ).
*5. close the F4 help
WD_COMP_CONTROLLER->F4_LISTENER->CLOSE_WINDOW( ).
endmethod.
In your main component:
(1). Use your F4-help component as used-component
(2). set your context attribute's input help mode as "Freely programmed". At the same time, input your component usage which is added in step 1.
(3). You should add one Event-handler for your F4-help component Interface event, for example, named "On_f4_help". you can use:
method ON_F4_HELP .
"This event handler will has one parameter named "CARRID" automatically
wd_context->set_attribute(
EXPORTING
name = 'IPFIELD'
value = CARRID
endmethod.
Hope it can help you a little.
Best wishes. -
I have to display the stock of store of the corresponding plant dynamically in ALV.
I am using the data from LIPS,LIKP,MARA,MARD table.The problem is how to display the stock dynamically?Hi,
Take the stock to be displayed dynamically into an internal table, the entries in internal table such that it depends on the selection made.
Check the following code it will give you a very good idea of how to proceed for your case.
DATA:BEGIN OF i_kschl OCCURS 0,
kschl LIKE komv-kschl,
END OF i_kschl.
i_kschl is the internal table where the dynamic columns areinted to bestored.
DATA: it_fldcat TYPE lvc_t_fcat.
PERFORM build_dyn_itab.
FORM build_dyn_itab.
DATA: new_table TYPE REF TO data,
new_line TYPE REF TO data,
wa_it_fldcat TYPE lvc_s_fcat.
COLUMN COUNT TO CREATE DYNAMIC INTERNAL TABLE **
DATA: v_colpos TYPE i,
v_colpos_new TYPE i.
LOADING THE DYNAMIC FIELD CATELOG TO BE PASSED **
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'VBELN'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'P_NAME1'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 35.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'KUNGR'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'FKART'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 4.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'BZIRK'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 6.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'PLTYP'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 2.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'ERNAM'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 12.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'NAME1'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 35.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'KVGRC'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 3.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'KVGRD'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 3.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'AUART'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 4.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'KWMENG'.
wa_it_fldcat-datatype = 'QUAN'.
wa_it_fldcat-intlen = 19.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'FKIMG'.
wa_it_fldcat-datatype = 'QUAN'.
wa_it_fldcat-intlen = 17.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'NONACC'.
wa_it_fldcat-datatype = 'QUAN'.
wa_it_fldcat-intlen = 19.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'BRGEW'.
wa_it_fldcat-datatype = 'QUAN'.
wa_it_fldcat-intlen = 19.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'KDGRP'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 2.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'POSNR'.
wa_it_fldcat-datatype = 'NUMC'.
wa_it_fldcat-intlen = 6.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'PRSDT'.
wa_it_fldcat-datatype = 'DATS'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'MVGR2'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 3.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'ZNODNV'.
wa_it_fldcat-datatype = 'CURR'.
wa_it_fldcat-intlen = 18.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'SOLD'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'BILL'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'SHIP'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'SHIPADDR'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 45.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'WAERK'.
wa_it_fldcat-datatype = 'CUKY'.
wa_it_fldcat-intlen = 5.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'FKDAT'.
wa_it_fldcat-datatype = 'DATS'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'AUBEL'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'ERDAT'.
wa_it_fldcat-datatype = 'DATS'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'XBLNR'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 16.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'MATNR'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 18.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'ZTERM'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 4.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'NTGEW'.
wa_it_fldcat-datatype = 'QUAN'.
wa_it_fldcat-intlen = 19.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'KZWI2'.
wa_it_fldcat-datatype = 'CURR'.
wa_it_fldcat-intlen = 18.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'NETWR'.
wa_it_fldcat-datatype = 'CURR'.
wa_it_fldcat-intlen = 21.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'HZTMS'.
wa_it_fldcat-datatype = 'CURR'.
wa_it_fldcat-intlen = 18.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'PRODH'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 18.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'KVGR5'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 3.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'VGBEL'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'INCO1'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 3.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'LNAME1'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 35.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'BOLNR'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 35.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'WADAT'.
wa_it_fldcat-datatype = 'DATS'.
wa_it_fldcat-intlen = 10.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'WAVWR'.
wa_it_fldcat-datatype = 'CURR'.
wa_it_fldcat-intlen = 18.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'ZDIS1'.
wa_it_fldcat-datatype = 'CURR'.
wa_it_fldcat-intlen = 21.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'ZTMS1'.
wa_it_fldcat-datatype = 'CURR'.
wa_it_fldcat-intlen = 21.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'ZNOD1'.
wa_it_fldcat-datatype = 'CURR'.
wa_it_fldcat-intlen = 21.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos = v_colpos + 1.
wa_it_fldcat-col_pos = v_colpos.
wa_it_fldcat-fieldname = 'FLAGK'.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 1.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
v_colpos_new = v_colpos.
CREATE DYNAMIC FIELD COLUMNS **
LOOP AT i_kschl.
v_colpos_new = v_colpos_new + 1.
wa_it_fldcat-col_pos = v_colpos_new.
wa_it_fldcat-fieldname = i_kschl-kschl.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 4.
APPEND wa_it_fldcat TO it_fldcat .
CLEAR wa_it_fldcat.
CLEAR i_kschl.
ENDLOOP.
METHOD USED TO OBTAIN DYNAMIC INTERNAL TABLE AS PER CATELOG **
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
I_STYLE_TABLE =
it_fieldcatalog = it_fldcat
IMPORTING
ep_table = new_table
E_STYLE_FNAME =
EXCEPTIONS
generate_subpool_dir_full = 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.
ASSIGN new_table->* TO <dyn_table>.
CREATE DATA new_line LIKE LINE OF <dyn_table>.
ASSIGN new_line->* TO <dyn_wa>.
ENDFORM.
The above process is to create the dynamic internal table **
ASSIGN COMPONENT 'PLTYP' OF STRUCTURE <dyn_wa> TO <fs2>.
<fs2> = wa_output_1-pltyp.
ASSIGN COMPONENT 'ERNAM' OF STRUCTURE <dyn_wa> TO <fs2>.
<fs2> = wa_output_1-ernam.
FORM build_condtyp.
FIELD-SYMBOLS: <fs1>.
LOOP AT i_kschl WHERE kschl = wa_output_1-kschl.
ASSIGN COMPONENT i_kschl-kschl OF STRUCTURE <dyn_wa> TO <fs1>.
<fs1> = wa_output_1-kwert.
ENDLOOP.
ENDFORM.
Th aboveprocess is to populate the contents under the dynamic column **
Reward if found help full.
Regards,
Rama Murthy.P -
Dynamically displaying multi parameters values
Hi,
I'm newbie to this framework and I have successfully
implemented some of the demos posted in this site. BTW, kudos to
all who contributed all those demos.
Well, I after trying most of the demos, I am trying to
implemented .... dynamically displaying content from the xml file
when users click on multiple choices. Let say, I have the check
boxes for the following option:
Subjects: [ ] Math [ ] Biology [ ] Computer Science and so
on.
So when the users click on these checkboxes, it will display
books related to the selected subject/s.
If anybody have implemented similar functionality, can you
please give me an idea/suggestion? Any help will be appericated.
Cheers,
njHi all,
I have been trying to implement "Multiple filter" (
http://labs.adobe.com/technologies/spry/samples/data_region/MultipleFiltersModeSample.html )
using more dymanic approach however, it is not working correctly.
Here is my code .... can you plz give any suggestion handling this
issue?
<?xml version="1.0" encoding="utf-8"?>
<books xmlns="
http://www.books.com/books">
<subjects>
<list>Math</list>
<list>Biology</list>
<list>Economices</list>
<list>English</list>
<list>Physices</list>
<list>History</list>
</subjects>
<book>
<title>Intro to Biology</title>
<subject>Biology</subject>
<desc>Introduction to Human Biology</desc>
</book>
<book>
<title>Intro to Geometry</title>
<subject>Math</subject>
<desc>Introduction to Elementry Geometry</desc>
</book>
<book>
<title>Calculus I</title>
<subject>Math</subject>
<desc>Introduction to Elementry Calculus</desc>
</book>
<book>
<title>Physices III</title>
<subject>Physices</subject>
<desc>Advanced physices, Newton's laws</desc>
</book>
<book>
<title>19th Century Americam History</title>
<subject>History</subject>
<desc>Introduction to 19th century American
History</desc>
</book>
<book>
<title>Intro to Biology II</title>
<subject>Biology</subject>
<desc>Introduction to Human Biology</desc>
</book>
<book>
<title>Intro to Biology III</title>
<subject>Biology</subject>
<desc>Introduction to Human Biology</desc>
</book>
<book>
<title>Intro to Biology IV</title>
<subject>Biology</subject>
<desc>Introduction to Human Biology</desc>
</book>
</books>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Testing</title>
<!--
Spry Framework
***************************************************** -->
<script type="text/javascript"
src="js/spry/xpath.js"></script>
<script type="text/javascript"
src="js/spry/SpryData.js"></script>
<script type="text/javascript"
src="js/spry/SpryDataExtensions.js"></script>
<script type="text/javascript">
<!--
var subjectname;
var dsSubjectFilter = new
Spry.Data.XMLDataSet("xml/books.xml", "/books/book", { subPaths:
"subject" });
var dsSubjectList = new
Spry.Data.XMLDataSet("xml/books.xml", "books/subjects, {subPaths:
"list", sortOnLoad: "list"});
function filterParameter(ds, row, index){return (row.subject
== subjectname)? row : null;};
function ToggleFilter(enable, filterParameter, name) {
//alert("name : " + name);
subjectname=name;
if(enable)
dsSubjectFilter.addFilter(filterParameter, true);
else
dsSubjectFilter.removeFilter(filterParameter, true);
dsSubjectFilter.setFilterMode("or", true);
//-->
</script>
<!-- ***************** END of Spry
*********************** -->
</head>
<body>
<div spry:state="ready">
<div spry:region="dsSubjectList">
<form action="">
<ul>
<h4>Subject</h4>
<li spry:repeat="dsSubjectList"> <input
type="checkbox" value="" onclick="ToggleFilter(this.checked,
filterParameter,
'{dsSubjectList::list}');"/>{dsSubjectList::list}</li>
</ul>
</form>
</div>
<div spry:region="dsSubjectFilter">
<p> Count = {dsMissionFilter::ds_RowCount}</p>
<div spry:repeat="dsSubjectFilter">
<h4>{dsSubjectFilter::ds_RowNumberPlus1}. {dsSubjectFilter::title}</h4>
<p> {dsSubjectFilter::subject}</p>
<p> {dsSubjectFilter::desc}</p>
</div>
</div>
</div> <!-- *** END of spry:state="ready"
*****-->
</body>
</html>
Basically, firstly it creates the checkboxes with the diff
subjects to select. Once we start selecting those subjects, it shld
start displaying the related books with titles, subject and
description. However, the "or" doesn't seems to work .... any
suggestion will be appericated.
Cheers,
nj -
Can I dynamically display a product showing the user's options
I'm a total Flash newbie so please use small words
My customer manufactures small aluminum products that can be
anodized in several colors. The products can have simple line
graphic artwork or user-specified text engraved into them with an
NC milling machine. If the user wants to add text he also selects
one of several possible fonts. The engraving can also be colored to
contrast with the body of the part.
My customer wants a application (Windows or Web) that can
dynamically display the product as the user makes his choices: i.e,
display an image of the product in the chosen color, then show it
engraved with the artwork and/or text. The text should be shown in
the correct font.
The products, colors, artwork and fonts are all known but the
user's text is obviously unpredictable, so it's impossible to
simply prepare photos of every possible combination. Can Flash (or
something else) programmatically generate and overlay text and
artwork on an image? Can it alter the colors or should I simply
have a photo of every product in every color?
Is this possible? Is Flash the appropriate technology?
ThanksSteve,
I am not sure if you have any software to start with, so I
dunno exactly what you need. You need an image editor, some sort of
html editor, and of course Flash. The easy answer is the Web
Premium version of CS3. It should have all you need. If you already
have some of those tools, then the main thing you need is Flash.
There are also some free alternatives out there from web creation
and image editing, but they don't integrate quite as well as having
all Adobe products.
Some good learning resources can be found at Lynda.com. It
has a ton of tutorials on programs that you would need to do this
including Photoshop and Flash. A subscription is a bit pricey, but
when you think that one book can be $50, being able to access so
many tutorials really seems like a good value. Also, there are some
good print book available there that you could use as a buying
guide. You'll need to get into ActionScripting with with this, so
look for a basic intro to Flash CS3, and then something regarding
getting started with ActionScript 3.
These forums are a good resource as well, but mainly when
you have specific questions. People can answer "Why does my text
disappear when I use a mask over it?" but it is harder to answer,
"I want to build a picture library, how do I do that?"
- B
- B -
Can I dynamically display Page title over a static header image?
Is there a way to Dynamically Display Page Title Text Over my static site Header Image? here is a link so you can see what I am talking about. http://www.bridgestoprosperity.org/See-Our-Work/afghanistan/afghanistan.htm where Afghanistan would be the text to be replaced automatically on each page. Please note, currently, I must create individual headers, insert the page title in photoshop, etc. I am hoping to figure out a way for all this to happen dynamically perhaps by calling the text from the page title info.
Thank you,
AllanHi, Allan,
I realize my suggestion is off your point, and you probably have already thought of some of this, hence your question... But, rather than going the dynamic route, Why not create a Header Image without a title on it and use it as a div background image? Replace this
<img src="/See-Our-Work/afghanistan/Images/header/afghanistan-header.jpg" name="topnavbar_r1_c1" width="779" height="114" border="0" alt="bridges to prosperity: afghanistan">
with the styled div, for instance:
<div id="header"><h2>Afghanistan</h2><h3>Bridges to Prosperity: USA</h3><div>
At this point, you can use a more generic image for the background, one that does not have "Afghanistan" embedded in it, and you may style the #header thus:
#header {
width: 779px;
height: 114px;
border: 0;
background-image: url(/See-Our-Work/Images/header/header.jpg;)/* for instance */
and the header Headline styles thus:
#header h2, #header h3 {
color: white;
text-align: right;
font-family: Arial, Helvetica, sans-serif;
Then you can place your html (<h2>, <h3> etc.) in the same div, only on the "surface".
Using the tags <h2> and <h3> will maintain their usefulness to Search Engines; as hiding them in images does not.
If you still wished to vary the header image, depending on the contents of the page, you can actually control all of this from the CSS file, if you add an id attribute to the <body> of each page.
For instance, for your example page, if you did this:
<body id="afghanistan">
You could then do this in your CSS file:
#header {
width: 779px;
height: 114px;
border: 0;
body#afghanistan #header {
background-image: url(/See-Our-Work/afghanistan/Images/header/afghanistan-header.jpg);
You could then proceed to have a different background image for each page. (Not your original intention, but now possible).
<body id="pakistan"> would use a CSS style declaration like:
body#pakistan #header {
background-image: url(...pakistan-header.jpg...etc.);
I am not aware of being able to pass content (other than background images) using CSS, so I would go into each page and put the Headline in html.
But if you were using multiple background images in the header div (one image for afghanistan, another for pakistan, in my example), you can use the same <body id="afghanistan"> for ALL pages about Afghanistan, and thus have the continuity of the same image for all. Likewise, you could id all pages about Pakistan <body id="pakistan">.
I hope this gives you some ideas...
Z -
Dynamically display the page numbers on forms
Hi,
I have 10 pages in a form with the common footer section/fap in all pages. I used the common footer section to maintain the consistent left and right footer (having State specific footer information) on all ten pages. But I would like to display the page number dynamically based on page number as specified below:
For example, for page 1, it should display the footer as Page 1A,for page 2 it should display as Page 1B, for page 3 it should display as Page 1C etc.,
Can anyone help me on this issue how can I dynamically display the page number based on the current page as per the above requirement.
Thanks,
Srini.
Edited by: 943696 on Jul 9, 2012 4:39 PM
Edited by: 943696 on Jul 9, 2012 4:44 PMIgnoring the fact that you have 10 pages that you want to label all as "page 1", assuming you have version 11.4 (? or higher) you might be able to do this.
Somewhere around that version the concept of "Print time" fields was introduced where you can define a field that will make a call-out to generate the value at the point in time when it tries to print.
You would name the field something like: ~DAL MyPageValue
Yes, with the tilde next to DAL and a space between DAL and the name of a script you want to execute that would do your calculation. As the previous reply mentions, you would have to keep track of your own page counter to know whether to append the 'A', 'B', 'C', etc. to the "Page 1" description you intend. -
Downloaded new version itunes to Windows 7, now receiving error while computer is booting Apple Sync Notifier.exe- Entry Point Not Found the procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite.dll., Help! How do I remove this message every time I start up Windows? Would it help to
re-install Itunes and what version??Refer to this thread - https://discussions.apple.com/message/15685210#15685210
Quick answer "copy the file SQLite3.dll from the C:\Program Files (x86)\Common Files\Apple\Apple Application Support folder to the C:\Program Files (x86)\Common Files\Apple\Mobile Device Support folder" -
Dynamically displaying a new region (row?) based on immediate user input
Whew, figuring out a title was almost as hard as trying to explain what I want to do!
Okay, a little background first.
My app has 178 main data fields, spread across about 35 tables. The users want to be able to search any and all data fields. So, I wrote a PL/SQL package that for each master record, loops through all of the child tables and creates (more or less) an XML file for each master record (which I store in a CLOB field). When any data in any table is changed, a trigger fires to re-update that CLOB field as well. I then used Oracle Text to create an index on the CLOB field, and now the users can search across all of the available information for each master record and get a list of which records contained what they were looking for.
So here's the first part of the problem. The app is a Mineral Occurence database for all mineral information world-wide. Say they enter "Brazil" as what they want to search for, they not only retreive all of the mineral sites in Brazil, but also all of the sites where one of the mining companies may be based in Brazil, or Brazil is one of the comments, etc. While this is the expected behaviour, it's still not quite what they expected (but they also don't want to get rid of this behaviour either).
So, since the CLOB field is already formatted with XML-type tags, what I want to do is to have an Advanced Search page, where the user can specify the table name to search, or the field name, or both. What I'd like to do is at the end of each line, have a select list with an "AND" or "OR' box, and if that gets a value, then dynamically create another 'row' underneath the first row, with the same three 'boxes' (actually select lists), and continue on until the user has specified exactly what they want to search for.
I would rather not have to create a whole bunch of regions or rows, and then determine at runtime whether or not to display them.
So i would have (using underscores as the boxes/fields):
Table to Search Field to Search And/Or
______________ _____________ _______Each of the above would be a select list.
Anybody have ideas on how I can accomplish this? Any Javascript or AJAX-type solutions that a dummy like me can easily implement? I've seen something almost similar on Carl's example pages to Hide/Show a region(?), but understanding the underlying code and then modifying it for what I want to do is extremely complicated (for me) at best.
Thanks.
Bill FergusonWell, after searching through the QBE results (even some of mine), the only thing that comes close is Earl's (http://htmldb.oracle.com/pls/otn/f?p=36337:14). Actually his layout is almost perfect and pretty identical to what I want/need. Vikas' example seems like what I've toyed with on some other pages in my app, using a simple UNION ALL with nulled fields in the select statement, which won't work for what I need, at least I can't seem to visualize how I could incorporate that same code logic.
However, unlike Earl's, when/if the last column (which I'd have as the 'AND/OR' select list) is populated, I'd like to dynamically display another new row.
Now I know I could do it by making the last column a 'Select List With Submit', but that would neccessitate my creating about 25 regions (to hopefully cover the max any of the users would ever need), and then conditionally display the region based on whether or not the previous 'AND/OR' condition field was populated. It would also require a whole slew of page refreshes, which is clunky.
It seems like there should probably be a way with AJAX to accomplish something similar. I think I remember seeing something along these lines in the last year or so on here, but I can't find it.
Something like a cross-breed of Earl's example page above mixed with Carl's example at http://htmldb.oracle.com/pls/otn/f?p=11933:39:4740898821262791902::NO:RP:: which would automatically fire on the poplulation of the last select list is probably the best I can accomplish, unless somebody has some better ideas on how to do this. Using Carl's htmldb_remix code, I can avoid all the submits and the resulting page refreshes, but the code itself will take an old dummy like me a while to figure out.
Thanks for the ideas though.
Bill Ferguson -
Dynamic display name of the sender
I have requirement like below:
After creating and executing any Agent/iBOt in OBIEE 11g, the Display Name of the Sender in the From address of email delivered to recipients is showing as "Administrator".
The user who is authenticated and authorized into the OBIEE also created an agent, he is asking that email should show his name in the From Address when it is delivered to the recipients.
I know why this is happening, I have provided the Display Name of Sender as "Administrator" while configuring the Agents at the Enterprise Manager Level.
What I am currently looking is, if there is any alternate solution to Dynamically display the name of the user who creates the Agent in the From address of the email when it is delivered to the recipients.
Thanks in advance
-BharathAny body there with the answers !!
-
I have a macbook connected to LED cinema display. The display started to flicker. The display turns black for a second or two. Sometimes I restart macbook and display. Sometimes it helps.
same issue, either your wiring or display itself is going bad. for me, it was the display but luckily still under warranty
Maybe you are looking for
-
The error message suggests that I run 'chkdsk' utility, but something prevents this from runnning. I tried re-installing Firefox, but did not uninstall first. Is this the best approach ? AND .. Most important .. If uninstall, and re-install, Will I l
-
GPU Expansion Chassis Mac Pro 5,1 / Mid-2010
Hi, I got a GTX 690 graphics card and would love to install it into my Mac Pro as an additional graphics cards (only rendering). I do know that I need somehow external power. So does anybody have a clue or a recommendation for an external GPU expansi
-
Hello everyone. Had my Mac Book Pro now for approx ten months with average fairly light use. Below are my battert stats. I have never had more than about three hours useage time. Thats using Wi-Fi and Safari only. Not sure if thats normal or not. Als
-
Is there is any way to do health check alert on weblogic console server. I mean if any server goes down then I should get an email stating server is down. Any Idea guys.....
-
Have in iPhone 4 that's not been ANY trouble in the last 18 months that I've had it, but all of a sudden it is not allowing me to connect to the iTunes shop at all. It's on ios7, and I've not tried to sync to my computer yet, but I thought I'd try he