F4 help for pop up window
Hi guys,
for pop up window i need f4 help..... actually wt the task is if i give the program name, that program contents have to save in a text file... for that i need to specify the path ie., where i have to save the text file...
i have done some coding on it i dont weather the function module i used is correct? and for that i need f4 help....
so plx tell me how to use f4 help for the function module and also wt is the exact function module for pop up window....
here is the code.............
REPORT ZTEST_DOWNLOAD.
PARAMETERS : P_PROG(30) TYPE c.
DATA: ITAB TYPE TABLE OF STRING.
READ REPORT P_PROG INTO ITAB.
CALL FUNCTION 'RSO_DIRECTORY_POP_UP'
IMPORTING
E_DIRECTORY =
EXCEPTIONS
FAILED = 1
CANCELLED = 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.
START-OF-SELECTION.
data: progname type string.
progname = P_PROG.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
FILENAME = PROGNAME
FILETYPE = 'ASC'
TABLES
DATA_TAB = ITAB
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks in advance..............
Use this code.. F4 help for both Application as well as Presentation Server..
* Form FILE_F4_APP
* Help on Selection-screen for file on Application Server
form file_f4_app .
call function '/SAPDMC/LSM_F4_SERVER_FILE'
exporting
filemask = space
importing
serverfile = p_name
exceptions
canceled_by_user = 1
others = 2.
if sy-subrc is not initial.
p_name = space.
endif.
endform. " FILE_F4_APP
* Form FILE_F4_PRE
* Filename F4 help for Presentation Server
form file_f4_pre .
* Local Constant
constants: l_c_p type c length 1 value 'P'.
* Local Data
data: l_path type c length 255.
call function 'F4_DXFILENAME_TOPRECURSION'
exporting
i_location_flag = l_c_p
i_path = l_path
importing
o_path = l_path
exceptions
rfc_error = 1
error_with_gui = 2
others = 3.
if sy-subrc eq 0.
p_name = l_path.
endif.
endform. " FILE_F4_PRE
Please award points..
Thanks,
Rahul
Similar Messages
-
How to display check box in the search help restriction pop-up window
Hi Experts,
I have created one searc help with dialog value restrictions. Search help contains 4 fields.
Out of which one field has length one character.
As oon as user press on F4 on particular field, it will display pop-up window with restrictions and displayed 4 fields.
I would like to show that field ( one character length field) as check box in search help restrictions pop-up window.
Pls help me ,... How can we acheive this..
Thanks
RaghuUr Exact Requirement,
Types : begin of itab,
fields type c,
Check type c,(For Check Box)
end of itab.
data it_tab type standard table of itab.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_input-low.(If it is in select-options)
CLEAR v_input.
GET CURSOR FIELD s_input VALUE v_input.
CALL FUNCTION 'AIPC_CONVERT_TO_UPPERCASE'
EXPORTING
i_input = v_input
i_langu = sy-langu
IMPORTING
e_output = v_input.
CLEAR s_input-low.
IF v_input NE '' .
IF v_input NE '?'..
v_input1-sign = 'I'.
v_input1-option = 'CP'.
v_input1-low = v_input.
APPEND v_input1.
ENDIF.
ENDIF.
SELECT DISTINCT Field
FROM Table
INTO TABLE it_tab
WHERE field IN v_input.
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
i_title = 'Select Colors'
i_selection = 'X'
i_zebra = 'X'
i_screen_start_column = 5
i_screen_start_line = 5
i_screen_end_column = 30
i_screen_end_line = 12
i_checkbox_fieldname = 'CHECK'
i_tabname = 'IT_TAB'
i_scroll_to_sel_line = 'X'
it_fieldcat = it_fieldcat1
i_callback_program = sy-repid
i_callback_user_command = 'USER_COMMAND1'
IMPORTING
es_selfield = selfield
TABLES
t_outtab = it_tab
EXCEPTIONS
program_error = 1.
Cheers,
Naveen -
Cursor does not change for pop-up window
I created a link for a pop-up window. The link does work, but the cursor does not change to a pointy finger, the standard link icon.
I don't know a lot of javascript, but can figure it out if it's just adding some code. Any help would be appreciated! Here's the code:
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
Thanks in advance.
ToddHi Todd,
i got the same problem.(cursor not change for pop-up windows) and because i m not an expert in internal html code i did try several solutions to fix it.
The easiest (but also even longer if u need to do severals) is to create a button (withs 2 overflight changing pics) with "inserer", "image survolée"
the "image survolée" can be linked to a pop-up window with the correct effect. To do so highlight the "expected new link to" and on right side task bar ad a "comportement" named "ouvrir la fenetre du navigateur" and optionally choose the size and windows available function of the pop-up. It works even if u need to proceed first with an overflight changing button.
The result is longer to obtain and not absolutely perfect. So I guess it s only an help solution for a single mateer. i would be glad to get another solution with a text link rather than using the overflight button system. Technically it should be better, more efficient and faster to proceed with applying an html code that really makes the text appearing as a classic link to a new windows whatever pop up or full size window. Please let me know if u get further answer to fix this problem.
Many thx and excuse my technical english translation about DreamCs4 -
Help! pop up window about usb taking to much power keeps coming up every 30 seconds
Hiya
For a couple of months this pop up window keep on coming up everytime i start the computer. Havent really been bothered before but now it keeps on coming up less than every 30 sec and some times even 5 times at one time. It is really disturbing. What can I do about this? The usb's seem to work fine and its not anything wrong else with my macbook. I only had it since april this year.
Please, help
Kind regards
LSorry the message is in swedish.. It says 'Because of an USB-unittook to much power from the computer one or more of the usb-units have been inactivated. It had been inactivated to protect the computer. As soon as you have deattached the unit (no units are attached btw) the other usb-units will be activated again.
-
Need help with pop up window!
I'm working on an online graphic design portfolio and one of the pages features online animated Flash banners. The site can be viewed here...
http://truetilldeathhq.com/Skiz/main8_v7.html
I created a pop up window that displays a swf of the banner by putting this code on the View Banner link of each example of work...
on (release) {
var jscommand:String = "window.open('http://www.truetilldeathhq.com/Skiz/banners/336x280DuvalCX9.html','win','height= 296,width=352,left=112,top=330,toolbar=no,resizable=no,location=no,scrollbars=no ');";getURL("javascript:" + jscommand + " void(0);");
Two problems though. First is in Firefox the location bar with the url to the swf is visible, even though I set location=no as a variable in the code (it works ok in Safari). The window is also resizable in Firefox and Safari even though the variable is set to resizable=no. How can I fix this?
Second problem, even though I painstakingly set the left and top variables by trial and error to get the pop up window to open exactly in the center of the "stage" area of the site, when I post it and view it in a browser, the window pops up lower. When I'm in the fla of the site and I preview it in a browser, it's fine, but for some reason when I post the files online and then open it from http://truetilldeathhq.com/Skiz/main8_v7.html, the pop ups come in lower. Any fixes or advice on this?
Thanks for your help!Forgive me for my ignorance, but I'm new to Flash and any kind of scripting and I didn't quite follow that page you directed me to. Right now I'm working up a Flash template and the action on the link for the banner pages looks like this:
on(rollOver) {
this.gotoAndPlay("s1");
on(rollOut, releaseOutside) {
this.gotoAndPlay("s2");
on (release) {
_root.popup_pressed=1;
_root.scrHEIGHT=240
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = "Work 1 read more";
_root.READ = 1;
_root.scroller.gotoAndPlay("s1");
How can I work up the on (release) so I'll get a simple pop up window, say 728x90, no scrollbars or resizing, that will open somewhere in the middle of the site? If I wanted a title to the pop up window, how would I do that?
Again, thanks so much for your time and excuse my newbieness. -
Almost finished with site, really need help with pop up window!!!!!
I've got one last thing to finish up on this site I've been working on. I've posted what I've worked up so far at:
http://truetilldeathhq.com/main8_v7/main8_v7.html
I still have to finish linking the actual banner swfs on the Online Banners page, which will display animated banner ads for the portfolio. Ideally, when the user clicked the View Banner link, I wanted to have the banners display in a similar pop up window like the other examples of the work (with same title area, close button, etc., click the Detailed View button on Merchandise page for example). That was problematic due to different frame rates of the banner swfs, getting the pop up window to contain just the stage area of the swf and not the working area, getting the window to pop up in the middle and not get cut off at the right side, etc. Like I said, ideally I'd like to do this, so if anyone has a relatively quick fix, I'm all ears.
I figured my best route now is to somehow have Flash trigger an html pop up window when the link is clicked and have it display in the middle of the page at the exact dimensions of the banner. Anybody know the best way to do this? I'm at my wits end and I really have to have this finished for Monday so any help is more than appreciated, thank big time in advance!Forgive me for my ignorance, but I'm new to Flash and any kind of scripting and I didn't quite follow that page you directed me to. Right now I'm working up a Flash template and the action on the link for the banner pages looks like this:
on(rollOver) {
this.gotoAndPlay("s1");
on(rollOut, releaseOutside) {
this.gotoAndPlay("s2");
on (release) {
_root.popup_pressed=1;
_root.scrHEIGHT=240
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = "Work 1 read more";
_root.READ = 1;
_root.scroller.gotoAndPlay("s1");
How can I work up the on (release) so I'll get a simple pop up window, say 728x90, no scrollbars or resizing, that will open somewhere in the middle of the site? If I wanted a title to the pop up window, how would I do that?
Again, thanks so much for your time and excuse my newbieness. -
Freely Programmed help in Pop Up Window
Hi,
Is it possible to display the data of freely programmed help in the pop up window.
Thanks
RaghavendraHi Thomas,
I agree that by using Freely Programmed help the data will be displayed in a seperate window. I want to display the data in a window( of type Pop Up) because i am displaying table control with 3 fields on clicking f4 and it has 2 buttons Ok and Cancel. But if there are 50 entries the user needs to scroll down to click on Ok. If the window is of type pop up Ok button will be embedded in the window instead of on view.
Thanks
Raghavendra -
Need help with pop up windows!
I'm working on a page that's very long and it has your basic
"click on a small thumbnail of an image and a larger version opens
up in a pop up window". I downloaded a free extension from the
Macromedia exchange called Open Picture Window Fever, but it has a
couple of problems. First, there's no option to center the pop up
window, only dimensions you can manually put in. Plus when you
click on the picture, the new window opens but the original page
with the thumbnails automatically goes to the top when the pop up
opens (this is a problem because the page is very long and the user
would have to scroll back down each time they clicked on an image,
a big pain). The only other option I have is to use the Dreamweaver
Open Browser Image Behavior. The problems with that is that you
have to make a html page for each image, which is a drag. Also, I
can get the pop up window to center with a different extension I
downloaded, but I still have the same problem with the original
page jumps to the top.
What can I do to fix this? Anybody have other ideas or free
extensions I haven't tried yet?> Plus when
> you click on the picture, the new window opens but the
original page with
> the
> thumbnails automatically goes to the top when the pop up
opens
Go to PVII and look for a free extension called Fix Null
Links....
http://www.projectseven.com/
That'll take care of that one.
> The only other option I
> have is to use the Dreamweaver Open Browser Image
Behavior.
Go to E. Michael Brandt's site, and examine JustSo Picture
Window. It's
commercial but it's way nicer than PWF, in my opinion....
http://www.valleywebdesigns.com
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
==================
"xslamx" <[email protected]> wrote in
message
news:[email protected]...
> I'm working on a page that's very long and it has your
basic "click on a
> small
> thumbnail of an image and a larger version opens up in a
pop up window".
> I
> downloaded a free extension from the Macromedia exchange
called Open
> Picture
> Window Fever, but it has a couple of problems. First,
there's no option
> to
> center the pop up window, only dimensions you can
manually put in. Plus
> when
> you click on the picture, the new window opens but the
original page with
> the
> thumbnails automatically goes to the top when the pop up
opens (this is a
> problem because the page is very long and the user would
have to scroll
> back
> down each time they clicked on an image, a big pain).
The only other
> option I
> have is to use the Dreamweaver Open Browser Image
Behavior. The problems
> with
> that is that you have to make a html page for each
image, which is a drag.
> Also, I can get the pop up window to center with a
different extension I
> downloaded, but I still have the same problem with the
original page jumps
> to
> the top.
>
> What can I do to fix this? Anybody have other ideas or
free extensions I
> haven't tried yet?
> -
Help for all frustrated windows itune 5 downloaders
I recently downloaded itunes 5 and couldn't open it even though the download was successful. I messed around for hours getting very frustrated to try and make it work. I eventually found that by turning my Norton antivirus firewall off and turning on my windows firewall instead, I could open itunes! I don't know if it is just norton antivirus that affects itunes so others might too. Hope this is helpful!
Sorry, Bill, but there is no way to run iTunes under Windows 98. For just synchronizing tracks with your iPod, you could get a third-party utility such as Anapod, Ephpod, or Xplay for handling the transfer. I haven't used any of these, so I can't make any recommendations. Note that these applications cannot purchase tracks from the iTunes Music Store which is only possible through iTunes.
I strongly suggest you consider upgrading your version of Windows, though. Windows 98 is no longer supported by Microsoft and it's going to get harder and harder to find applications that will work under 95/98/ME.
Hope this helps. -
URGENT help for calling a window from a flash button in a frame not working
Hello, i'm really desperated, because i can't call a window
in a frame from flash with the getURL, i tried other but do
nothing! and something of external something doesn't work too, so
please can enya tellme what can i do???? i'm using flash 8
professional, explorer 6, (and let me tell you that i didn't have
issues before)!!chen1 wrote:
> Hello, i'm really desperated, because i can't call a
window in a frame from
> flash with the getURL, i tried other but do nothing! and
something of external
> something doesn't work too, so please can enya tellme
what can i do???? i'm
> using flash 8 professional, explorer 6, (and let me tell
you that i didn't have
> issues before)!!
Please search the forum, in past weeks I personally replied
to the very same topic
few times.
Search for "Flash Player 9 - broken getURL doesn't open
specified frame"
and "Problems with flash navigation in Internet Explorer 7"
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Hi
I am developing a site with Dreamweaver CS3. My problem is
that I need to define certain words in the site which when clicked,
open a seperate browser window that shows the definition of the
word. The new window that opens contains all the definitions to
numerous words. I have the links from each word to the definition
list window working properly but I would like the window to open
and make the word that the user clicked on be shown without the
user having to scroll to the word he is trying to define. Ex. If
the user clicks on the word "Default", when the definition window
opens, I would like the list to be scrolled automatically to that
word.
Any help would be appreciated.
ThanksCaptain825 wrote:
> Thank you, it works perfectly! One last question. Can
you tell me how to control the size of the definition page so that
it opens to a specific size each time?
>
> Thank you
>
i am guessing, since we've not seen your page, that you are
using the
target attribute to open the new window? If so, it is not
possible to
control the size of the window that it opens. Moreover, and
even worse,
it will spawn multiple windows - i.e. each time the user
clicks, a brand
new window will open and need to be manually closed.
Better would be to do this using a window.open() script. DW
offers a
built-in Behavior, called Open Browser Window. But it has its
own
issues, not the least of which is it too spawns multiple
windows.
I offer an inexpensive DW Extension that makes all this
really easy. It
will not spawn multiple windows, it does not require adding a
behavior
to each link, it can be added to all your pages at once, and
many more
options and benefits. You can see it at
http://divahtml.com/products/divaPOPgold/open_popup_windows.php
Hope that helps.
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Newbee help for dicom image window center/width manipultation
We have a flash based dicom viewer and i have the folowing code in action script which i want to replace with pixel bender code. is it possible ?
var img_bmp:BitmapData = new BitmapData(Cols, Rows,false,0);
for (var y:Number = 0; y <Rows; y++) {
for (var x:Number = 0; x <Cols; x++) {
gray = byteArray.readUnsignedShort()*Slope + Intercept;
gray = 255 * gray/WindowWidth - Min * 255 / WindowWidth;
gray = uint(gray);
var r:int = gray;
var g:int = gray;
var blue:int = gray;
var c:uint = (r << 16) | (g << 8) | blue;
img_bmp.setPixel(x, y, c);
Where byteArray is a unsignedshort sequnce. Slope, intercept, WindowWidth and Min are constants.
From the little i understood of the kernel programming the expected input channel cannot be 2 channel or single channel input.
can any one suggest how i can proceed or give me pointers or for this kind of image manipulation pixel bender is not suitable.
Thanks in advance
Sastradhari wrote the below kernel code and compiled using pbutil and it did compile i am having trouble determining the shader width and height. can some one help me out.
<languageVersion: 1.0;>
kernel pixel
< namespace : "TMP";
vendor : "TMP";
version : 1;
>
input image1 src;
output pixel3 dst;
parameter float Intercept;
parameter float Slope;
parameter float WindowWidth;
parameter float Min;
void
evaluatePixel()
float gray = sample(src, outCoord())*Slope + Intercept ;
gray = 255.0 * gray/WindowWidth - Min * 255.0 / WindowWidth;
dst = pixel3(gray,gray,gray);
can some one tell me how to get the shader width and height so so that pixel bender can only act on 16 bits or did i get the whole thing wrong.
shader.data.src.input = byteArray;
shader.data.Slope = Slope;
shader.data.Intercept = Intercept;
shader.data.Min = Min;
shader.data.WindowWidth = WindowWidth;
shader.data.src.width = Cols >> 1;
shader.data.src.height = Rows ;
var myJob:ShaderJob = new ShaderJob(shader, img_bmp,Cols, Rows);
myJob.addEventListener(ShaderEvent.COMPLETE, pixelComplete);
myJob.start();
Thanks in advance -
Help for a MS Windows programmer- Unix
I havent used Unix in ages. Ive since been programming with VB and all the MS-related ballyhoo. Ive done some Java programming in the past, back in the JDK1.1 days. In the last few months ive been digging deep into J2EE as well as Swing. However, all of this development ive been doing has been on NT and Win2K. I need to learn/relearn Unix. Where/how do i start ? Im thinking that i should just load Redhat linux on an old machine i have and have at it. any ideas appreciated.
mtndood outTry this link:
http://heather.cs.ucdavis.edu/~matloff/unix.html
for a free online Unix tutorial. I think loading Linux on an old machine is an excelent idea. -
Locking exceptions for Pop-windows and loading image automatically Preferences setting
How can i lock the two exceptions button for POP-up windows and load imagae automatically option.
You can lock the image exceptions via pref.advanced.images.disable_button.view_image
I do not see a pref to lock the pop-up exceptions on the about:config page (filter: disable_button)
A possibility is to hide that button via code in userChrome.css (#popupPolicyButton {display:none!important;}), but that needs to be done for each profile.
<pre><nowiki>//
lockPref("pref.advanced.images.disable_button.view_image", true);
</nowiki></pre>
See also:
* http://kb.mozillazine.org/Locking_preferences -
I need the code for creating popup windows and code for open and close
I can write the code for creating popup window , i am getting problem while trying to open and closing that popup windows.
Can anybody help me in that pls ?
Regards
Sreeni.Hi
For pop up window
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
window.setWindowPosition (300, 150);
window.show();
wdContext.currentYourNodeElement().setPopupAttribute(window);
For closing window code
IWDWindow window = wdContext.currentYourNodeElement().getPopupAttribute();
window.hide();
window.destroyInstance();
For more infornation refer this link
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20d2def3-f0ec-2a10-6b80-877a71eccb68&overridelayout=true
This link is very useful for you.
Regards
Ruturaj
Edited by: Ruturaj Inamdar on Aug 13, 2009 9:10 AM
Maybe you are looking for
-
ABAP - INTERFACE_REGISTRATION_ERROR for outboud sync ABAP proxy
Hi, I have created ABAP sync client proxy in R/3 and trying to test using abap report. I am facing following error in XI sxmb_moni. I have created client proxy for outbound sync interface, however the error is pointing inbound sync interface (ie QAC
-
SOS Help please, I bought an annual subscription to Photoshop,month, worked fine ,now took the payment for the second month,but to enter the program I can't - the program asks for a serial number which I nikogda not received and personally ID just an
-
ITunes 11 - Where is the iTunes Library.itl file?
I used iTunes 11 to move my entire library to a new Western Digital Thunderbolt duo drive. In iTunes advanced settings, I specified an itunes library path of /Volumes/Media Library/iTunes Media. Then from the menu selected File -> Library -> Organ
-
How to mark an IDOC for deletion?
Hello, How can I mark an IDOC for deletion? Thank you for sharing your experience. Kind regards, Linda
-
Create index fails (but worked previously)
oracle 8.1.6 / solaris 7 I installed InterMedia a few weeks ago (after many problems with configuring the listener and tnsnames) and created 3 text indexes on 2 tables(one column being a CLOB). The searches worked great (using "contains"). Next I tri