Calling urls and receiving urls
Hie
I have to do some authorization to an external server which happens in two stages.
So in first stage i need to call a url to 3rd part server passing some parameters in the url and the server then in response redirects to user specified url (in passed parameters) along with some additional parameter name 'code' .
In second state then i need to call to another url along with the retrieved code which will again respond with another parameter key and redirect to specified url.
I can implement it in ADF using UI. Which will need user to click buttons to initiate the stages Though I am looking if i can do all without user intervention.
Any advise please?
Would also need this information to make Skype work in our enterprise.
Any responses?
Similar Messages
-
my Iphone can call ut and receive text/email messages but is not receiving incoming calls. What is your thought?
Hi Baileyfour,
Welcome to the Support Communities!
The articles below may be able to help you with this issue.
Click on the link to see more details and screenshots.
iPhone: Can't hear through the receiver or speakers
http://support.apple.com/kb/TS1630
There are two places where vibrations can be set.
One is the Settings > Sounds
The other area is Settings > Notifications
If you have an app set to Alert, it may have a vibration set for it.
iOS: Understanding Notifications
http://support.apple.com/kb/ht3576
Information about Notifications settings can also be found in the iPhone User Guide (pages 131, 132)
http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
I hope this information helps ....
Have a great day!
- Judy -
My iphone 4 did not make calls but I receive calls, send and receive sms, emails, etc. How may I solve it?
I am having the same problem with ios 4.3.5
-
Hi! Just got my new ihpone 4 yesterday, but i'm having issues in texting a specific contact. sending sms or iMessages works perfectly fine with all my contacts apart from 1,which is even using my same network, though i can call it and receive sms from it. What could the problem be?
My Quad is as quiet with 10.4.5 as it was on arrival Jan 31, with 10.4.2
Altivec Fractal Carbon gives the CPU too much chance to cool down. I've got other ways to drive the CPU to sustained 100% load. Yes, the fans speed up, but it's still pretty quiet. I've run it at 100% for hours.
I like the idea of taking things gradually. If you can wait a few days before making big changes, it can make things much easier. 3-4 weeks is very conservative, but great if you have that much patience.
My Quad has been up full-time since I got it. Works perfectly.
Quad G5 2.5Ghz 4.5GB 2x250G, PB 15" 1.5Ghz,80G,1.5G Mac OS X (10.4.5) -
My iphone is disabled and I'm traveling. What can I do to reset it to at least use its basic functions (make calls & send / receive sms)?
There is nothing you can do without doing a restore via the recovery mode. Since you have iOS 7, if you activated Find My Phone in Settings > iCloud, you can login to your iCloud account, https://www.icloud.com from a computer, and then do a remote wipe of the iPhone...that will return it to factory condition and all contents will be erased.
-
Call RFC and receive a java.lang.NullPointerException ...
Hello,
I develop a RFC adaptative project.
When i execute the application, i obtain the following exception:
java.lang.NullPointerException
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:256)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:222)
at com.sap.tut.wd.rodlist.model.Ztest_Rod_Input.<init>(Ztest_Rod_Input.java:51)
at com.sap.tut.wd.rodocomponent.RodoCust.wdDoInit(RodoCust.java:98)
at com.sap.tut.wd.rodocomponent.wdp.InternalRodoCust.wdDoInit(InternalRodoCust.java:130)
... 45 more
Ztest_Rod_Input is my adaptative RFC ...
This excception appears with the following code line:
> ztest_rod_Input input = new ztest_rod_Input();
I tried with a known BAPI in other project and i don't have this exception ...
Have you any suggestions ?
Thanks a lot,
Rodolphe.Hi Arch,
I execute your code and in the Input View i enter the following code:
> public void onActionSearch {
>String RFCelement = wdContext.currentContextElement().getLocalMatnr();
>wdThis.wdGetRodoCustController().wdGetContext().currentZtest_Rod_InputElement().setMatnr(RFCelement);
> wdThis.wdGetRodoCustController().executeZtest_Rod_Input();
When the user complete the input field and he execute the button Search ...
i obtain the following exception:
java.lang.NullPointerException
at com.sap.tut.wd.rodocomponent.InputRodView.onActionSearch(InputRodView.java:145)
at com.sap.tut.wd.rodocomponent.wdp.InternalInputRodView.wdInvokeEventHandler(InternalInputRodView.java:140)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
... 26 more
Then when i look the SDL server log i see:
#1141 05/06/2008 14:06:04.607 [SAPEngine_Application_Thread[impl:3]_12] ERROR com.sap.lcrabapapi.ejb.AbapSLDRequestBean: Caught an Exception while processing a JCO request. Check the RFC engine for sanity and check your server logs and traces for more information.
Thrown:
java.lang.NullPointerException
Rodolphe -
Recent calls made and received are not saving in call log for Z10
all recent calls are not saving under call log in my Z10. where can i find the settings for call log?
I have the exact same problem, the call list remains empty no matter what...
-
How to select and print calls only made and receiv...
how to select and print out list of calls made and received for the past year, between myseld and one particular contact
While I'm not sure about what you want to accomplish, I'll offer a couple of possible solutions.
1. If the items that you want to remove are on the timeline, and those items are in layers that contain no content that you want to keep, then you can just select those layers and delete them.
2. If you want to remove some items from the stage, but keep the original items for some later purpose, just copy the movie and then edit the copy as in item 1.
3. If you need to remove some items from stage and then resize the stage to compensate for the loss of these items, then you may have to move and/or resize some of the items in your movie. This may be as simple as using the "edit multiple frames" selection in the timeline, or it may be much more time consuming. -
Transaction Launcher : calling URL and fill return values in the UI
Hi SDN,
We have a requirement, I am putting an example of it below:-
1. Call URL www.bank.com/branchlocator.htm?postcode=???????
2. pass postcode of confirmed BP to the branchlocator field postcode
3. the website will return nearest branch post code.
4. Return this postcode from the bank website, back into the webui address field.
Is it possible to achieve the above scenerio? if yes then any guidelines on how to achieve this?
Hope I am clear in the requirement. Any inputs/suggestion will be helpful.
Thanks,
PankajHi Shai,
the webservice is working well, trying to test it with webservice navigator.
He also returns the correct number of rows (because there appears slider beneath the table output and I also counted the rows), but there is no data displayed in visual composer.
I have got no further ideas, what the problem is...
THank you for your support.
Kind regards, PAtrick. -
Code to call url in abap program
code to call url in abap program using cl_http requests and save the outcome to a location in a file
See the below program
REPORT zbrowser .
TABLES : sscrfields.
INCLUDE .
CONSTANTS: htmlcntl_eventid_on_navigate TYPE i VALUE 1.
CONSTANTS: htmlcntl_eventid_navigate_com TYPE i VALUE 2.
DATA : h_html_ctrl TYPE cntl_handle,
repid TYPE sy-repid,
dynnr TYPE sy-dynnr,
cmd TYPE sy-ucomm,
flag,disp.
DATA : it_exclude LIKE TABLE OF rsexfcode WITH HEADER LINE.
SELECTION-SCREEN : FUNCTION KEY 1,
FUNCTION KEY 2,
FUNCTION KEY 3,
FUNCTION KEY 4,
FUNCTION KEY 5.
General Browser to View
Files/Pictures & WebPages
© 2005 SAP AG 2
SELECTION-SCREEN COMMENT 45(50) comment1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(28) comment2 FOR FIELD url.
SELECTION-SCREEN POSITION 31.
PARAMETERS : url(1064) LOWER CASE .
SELECTION-SCREEN PUSHBUTTON 79(4) open USER-COMMAND open.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
comment1 = 'ABAP INTERNET EXPLORER'.
comment2 = 'Enter URL/Filename To Open :'.
open = icon_transfer .
sscrfields-functxt_05 = icon_sap.
sscrfields-functxt_04 = icon_booking_stop.
sscrfields-functxt_03 = icon_refresh.
sscrfields-functxt_02 = icon_arrow_right.
sscrfields-functxt_01 = icon_arrow_left.
repid = sy-repid.
dynnr = '1000'.
it_exclude-fcode = 'ONLI'.
APPEND it_exclude.
it_exclude-fcode = 'INFO'.
APPEND it_exclude.
*Changing GUI status
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
p_program = repid
TABLES
p_exclude = it_exclude.
CALL FUNCTION 'CONTROL_INIT' .
IF sy-subrc <> 0.
EXIT.
ENDIF.
CALL FUNCTION 'HTMLCNTL_CREATE'
EXPORTING
owner_repid = repid
link_repid = repid
dynnr = dynnr
handle = h_html_ctrl
EXCEPTIONS
control_install_error = 1
create_error = 2
General Browser to View
Files/Pictures & WebPages
© 2005 SAP AG 3
OTHERS = 3
IF sy-subrc <> 0.
EXIT.
ENDIF.
CALL FUNCTION 'HTMLCNTL_INIT'
EXPORTING
h_control = h_html_ctrl
left = 1
top = 2
width = 143
height = 37
register_event_on_navigate = 'X'
cb_form_navigate_complete = 'ON_CONTROL_EVENT'
EXCEPTIONS
cntl_system_error = 1
cntl_error = 2
dp_create_error = 3
dp_install_error = 4
dp_error = 5
create_browser_error = 6
init_error = 7
OTHERS = 8
IF sy-subrc <> 0.
EXIT.
ENDIF.
CALL FUNCTION 'CONTROL_FLUSH'.
AT SELECTION-SCREEN.
cmd = sscrfields-ucomm.
CASE cmd.
WHEN 'OPEN'.
PERFORM load_html_page.
CALL FUNCTION 'CONTROL_FLUSH'.
WHEN 'FC01'. "BACK
CALL FUNCTION 'HTMLCNTL_GO_BACK'
EXPORTING
h_control = h_html_ctrl.
IF sy-subrc <> 0.
EXIT.
ENDIF.
General Browser to View
Files/Pictures & WebPages
© 2005 SAP AG 4
PERFORM get_current_url.
WHEN 'FC02'. "FORWARD
CALL FUNCTION 'HTMLCNTL_GO_FORWARD'
EXPORTING
h_control = h_html_ctrl.
IF sy-subrc <> 0.
EXIT.
ENDIF.
PERFORM get_current_url.
WHEN 'FC03'. "REFRESH
CALL FUNCTION 'HTMLCNTL_DO_REFRESH'
EXPORTING
h_control = h_html_ctrl.
IF sy-subrc <> 0.
EXIT.
ENDIF.
PERFORM get_current_url.
WHEN 'FC04'. "STOP
CALL FUNCTION 'HTMLCNTL_STOP'
EXPORTING
h_control = h_html_ctrl.
IF sy-subrc <> 0.
EXIT.
ENDIF.
WHEN 'FC05'. "GO TO HOME
CALL FUNCTION 'HTMLCNTL_GO_HOME'
EXPORTING
h_control = h_html_ctrl.
IF sy-subrc <> 0.
EXIT.
ENDIF.
PERFORM get_current_url.
CALL FUNCTION 'CONTROL_FLUSH'.
WHEN OTHERS.
General Browser to View
Files/Pictures & WebPages
© 2005 SAP AG 5
CALL FUNCTION 'CONTROL_DISPATCH'
EXPORTING
fcode = cmd.
CALL FUNCTION 'CONTROL_FLUSH'.
ENDCASE.
CLEAR cmd.
CALL FUNCTION 'CONTROL_FLUSH'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR url.
PERFORM get_file_name.
PERFORM load_html_page.
*& Form get_page_name
Get Page Name
FORM get_file_name.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_FILENAME = ' '
def_path = 'C: '
mask = ',.,..'
mode = 'o'
title = 'Browse to Open'
IMPORTING
filename = url
RC =
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5
IF sy-subrc <> 0.
EXIT.
ENDIF.
ENDFORM. " get_page_name
*& Form load_html_page
TO load the file (URL)
General Browser to View
Files/Pictures & WebPages
© 2005 SAP AG 6
FORM load_html_page.
CALL FUNCTION 'HTMLCNTL_SHOW_URL'
EXPORTING
h_control = h_html_ctrl
url = url.
IF sy-subrc <> 0.
EXIT.
ENDIF.
flag = 'X'.
ENDFORM. " load_html_page
*& Form get_current_url
Get Current URL
FORM get_current_url.
CALL FUNCTION 'HTMLCNTL_GET_CURRENT_URL'
EXPORTING
h_control = h_html_ctrl
IMPORTING
url = url.
ENDFORM. " get_current_url
Callback form for the event 'NavigateComplete'
callback on_control_event.
CALL FUNCTION 'CONTROL_GET_EVENT_PARAM'
EXPORTING
h_control = h_html_ctrl
param_id = 0
CHANGING
return = url.
PERFORM get_current_url.
endcallback.
Reward Points if it is helpful
Thanks
Seshu -
Calling url from a form - err using ".value" method
I'm trying to call url from a form, which seems to be the subject of many of these Posts.
I have a form with a combo box/LOV and a button. The LOV will read a url into the combo box from a table of url's.
I used the following code in the "OnClick" Java Script Event Handler section, which I pieced together from other posts in this and other forums. (i.e. I'm a pl/sql programmer trying to use Java Scripts for the first time).
OnClick
var X = FORM_DRWING.DEFAULT.A_DRILLDOWN_PATH.value;
run_form(x);
When I attempt to run this form from the "manage" window, I get a run time error "FORM_DRWING is undefined" upon clicking the button. FORM_DRWING "IS" the name of the form!
The runform() function in the "before displying form" pl/sql code section is
htp.p('<script language="JavaScript1.3">
< !--
function runForm(v_link)
window.open(V_LINK);
//-->
</script>');
This code was from yet another Post.
Any help would be appreciated.
Thanks, Larry
nullHi Larry,
the problem could be that you need to preface your form with 'document.'.
i.e.
var X = document.FORM_DRWING.DEFAULT.A_DRILLDOWN_PATH.value;
Regards Michael -
How to call URL to collect user input ?
Hi all,
I am writing a Swing applications and at some points, I need to call a URL (external web page) to collect user input. It invokes passing certain parameters to web page so that the web page can be displayed in some certain form. After the user input all data in web page, press "submit", my Swing application needs to get the input back. I suppose that calling URL is trivial but how can I get the input back ? Any input will be greatly appreicated.
Note: the web page will be displayed in one JFrame but it may not related to this problem.
C.K.response.sendRediresc("http://.......);
public void sendRedirect(java.lang.String location)
throws java.io.IOException
Sends a temporary redirect response to the client using the specified redirect location URL. This method can accept relative URLs; the servlet container must convert the relative URL to an absolute URL before sending the response to the client. If the location is relative without a leading '/' the container interprets it as relative to the current request URI. If the location is relative with a leading '/' the container interprets it as relative to the servlet container root.
If the response has already been committed, this method throws an IllegalStateException. After using this method, the response should be considered to be committed and should not be written to.
Parameters:
location - the redirect location URL
Throws:
java.io.IOException - If an input or output exception occurs
java.lang.IllegalStateException - If the response was committed or if a partial URL is given and cannot be converted into a valid URL -
SAP BW 7 - Call URL from Right Click Menu
Is it possible to make a http call from the right click menu? I know this was possible in 3.5, but the new code seems to have limited my ability to edit the options that appear when I right click on a field and I need to make a call out to another web server for some external data. Is this possible?
Any information that anyone has about a potential work around would be great!!
Thx.Kristine,
Have you tried using RRI (Transaction RSBBS)? You can call URL , pass values etc.
-Saket -
Url in links adding calling url as prefix resulting in not found
when i try to call a URL from a menu or document link (either in self or blank) it creates an entry that reflects the new URL being called as a subpage of the calling URL.
so if i am on website www.mysite.com and i link to www.yoursite.com it creates:
www.mysite.com/www.yoursite.com
any ideas would be helpful. thanks.Do you mean you are coding the HTML yourself?
Firefox will interpret links that do not start with a protocol (e.g., http://) (or with //) as being on the same site displaying the page. For links to external sites, make sure to use the full URL starting with the protocol, or at least starting from the //.
Does that fix it? -
Retrieve caller url in doGet()
In ine of my page there is a link to one of my servlet. Also this servlet can be directly by tyiping on address bar.
I need to get the calling url withing the doGet method in the servlet.
both request.getHeader("referer") and request.getAttribute("javax.servlet.error.request_uri") return a null values
Pls help meYou can use the request.getRequestURL()
-
Calling url without using javascript
Hi all,
In my BSP application, I need to call url in a popup or in the application itself without using javascript.
My requirement is the url should not be visible to the users. For this, if a javascript is used the url would be visible to the users whereas if the url is called in the BSP application itself then only BSP url would be visible. Can anyone suggest some methods to call url in a BSP application?
Thanks and Regards,
Sneha.Hi Sneha,
you can have ABAP make the HTTP request then just pass the response directly back to the web client.
Sample of how to make a HTTP request can be found at http://help.sap.com/saphelp_nw04/helpdata/en/e5/4d3514c11411d4ad310000e83539c3/frameset.htm
Cheers
Graham Robbo
Maybe you are looking for
-
I want to create e mail folders for my goole account. I go to the account and as suggested in the forum i tap on edit. Then instead of getting at the botton a button that says 'new mailbox' i get 2 boxes one red that says delete and one blue that say
-
Multiple Messages in Same JMS queue
Hello, I have interfaces in which different xml messages from the same sender system will be placed in the same MQ queue, is there a way that XI JMS sender channel can differentiate the xml messages based on the payload? I can create a single communi
-
Nokia Lumia 1520 - Where can I see it?
Hi, I'm really interested on Nokia Lumia 1520 but provided it's a pretty big device, I would like to hold it in my hand and feel it before buying it, just in case it's too big for me. The problem is I live in London and I cannot find any shop that ha
-
ALV grid with 2 headers - using OOPS
Hi, I have a requirement wherein I need to display 2 headers using ALV Grid. I am using cl_gui_alv_grid->set_table_for_first display. Header1 Header2 Col1 Col2 Col3 Col4 Col5 1 2 3 4
-
Create an outline path from multiple intersecting paths
Despite thinking this should be easy, I can't quite figure it out. I've drawn some text using a graphics tablet and brought it into illustrator CS6. This has several "internal" paths whereas all I need is the outline path which can then be filled in