I'm wondering if you have any concerns about using 4.5 with HTTP capability to move data to the non-SAP system. 4.5 lacks the WAS, which may inhibit HTTP use. If it's possible, how can I do this through SAP 4.5?
Some examples how to use it can be found at my site, http://logosworld.com, in the mySAP/Netweaver section.
Here is an example of a query with HTTP_POST. (Please mind to insert a meaningful URL that you can access from the SAP application server).
DATA: ABSOLUTE_URI(128) type c. data: response_headers(80) occurs 0 with header line. data: RESPONSE_ENTITY_BODY(120) occurs 0 with header line. ABSOLUTE_URI = 'http://xml.amazon.com/onca/xml2?t=webservices-20' & '&tag=logosworldcom&dev-t=D2H3YO46KJJ615' & '&AsinSearch=3528057297&type=lite&f=xml'. CALL FUNCTION 'HTTP_GET' EXPORTING ABSOLUTE_URI = ABSOLUTE_URI RFC_DESTINATION = 'SAPHTTPA' PROXY = '192.168.69.64:8080' * IMPORTING * STATUS_CODE = * STATUS_TEXT = * RESPONSE_ENTITY_BODY_LENGTH = TABLES * REQUEST_ENTITY_BODY = RESPONSE_ENTITY_BODY = RESPONSE_ENTITY_BODY RESPONSE_HEADERS = RESPONSE_HEADERS * REQUEST_HEADERS = EXCEPTIONS CONNECT_FAILED = 1 TIMEOUT = 2 INTERNAL_ERROR = 3 TCPIP_ERROR = 4 DATA_ERROR = 5 SYSTEM_FAILURE = 6 COMMUNICATION_FAILURE = 7 OTHERS = 8 . IF SY-SUBRC >< 0. write: / sy-subrc. ENDIF. loop at response_entity_body. write: / response_entity_body. endloop.
Dig Deeper on SAP Web applications
Related Q&A from Axel Angeli
An SAP user wants to know how to upload data into SAP R/3 when SAP Scripting is not enabled. Continue Reading
An SAP user is receiving an error message while integrating SAP iDoc PORDCR1 for a purchase order. Continue Reading
An SAP user is having difficulty with PERNR iDoc while transporting data from SAP to an external system. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.