How To Create a URL Call in WebDynpro
Hy All,
i want to call a URL (WWW) directly from a WebDynpro-Application. But i found no stuff how to do this.
URL myUrl = new URL("http://www.google.de");
wdThis.wdInterfaceViewController().wdFirePlugStartAppExit(myUrl);
I know how to read parameters of the URL, but i have Problems to create a URL-Call.
Who can help ?
Do I need a urlConnection ?
Thanks for help.
By Jürgen
Hello Abdul, hello Sam,
thanks for help !
I have tested both and it is ok !.
If i want to use the "external Link" in my Window, i have know thte Problem.
I use the LinkToURL-Control with the Propertie "_SELF" and allways a new Browser Window come up! Where is my fault ?
I have tested it with the following properties "_SELF, _PARENT, _TOP".
Regards
Jürgen
Similar Messages
-
How to create a URL link in webdynpro?
HI experts,
I want to create a webdynpro DC that will point to KM links through a URL.Could you please suggest me the solution
Thanks,
Khyana PrabhaHi Amol,
Thanks a lot for the solution.It helped me a lot .
Thanks,
Khyana Prabha -
How to create a routine call in FM (FI Module)
How to create a routine call in FM (FI Module)
Anu,
I've attached a really short example that does something like what you're talking about. It just compares the user's username and password a pre-determined username and password and then "logs the user in" based on that comparison. Like Greycat said, you probably want to store this username and password info in some sort of file on the PDA that's in an encrypted format for both security and flexibility of your application.
I hope this helps,
Justin D.
Applications Engineer
National Instruments
Attachments:
LoginVI.vi 17 KB -
Procedure to how to create a pop up in webdynpro
hi all,
will anybody guide me the procedure to how to create a pop up in webdynpro application..plz as am new to it and i had requirement of creating pop up window in starting the application.
thanks in advance.hi suman,
thanks for ur reply.
i want my pop up when i clk on button ok on my 1st view.
so i included the code in the method of ONACTION OK.
but am not able to display any sort of pop up.
my code is
DATA lo_nd_node TYPE REF TO if_wd_context_node.
data: lr_popup type ref to if_wd_window,
lr_view_controller type ref to if_wd_view_controller.
data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component type ref to if_wd_component.
data lo_window type ref to if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window(
window_name = 'WW_POP'
title = 'my first message'
close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_ok
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_ok
lo_window->open( ).
will u help me out in this. -
How to create a service call for more then one item
Hi All,
How to create a service call for more then one item. i.e. the service call should be logged for more then one itemAs you noticed this is not possible by design.
Maybe you could have a dummy item for that purpose and register the real items to be handled in a UDT...
HTH -
How to create Personalized urls
how to create personalized urls like firstname.lastname.abc.com with out making any individual sub-domain records in DNS
Hey Ben,
Yes it is possible to create dynamic URL's.
1. Simply select the link from the table like so.
SELECT PK_ID,
NAME,
LINK
FROM IMAGE_INFO2. Edit the region and go to report attributes.
3. Click the pencil to edit the link column.
4. Scroll down to the column link section and enter something like 'View' as the link text. You can change that to whatever you like.
5. Change the target form page in application to url.
6 In the URL text object enter *#LINK#*. This will substitute #LINK# for the value that is returned by the sql statement in the LINK column.
Seeing how you are linking to an image you could just do something like this:
SELECT PK_ID,
NAME,
'<img class="mug_shot" src="' || LINK ||'" title="'|| NAME ||'" alt="'||NAME ||'" />' IMAGE,
FROM IMAGE_INFOThis will generate an image tag and show the image inline with the record. Since this species a class you could use CSS in your header section to format the image to a standard size. Something like:
<style type="text/css">
.mug_shot{
width:200px;
height:200px;
</style>Good Luck,
Tyson
Edited by: Tyson Jouglet on Jan 12, 2009 4:13 PM -
How to Create diff URL in Portal.
Hi Friends.
I have one doubt on How to Create diff URL in Portal. We have only one EP-Server.
For Example I have done logon page for portal when open the portal URL I m getting that logon page. So I did not get SAP Standard Logon Page By using Same URL.
So I need one more Diff URL that URL having my Logon page. So that time I login into the Portal I am able to see our logon Page.
When I logon to diff URL that time I am able to See SAP Standard Logon Page.
Regards
Vijay KalluriHi,
SAP Logon page gets loaded based on similar concept of Servlet-jsp works i.e. based on pattern passed, in usual case irj is pattern which is identified by j2ee engine based on xml as portal web component and invokes it.
Now to have 2 different logon pages; we need to pass 2 different patterns: have an entry for each in xml file and different web components for each.
This is solely based on my cinceptual knowledge but have not tried it. -
How to create interactive forms in ABAP WebDynpro
Hi Experts,
we are trying to create our first interactive form with the "how to guide for ABAP WebDynpros".
Unfortunatelly we have a big problem on Step 17, where we want to save the created WebDynpro Application. After safing the system shows a pop up with following error message:
"you are not authorized to use function - Netzwerkadministration". Although we have all the necessary access rights in the system (ERP/Developer User).
But if we go on and create a service call (it's a guided procedure) for an existing BAPI, we can't select the function module interface parameters that we want to add to the context via checkboxes. There are no checkboxes available. but the how-to-guides shows checkboxes.
is maybe the first error the reason that we can't select the function modules? Please help. If you need the how-to-guide, please give me your eMail and I will provide it to you immediately.
Thank you very much in advance and regards,
H.-J. KerstenHello
I got the same problem when i try to create WD ABAP application.
Did you find the solution?
Regards
Nir -
How to create a table dynamically in webdynpro
hai everybody
in webdynpro we know how to create at design time
but i want to create it at runtime that is dynmamically i want to set the rows and coloums of the table at run time
Thanks & Regards
sravanI guess this should work,
Suppose you want to dynamically create a Table (say Category) having a column called Category Code, then in the wdDoModifyView() hook method, just add the following code snippet,
if (firstTime) {
//Create the Table UI Element
IWDTable table = (IWDTable) view.createElement(IWDTable.class, null);
//Set the Table Header
IWDCaption tableCaption = (IWDCaption) view.createElement(IWDCaption.class, null);
tableCaption.setText("Category Table Contents");
table.setHeader(tableCaption);
//Create and add a Column UI element for the above table
IWDTableColumn column = (IWDTableColumn) view.createElement(IWDTableColumn.class, null);
table.addColumn(column);
//Set the required column header using the caption (Category Code here)
IWDCaption caption = (IWDCaption) view.createElement(IWDCaption.class, null);
caption.setText("Category Code");
column.setHeader(caption);
//Create a TableCellEditor and bind it to an attribute of the Category Node in the context
IWDTextView editor = (IWDTextView) view.createElement(IWDTextView.class, null);
editor.bindText("tb_Category.cat_code");
column.setTableCellEditor(editor);
//Finally add the Table UI element to the view
IWDUIElementContainer root = (IWDUIElementContainer) view.getRootElement();
root.addChild(table);
You need to follow the same procedure for adding multiple columns to the table.
Hope this answers your question!
Regards
Kishan -
How to create Multiple URL of a webservice ?
Hi,
I want to create multiple URL of single web service and runtime I want to know which URL is used to call web service.
How to do that ?
Regards,
AjayHow to do what exactly? What do you mean by multiple URLs? And what exactly is "during runtime", in what bit of code do you want to check this and why?
I can make a guess (I shouldn't have to do that, you should be providing details): this is intended to deploy a webservice to different environments (test, acceptance, prod) and you need to tell your application which deployed instance of the webservice it should be calling, which you do by providing a specific URL. Am I right? -
How to create a URL in R3 system?
Hi experts,
My requirements is that external application will send a XML message to R3 system via a URL.But I don't know how to create a valid URL in R3 system.Who can help me.many thanks.
KelvinHi,
Check the below FMs,
HTTP2_GET HTTP Get
HTTP2_GET_FILE HTTP Get File
HTTP2_GET_FILES_255 HTTP Get Files
If u have any middleware like XI or SAP BC it will be simple.
Thanks and Regards, -
How to create the PDF file in WebDynpro?
Hi.
How to create PDF file in Webdynpro?
I have one WD screen In there i have one File Download action. Once i click that it will open one PDF file which consisting of all details.
Pls reply me.
with regards,
Gobintah.RHi
Check these links
Re: Opening a PDF File from WebDynpro
Re: Generating PDF file using FOP API in Web Dynpro
http://help.sap.com/saphelp_nw04/helpdata/en/1a/ff773f12f14a18e10000000a114084/frameset.htm
Thanks
Edited by: Anup Bharti on Oct 16, 2008 11:51 AM -
How to create inbound JIT Call Manually?
Hi All,
Currently I am doing SAP JIT configuration. I have created the JIT Customer.
Now I need to get a JIT call to determine the schedule lines in the scheduling agreements. In real scenario, JIT call comes through Idoc from the customer side.
But I need to create JIT Call manually to do the configuration. So , How to create it? Is it Possible?
Thanks,
Anbazhagan EUse transaction JIT1
Put in the Sold to customer number and the Ship to Partner description, just like in the first section of JITV, and put a unique value for this JIT Customer is the "Ext. JIT Call No." field.
When you hit enter you will get the Call Components grid or both the Component Groups and the Call Components Grids (depending on what Maintenance Mode you selected on JITV).
Let's assume your Mtce Mode = 3 - Discrete Material / Summ JC. Therefore you only get the Call Components grid on transaction JIT1.
You need to fill in certain fields at a minimum, more depending on the JIT Call Configuration.
Bare minimum, you need:
1) Customer material or Material (if you fill in one, when the program finds the matching LZJ SA, it wil default the other)
2) External Status (ex. ECRE or CR or whatever External status you have defined and linked to the CREA action in configuration)
3) Planned Ship date or Planned Requirement date
4) Quantity
If when entering the Customer material or Material, the Sales Document and Sales Item is not populated, that means you do not have a matching LZJ type SD scheduling agreement in the system. Or the data you are entering on JIT1 does not exactly match.
The SA must be there before you can do JIT1.
The JITV entry must be there before you can set up the SA.
Hope this helps at a basic level.
You may need to enter additional data at the header of the Inbound JIT Call, or at the Call Components level, depending on a particular scenario or to correctly find the SA.
If you have EDI that has come in and you want to create a similar JIT Call. Use the [Propose JIT Call button]
On the 1st screen, enter the Sold to, Partner Desc and new JIT Call number.
When you get to the 2nd screen, click the Propose JIT Call button, and enter the JIT Call you want to copy from. You just need to enter the External Status and new Planned Date. The materials and quantities and other fields get copied from the source JIT Call. -
How to create a URL in CRM 2007?
Hi,
Please guide me on how do I create a URL in SAP CRM 2007?
Which transaction codes?
Regards,
RohitHi Rohit,
1- Use T code- PPOMA_CRM and select your Organizational Unit
2-Hope you would have assigned a Position
3- Assign the User to the Position.
By default it will take the Business Role Assigned to Position for the assigned user.
If you want to assign a role double click on the position>Goto>Detailed Object-->clik on Enhanced object description.
from the Infotype select Business Role > click on create> assignh Business Role ( e.g. SALESPRO,MARKETPRO,OR Z****)
Regards
Arup -
How to create an url for bsp page to access in IE?
hi friends,
I am new to BSP topic.
I have created 4 BSP pages. and 1 Main BSP page. Now in Main BSP page i attached all the 4 BSP pages links.
Now when i test the Main BSP page it will show all the 4 BSP page links. All are working fine.
But the end user has to access this through IE by typing Main BSP page full path. It's some what becoming critical to enter full path. It will be access in internally(intranet) only not outside.
For this i want create an URL like http://empess.
When the user type this URL http://empess in IE and press enters then my main BSP page has to open.
How to do this. any helps will appreciate...
Regards,
Shree.hi,
As u said i created External Alias as /ITCESS to my BSP application.
And i select my BSP application name from the Target Element tab. Then i selected the alias name i right clicked on it, i selected TestExt. Alis option. It's working fine.
But now the problem is, i want this to display in IE direclty, when user type the /ITCESS in Internet Explorer addres bar.
Regards,
shankar.
Maybe you are looking for
-
"We're a non-profit organization that believes the Web should be open, accessible, transparent, safe and-most of all-a force for the good of humanity. ... And we depend on support and collaboration from people like you." SO YOU SAY BUT... I had firef
-
Internal errorcode, Errorcode 9050 "disk_not_accessible"
Hi, I'm getting error in Installation-SAP Netweaver 2004s on AIX 5.3 usingMaxDB as database. Error Log ERROR 2007-03-10 16:09:10 The dbmcli call for action SET_LOG_WRITER_OFF failed. Check the logfile XCMDOUT.LOG. ERROR 2007-03-10 16:09:10 The dbmcli
-
What does this code do? Causing xtra space below Flash
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="538" height="146" id="FlashID4" title="debt solutions"> I have spaces below every SWF file. But when I remove this - it goes away. (Shows up in FireFox) What will happen with this de
-
Question About Using Sony Digital 8mm Video Walkman?
I want transfer old 8mm video to my Mac Pro for editing in Final Cut Express. I'm really new at this and am a bit confused, the Sony says it has a Firewire port on it for "lossless digital transfer to your computer".....so what will this mean when I
-
Hi all, I need to install KMC SP9 Patch3 to make crawlers work properly. I've done search on http://service.sap.com so many times but i've not been able to search and download the Patch3 for KMC SP9. plz send me the proper link to KMC SP9 Patch3 so t