External HTML in WD for ABAP
Dear all
Can I display HTML content in any way directly in WD for Abap ?
I have the html file uploaded as an MIME object in the WB application.
best regards
Lars
Hi,
please note that the UI element IFrame is deprecated, see the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm">documentation</a>.
If you create a file as application/pdf and store it in the MIME repository, you can use the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/44/15a40b56080d1be10000000a114a6b/frameset.htm">integrating forms</a> functionality.
Regards, Heidi
Similar Messages
-
Create External Window in Webdynpro for Abap
I am creating an external window using method CREATE_EXTERNAL_WINDOW. The componentcontroller context and the assistance class attributes are not available in the Handledefault method of the external window. Is there a way to pass data to the external window without using URL parameters?
Thanks
Cindy>@Thomas: with all your wonderful eLearnings on WDA is there one which covers this in any depth? As it would be nice to point people to it.
No I can't say that I have ever created something specifically on this. The ACFUpDownload example is closest simply because I use the cache table is a similiar way, althought I hesitate to recommend that eLearning in this situation becuase that aspect isn't central to the eLearning and it might just confuse things further.
>don't forget about the possibility of database persistence of the data either -
That was actually what I was talking about in server cookies as well. Server cookies are something that was originally created for BSP, but work fine in WDA as well. They are just a cluster table where you can store any data you want and access in another session via a key. The nice thing about server cookies is that there is already a help class for read/write and batch job that can be scheduled to clear out expired entries.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/2a/31b97b35a111d5992100508b6b8b11/frameset.htm -
External mapping in WD for ABAP
Hello,
I am trying to understand how the concept of external context mapping works in Webdynpro.
In system BIZ/000 I created a main WD component ZTEST_WD and another subcomponent WD component ZTEST_MWD.
Then I didthe following:
1. set the component controller context node TEST_FLIGHT_NO of ZTEST_MWD as Input Element (Ext),
2. performed an external mapping between the interface controller context and the main component controller context
3. Created a method GET_FLIGHT_DETAIL to perform some processing with the flight number in the TEST_FLIGHT_NO and display the flight details on the view. It was successful.
As a negative test, I tried to display the value of the subcomponent context with external mapping in the main view, and I expected that it would give an error, but it worked.
I assigned a value to the context in the interface controller method, and the same was displayed in the view. This means that the data flows from the interface controller context to the view context.
In subcomponent ZTEST_MWD, there is a method GET_FLIGHT_DETAIL, where I assigned value to the context.
data_node = wd_context->get_child_node( name = 'TEST_FLIGHT_NO' ).
data_node->set_attribute( exporting name = 'CARRID' value = 'AA' ).
data_node = wd_context->get_child_node( name = 'TEST_FLIGHT_NO' ).
data_node->get_attribute( exporting name = 'CARRID' importing value = lv_carrid ).
And later when the action was processed, the value "AA" displayed on the textbox in the main view.
Now I am a bit confused abt the concept which I understood earlier. I do not see any difference between external mapping and normal mapping.
It would be very very nice if you could throw light on this.
Awaiting responses,
Thanks and Regards,
MayaHello,
here's the link to the documentation about external context mapping: http://help.sap.com/saphelp_nw04s/helpdata/en/67/cc744176cb127de10000000a155106/frameset.htm
Regards, Heidi -
Display HTML code in WebDynpro for ABAP
Hi, I would like to display a html page in a WebDynpro View, ie: I have the html code in a "string" variable and would now display this string now not with the html tags visible, but as a "real" html page.
I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
Thanks>I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
I'm a little bit confused by this statement. Do you mean you found a thread in Web Dynpro Java, perhaps?
Regardless the approach is possible using the iFrame UI. The warning about the iFrame is that it is deprecated in NetWeaver 7.0 and 7.01 and my not be usable depending upon your support package level. However in NetWeaver 7.02 the iFrame returns to fully supported status.
If you have the HTML content in a string, you can simply place it into the ICM cache. This will provide a temporary URL for the content (you supply the lifetime of the URL) that can be referenced via the iFrame URL or even the LinkToURL if you want to open in a new window.
Here is the code for placing the string into the ICM Cache:
****Create the cached response object that we will insert our content into
data: cached_response type ref to if_http_response.
create object cached_response
type
cl_http_response
exporting
add_c_msg = 1.
try. " ignore, if compression can not be switched on
call method cached_response->set_compression
exporting
options = cached_response->co_compress_based_on_mime_type
exceptions
others = 1.
catch cx_root.
endtry.
****set the data and the headers
data: l_app_type type string.
cached_response->set_cdata( lv_html_text ).
l_app_type = 'text/html'.
cached_response->set_header_field( name = if_http_header_fields=>content_type
value = l_app_type ).
cached_response->set_status( code = 200 reason = 'OK' ).
cached_response->server_cache_expire_rel( expires_rel = 60 ).
data: guid type guid_32.
call function 'GUID_CREATE'
importing
ev_guid_32 = guid.
concatenate '/sap/public' '/' guid '.' 'html' into lv_iframe_url.
****Cache the URL
cl_http_server=>server_cache_upload( url = lv_iframe_url
response = cached_response ).
wd_context->get_element( )->set_attribute(
name = `IFRAME_URL`
value = lv_iframe_url ). -
External web service call from WebDynpro for ABAP
Hi...
I'm inspecting Web Dynpro For ABAP, and trying to call external web services.
I'm created Web Service, CAF-AS.
I create the proxy class(se80) and Logical Port(lpconfig), and I take the web service in componentcontoroller of my web dynpro using Web Dynpro Wiserd.
Though I expected the context to be registered by the same type as the service interface,
they are created strange structure as follow.
<Context>
CONTEXT
---FIND_BY_PARAMS
IMPORTING
INPUT
CONTROLLER
ORDER_TEXT_BY_PARAMS_REQ
---EXPORTING
OUTPUT
CONTROLLER
ORDER_TEXT_BY_PARAMS_RES
The CONTOROLLER is defined by the type PRXCTRLTAB, and
ORDER_TEXT_BY_PARAMS_* has deep structure, as follow.
ORDER_TEXT_BY_PARAMS_REQ
---CONTROLLER type:PRXCTRLTAB(structure)
---QUERY_TABLE type:ZTABLE_NAME
---QUERY_FIELD type:ZFIELD_NAME
---QUERY_OPTIONS type:ZORDER_TEXT_QUERY_OPTION_TAB
I want to use only service paralmeters, that is named query_*.
I tried to excute the webService but dump "OBJECTS_OBJREF_NOT_ASSIGNED" occurs.
I think I must set any value to CONTOROLLER,?but I have no idea What & How I should set value.
please let me know, what is the CONTOROLLER, and how to call external web services.
Regards,
Naoya Tsugo,I solved problem by myself.
There was carelessmiss in activation of LP.
Now, I'm closing the topic.
Thanks and Regards.
Naoya Tsugo, -
Hi all,
I would be interested in hearing of any external HTML editors
that RH users like using with RH instead of its internal editor.
Somebody please suggest a free (or almost free) HTML editor
that features lots of features, eg, hiliting, split Design/HTML
windows, clean XHTML code and checker.
Wasn't there once some browser called Mozila? Or was it
called Netscape?
Tia
- avi>> RH MVPS? Adobe Community Expert is the term. There's
no such term as RH MVPS.
Right, now they are called Adobe Community Experts.
>> As soon as you open the topic in RH's editor it is
going to rewrite the code.
You know what, I don't care if RH rewrites the code, just as
long as RH leaves the result appearance looking nice, i.e., it
doesn't smash up the appearance .
>> Go back to your original post here. What is it that
is missing in the RH editor? It will not be the cleaner code. RH7
cleaned up a lot and I expect more from RH8. But until then RH will
rewrite the code so I cannot see the benefit.
It's been a while now before I gave up in disgust, and went
to writing in Word. But I had expected to be able to work in WSYWYG
like in MEW or Word, with powerful style management. I expected
there to be an easy access Styles side pane. There is not. The
numbered lists were not reliable; they restarted when they were not
supposed to. Both numbered and bulleted lists get confused about
their indentation. It's lucky that I once taught myself MEW with
HTML/CSS , so after a short refresher I could go into the HTML view
and clean up all the code and make the lists the way they are
supposed to be. But since I am at a new client and only working
there at 100 hr/month, I had to show some real content output, and
fast, and so I had no more time for RH trial and error. So I went
back to Word (-- 2007, which I also did not know, but since I am
(supposed to be) a Word 2003 guru I knew what I was looking for and
that all the features are supposed to exist -- ) and wrote my first
drafts with that.
Actually, I am so shocked at RH's bad WSYWGY editor, if I had
any choice I would recommend to my client to look for something
better (if such a thing exists -- dare I mention Flare...), but
since RH is an important TW skill, I want to add it to my skills
list. So if my client has recommended using RH, this is a good
opportunity to learn RH on their account.
I have a feeling that I am eventually going to make a full
circle, i.e., either I won't find cheap/free HTML editor taht does
want I want, or even if I do, I will eventually run into the
problems you mention, and I will end up writing in raw HTML, just
as you say.
Actually, on 2nd thoughts, I also have to be honest with my
client, and I don't think they would be happy to hear that a guy
who takes over from me at some point, or is hired in addition to
me, would have to write HTML/CSS. They would want to hear that
there is some type of WSYWYG solution for RH, either internal or
external.
Tnx,
- avi -
Is any HTML help for ABAP???
Is any HTML help for ABAP??? Are any HTML help downloads there in anywhere?? if anyone knows let me know.
Are you asking for help documentation on ABAP? If so....
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
Regards,
RIch Heilman -
External URL in a Window of Web Dynpro for ABAP
I have two windows 1 and 2 in web dynpro for ABAP application.
In the view 1 which is embedded to window 1, I choose search engine. How do I navigate to window 2 which displays the external web page such as Google, Yahoo or Bing in the second window. I don't want it open new browser window or pop-up window. The browser must stay in the same.
Thanks,
AnthonyExit Plug: If you want to navigate in the same browser
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm -
External hard drive used for Time Machine is full and having a hrad time backing up. What is my best option moving forward? NAS?
For All things Time Machine see Pondini's Excellent Infirmation here...
http://pondini.org/OSX/Home.html
Start with FAQs and Troubleshooting. -
Hi, Can anyone recommended software to import dvd to iMovies. I need to import about a dozen homemade DVD's and edit them into a single DVD comprising the 'best bits'. How best can I do this. I have an external hard drive available for the job
You need to convert the VOB files in the TS-Folder of the DVD back to DV which iMovie is designed to handle. For that you need mpegStreamclip:
http://www.squared5.com/svideo/mpeg-streamclip-mac.html
which is free, but you must also have the Apple mpeg2 plugin :
http://store.apple.com/us/product/D2187Z/A/quicktime-mpeg-2-playback-component-f or-mac-os-x
(unless you are running Lion in which case see below))
which is a mere $20.
Another possibility is to use DVDxDV:
http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
which costs $25.
For the benefit of others who may read this thread:
Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.
And from the TOU of these forums:
Keep within the Law
No material may be submitted that is intended to promote or commit an illegal act.
Do not submit software or descriptions of processes that break or otherwise ‘work around’ digital rights management software or hardware. This includes conversations about ‘ripping’ DVDs or working around FairPlay software used on the iTunes Store.
If you are running Lion or later:
From the MPEG Streamclip homepage
The installer of the MPEG-2 Playback Component may refuse to install the component in Lion. Apple states the component is unnecessary in Lion onwards, however MPEG Streamclip still needs it. See this:
http://support.apple.com/kb/HT3381
To install the component in Lion, please download MPEG Streamclip 1.9.3b7 beta above; inside the disk image you will find the Utility MPEG2 Component Lion: use it to install the MPEG-2 Playback Component in Lion. The original installer's disk image (QuickTimeMPEG2.dmg) is required.
The current versions of MPEG Streamclip cannot take advantage of the built-in MPEG-2 functionality of Lion. For MPEG-2 files you still need to install the QuickTime MPEG-2 Playback Component, which is not preinstalled in Lion. (The same applies to Mountain Lion even though that has it preinstalled.) You don't have to install QuickTime 7. -
Webdynpro for ABAP vs WD for Java
How different is WD for ABAP from WD for Java?
I have a good knowledge of WD for Java and I know ABAP. But how good and efficient is WD for ABAP? Would it be better to use WD for ABAP or WD for Java for SAP based portal development?
Thanks in advance,
Reena<i>
1. We can embedd the Web Dynpro for ABAP applications in SAP screens in ABAP environment. I don't think it is possible using java web dynpro.
</i>
Yes, you probably can, since the application can be fired simply by a URL, there is not reason that you couldn't have an HTML control in your dynpro and point to this URL.
To answer the original question, the development model for each is pretty much the same, just two different flavors. I think that some things make WDA better, one being that it is totally integrated into the ABAP development workbench and the Transport/change control system. On the WDJ side, you development locally and "deploy" your changes using the DTR and CBS. I'm not exactly comfortable with this quite yet, which is why I like WDA better..
Another thing is that we have some built in stuff with WDA, like automatic search help functionality, ALV Grid, and Select-option functionality. I do believe that SAP is working on some of these for WDJ.
Regards,
Rich Heilman -
Hi all,
I have recently started learning Web Dynpro for ABAP.
I have worked in WebDynpro for Java.
1)I wanted to understand pros and cons of WebDynpro for ABAP and Java.
2)What are the functionality that are available in Web Dynpro for Java but not in Web Dynpro for ABAP.
3)What should be preferred when considering performance issues - WD for ABAP of Java?
Any Web Log or Link in this context will be helpful.
Thanks a lot,
RashmiHi,
OOPs ABAP uses Classes and Interfaces which uses Methods and events.
If you have Java skills it is advantage for you.
There are Local classes as well as Global Classes.
Local classes we can work in SE38 straight away.
But mostly it is better to use the Global classes.
Global Classes or Interfaces are to be created in SE24.
SAP already given some predefined classes and Interfaces.
This OOPS concepts very useful for writing BADI's also.
So first create a class in SE 24.
Define attributes, Methods for that class.
Define parameters for that Method.
You can define event handlers also to handle the messages.
After creation in each method write the code.
Methods are similar to ABAP PERFORM -FORM statements.
After the creation of CLass and methods come to SE38 and create the program.
In the program create a object type ref to that class and with the help of that Object call the methods of that Class and display the data.
see the links below, Understand them and start developing.
chk out the links below:
General Tutorial for OOPS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
Have a look at these links for OO ABAP.
http://www.sapgenie.com/abap/OO/
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://www.allsaplinks.com/
http://www.sapgenie.com/abap/controls/index.htm
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
SDN Series:
https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
Basic concepts of OOPS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
http://www.henrikfrank.dk/abapuk.html
http://www.erpgenie.com/abap/OO/
OOPS in ABAP
oops consept in abap
ABAP with OOPS
http://www.abap4.it/download/ALV.pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
http://www.erpgenie.com/abap/controls/alvgrid.htm
OOPS with ABAP
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=37566
/people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap
http://www.sapgenie.com/abap/OO/
Regards
Srinivas.K
Message was edited by:
Armin Reichert -
Where can I buy an external floppy disk drive for my Macbook?
where can I buy an external floppy disk drive for my Macbook?
You can find them on eBay http://www.ebay.com/sch/i.html?_odkw=usb+floppy+drive&_osacat=0&_from=R40&_trksi d=p2045573.m570.l1311.R1.TR2.TRC1.A0.Xusb+floppy+drive+for+mac&_nkw=usb+floppy+d rive+mac&_sacat=0
-
Problems in Frame 1 with External HTML files
I am having an issue with loading two external html files within
my website.
I have a case study page with a
dynamic textbox and a scrollbar attached to it.
I have another page "news" that
contains another dynamic textbox with a scrollbar attached to
it.
I created two .txt files with my
information for both pages.
Working in Flash CS3 with
Actionscript 2.0 at 30fps.
My problem is this:
I can go to my news page and the .txt file will be visible,
but once I go to the other case study page and reveal that .txt
file, I go back to the news page and the .txt file is no longer
visible. Only a nonworking scrollbar is displayed with no text and
nothing else.
I believe I need to do something different in Frame 1's
Actioncode. I just don't know how to get the other .txt file to
work along with the other. I will be adding more .txt files in
dynamic textboxes later and I really need to resolve this issue so
I am able to add them with no problems. Appreciate anyone's help
immediately if you can.
Here is the temporary website link so you can test and see my
problem. Don't forget to go the the news button first in the
navbar. Then go to the case studies link and find the MAX Cat
Packaging and view that .txt file, then go back and you will see my
problem.
Click Here to
Visit Sitewell I made a separate layer and placed the symbol with the
text box and scrollbar attached. That was the only thing on the
layer as you mentioned to separate it. I don't see how I could
separate the scrollbar from it as it is needed. So I made some
keframes, selected the textbox inside the symbol and added the code
you told me to add:
caseStudyMC._visible=false; In the other frames where I
needed it visible I added the code:
caseStudyMC._visible=true;
When I tested the movie. I didn't see the text but I saw the
scroll bar still and the text still failled to appear after viewing
the MC Case study text.
Is the code supposed to go in Frame1? What do I do with the
scroll bar image? I tried to Make it all disappear using the alpha
at 0, but it still didn't work.
thanks for all your help. hope you understand what I
wrote. -
Wild Cards in External Operating System Commands for HP-UX
Hello,
Is it possible to use wildcards for HP-UX commands in SM69?
For example, I would think the following would work in HP-UX:
mv /directory/file_name.* /directory2
But whenever I execute a command with the * wildcard in SM69 I get the message 'No such file or directory'
Thanks,
JoelThis is wierd, I can't even do 'ls *.TRC'
Here's another example, using absolute path names that didn't work:
mv /usr/afisinw_cpafiscd/WHSE/ready/portalActivity_311688752_1243622628104.* /usr/afisinw_cpafiscd/WHSE/ready/portalActivityOld
error: cannot access: No such file or directory External program terminated with exit code 1
But when I replace the * with txt it works. Unfortuneately I need to move multiple portalActivity files each time, and the beauty of using an external command is that my ABAP program is only a few lines long.
Could there be some sort of a safety feature in SAP to prevent the use of * in external commands?
Maybe you are looking for
-
Will a 6gen audio jack for ipod classic work if installed into a 5gen ipod classic?
i think i might of ordered an ipod 6 gen audio jack and hold button for my ipod classic 5 gen and when i installed it it makes the clicking noise when the wheel is spun but when i want to listen to music it wont send audio through my headphones or an
-
Mail Disappearing via Black Triangle
I have a Mac Mini G4 and my Mail is acting weird. Next to each of my 2 accounts in my Drafts folder I have a black triangle, when I click on the triangle it turns down however, nothing shows up in the Drafts folder. I have saved several drafts but th
-
Import from catalog: what happens to this catalog ?
Hello everyone! I follow Scott Kelbys LR3 book for transferring my work from my studio laptop to my main processing computer in my office using the EXPORT TO CATALOG technique. So then I transfer the folder to where I keep my LR pictures in MY COMPU
-
ODBC Connectivity with Crystal Reports 2009 and MySQL
Hi, I'm hoping someone can help me. We are currently running Crystal Reports CR Developer version 9.2.2.693 with an ODBC connection (ODBC 3.51 driver) to a My SQL database, version 4.0.18.* We want to upgrade to Crystal Reports 2008, CR Developer ver
-
Hi Experts, I've setup the digital signature for certain document types. Now when I print those signed document, am not able to get the approver's signature on print out. From the SAP Help I found below link and it says that I've setup ' allowed' or