Application URL in WD ABAP
Hi
I have installed the SAP NetWeaver Application Server ABAP 7.02 SP6 32-bit Developer Edition in my personal system for practicing FPM WD ABAP.
I am able to create components and applications for wd ABAP but coming to FPM when i create or change configuration of a particular application in FPM_GAF_COMPONENT the configuration is not opening the url is showing as "http://<hostname>:<portno>........"
but if we <change host name> as localhost it is able to open the configuration every time i am giving local host and opeing the configuration . is there any way to change this
changing http://<hostname>:<portno>/sap/bc/webdynpro/sap/<applicaton> to http://localhost:<portno>/sap/bc/webdynpro/sap/<applicaton> by default when creating a application.
thanks
prasad
Use method CONSTRUCT_MIME_URL of class CL_WDR_UTILITIES. Remember to take the value against E_ABSOLUTE_PATH, as the URL supplied in the method FIRE_PLUG of interface IF_WD_VIEW_CONTROLLER needs absolute URL.
Sample:
DATA: lo_viwcon TYPE REF TO if_wd_view_controller,
lo_wincon TYPE REF TO if_wd_window_controller,
lo_aprvwin TYPE REF TO ig_approverequest_wndw.
DATA: lt_params TYPE wdr_event_parameter_list,
ls_param TYPE wdr_event_parameter.
DATA: d_cmd TYPE REF TO data,
d_url TYPE REF TO data.
FIELD-SYMBOLS: <v_cmd> TYPE ANY,
<v_url> TYPE ANY.
CREATE DATA d_cmd TYPE string.
CREATE DATA d_url TYPE string.
ASSIGN d_cmd->* TO <v_cmd>.
ASSIGN d_url->* TO <v_url>.
<v_cmd> = 'X'.
cl_wdr_utilities=>construct_mime_url(
EXPORTING
i_component_name = '<COMPONENT_NAME>'
i_mime_source = '<MIME_FILE_NAME>'
IMPORTING
e_absolute_path = <v_url> ).
ls_param-name = 'CloseWindow'.
ls_param-value = d_cmd.
INSERT ls_param INTO TABLE lt_params.
ls_param-name = 'URL'.
ls_param-value = d_url.
INSERT ls_param INTO TABLE lt_params.
lo_viwcon = wd_this->wd_get_api( ).
lo_wincon = lo_viwcon->get_embedding_window_ctlr( ).
lo_wincon->if_wd_view_controller~fire_plug( parameters = lt_params
plug_name = 'EXIT_PLUG' ).
Similar Messages
-
How to call a WD JAVA application from a WD ABAP application
Hi experts,
Here I have two applications with me. One has been created through WebDynpro ABAP while the other one has been created through WebDynpro JAVA. Now i have to call upon the JAVA aplication from my ABAp application. In other words in need to integrate both the applications so as to have an easy navigation in between them.
In the whole process I need to take care that the data is not lost from both ABAP or JAVA side.
Please help me someone knows the solution.
Regards,
Kaustubh MaithaniHi,
Usally to run WebDynpro for Java Application, we get the Application URL.
If you want to call this WebDynpro Java Application from Webdynpro Abap, then create UI element like Link to Action or LinktoURL and give the url as WebDynpro for Java URL.
Regards,
Lakshmi Prasad. -
Flash contents not being displayed on the published Apex application URL
I've had to publish one of my apex application through an bluecoat proxy to reach my Oracle HTTP server. It works fantastic for everything - except my flash charts. Flash contents are not getting loaded.Issue is only in the published application URL,the same application is working fine internally without proxy.
Does anyone have any idea why this is failing and how I might fix this?.The bluecoat support enginner is having the following findings
I am seeing some strange behavior when the browser goes through the
proxy vs when it does not.
When the browser uses the proxy the last thing it requests is the
following(packet 354):
GET /i/themes/theme_20/btn-bg.gif HTTP/1.1 Via: 1.1 GITS6ISA Cookie:
WWV_CUSTOM-F_941005998277888_193=7DE31ABFD8D9E680 User-Agent:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19)
Gecko/2010031422 Firefox/3.0.19 GTB7.1 (.NET CLR 3.5.30729) Host:
ithelpdesk.anupcomp.ae Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: en-us,en;q=0.5 Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7 Referer:
http://ithelpdesk.anupcomp.ae/i/themes/theme_20/theme_3_1.css
X-Forwarded-For: 86.98.85.117 Cache-Control: max-stale=0 Connection:
Keep-Alive X-BlueCoat-Via: E2DE37912594ECAA
HTTP/1.1 200 OK ETag: "1a887e1-92-4c2c5105" Content-Type: image/gif
Last-Modified: Thu, 01 Jul 2010 08:25:41 GMT Server:
Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
OracleAS-Web-Cache-10g/10.1.2.0.2
(G;max-age=3600+360;age=0;ecid=121853469393,0) Date: Tue, 25 Jan 2011
07:52:55 GMT Accept-Ranges: bytes Content-Length: 146 Connection:
Keep-Alive Age: 0
That is the browser requests
http://ithelpdesk.anupcomp.ae/i/themes/theme_20/btn-bg.gif and gets a
200 ok from the proxy/server.
When the browser does not use the proxy I see the following
behavior(packet 2783):
The browser requests
http://anupserver:7777/i/themes/theme_20/btn-bg.gif 2 times, each time
the server responds with a 304 not modified status, this means the
browser has the most recent copy of the .gif file. The browser finally
does a post to http://anupserver:7777/pls/apex/wwv_flow.accept. Given
that the browser gets a 200 ok response from the proxy when requesting
http://ithelpdesk.anupcomp.ae/i/themes/theme_20/btn-bg.gif and then
stops requesting data, we need to understand why the browser is behaving
differently without the proxy(i.e. why does it request the content 2
times and why is it doing the post). The interaction between the
browser and the proxy appears normal, a 200 ok response with content is
normal, why does the browser stop requesting content?
GET /i/themes/theme_20/btn-bg.gif HTTP/1.1 Accept: */* Referer:
http://anupserver:7777/pls/apex/f?p=193:1 Accept-Language:
en-us,ar-ae;q=0.5 Accept-Encoding: gzip, deflate If-Modified-Since: Thu,
01 Jul 2010 08:25:41 GMT If-None-Match: "1a887e1-92-4c2c5105"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152;
.NET CLR 3.5.30729) Host: anupserver:7777 Connection: Keep-Alive
HTTP/1.1 304 Not Modified Date: Sun, 13 Feb 2011 12:42:01 GMT Server:
OracleAS-Web-Cache-10g/10.1.2.0.2 Content-Type: text/html Connection:
Keep-Alive Keep-Alive: timeout=5, max=999 Content-Length: 0
GET /i/themes/theme_20/btn-bg.gif HTTP/1.1 Accept: */* Referer:
http://anupserver:7777/pls/apex/f?p=193:1 Accept-Language:
en-us,ar-ae;q=0.5 Accept-Encoding: gzip, deflate If-Modified-Since: Thu,
01 Jul 2010 08:25:41 GMT If-None-Match: "1a887e1-92-4c2c5105"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152;
.NET CLR 3.5.30729) Host: anupserver:7777 Connection: Keep-Alive
HTTP/1.1 304 Not Modified Date: Sun, 13 Feb 2011 12:42:02 GMT Server:
OracleAS-Web-Cache-10g/10.1.2.0.2 Content-Type: text/html Connection:
Keep-Alive Keep-Alive: timeout=5, max=999 Content-Length: 0
POST /pls/apex/wwv_flow.accept HTTP/1.1 Accept: image/gif,
image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash,
application/vnd.ms-excel, application/vnd.ms-powerpoint,
application/msword, application/x-ms-application, application/x-ms-xbap,
application/vnd.ms-xpsdocument, application/xaml+xml, */* Referer:
http://anupserver:7777/pls/apex/f?p=193:1 Accept-Language:
en-us,ar-ae;q=0.5 Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE
6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR
2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Host:
anupserver:7777 Content-Length: 262 Connection: Keep-Alive
Cache-Control: no-cacheHello Orton,
I think this has something to do with network access, may be a firewall restricting access to the server.
Thanks,
Machaan -
How to call a BSP Application inside Webdynpro for ABAP
Is there any way to call a BSP application inside the webdynpro ABAP application..
The Input screen will be the BSP page and when the user click the action it have to trigger some data in BSP and in turn it have to collaborate the manipulated data in webdynpro and shows the output in webdynpro or in BSP..pls refer to http://help.sap.com/saphelp_nw70/helpdata/EN/30/1b62799d786445a72ad85acb4fd55b/content.htm
and check if it helps u -
Unable to pass flashvars in application url in Flex 4.5.
I am creating an application in which I have to pass variable in application URL like http://localhost/Test/test.html?name=testUser
It works fine in flex 3.5 and can be read using Application.application.parameters['name']. But with flex 4.5 it is not detected unless declared in html wrapper.
Problem is, since requirement changes dynamically so somehow its not possible to determine all parameters user want to use so can't be declared in html wrapper.
Is there any work around for reading flashVars directly from application URL ? how about using browserManager's fragments for solving this problem??I am creating an application in which I have to pass variable in application URL like http://localhost/Test/test.html?name=testUser
It works fine in flex 3.5 and can be read using Application.application.parameters['name']. But with flex 4.5 it is not detected unless declared in html wrapper.
Problem is, since requirement changes dynamically so somehow its not possible to determine all parameters user want to use so can't be declared in html wrapper.
Is there any work around for reading flashVars directly from application URL ? how about using browserManager's fragments for solving this problem?? -
Pushbutton on the application bar on an abap report
Hello All,
I need to have a pushbutton (labelled Download) on the application bar on the abap report screen .
This button should enable me to download the report contents in a file format (like excel).
Please can you guys help me acheive this.How should the button with this functionality be placed in application bar?
Thanks in advance for the kind help
SwatiHi Swathi,
In such case, as said above, create a new GUi status and then assign to the report using the below statement:
AT PFnn.
Effect
This obsolete statement defines an event block whose event is triggered by the ABAP runtime environment during list display - provided the screen cursor is on a list line and a function is selected using the function code PFnn. Here nn stands for a number between 01 and 24. In the standard list status, these function codes are assigned to the function keys of the input device.
Then what processing needs to be done when the user presses the button, will be written in the below control statement..
AT USER-COMMAND
Effect
This statement defines an event block whose event is triggered by the ABAP runtime environment if, during the display of a screen list, a function with a self-defined function code was chosen.
Note
Self-defined function codes are all those that include character combinations, except for the following:
The function codes "PICK" and "PFnn" ("nn"stands for 01 to 24) do not cause the event AT USER-COMMAND, but the events AT LINE-SELECTION and AT PFnn.
All function codes that start with the character "%" are interpreted as system functions and do not cause the event AT USER-COMMAND. The system functions for lists are listed in the following table 1.
The function codes in the following table 2, likewise, do not cause the event AT USER-COMMAND, but are handled by the list processor.
Table 1
Function code Function
%CTX Call a context menu
%EX Exit
%PC Save to file
%PRI Print
%SC Search for ...
%SC+ Find next
%SL Search in office
%ST Save to report tree
Table 2
Function code Function
BACK Back
P- Scroll to previous page
P-- Scroll to first page
P+ Scroll to next page
P++ Scroll to last page
PFILE name Store list lines in a text file named "abap.lst" in standard character representation in the standard directory of the application server. If a name is entered using name, this is converted to lowercase letters and used as the file name.
PL- Scroll to first line of the page
PL-n Scroll n lines back
PL+ Scroll to last line of the page
PL+n Scroll n lines up
PNOP No effect
PP- Scroll back one page
PP-n Scroll n pages back
PP+ Scroll one page forward
PP+n Scroll n pages forwad
PPn Scroll to beginning of page n
PRI, PRINT Print
PS-- Scroll to first column
PS++ Scroll to last column
PS- Scroll one column to the left
PS-n Scroll n columns to the left
PS+ Scroll one column to the right
PS+n Scroll n columns to the right
PSn Scroll to column n
PZn Scroll to line n
RW Cancel
Example
This program works with a self-defined GUI status MYLIST. The function that is linked there with the function code MY_SELECTION causes the event AT USER-COMMAND during list display and also creates details lists.
REPORT demo_at_user_command.
START-OF-SELECTION.
SET PF-STATUS 'MYLIST'.
WRITE 'List line'.
AT USER-COMMAND.
IF sy-lsind = 20.
SET PF-STATUS 'MYLIST' EXCLUDING 'MY_SELECTION'.
ENDIF.
CASE sy-ucomm.
WHEN 'MY_SELECTION'.
WRITE: / 'You worked on list', sy-listi,
/ 'You are on list', sy-lsind.
ENDCASE.
Regards
Shiva -
Master/Detail Viewer Application in Web Dynpro ABAP
Hello @ll,
i search a Master/Detail Viewer Application in Web Dynpro ABAP like this in WEB Dynpro Java (show below).
http://help.sap.com/saphelp_nw04/helpdata/en/84/8bc1a36a38da41a46517b114ca0974/frameset.htm
Have anyone a tutorial or can help how i config the event "onLeadSelect".
I create a master- and detail table done all context mapping.
Thanks in advance
regards
arminHi Armin,
Please go through
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a89b067-0801-0010-8192-a9896a60938e?quicklink=index&overridelayout=true
Thanks,
Prahsant -
Retrieving an URL content in ABAP
Hi Experts,
I have to read the content of http://.......... URL content to ABAP. Is there any method or function module to read??
Thanks and regards,
Venkatraman.N.Hi!
Take a look at the folliwing programms and examples:
RSHTTP*
They work really good.
Best regards,
Esteban -
How to execute application server file from abap program
Hi Friends,
i have a requirement to execute application server file using abap program.
i got a file directory like '/home/im3/hrintf/xxx.sh' , it's of unix file, so they want me to execute through abap program.
pls suggest me with relevant logic.
Thank you.
Regards
Ramesh MDefine the external command in SM49/SM69
Try with SXPG_CALL_SYSTEM or SXPG_COMMAND_EXECUTE
Also check this link
link:[Execute Unix Script|http://searchsap.techtarget.com/tip/0,289483,sid21_gci774071,00.html] -
Hi all,
do you know an ABAP function to encode a string to pass in an url so that to get "http%253A%252F%252Fsap.com%252Fxi%252FAP%252FCRM%252FGlobal"
I'm passing dynamicParameter via an URL from an ABAP to a Java WD appli. They are automatically decoded on java side, but I need to encode them on ABAP side.
Thanks and regards,
Marie-PierreHi,
there is new function in ABAP for escaping characters in different formats, including URL/URI.
Predefined escape function in ABAP
Peter -
Simple application using WebDynpro for ABAP
Hi All,
I want to Build a simple application using WebDynpro for ABAP..
Thank you,
KaranHi Mr.Karan,
Pls Go through the link [Application|http://****************/Tutorials/WebDynproABAP/SimpleApplication/SimpleApp1.htm]..
Let me know if need any help...
Thank you,
Srini.S -
Planning application url is always opened in the same window?
hi all,
we hava a problem about sts's planning application url.
no matter what url is entered,all the planning application url is always opened in the same window.and the old opened url is covered by the new url.
Is there any solution about this? Can this url be opened in seprate window?
Thank you!
Best Regards,
maHello
I would like to know one thing before answring the question how did you link with an url with the label based menu.
Did you used the opendocument syntax or what did you used.
Another method is why donf you use the URL button and map according to your requirement. place the url button on the menu item and change the properties to tranperancy to 0%.
Thanks
Santhosh V
Edited by: Santhosh Vudarla on Nov 19, 2010 12:05 PM -
Need BSP-Application-Url without session_id
Hallo everybody,
have a problem with bsp. my problem is, i need a bsp-application-url without session-id. you can see in my example
get:
http://test:8100/sap(xxxxx)//bc/bsp/ztest/index.do?onInputProcessing(setformfields).....
need:
http://test:8100/sap//bc/bsp/ztest/index.do?onInputProcessing(setformfields).....
thanks...
harryatworldHi, it is not possible to diasable the url mangling you mentioned. You can call the static method
cl_o2_helper=>generate_url_for_page to get an url for a specific page.
Best regards,
Stefan -
Layer7 application URL monitoring - SCOM 2007R2 possible?
Hello helpers,
I have a request to monitor Layer7 application URLs using SCOM 2007 R2.
Have been working on this case past 6 months, but I am unable to resolve it because health state of the URL monitors are not changing.
URL example: http://ABCDEF.ZYX.HIJKLM.com:8080/ssg/ping
The page just says "OK" and HTTP status code is 200.
Even though we have configured with content text which is not present in the page content, there is no state change happening.
Appreciate your answers on this.
Thanks in Advance,
Dheeraj B.Hi,
It seems like that you are using web application availability monitoring template to monior URLs. If you want to get state changing when specific criteria is met, make sure you configured it correctly.
In addition, the article below should be helpful for you, please check it:
http://blogs.technet.com/b/momteam/archive/2012/05/31/using-the-web-application-availability-monitoring-to-monitor-web-applications-health.aspx
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
SLD Application Programming Interface for ABAP-Based Systems
Hi Experts,
Could you help me to configure the connection between SLD ABAP API and the SLD manually?
Why we use SLD Application Programming Interface for ABAP-based systems (SLD ABAP API)?
please help.
SushamaYou have to use transaction SLDAPICUST in the business system to define the SLD access data. This data consists of the host and port of the SLD as well as a user and password (PIAPPLUSER, for example). You can use the entries that you maintained on your Integration Server.
The RFC destinations LCRSAPRFC and SAPSLDAPI are used for the SLD connection. They use the SLD access data maintained with transaction SLDAPICUST. The RFC destination LCRSAPRFC is used to read the exchange profile; SAPSLDAPI is used by the ABAP API.
The RFC destinations are also used to retrieve the information about where to retrieve the information about where to find the Integration Builder required for the proxy generation. This information is located in the exchange profile.
You have to create both RFC destinations in your business system. They use the same registered server program, which is defined as part of the RFC engine settings of the J2EE Engine on the Integration Server host. This means that all business systems can use the same server program for their RFC destinations LCRSAPRFC and SAPSLDAPI. This program ID is:
● SAPSLDAPI_UNICODE for Unicode business systems
● SAPSLDAPI_NONUNICODE
This should help
Maybe you are looking for
-
ITunes 10.4 64 Bit on Windows 7 - refuses to see devices or bonjour
Decided to post on the support communities after exhausting pretty much every suggestion found during multiple scours of the Internet and support forums and wasting many hours into the bargain. I recently upgraded to a new PC running 64bit Windows 7
-
Image looks different in different browsers?
I had set up a webpage and was having one little problem with it that I could not fix. For some reason, one image (the header of my page) looked blurry in Firefox but nice and crisp in Internet Explorer. If I played with the settings in Photoshop and
-
Linux bluetooth utility "BlueZ" on OS X
Hi everybody, I'm looking for a way to run these bluetooth utilities , yet unfortunately, they are all written for Linux with BlueZ, the "Official Linux Bluetooth protocol stack". How can I install BlueZ on Mac OS X? (Couldn't find anything via Fink
-
ESB 10.1.3 and legacy systems
hi what is the minimum requirements to integrate the existing legacy systems with oracle ESB 10.1.3.1? Some of our existing systems are exposing functionalities throught services and others are not. thanks
-
Safari Crashes when opening - due to a plug in i think
Downloaded a plug in that put some sort of toolbar for games on safari. Since then it hasn't been able to load, it tries to but then freezes and crashes. I've removed all the plug ins from ~/library/internet plug ins, and the toolbar is still there.