SAP Connection with a Website using HTTPS
SAP Gurus,
We are on SAP 4.7. Requesting you to revert whether it is possible to connect SAP 4.7 with HTTPS (Secured) thru some BAPI or BADI.
Details:
1. The Business Process expected to be set is for Vendor Transactions.
2. That is, the Vendor liability document is expected to be posted from the data that would flow thru Internet HTTPS.
3. The request would originate from a website (that is NOT SAP).
4. It would have the Vendor Party credentials.
5. The Line Item Data would come to SAP thru HTTPS and it is expected that SAP would accept the request and process it.
6. After successful process of the file, the system would generate Accounting Document.
7. This Accounting Document is expected to be sent back to the originator website, using the same HTTPS connection.
8. The entire leg is expected to be completed in 180 seconds.
Qs:
a. Is it possible to achieve this with using some BAPI or BADI?
b. Whether it is possible to connect to SAP with some RFC (RFC may not be the right technical word, please recommend what else) using the Secured connection, that is HTTPS?
Many Thanks
Hi,
Thanks for ur reply.
I am facing the following problem.(I am using Https protocol)
1.A runtime exception is thrown at line no 5. This is the main problem i am facing and as i am not able to establish the connection with the server, i was able to proceeed further.
2. I need help for setting the content type(Remember i am using Https)
3. As u said at server side file has to be decompressed but that is not under my scope so it is not a problem for me.
4. once connection is established, I need to create a byte stream and write to destination and then i have to check the response sent by the server.
I am looking for an idea how to establish the connection with the server. any references let me know.
Code written by me:
URL url = new URL("https://www.sun.com");
URLConnection conn = url.openConnection();
conn.setRequestProperty("content-type","Application/x-zip-compressed"); // I dont think this is correct way of setting the header var
conn.connect(); // an exception is raised here
conn.setDoOutput(true);
OutputStream ostream = conn.getOutputStream();
Message was edited by:
vbr3650
Similar Messages
-
Using Firefox 6.0. No connectivity with any website yesterday.
The download was 5.0.1; which is now working and retains all features of the previous version includingYou do not have the properties in the Bookmarks Manager (Library), but you should have it if you right-click a bookmark the Bookmarks Toolbar or in the bookmarks sidebar.
On Mac you probably do not have it if you right-click an item in the Bookmarks menu (this menu is under control of the Mac OS), but I assume that this should work if you click the "Show your bookmarks" button on the Navigation Toolbar that is next to the star to bookmark the current tab and right-click an item in the bookmarks list that opens. -
''dupe of https://support.mozilla.org/en-US/questions/1027400 - locking''
Whenever I log onto a website via https, I get this message and am unable to have Firefox save my password for the website.
Another user asked this question and it was answered, however, the user was asking in the context of his own website where he was able to change the code.
I am unable to change the code for this website but would like to disable this message and have Firefox remember my password for the user id I type in.
Whenever I log onto a website via https (including my website), I get this message:
Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party. Are you sure you want to continue sending this information? This is followed below with two boxes, "continue" and "cancel".
In order to connect with the website, I must click on "continue" each time I log onto the website. HOW do I permanently DISABLE this message?
Chosen solution
Firefox gives that error because the page is on HTTPS but your form action is HTTP:
<form action="http://eclipse69forum.com/index.php?app=core&module=global§ion=login&do=process" method="post" id="login">
Can you change that to HTTPS?There is a disconnect here: if the form is being submitted securely, then you would not get that message. So although you may be looking at an HTTPS address in the address bar, Firefox is warning you that your username and password are going to an HTTP address and being transmitted in the clear rather than being protected.
That's definitely not the normal way to set up a login page. Do you want to give the URL of the problem login page to get specific comments? Without knowing more, it sounds as though it isn't designed for secure logins and you may be wasting your time accessing their login form using HTTPS.
Anyway, to answer your question, I don't think there is a way to disable that warning. -
Problem Outlook Autodiscovery and "Connect to Microsoft Exchange using HTTP"
Hi,
I have huge problem with Outlook Autodiscovery and RPC over HTTP. In my organization i have Exchange 2010. After server restart something happen with autodiscovery. When client connect to Exchange everything works fine, but.. When client close Outlook
(2010/13) and open again, can connect only using LAN (mapi). When i check settings "Connect to Microsoft Exchange using HTTP" is unchecked!! And all rpc settings (url, msstd:..) are gone!!! It drive me crazy :( When I change settings of course i
can connect thru rpc but only until autodiscovery change settings again :(
Please help
Regards
michadar
ps. I tried disable Outlook Anywhere end enable, restart IIS, restart Exchange. I also try on one computer to disable autodiscovery using regedit but what struck me it still happens :(Did you try resetting virtual directory? You might have to do this for all CAS servers. Also, take a note of autodiscover vd settings, just to be on the safe side.
Here is the article I found on how to reset the virtual directory.
http://technet.microsoft.com/en-us/library/ff629372(v=exchg.141).aspx
I hope this helps. -
firefox says it can't establish a connection with any website I try. I uninstalled and reinstalled it and get the same message .tryed running it with the addons diabled that didn't work. so I uninstalled it again this time uninstalling all the settings and addons too. reinstalled it and got the same message.
See:
* http://kb.mozillazine.org/Error_loading_websites -
I cant connect WITH another divice using Bluetooth
I cant connect WITH another divice using Bluetooth
The Bluetooth profiles for the iPhone to not support connecting to other devices. To check what they do support, see this support document. http://support.apple.com/kb/HT3647
-
Can someone connect in FaceTime if they are using a friends Macbook Pro, yet, doens't have an Apple ID?? For example, I have an IPAD and a Macbook Pro. Can I connect to FaceTime on my Macbook Pro and connect with a friend using my IPAD????
I have also tried changing the contact emails(you can contact me by) in Facetime(diff email for IPAD and Macbook Pro). Facetime tried the call, I see the accept buttom appear and it goes away as the call never connects? Any ideas??
-
my samsung says video out from i pad is not supported. i am connecting with apple dock using hdmi. I do get the audio any suggestions?
Jeffrey-
If the HDMI input to the Samsung is not compatible, does it have a VGA or composite input? I have both the HDMI and VGA adapters for the iPad, which work with the small Vizio HDTV I tried. I understand a composite video adapter is also available.
Fred -
Is it possible to connect with Blackberry to use internet on my iPad??
Is it possible to connect with Blackberry to use internet on my iPad??
Only if the Backberry and the cellular provider allows the Blackberry to be set up as a wifi hotspot.
-
I can not get my Ipod to connect with my computer using a usb cord
I can not get my Ipod to connect with my computer using my usb cord ?
Hi starhalcomb,
I'm sorry to hear you are having issues with your iPod touch. I also apologize, I'm a bit unclear on your exact configuration. If you are having issues with your iPod touch not being recognized in iTunes when you connect via USB, you may find the information and troubleshooting steps outlined in one of the following articles helpful:
iPhone, iPad, or iPod not recognized in iTunes for Windows - Apple Support
If you don't see your connected device in iTunes for Mac - Apple Support
Regards,
- Brenden -
why does not ipad show on itunes? when i connected with my macbook using usb, just it is charging electricity.
i don't know why...Sometimes it can be something very simple and easy to fix. Before you get into any involved troubleshooting, quit iTunes, restart your Mac, restart your iPad and then try to sync again.
Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
If this doesn't work, then try the more involved stuff. -
I SUCCEEDED IN TRANSFERING ALL MY BOOKMARKS TO GOOGLE CHROME. THIS WILL ALLOW ME ACCESS TO WEBSITES WHILE I WAIT FOR A METHOD TO REPAIR MY FIREFOX PROGRAM. IN A PREVIOUS MESSAGE, I EXPLAINED THAT I WAS UNABLE TO ACCESS ANY WEBSITE USING FIREFOX AFTER COMCAST, MY ISP, RECOVERED FROM AN OUTAGE THAT LASTED 5 HOURS. WHENEVER I TRIED TO CONNECT TO A SITE, A POP-UP MESSAGE APPEARED INDICATING: "UNABLE TO INITIALIZE THE APPLICATION'S SECURITY COMPONENT. THE MOST LIKELY CAUSE IS PROBLEMS WITH FILES IN YOUR APPLICATION'S PROFILE DIRECTORY. CHECK THAT THIS DIRECTORY HAS NO READ/WRITE RESTRICTIONS." I EVEN REMOVED FIREFOX FROM MY COMPUTER AND DOWNLOADED IT AGAIN, FIGURING THAT BY NOT MERELY USING AN UPGRADE, I WOULD BE INSTALLING A COMPLETELY FRESH DOWNLOAD. UNFORTUNATELY, I RECEIVED THE SAME DISAPPOINTING RESULT, WITH THE SAME POP-UP MESSAGE RE-APPEARING. HOWEVER USING BOTH GOOGLE CHROME AND INTERNET EXPLORER, I WAS ABLE TO CONNECT TO WEBSITES. SO I HAVE TO CONCLUDE THAT THE PROBLEM IS NOT WITH MY INTERNET CONNECTION.
Press '''START + R''' in keyboard to open the '''Run''' box(or '''start''' then '''run''') , type in the RUN box '''%APPDATA%''' (or copied in just i wrote, bold text) then click '''OK'''. A Windows Explorer window will appear, in this window, choose '''Mozilla''' then '''Firefox''' then '''Profiles'''. Each folder in the "Profiles" folder (e.g., "xxxxxxxx.default") is a profile on your computer (maybe is one file if you have only one profile).
see for more info : [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile folder - Firefox ]
try it, good luck
thanks again -
Safari cannot create secure connection with certain websites
I have OS X 10.10 with every available updates, and Safari's currently unable to 'establish secure connection' with some site I'm trying to connect, most disturbing being the whole Steam network (store/support.steampowered.com, steamcommunity.com, etc). IE (via Bootcamp), Chrome (both standalone and integrated into Steam client) and Firefox have no problem doing so.
Considering sometime before the in Steam browser indicated the site as insecure (a red lock icon with a cross, typically used to indicate bad cert) for a short time, and hearing of certs issued to gov agencies for man in the middle, I compared the cert for store.steampowered.com/login (which, in contrary to most content on that domain, forces a secure connection) and this discussions.apple.com. Well Firefox and IE do show a normal grey lock icon without organization name, and Chrome admits the website's ownership is unverified (in details, it says ownership is verified by the CA but there's no public verification record; the secure setting of that site has outdated, too) despite having Valve's name and green lock icon. So the cert could be a fake since it's an ordinary (I guess?) cert from a EV authority (DigiCert High Assurance EV CA-1 in this case). The certificate shown from Chrome is totally fine (not a single red cross in the chain), though.
Well there're other https resources Safari fails to create a secure connection with every now and then. I just forgot/ am unable to test them with other browsers (Sometimes it's not the page itself that can't be retrieved via https, but some resource it loads. Sadly I only know how to use Inspector in Safari, though I'm sure other browsers have similar functions, too). I suspect Safari just refuses such certificates (or the AES_128_CBC method maybe) while other browsers accept it. Is there an override for this?
Weird enough, https://ev-root.digicert.com/ has grey lock on Firefox and Safari. Seems overriding is the only workaround.
As a side note, my Safari freezes upon loading PayPal, being ir-responsive for tens of seconds on every activity such as clicking a link. For most of duration of the freeze no high CPU usage is monitored, though ocspd does sometimes take 50% or so, and the web process bursts into 100% immediately before unfreezing. Guess Yosemite has some issues with TLS on the system level.This could be a complicated problem to solve, as there are several possible causes for it.
Back up all data, then take each of the following steps that you haven't already taken. Stop when the problem is resolved.
Step 1
From the menu bar, select
▹ System Preferences... ▹ Date & Time
Select the Time Zone tab in the preference pane that opens and check that the time zone matches your location. Then select the Date & Time tab. Check that the data and time shown (including the year) are correct, and correct them if not.
Check the box marked
Set date and time automatically
if it's not already checked, and select one of the Apple time servers from the menu next to it.
Step 2
Triple-click anywhere in the line below on this page to select it:
/System/Library/Keychains/SystemCACertificates.keychain
Right-click or control-click the highlighted line and select
Services ▹ Show Info
from the contextual menu.* An Info dialog should open. The dialog should show "You can only read" in the Sharing & Permissions section.
Repeat with this line:
/System/Library/Keychains/SystemRootCertificates.keychain
If instead of the Info dialog, you get a message that either file can't be found, reinstall OS X.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. Open a TextEdit window and paste into it by pressing command-V. Select the line you just pasted and continue as above.
Step 3
Launch the Keychain Access application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
In the upper left corner of the window, you should see a list headed Keychains. If not, click the button in the lower left corner that looks like a triangle inside a square.
In the Keychains list, there should be items named System and System Roots. If not, select
File ▹ Add Keychain
from the menu bar and add the following items:
/Library/Keychains/System.keychain
/System/Library/Keychains/SystemRootCertificates.keychain
Open the View menu in the menu bar. If one of the items in the menu is
Show Expired Certificates
select it. Otherwise it will show
Hide Expired Certificates
which is what you want.
From the Category list in the lower left corner of the window, select Certificates. Look carefully at the list of certificates in the right side of the window. If any of them has a blue-and-white plus sign or a red "X" in the icon, double-click it. An inspection window will open. Click the disclosure triangle labeled Trust to disclose the trust settings for the certificate. From the menu labeled
Secure Sockets Layer (SSL)
select
no value specified
Close the inspection window. You'll be prompted for your administrator password to update the settings.
Now open the same inspection window again, and select
When using this certificate: Use System Defaults
Save the change in the same way as before.
Revert all the certificates with non-default trust settings. Never again change any of those settings.
Step 4
Select My Certificates from the Category list. From the list of certificates shown, delete any that are marked with a red X as expired or invalid.
Export all remaining certificates, delete them from the keychain, and reimport. For instructions, select
Help ▹ Keychain Access Help
from the menu bar and search for the term "export" in the help window. Export each certificate as an individual file; don't combine them into one big file.
Step 5
From the menu bar, select
Keychain Access ▹ Preferences... ▹ Certificates
There are three menus in the window. Change the selection in the top two to Best attempt, and in the bottom one to CRL.
Step 6
Triple-click anywhere in the line of text below on this page to select it:
/var/db/crls
Copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
A folder named "crls" should open. Move all the files in that folder to the Trash. You’ll be prompted for your administrator login password.
Restart the computer, empty the Trash, and test.
Step 7
Triple-click anywhere in the line below on this page to select it:
open -e /etc/hosts
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window should open. At the top of the window, you should see this:
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
If that's not what you see, post the contents of the window. -
How to make JDBC and SAP connectivity with VC 6.0
can anyone help me.....how to make JDBC system and SAP system visible in the System drop-down list in Data Task Panel of Visual Composer 6......i mean how to make connectivity with JDBC and SAP system......so that i can use any table in the back-end database as well as any BAPI in the R/3 system.........
Thank you very much.....Hi Deep,
There is a how-to posted on SDN regarding how to connect and configure the BI JDBC Connector.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
This document describes the jdbc driver to use etc.
Hope this helps,
Cheers,
Scott -
SSO with a website using Apache Httpclient form post
Hi ,
I am trying to obtain, SS0 with a website, that accepts the user information via post.
I tried using app Integrator, but the website sends a cookie in first request, and redirects to another URL. App Integrator is only catching the first response.
Thus i tried implementing this Form post using Apache HTTPClient class inside the Abstractportacomponent, as shown..
The login is taking place. But, When i click on any link on the page, It is redirecting to the login page again, I am wondering where should i give the Cookie, so the portal request will include that cookie in its subsequent requests, so that i wont be prompted for login agian..
thank you,
chiranjeevi.
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
{try
String url = "http://www.xxxxxxxxxxxxx.com/gold_online/validate.asp";
//Here, calling the timberline comes into place.
HttpClient client = new HttpClient();
PostMethod method = new PostMethod (url);
method.setFollowRedirects(false);
method.addParameter( "code","xxxxxxx");
method.addParameter( "upass", "xxxxxx" );
int statusCode = client.executeMethod( method );
if( statusCode != -1 ) {
// The Status code for this first request is 302..which is a redirect with the redirect path
Header locationHeader = method.getResponseHeader("location");
Header cookie = method.getResponseHeader("set-cookie");
String redirectedURL = locationHeader.getValue();
String host = "http://www.xxxxxxxxxxxxxx.com/gold_online/";
redirectedURL = host+redirectedURL;
GetMethod method2 = new GetMethod (redirectedURL);
method2.setFollowRedirects(false);
method2.setRequestHeader("cookie",cookie.getValue());
method2.addRequestHeader("Accept", "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, /");
int statuscode2 = client.executeMethod( method2);
String contents = method2.getResponseBodyAsString();
// Converting the Relative URLs to Absolute URLs
contents = replace (contents,"src=\"","src=\""+host);
contents = replace(contents,"href=\"","href=\""+ host);
Cookie ck = new Cookie("cookie", cookie.getValue()) ;
//adding the cookie to the response...
response.addCookie(ck);
response.write(contents);
method.releaseConnection();Hi Manish,
first, welcome on SDN! About your question:
The URL iView in SP9++ has been reported quite instable from different sides (just do a look on "URL iView" within this forum). The alternative for the aim you have is to use the good "old" application integrator iView, which behaves very stable and will do what you want without hesitating...
Also see URL iView and HTTP System - SSO to web app
Hope it helps
Detlev
PS: Please consider to reward point for helpful answers on SDN. Thanks in advance!
Maybe you are looking for
-
Problems connecting/syncing the new ipod touch to itunes
Hey there I have recently bought a new ipod touch 32gb 3g. Im running on windows 7, updated to the latest itunes (9.0.3.15). Im connecting the device with the usb, but i get noting Itunes show an ipod touch, but no sync. Heres the itunes diagnostic:
-
Hi, I am trying to send an email from my application using apex.oraclecorp.com Below is the process defined. DECLARE l_body CLOB; l_body_html CLOB; v_name varchar2(900); r_name varchar2(900); st_date date; ed_date date; BEGIN FOR C1 IN (select "USERN
-
Sun StorEdge L8 Tape Library (UREGENT!!)
hi all help needed.. i am new in this.. i ahve to do backup in the Sun StorEdge L8 every weekend.. as usual i will unload the Tape 1 and load the Tape 2 for this weekend backup.. Recently the tape shows '!' at the Tape 2.. when i try to unload the Ta
-
How to develop web services using a existing WSDL
I wrote a test web service program using a existing .NET HelloWorld WSDL. After wsdeploying step, new WSDL was generated that was different from original one. There was a mismatch in messge part name between two WSDL. When i ran a client program, it
-
Problem regarding change of data type x to data type c
Hi, Is there any way to change the data type x to data type c. w_end_record TYPE x, SPLIT i_data_file AT c_delimiter INTO i_ekko-rtype i_ekko-ebeln i_