Você está na página 1de 9
It's full of stars! Home — ABOUT Where documentation meets reality BLOGS _ INSIDE TRACKS INITIAL SETUP OF SAP NETWEAVER ABAP ICM FOR HTTP: Posted on March 23, 2016 by Tobias Hofmann & download PDF version Let the world know . oO Se ° Go ° @ Oo ° SAPGul is just one way to access an SAP system. A more and more common way to interact and work with SAP is through a browser. As with all web sites, a web server must handle the browser requests. For SAP NetWeaver ABAP, the web server is ICM. ICM is integrated with NW ABAP, no need to install it as an additional package. The only task to be execute by BASIS is to configure ICM. First step is to validate that ICM is working and no errors are occurring. For a browser to be able to access NW ABAP through HTTP, ICM must be up and running and listening on a HTTP port. Without this port, no communication from a browser to NW ABAP is possible. To see the configured HTTP port of ICM, you can either look at the profile parameter or use SMICM to see the service information. Check ICM HTTP Port configura' = Tx: SMICM Search ARCHIVES October 2016 September 2016 ‘August 2016 July 2016 June 2016 May 2016 April 2016 March 2016 February 2016 January 2016 December 2015, November 2015 October 2015, September 2015 ‘gust 2015 July 2035 June 2015 May 2015 Apel 2015 March 2015 February 2015, November 2014 October 2014 ‘August 2013 July 2012 June 2012 May 2012 SAO reeasctctss AH S47 % 2H SaTH 1Q4 Status: ‘Bunning, 008 Reavart After Error ‘Yes Trace Tavel (0-3): x Cesatad Worker Theeade: 10 / 19 / 500° ( Cassent / Beak / Maximum ) Connections Used © / 2 / 2000 ( Current / Peak / Maximum ) Queve Entries Used! ay 2 / 6000 ( Current / Peak / Maximum ) [RM ss0s101826 226 [mamizsosz01an 226 ie foes 226 (I 1403101411 227 [seteosio1acs 226 available [De tssos1018c0 227 available | sritsosioises 226 avetiapie [a staoazcize9 227 available |_| 91403101384 225 Available {Jaon1403101379 226 Running Administration Goto > Services “Goto ] Administration Set Trace Fie Trace Level Parameters Statistics Memary Pipes Host Name Buffer Connections » Release Notes FS HTTP Plug-In » Back FB RE pave wes Owen om ° asin «oy oa ‘ 2 £3 This shows the active services handled by ICM, As you can see, HTTP is just one of several possible services. SMTP is available, as can be telnet too! For each service you can see additional information like host name, and port. Port is given ‘pil 2012 Mareh 2012 February 2012 January 2012 December 2011 November 2011 October 2011 ‘August 2011 META Log in 0. Check the ICM parameters to find out why. Also, take a look at SAP Help about this, “Default Values AS ABAP icm/server_port_0 TTP , PORT=0 , TIMEOUT=30 , PROCTIMEOUT=60 (Qutbound connections across HTTP and SMTP are possible with default values, but no ports for inbound connections are open.” Configure ICM HTTP Port Security first. That’s how SAP rolls. To allow someone accessing your SAP ABAP system via HTTP, you must explicitly activate this. Gives you also a hint if or if not SAP sees HTTP based access in ABAP as an equal citizen compared to SAPGui. To see the (default) parameter used by ICM, select Goto > Parameters >> Display. Settings system Trace Fle » ion @ fhe Trace Level This will show you the parameters used by ICM. The ICM server parameters are ee given by icrn/server_port X. | ICM Monitor of Server nw75_N75_00 atre Sexvices jicm/server_port 9] jicm/server_port{1] jicm/server_port [2] jicm/server_port{3] jicm/server port (4] a PROT-HITE, FORT=0, TIMEOUT=60, PROCTIMEOUT=60 B, PORT=0, TIMEOUT=120, PROCTIMEOI Default parameter for HTTP is icmn/server_port_0. Value for port is PORT=0. 0 meaning no incoming communication possible. A browser won't be able to connect to NW ABAP. You have two options to change this: temporarily or permanent, Change the HTTP port temporarily = Tx: SMICM Goto > Services to | Admnistration Trace File Trace Level Parameters Statistics | Memory Popes Host Name Buffer Connections » BR Select the service: Service -> Change. (Sewice ] Ect Goto L Create Delete ShFtHF2 | Acthate Deactivate ACL File » Statistics » In the dialog, enter the new parameters. For port, you can use 8080. Confirm the data to start the service. eee Service Port Bind to Host Name AGL Fle Keep Alve (in Sec.) Max, Processing Time TCP URL (Use External Binding Program This_should_start the HTTP service using the informed port. In my case - obviously - this did not work, Service HTTP on port 0 could not be started Change the HTTP port permanently ‘As the above solution is only a temporary workaround, the error message can be ignored (well, not sure ifit is an error message, looks green, OK, and so). To change the profile parameter of ICM, RZ10 is used. This makes the HTTP port change permanent. = Tx: RZ10 = Profile: Default = Type: extended maintenance Select create parameter Values = icm/server_port_0 = PROT=HTTP,PORT=808$ Copy the parameter The comment line changes and includes a change value. Also shows who did the change (blame). Back at the parameter list, you can now see that the added parameter is listed. Save the changes to the profile file, Select yes to activate the new profile. Confirmation that everything worked. Note that you ‘Il have to restart your NW ABAP server to take effect. Restart NW ABAP. Test ICM HTTP Port Did it work? How to test it? Easy: take a look at ICM service and access a service using a web browser. First, lets see if ICM is listening on port 80$$ (btw: $$ is the ID). SMICM. = Tx: SMICM = Path: Goto > Services = ICMis listening on port 8000 for HTTP connections! SICF Very easy to test. Just access a ICF node using your web browser. = Tx: SICF = Node: you do not need to access a working web app, just a single node to see if or not ICM responses. You can use icman to test, although you should not get a valid response. = ICMAN: http://nw75.tobias.de:8000/sap/public/icman?sap-client=001 = SAP: You can also access a node and provoke an error message. http://nw75.tobias.de:8000/sap/ Let the world know... ° ° ° ‘This entry was posted in Basis, SAP and tagged hit, if, fem, server_port_0, setup, sif, smicm. Bookmark the permalink. + UPDATE SPAM INITIAL SETUP OF ICF > One thought on “Initial setup of SAP NetWeaver ABAP ICM for HTTP” Pingback: Install your own SAP NetWeaver ABAP system | It’s full of stars! Leave a Reply Your email address will not be published, Required fields are marked" Comment Name* Email* Website Impressum Datenschutzerklérung

Você também pode gostar