{"id":3803,"date":"2018-09-24T09:02:29","date_gmt":"2018-09-24T09:02:29","guid":{"rendered":"https:\/\/www.int4.com\/?p=1903"},"modified":"2020-10-20T14:38:57","modified_gmt":"2020-10-20T12:38:57","slug":"save-content-outbound-synchronous-proxy-sap-aif","status":"publish","type":"post","link":"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif","title":{"rendered":"How to save content of the outbound synchronous proxy interface in SAP AIF?"},"content":{"rendered":"

<\/p>\n

Introduction<\/h2>\n<\/span>\n

Recently, during my last AIF project, we encountered a challenge and we wondered if it is possible to save the payload of the response message for the outbound synchronous proxy interface in SAP AIF<\/strong>. We found a solution, but since that time many of our colleagues working with SAP AIF encountered the same challenge and that was the reason why we decided to write this blog with our proposed solution. This blog is written in cooperation with my colleague, Krzysztof \u0141uka<\/strong><\/a>. <\/p>\n<\/div><\/p>\n

Problem Description<\/h3>\n

Imagine the situation when you have to configure the outbound synchronous proxy interface in SAP AIF and you have to save the content of the request and the response messages. If it comes to the content of the request message – there is no problem. You may encounter a challenge if you want to save also the response of the synchronous message.<\/p>\n

Example<\/h3>\n

In this blog we will focus only on the SAP AIF part – we won’t describe how to create objects on SAP PO side. We will use the ABAP report to send the request message with the message ID from ERP system to SAP PO. We expect to receive back in the synchronous response the SAP PO message key that is related to the message ID we sent in the request.<\/p>\n

This is how sample synchronous request message looks like (with the message ID):<\/p>\n

\"SAP<\/a><\/p>\n

And below you can see the synchronous response message with message key from the above request:<\/p>\n

\"SAP<\/a><\/p>\n

 <\/p>\n

Step by Step Instruction<\/h3>\n

First, you have to generate and activate Service Consumer that will be used in order to send the request from ERP to SAP PO.<\/p>\n

Then you have to copy the name of the class for the generated Service Consumer. In our case, it is \/INT4\/CO_SI_O_GET_MESSAGE_LIST.<\/p>\n

\"SAP<\/a><\/p>\n

This class is necessary in order to create SAP AIF interface.<\/p>\n

In next step go to AIF Customization ( \/AIF\/CUST transaction<\/strong> ) and go to Interface Development -> Define Interfaces<\/strong>. We will have to create new entries: one interface for the request message and the second interface for the response message.<\/p>\n

First, create a new entry for the request message.\u00a0 Type OPRGMSG001<\/strong> as the interface name and 1 <\/strong>as the interface version.<\/p>\n

Then Provide your Service Consumer class (in our case it’s \/INT4\/CO_SI_O_GET_MESSAGE_LIST<\/strong> ) in the class Proxy Class Outbound field and choose the proper method that will trigger sending a message to PO.<\/p>\n

Once you provide proxy class outbound – automatically RAW Data Structure <\/strong>and Record Type in Raw Structure<\/strong> should be filled. Please provide the same structure in SAP Data Structure <\/strong>as was filled into RAW Data Structure and mark Move Corresponding Structures <\/strong>checkbox, as it is visible on the screen below:<\/p>\n

\"<\/a><\/p>\n

As a next step, we have to create another entry in Define Interface node. This time we have to do it for the Response Message.<\/p>\n

Add a new entry with Interface Name: IPRGMSG001<\/strong>, interface version: 1<\/strong>. In Proxy Class Inbound provide the class of your Service Consumer. In our case, it is \/INT4\/CO_SI_O_GET_MESSAGE_LIST<\/strong>. Then click enter and again your Raw Data Structure should be filled automatically. Right now we are interested in the response message and because of this, we have to provide the type of the structure that is used as the exporting parameter of our class for the service consumer. In our case it is \/INT4\/MT_GET_MSG_LIST_RES<\/strong> as it’s visible on the screen below:<\/p>\n

\"<\/a><\/p>\n

Use the same structure in SAP and RAW structure and mark Move Corresponding checkbox.\u00a0 Please also make sure, that you have chosen specific proxy method as shown on the screen below:<\/p>\n

\"Outbound<\/a><\/p>\n

Right now we have to make sure, that proper Engine is used for both of our interfaces. Go to AIF Customization (transaction \/AIF\/CUST<\/strong> ). Then open Interface Development -> Additional Interface Properties -> Specify Interface Engines<\/strong> node and set for both interfaces Proxy<\/strong> as Application Engine, XML<\/strong> as Persistence Engine, AIF Index Tables<\/strong> as Selection Engine and AIF Application Log<\/strong> as Logging Engine.<\/p>\n

\"SAP-AIF-Interface-Engines\"<\/a><\/p>\n

The last step is to create ABAP Report, that will trigger sending the message from ERP to SAP PO.<\/p>\n

Create a new program in transaction SE38.<\/strong>
\nIn order to make this program simpler – we will hardcode the message ID that will be sent to SAP PO. We are using function module \/AIF\/SEND_WITH_PROXY to send the data out from ERP. We have to provide a namespace, interface name and interface version of our interface we created in AIF. In this step, you have to provide an interface used for the request message ( ‘OPRGMSG001’).<\/p>\n

In the RESP_SAP_STRUCT<\/strong> changing parameter we have to provide a structure of the response, that we used in the IPRMSG001 <\/strong>SAP AIF interface. Then in the SAP_STRUCT<\/strong> changing parameter, we have to provide filled with the data structure for the request interface.<\/p>\n

In the end, we have to use method \/AIF\/IF_PERSISTENCY_ENGINE~UPDATE of class \/aif\/cl_persist_engine_xml in order to store the response payload in SAP AIF. While using this method we have to provide details of the second interface in SAP AIF, that will store the response message.<\/p>\n

Please see the whole code snippet for this program below:<\/p>\n

CONSTANTS:<\/em>\r\n\u00a0\u00a0lc_ns\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0TYPE\u00a0\/aif\/ns\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0VALUE\u00a0'ZDEMO',<\/em>\r\n\u00a0\u00a0lc_ifname\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0TYPE\u00a0\/aif\/ifname\u00a0\u00a0\u00a0\u00a0VALUE\u00a0'OPRGMSG001',<\/em>\r\n\u00a0\u00a0lc_ifver\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0TYPE\u00a0\/aif\/ifversion\u00a0VALUE\u00a0'1',<\/em>\r\n\u00a0\u00a0lc_ns_resp\u00a0\u00a0\u00a0\u00a0\u00a0TYPE\u00a0\/aif\/ns\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0VALUE\u00a0'ZDEMO',<\/em>\r\n\u00a0\u00a0lc_ifname_resp\u00a0TYPE\u00a0\/aif\/ifname\u00a0\u00a0\u00a0\u00a0VALUE\u00a0'1PRGMSG001',<\/em>\r\n\u00a0\u00a0lc_ifver_resp\u00a0\u00a0TYPE\u00a0\/aif\/ifversion\u00a0VALUE\u00a0'1'.<\/em>\r\n\r\nDATA:<\/em>\r\n\u00a0\u00a0lv_msguid\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0TYPE\u00a0sxmsmguid,<\/em>\r\n\u00a0\u00a0lv_error_msg\u00a0\u00a0\u00a0TYPE\u00a0string,<\/em>\r\n\u00a0\u00a0ls_request\u00a0\u00a0\u00a0\u00a0\u00a0TYPE\u00a0\/int4\/mt_get_msg_list_req,<\/em>\r\n\u00a0\u00a0ls_sap_resp\u00a0\u00a0\u00a0\u00a0TYPE\u00a0\/int4\/mt_get_msg_list_res,<\/em>\r\n\u00a0\u00a0ls_xi_data\u00a0\u00a0\u00a0\u00a0\u00a0TYPE\u00a0\/aif\/xmlparse_data,<\/em>\r\n\u00a0\u00a0lt_bapiret\u00a0\u00a0\u00a0\u00a0\u00a0TYPE\u00a0TABLE\u00a0OF\u00a0bapiret2,<\/em>\r\n\u00a0\u00a0lo_data\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0TYPE\u00a0REF\u00a0TO\u00a0data,<\/em>\r\n\u00a0\u00a0lo_xml_pers\u00a0\u00a0\u00a0\u00a0TYPE\u00a0REF\u00a0TO\u00a0\/aif\/cl_persist_engine_xml.<\/em>\r\n\r\nls_request-mt_get_msg_list_req-message_id\u00a0=\u00a0'fd9b26f7-7456-11e8-a1b1-00000069c71a'.<\/em>\r\nls_request-mt_get_msg_list_req-archive\u00a0=\u00a0'\u00a0'.<\/em>\r\n\r\nIF\u00a0ls_request-mt_get_msg_list_req-message_id\u00a0IS\u00a0NOT\u00a0INITIAL.<\/em>\r\n\u00a0\u00a0CALL\u00a0FUNCTION\u00a0'\/AIF\/SEND_WITH_PROXY'<\/em>\r\n\u00a0\u00a0\u00a0\u00a0EXPORTING<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ns\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a0lc_ns<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ifname\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a0lc_ifname<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ifversion\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a0lc_ifver<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0appl_log_function\u00a0\u00a0\u00a0\u00a0=\u00a0'AIF_SEND_WITH_PROXY'<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0do_commit\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a0'X'<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0iv_persist_xml\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a0'X'<\/em>\r\n\u00a0\u00a0\u00a0\u00a0IMPORTING<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ximsgguid\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a0lv_msguid<\/em>\r\n\u00a0\u00a0\u00a0\u00a0TABLES<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0add_return_tab\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a0lt_bapiret<\/em>\r\n\u00a0\u00a0\u00a0\u00a0CHANGING<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0resp_sap_struct\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a0ls_sap_resp<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0sap_struct\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a0ls_request<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0error_string\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a0lv_error_msg<\/em>\r\n\u00a0\u00a0\u00a0\u00a0EXCEPTIONS<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0persistency_error\u00a0\u00a0\u00a0\u00a0=\u00a01<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0status_update_failed\u00a0=\u00a02<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0missing_keys\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a03<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0interface_not_found\u00a0\u00a0=\u00a04<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0transformation_error\u00a0=\u00a05<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0general_error\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a06<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0OTHERS\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0=\u00a07.<\/em>\r\n\r\nENDIF.<\/em>\r\n\r\n\"Persist\u00a0response\u00a0message<\/em>\r\nGET\u00a0REFERENCE\u00a0OF\u00a0ls_sap_resp\u00a0INTO\u00a0ls_xi_data-xi_data.<\/em>\r\nls_xi_data-msgguid\u00a0=\u00a0lv_msguid.<\/em>\r\nls_xi_data-ns\u00a0=\u00a0lc_ns_resp.<\/em>\r\nls_xi_data-ifname\u00a0=\u00a0lc_ifname_resp.<\/em>\r\nls_xi_data-ifver\u00a0=\u00a0lc_ifver_resp.<\/em>\r\nCREATE\u00a0OBJECT\u00a0lo_xml_pers.<\/em>\r\nIF\u00a0lo_xml_pers\u00a0IS\u00a0NOT\u00a0INITIAL.<\/em>\r\n\u00a0\u00a0GET\u00a0REFERENCE\u00a0OF\u00a0ls_xi_data\u00a0INTO\u00a0lo_data.<\/em>\r\n\u00a0\u00a0TRY.<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CALL\u00a0METHOD\u00a0lo_xml_pers->\/aif\/if_persistency_engine~update<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CHANGING<\/em>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0cr_xmlparse\u00a0=\u00a0lo_data.<\/em>\r\n\u00a0\u00a0\u00a0\u00a0CATCH\u00a0\/aif\/cx_error_handling_general\u00a0.<\/em>\r\n\r\n\u00a0\u00a0ENDTRY.<\/em>\r\nENDIF.\r\n\r\n<\/em><\/pre>\n

Right now we can run the report. If the proxy call was successful we should see a new entry in transaction \/AIF\/ERR<\/strong> with the payload in the outbound interface OPRGMSG001<\/strong> with the request message and new entry in with the payload of the response message in interface IPRGMSG001.<\/strong><\/p>\n

Below you can see the request message with the content. Message text automatically contains the information in which interface the response was processed:<\/p>\n

\"SAP-AIF-Proxy-Interface-Request-Message\"<\/a><\/p>\n

In order to make sure that the response is visible we’ll go to the second interface for the response message. As you can see on the screenshot below – response message with the payload is there:<\/p>\n

\"SAP<\/a><\/p>\n

How do you like this approach to save the message payload? Please let us know in the comments!<\/p>\n

PS. I have a big pleasure to invite you on SAP Teched at Barcelona<\/strong> that will take place in October. As the Int4 team<\/a> we will be one of the exhibitors and we will be presenting our SAP certified automated regression testing and service interface virtualization software –\u00a0 Int4 IFTT<\/strong><\/span>.<\/a><\/p>\n

\"SAP<\/a><\/p>\n

If you want to learn more about this tool or if you want to ask me or Michal Krawczyk<\/strong><\/a> SAP AIF or SAP PO related question we will be available\u00a0\u00a0for you at our booth everyday from 13:00-14:00 everyday! See you there!<\/p>\n","protected":false},"excerpt":{"rendered":"

Have you ever struggled with payload of the outbound proxy response in SAP AIF? We’ve got a solution!<\/p>\n","protected":false},"author":10,"featured_media":5624,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":""},"categories":[1],"tags":[76,30,80],"acf":[],"yoast_head":"\nHow to save content of the outbound synchronous proxy interface in SAP AIF? - INT4<\/title>\n<meta name=\"description\" content=\"Recently, during my last AIF project, we encountered a challenge and we wondered if it is possible to save the payload of the response message for the outbound synchronous proxy interface in SAP AIF. We found a solution, but since that time many of our colleagues working with SAP AIF encountered the same challenge and that was the reason why we decided to write this blog with our proposed solution. This blog is written in cooperation with my colleague, Krzysztof \u0141uka.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to save content of the outbound synchronous proxy interface in SAP AIF? - INT4\" \/>\n<meta property=\"og:description\" content=\"Recently, during my last AIF project, we encountered a challenge and we wondered if it is possible to save the payload of the response message for the outbound synchronous proxy interface in SAP AIF. We found a solution, but since that time many of our colleagues working with SAP AIF encountered the same challenge and that was the reason why we decided to write this blog with our proposed solution. This blog is written in cooperation with my colleague, Krzysztof \u0141uka.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif\" \/>\n<meta property=\"og:site_name\" content=\"INT4\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-24T09:02:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-20T12:38:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/test11988.futurehost.pl\/wp-content\/uploads\/2018\/09\/SAP_AIF_outbound_synchronous_proxy_Nowak_p15.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"627\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mateusz Nowak\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mateusz Nowak\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif\",\"url\":\"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif\",\"name\":\"How to save content of the outbound synchronous proxy interface in SAP AIF? - INT4\",\"isPartOf\":{\"@id\":\"https:\/\/test11988.futurehost.pl\/#website\"},\"datePublished\":\"2018-09-24T09:02:29+00:00\",\"dateModified\":\"2020-10-20T12:38:57+00:00\",\"author\":{\"@id\":\"https:\/\/test11988.futurehost.pl\/#\/schema\/person\/87c3e874c8211745f3806c3a529d627d\"},\"description\":\"Recently, during my last AIF project, we encountered a challenge and we wondered if it is possible to save the payload of the response message for the outbound synchronous proxy interface in SAP AIF. We found a solution, but since that time many of our colleagues working with SAP AIF encountered the same challenge and that was the reason why we decided to write this blog with our proposed solution. This blog is written in cooperation with my colleague, Krzysztof \u0141uka.\",\"breadcrumb\":{\"@id\":\"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test11988.futurehost.pl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to save content of the outbound synchronous proxy interface in SAP AIF?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/test11988.futurehost.pl\/#website\",\"url\":\"https:\/\/test11988.futurehost.pl\/\",\"name\":\"INT4\",\"description\":\"Your soft landing in SAP API testing\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/test11988.futurehost.pl\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/test11988.futurehost.pl\/#\/schema\/person\/87c3e874c8211745f3806c3a529d627d\",\"name\":\"Mateusz Nowak\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/test11988.futurehost.pl\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/85470b120bc6761f1327d06134c7289a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/85470b120bc6761f1327d06134c7289a?s=96&d=mm&r=g\",\"caption\":\"Mateusz Nowak\"},\"description\":\"SAP Integration consultant since 2016. Mateusz is the author of SAP Press Book: Interface Monitoring and Error Handling with SAP AIF. He's also a trainer in the openSAP course Virtualize and Automate Your SAP Testing Using Int4 IFTT. Matt has been involved in multiple integrational projects as ABAP Developer, AIF lead and consultant. Skilled at a variety of tools and development techniques including ABAP, AIF, PO, BRFplus, IDocs, Adobe Forms, Smartforms, IDocs, ALE, SCPI.\",\"url\":\"https:\/\/test11988.futurehost.pl\/author\/mnow\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to save content of the outbound synchronous proxy interface in SAP AIF? - INT4","description":"Recently, during my last AIF project, we encountered a challenge and we wondered if it is possible to save the payload of the response message for the outbound synchronous proxy interface in SAP AIF. We found a solution, but since that time many of our colleagues working with SAP AIF encountered the same challenge and that was the reason why we decided to write this blog with our proposed solution. This blog is written in cooperation with my colleague, Krzysztof \u0141uka.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_GB","og_type":"article","og_title":"How to save content of the outbound synchronous proxy interface in SAP AIF? - INT4","og_description":"Recently, during my last AIF project, we encountered a challenge and we wondered if it is possible to save the payload of the response message for the outbound synchronous proxy interface in SAP AIF. We found a solution, but since that time many of our colleagues working with SAP AIF encountered the same challenge and that was the reason why we decided to write this blog with our proposed solution. This blog is written in cooperation with my colleague, Krzysztof \u0141uka.","og_url":"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif","og_site_name":"INT4","article_published_time":"2018-09-24T09:02:29+00:00","article_modified_time":"2020-10-20T12:38:57+00:00","og_image":[{"width":"1200","height":"627","url":"https:\/\/test11988.futurehost.pl\/wp-content\/uploads\/2018\/09\/SAP_AIF_outbound_synchronous_proxy_Nowak_p15.png","type":"image\/png"}],"author":"Mateusz Nowak","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mateusz Nowak","Estimated reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif","url":"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif","name":"How to save content of the outbound synchronous proxy interface in SAP AIF? - INT4","isPartOf":{"@id":"https:\/\/test11988.futurehost.pl\/#website"},"datePublished":"2018-09-24T09:02:29+00:00","dateModified":"2020-10-20T12:38:57+00:00","author":{"@id":"https:\/\/test11988.futurehost.pl\/#\/schema\/person\/87c3e874c8211745f3806c3a529d627d"},"description":"Recently, during my last AIF project, we encountered a challenge and we wondered if it is possible to save the payload of the response message for the outbound synchronous proxy interface in SAP AIF. We found a solution, but since that time many of our colleagues working with SAP AIF encountered the same challenge and that was the reason why we decided to write this blog with our proposed solution. This blog is written in cooperation with my colleague, Krzysztof \u0141uka.","breadcrumb":{"@id":"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test11988.futurehost.pl\/save-content-outbound-synchronous-proxy-sap-aif#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test11988.futurehost.pl\/"},{"@type":"ListItem","position":2,"name":"How to save content of the outbound synchronous proxy interface in SAP AIF?"}]},{"@type":"WebSite","@id":"https:\/\/test11988.futurehost.pl\/#website","url":"https:\/\/test11988.futurehost.pl\/","name":"INT4","description":"Your soft landing in SAP API testing","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/test11988.futurehost.pl\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/test11988.futurehost.pl\/#\/schema\/person\/87c3e874c8211745f3806c3a529d627d","name":"Mateusz Nowak","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/test11988.futurehost.pl\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/85470b120bc6761f1327d06134c7289a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/85470b120bc6761f1327d06134c7289a?s=96&d=mm&r=g","caption":"Mateusz Nowak"},"description":"SAP Integration consultant since 2016. Mateusz is the author of SAP Press Book: Interface Monitoring and Error Handling with SAP AIF. He's also a trainer in the openSAP course Virtualize and Automate Your SAP Testing Using Int4 IFTT. Matt has been involved in multiple integrational projects as ABAP Developer, AIF lead and consultant. Skilled at a variety of tools and development techniques including ABAP, AIF, PO, BRFplus, IDocs, Adobe Forms, Smartforms, IDocs, ALE, SCPI.","url":"https:\/\/test11988.futurehost.pl\/author\/mnow"}]}},"_links":{"self":[{"href":"https:\/\/test11988.futurehost.pl\/wp-json\/wp\/v2\/posts\/3803"}],"collection":[{"href":"https:\/\/test11988.futurehost.pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test11988.futurehost.pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test11988.futurehost.pl\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/test11988.futurehost.pl\/wp-json\/wp\/v2\/comments?post=3803"}],"version-history":[{"count":0,"href":"https:\/\/test11988.futurehost.pl\/wp-json\/wp\/v2\/posts\/3803\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/test11988.futurehost.pl\/wp-json\/wp\/v2\/media\/5624"}],"wp:attachment":[{"href":"https:\/\/test11988.futurehost.pl\/wp-json\/wp\/v2\/media?parent=3803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test11988.futurehost.pl\/wp-json\/wp\/v2\/categories?post=3803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test11988.futurehost.pl\/wp-json\/wp\/v2\/tags?post=3803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}