You are on page 1of 5

The Best Dedicated Server

softlayer.com/dedicated-server

No Secrets or Surprises. Cloud w/ Nothing to Hide. Chat for Info!

About

You are here: Home

Contact

Desktop Development

Download

ABAP

Jobs for Freelancers

Search...

Call web service in ABAP

Login

Development
Search

Desktop Development

User Name

Java
C Languages
ABAP
Visual Basic

Web Development
php

Password

Call web service in ABAP


Sap ABAP 4

ABAP

Remember Me
Java to Sap Sap Service

jsp

Bridge Java and


.NET

CMS

codemesh.com

asp

Joomla
Drupal

SmartPhone
Development
iphone

Extreme performance, trivial


deployment, drop-dead easy

Log in

Forgot your
password?
Forgot your
username?
Create an account

android

Scripting
JavaScript

report zcall_WS.

User Rating:
Poor

/1
Best

Rate
*-----------------------------------------------------------------------------*

www.developerpages.gr

Details
*

VBScript
AJAX
jQuery

* Call web service


The following
ABAP program call a web service :
*------------------------------------------------------------------------------

DATA: SMS_TEXT

TYPE STRING,

JSON

SMS_TEXT_UTF

TYPE STRING,

DHTML

SEND_STRING

TYPE STRING.

The Best
Dedicated
Server
softlayer.com/ded

Internet's Top Sites


Use SoftLayer
Chat for a Complete
Transparency!

DATA: w_string TYPE string ,

Projects

w_result TYPE string ,


r_str

Joomla Extensions

Downloads

TYPE string .

DATA: result_tab TYPE TABLE OF string.

DATA: http_client

TYPE REF TO if_http_client.

SEND_STRING = 'http://www.currencyserver.de/webservice/currencyserverwebservice.asmx/getDollarValue?provider=AVERAGE&currency=EUR'

Free Templates
Joomla
Joomla 1.5
Joomla 2.5
Drupal

CALL METHOD cl_http_client=>create_by_url


EXPORTING
url

= SEND_STRING

IMPORTING
client

= http_client

EXCEPTIONS

Wordpress

argument_not_found = 1

DotNetNuke

plugin_not_active

= 2

internal_error

= 3

others

= 4.

Website Files

Source code
Joomla Extensions

if sy-subrc = 0.
CALL METHOD http_client->send
EXCEPTIONS
http_communication_failure = 1
http_invalid_state

= 2.

CALL METHOD http_client->receive


EXCEPTIONS
http_communication_failure = 1

Last Downloaded

http_invalid_state

= 2

http_processing_failed

= 3.

if sy-subrc = 0.

Demo module for Joomla


2.

w_result = http_client->response->get_cdata( ).

2014-09-28 16:48:40

REFRESH result_tab .
SPLIT w_result AT cl_abap_char_utilities=>cr_lf INTO TABLE result_tab .

Top Rated Articles Module

loop at result_tab into w_result.

2014-09-28 14:47:28

write :/ w_result.

Business template for Joo

endloop.

2014-09-28 01:38:55

Business template ( cyan

endif.
endif.

2014-09-28 00:28:58

Top Rated Articles Module


2014-09-27 10:09:06

Sap ABAP Tutorial


Java Web Service
Sap Function Module
< Prev

Next >

Java to Sap
Sap Service
ALV Reports in Sap ABAP
You have no rights to post comments
JComments

Top Rated
(3) calculate working days between two dates with abap
(2) Load budget in FM with BAPI_0050_CREATE
(2) Insert SAP CRM Product Relations with BAPI Fuction
(1) create simple ABAP class into abap program
(1) Create abap internal table dynamically
(1) Call web service in ABAP
(1) Check if file exists with java
(1) Load image into abap internal table
(11) Resize image with php
(5) Open and display pdf file with SAP ABAP

Latest Articles

Most read Articles

yii2 advanced application template demo site


Open and display pdf file with SAP ABAP
Top rated articles module for joomla core rating system

Finding Character Strings in ABAP


Create new empty file with java
Parse xml file with ABAP

How to create a module for Joomla 2.5


Installing Drupal CMS on Windows PC

How to create a module for Joomla 2.5


Top rated articles module for joomla core rating system

Installing Web Server (wamp) on PC for web application development

Replace in ABAP Strings

Installing Joomla! CMS on Windows PC


Insert SAP CRM Product Relations with BAPI Fuction
Replace in ABAP Strings
Load budget in FM with BAPI_0050_CREATE

How to get List of Java Threads


Open and display pdf file with SAP ABAP
calculate working days between two dates with abap
open text file with abap

Developerpages

Sunday, 28 September 2014

You might also like