<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Muhammet Arslan on Medium]]></title>
        <description><![CDATA[Stories by Muhammet Arslan on Medium]]></description>
        <link>https://medium.com/@xmarslan?source=rss-113c4413cb00------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ypDXzvVZqtRTVAugA8zASw.jpeg</url>
            <title>Stories by Muhammet Arslan on Medium</title>
            <link>https://medium.com/@xmarslan?source=rss-113c4413cb00------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 08:40:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@xmarslan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Enpara’dan Deutsche Bank’a swift]]></title>
            <link>https://xmarslan.medium.com/enparadan-deutsche-bank-a-swift-fc017f4fbc42?source=rss-113c4413cb00------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc017f4fbc42</guid>
            <category><![CDATA[enpara]]></category>
            <category><![CDATA[deutsche-bank]]></category>
            <dc:creator><![CDATA[Muhammet Arslan]]></dc:creator>
            <pubDate>Mon, 31 Mar 2025 07:59:27 GMT</pubDate>
            <atom:updated>2025-03-31T09:29:29.135Z</atom:updated>
            <content:encoded><![CDATA[<p>Enpara’dan Deutsche Bank’a swift</p><p>Enpara’dan 10.000€ Deutsche Bank’a swift yaptım ve masrafları paylaşmak istiyorum. Internet üzerinde pek detaylı bilgiye ulaşamadım.</p><p>28.03.2025 Cuma günü transfer yaptım. Öncelikle 356,5₺ masraf kesildi. Bu masraf ayrı bir TL hesabımdan kesildi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*a-JLGPm8HC8Sj_zBoQIr7A.png" /></figure><p>Para da enteresan bir şekilde aynı gün hesabıma geçti. Normalde Alman bankaları arası transfer yaptığımda, transferin gerçekleşmesi 2 günü buluyordu. Toplam 26€ masraf kesildi ve hesabıma 9.974€ yattı.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*Gl5IP2IHute8RTf-h8rDJg.png" /></figure><p>Adres, TC no ve IBAN gibi bilgileri gizledim.</p><p>Sonuç olarak, Enpara hesabınızda Euro varsa ve bunu SWIFT yapmak istiyorsanız, bence makul bir tutar. Tabi hesabınızda TL varsa, bunu Euro’ya çevirdiğinizde makastan bir zararınız olacak, bunu da dikkate almalısınız.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc017f4fbc42" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sample SAP SALV]]></title>
            <link>https://xmarslan.medium.com/sample-sap-salv-8a7882c5a599?source=rss-113c4413cb00------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a7882c5a599</guid>
            <category><![CDATA[salv]]></category>
            <category><![CDATA[sap]]></category>
            <category><![CDATA[sample-salv]]></category>
            <dc:creator><![CDATA[Muhammet Arslan]]></dc:creator>
            <pubDate>Sat, 17 Oct 2020 08:50:20 GMT</pubDate>
            <atom:updated>2021-02-01T12:10:41.922Z</atom:updated>
            <content:encoded><![CDATA[<p>Here is a sample SALV program. I added the options that I used most.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/129c79399ac5abdfb31f57078674e332/href">https://medium.com/media/129c79399ac5abdfb31f57078674e332/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*hvbHrh8DiDzyAsbzmiDqUA.png" /><figcaption>Output</figcaption></figure><p><a href="https://xmarslan.com/sample-salv-program/">Sample SALV Program</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a7882c5a599" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serialize JSON in ABAP]]></title>
            <link>https://xmarslan.medium.com/serialize-json-in-abap-d2d44ce0d771?source=rss-113c4413cb00------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2d44ce0d771</guid>
            <category><![CDATA[sap]]></category>
            <category><![CDATA[abap]]></category>
            <category><![CDATA[cl-json]]></category>
            <category><![CDATA[serialize]]></category>
            <category><![CDATA[ui-2]]></category>
            <dc:creator><![CDATA[Muhammet Arslan]]></dc:creator>
            <pubDate>Wed, 29 Jul 2020 11:58:05 GMT</pubDate>
            <atom:updated>2022-12-21T15:01:22.077Z</atom:updated>
            <content:encoded><![CDATA[<p>Serialize JSON in ABAP with /UI2/CL_JSON class:</p><p>I will use method serialize of class /UI2/CL_JSON. This method may differ from your ABAP version, sadly you may not find some parameters in your system.</p><h3>Serialize Structure</h3><pre>DATA: BEGIN OF ls_data_structure,<br>        city_name TYPE string VALUE &#39;İstanbul&#39;,<br>        country   TYPE string VALUE &#39;Türkiye&#39;,<br>      END OF ls_data_structure.<br><br>CALL METHOD /ui2/cl_json=&gt;serialize<br>  EXPORTING<br>    data   = ls_data_structure<br>*   compress         = C_BOOL-FALSE<br>*   name   =<br>*   pretty_name      = PRETTY_MODE-NONE<br>*   type_descr       =<br>*   assoc_arrays     = C_BOOL-FALSE<br>*   ts_as_iso8601    = C_BOOL-FALSE<br>*   expand_includes  = C_BOOL-TRUE<br>*   assoc_arrays_opt = C_BOOL-FALSE<br>*   numc_as_string   = C_BOOL-FALSE<br>*   name_mappings    =<br>  RECEIVING<br>    r_json = DATA(lv_json).</pre><p>Result:</p><pre>{<br>    &quot;CITY_NAME&quot;: &quot;İstanbul&quot;,<br>    &quot;COUNTRY&quot;: &quot;Türkiye&quot;<br>}</pre><p>If you want to display key CITY_NAME lowercase like city you can change pretty_name:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*7NX8RBVyMklt9MGWzMSaoQ.png" /></figure><p>If you want to change the key as CityName, this is not available with pretty_name options. But you can use name_mappings:</p><pre>DATA: BEGIN OF ls_data_structure,<br>        city_name TYPE string VALUE &#39;İstanbul&#39;,<br>        country   TYPE string VALUE &#39;Türkiye&#39;,<br>      END OF ls_data_structure.<br><br>DATA(lt_mappings) = NEW /ui2/cl_json=&gt;name_mappings( ( abap = &#39;city_name&#39; json = &#39;CityName&#39; ) ).<br><br>CALL METHOD /ui2/cl_json=&gt;serialize<br>  EXPORTING<br>    data          = ls_data_structure<br>*   compress      = C_BOOL-FALSE<br>*   name          =<br>*   pretty_name   = PRETTY_MODE-NONE<br>*   type_descr    =<br>*   assoc_arrays  = C_BOOL-FALSE<br>*   ts_as_iso8601 = C_BOOL-FALSE<br>*   expand_includes  = C_BOOL-TRUE<br>*   assoc_arrays_opt = C_BOOL-FALSE<br>*   numc_as_string   = C_BOOL-FALSE<br>    name_mappings = lt_mappings-&gt;*<br>  RECEIVING<br>    r_json        = DATA(lv_json).</pre><p>Result:</p><pre>{<br>    &quot;CityName&quot;: &quot;İstanbul&quot;,<br>    &quot;COUNTRY&quot;: &quot;Türkiye&quot;<br>}</pre><h3>Serialize Table</h3><pre>TYPES: BEGIN OF ty_city,<br>         city_name TYPE string,<br>         country   TYPE string,<br>       END OF ty_city.<br><br>DATA: lt_data TYPE TABLE OF ty_city.<br><br>lt_data = VALUE #( ( city_name = &#39;İstanbul&#39; country = &#39;Türkiye&#39; )<br>                   ( city_name = &#39;Berlin&#39;   country = &#39;Deutschland&#39; )<br>                 ).<br><br>CALL METHOD /ui2/cl_json=&gt;serialize<br>  EXPORTING<br>    data   = lt_data<br>  RECEIVING<br>    r_json = DATA(lv_json).</pre><p>Result:</p><pre>[<br>    {<br>        &quot;CITY_NAME&quot;: &quot;İstanbul&quot;,<br>        &quot;COUNTRY&quot;: &quot;Türkiye&quot;<br>    },<br>    {<br>        &quot;CITY_NAME&quot;: &quot;Berlin&quot;,<br>        &quot;COUNTRY&quot;: &quot;Deutschland&quot;<br>    }<br>]</pre><h3>Serialize Deep Structure</h3><pre>TYPES: BEGIN OF ty_street,<br>         street_name TYPE string,<br>       END OF ty_street.<br>TYPES: tt_street TYPE TABLE OF ty_street WITH DEFAULT KEY.<br>TYPES: BEGIN OF ty_city,<br>         city_name TYPE string,<br>         country   TYPE string,<br>         streets   TYPE tt_street,<br>       END OF ty_city.<br><br>DATA: BEGIN OF ls_data_structure,<br>        data TYPE ty_city,<br>      END OF ls_data_structure.<br><br>ls_data_structure-data-city_name = &#39;İstanbul&#39;.<br>ls_data_structure-data-country   = &#39;Türkiye&#39;.<br>ls_data_structure-data-streets = VALUE #( ( street_name = &#39;Street 1&#39; )<br>                                          ( street_name = &#39;Street 2&#39; )<br>                                        ).<br><br>CALL METHOD /ui2/cl_json=&gt;serialize<br>  EXPORTING<br>    data   = ls_data_structure<br>  RECEIVING<br>    r_json = DATA(lv_json).</pre><p>Result:</p><pre>{<br>    &quot;DATA&quot;: {<br>        &quot;CITY_NAME&quot;: &quot;İstanbul&quot;,<br>        &quot;COUNTRY&quot;: &quot;Türkiye&quot;,<br>        &quot;STREETS&quot;: [<br>            {<br>                &quot;STREET_NAME&quot;: &quot;Street 1&quot;<br>            },<br>            {<br>                &quot;STREET_NAME&quot;: &quot;Street 2&quot;<br>            }<br>        ]<br>    }<br>}</pre><h3>Serialize Miscellaneous</h3><p>This is a simple looking JSON but it is a little bit complicated; because at first table VBAK table, on following table VBAP lines.</p><pre>[<br>  [<br>    {<br>      &quot;VBELN&quot;: &quot;0050001365&quot;<br>    }<br>  ],<br>  [<br>    {<br>      &quot;VBELN&quot;: &quot;0050001365&quot;,<br>      &quot;POSNR&quot;: 20<br>    },<br>    {<br>      &quot;VBELN&quot;: &quot;0050001365&quot;,<br>      &quot;POSNR&quot;: 10<br>    }<br>  ]<br>]</pre><p>If you try to create your structure like this:</p><pre>TYPES: BEGIN OF ty_vbak,<br>         vbeln TYPE vbeln_va,<br>       END OF ty_vbak.<br><br>TYPES: BEGIN OF ty_vbap,<br>         vbeln TYPE vbeln_va,<br>         posnr TYPE posnr_va,<br>       END OF ty_vbap.<br><br>DATA: BEGIN OF ls_data,<br>        vbak TYPE TABLE OF ty_vbak,<br>        vbap TYPE TABLE OF ty_vbap,<br>      END OF ls_data.<br><br>SELECT vbeln<br>  FROM vbak<br>  INTO TABLE @ls_data-vbak<br>  UP TO 1 ROWS.<br><br>IF ls_data-vbak IS NOT INITIAL.<br>  SELECT vbeln,<br>         posnr<br>    FROM vbap<br>    INTO TABLE @ls_data-vbap<br>    FOR ALL ENTRIES IN @ls_data-vbak<br>    WHERE vbeln EQ @ls_data-vbak-vbeln.<br>ENDIF.<br><br>CALL METHOD /ui2/cl_json=&gt;serialize<br>  EXPORTING<br>    data   = ls_data<br>  RECEIVING<br>    r_json = DATA(lv_json).</pre><p>You will have a result like this:</p><pre>{<br>  &quot;VBAK&quot;: [<br>    {<br>      &quot;VBELN&quot;: &quot;0050001365&quot;<br>    }<br>  ],<br>  &quot;VBAP&quot;: [<br>    {<br>      &quot;VBELN&quot;: &quot;0050001365&quot;,<br>      &quot;POSNR&quot;: 20<br>    },<br>    {<br>      &quot;VBELN&quot;: &quot;0050001365&quot;,<br>      &quot;POSNR&quot;: 10<br>    }<br>  ]<br>}</pre><p>You would have extra VBAK and VBAP keys that you don’t need. So you have to create a reference table like this:</p><pre>DATA: lt_data TYPE uab_t_data.<br>DATA: lo_data TYPE REF TO data.<br><br>SELECT vbeln<br>  FROM vbak<br>  INTO TABLE @DATA(lt_vbak)<br>  UP TO 1 ROWS.<br><br>IF lt_vbak IS NOT INITIAL.<br>  SELECT vbeln,<br>         posnr<br>    FROM vbap<br>    INTO TABLE @DATA(lt_vbap)<br>    FOR ALL ENTRIES IN @lt_vbak<br>    WHERE vbeln EQ @lt_vbak-vbeln.<br>ENDIF.<br><br>lo_data = REF #( lt_vbak ).<br>APPEND lo_data TO lt_data.<br><br>lo_data = REF #( lt_vbap ).<br>APPEND lo_data TO lt_data.<br><br>CALL METHOD /ui2/cl_json=&gt;serialize<br>  EXPORTING<br>    data   = lt_data<br>  RECEIVING<br>    r_json = DATA(lv_json).</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*dCZXGnW0okGKdgLo" /></figure><p><a href="https://xmarslan.com/serialize-json-in-abap/">Serialize JSON in ABAP</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2d44ce0d771" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Publish JSON Web Service in ABAP]]></title>
            <link>https://xmarslan.medium.com/publish-json-web-service-in-abap-1757f8c33df0?source=rss-113c4413cb00------2</link>
            <guid isPermaLink="false">https://medium.com/p/1757f8c33df0</guid>
            <category><![CDATA[abap]]></category>
            <category><![CDATA[json]]></category>
            <category><![CDATA[sap]]></category>
            <category><![CDATA[x-csrf-token]]></category>
            <category><![CDATA[publish-json]]></category>
            <dc:creator><![CDATA[Muhammet Arslan]]></dc:creator>
            <pubDate>Wed, 29 Jul 2020 11:56:07 GMT</pubDate>
            <atom:updated>2022-12-21T14:46:07.542Z</atom:updated>
            <content:encoded><![CDATA[<p>A sample JSON web sevice publised in ABAP:</p><p>I created the class ZCL_RESOURCE_TEST with superclass CL_REST_RESOURCE.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*zf22sCMz3ap_k0Xg" /></figure><p>I created the class ZCL_REST_HANDLER_TEST with superclass CL_REST_HTTP_HANDLER and redefined method IF_REST_APPLICATION~GET_ROOT_HANDLER. I wrote the previously created ZCL_RESOURCE_TEST as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*kgCaQ8oGu5kWJrko" /></figure><pre>    DATA(lo_router) = NEW cl_rest_router( ).<br>    lo_router-&gt;attach( iv_template = &#39;/test&#39; iv_handler_class = &#39;ZCL_RESOURCE_TEST&#39; ).<br><br>    ro_root_handler = lo_router.</pre><p>Now create a service in SICF tcode as below and write handler ZCL_REST_HANDLER_TEST in service. Then save and activate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*-b_Pqk8khASR3PTr" /></figure><p>You can test your service in SICF and you can see the result.</p><p><em>NOTE: When you test the service, you should enter your username and password.</em></p><p><em>NOTE: If you need the call the service from another system, you need help from your basis team for authorization.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*p5vNBg0qHqPOeDpH" /></figure><p>And failed. Need a small change in the link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*cH1YwlPE26dMVUEN" /></figure><p>Append the template ‘test’ to your link that we defined in ZCL_REST_HANDLER_TEST.</p><p>To display successful, I coded as below in GET method of ZCL_RESOURCE_TEST class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*hAU76WSmcBFnJu6r" /></figure><p>It will be better to try next steps of service in Postman. Because entering username, password and sending other parameters with Postman will be much easier. Creating a collection and creating a request with the link we created above will be enoguh.</p><p>We should enter username and password in authorization tab. When we try POST with the same link, we can get “CSRF token validation failed” error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*rHgMTs-eS9r-u4VS" /></figure><p>First we need to get token with GET, then we should use this token in POST. In GET we should enter X-CSRF-Token in key and Fetch in value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*OxY7wV_-PQvjkeC-" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*OmAWYilO1yGHnq6b" /></figure><p>At last we have to get the posted body. We can get the JSON from the body in ZCL_RESOURCE_TEST as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*7jWHUuiRn60xMQ97" /></figure><pre>    DATA: lv_response_json TYPE string VALUE &#39;{&quot;RESULT&quot;:&quot;OK&quot;,&quot;MESSAGE&quot;:&quot;Successful&quot;}&#39;.<br><br>    mo_response-&gt;create_entity( )-&gt;set_string_data( &#39;Successful&#39; ).<br><br>    DATA(lv_request_body) = mo_request-&gt;get_entity( )-&gt;get_string_data( ).<br><br>    DATA(lo_entity) = mo_response-&gt;create_entity( ).<br>    lo_entity-&gt;set_content_type( if_rest_media_type=&gt;gc_appl_json ).<br>    lo_entity-&gt;set_string_data( lv_response_json ).<br><br>    mo_response-&gt;set_status( cl_rest_status_code=&gt;gc_success_ok ).</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*GV-awubKv9hUTC_j" /><figcaption>Result in Postman</figcaption></figure><p><a href="https://xmarslan.com/publish-json-web-service-in-abap/">Publish JSON Web Service in ABAP</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1757f8c33df0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Consume JSON Web Service in ABAP]]></title>
            <link>https://xmarslan.medium.com/consume-json-web-service-in-abap-3d9f5883fe87?source=rss-113c4413cb00------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d9f5883fe87</guid>
            <category><![CDATA[postman]]></category>
            <category><![CDATA[web-services]]></category>
            <category><![CDATA[json]]></category>
            <category><![CDATA[abap]]></category>
            <category><![CDATA[consume]]></category>
            <dc:creator><![CDATA[Muhammet Arslan]]></dc:creator>
            <pubDate>Wed, 29 Jul 2020 11:54:49 GMT</pubDate>
            <atom:updated>2022-12-21T14:54:48.646Z</atom:updated>
            <content:encoded><![CDATA[<p>Sample to consume a JSON web service in ABAP:</p><p>At first I would like to describe JSON briefly, as much as we need. We have xml after creating web service from SOAMANAGER, JSON has the same structure that we need the post. JSON is not created automatically, we create it manually.</p><p>Creating JSON is simple. After creating your structure, you can call methods of standard classes. Then you have the JSON string.</p><pre>DATA: BEGIN OF gs_data,<br>        city    TYPE city  VALUE &#39;İstanbul&#39;,<br>        country TYPE landx VALUE &#39;Türkiye&#39;,<br>      END OF gs_data.<br><br>CALL METHOD /ui2/cl_json=&gt;serialize<br>  EXPORTING<br>    data   = gs_data<br>*   compress         = C_BOOL-FALSE<br>*   name   =<br>*   pretty_name      = PRETTY_MODE-NONE<br>*   type_descr       =<br>*   assoc_arrays     = C_BOOL-FALSE<br>*   ts_as_iso8601    = C_BOOL-FALSE<br>*   expand_includes  = C_BOOL-TRUE<br>*   assoc_arrays_opt = C_BOOL-FALSE<br>*   numc_as_string   = C_BOOL-FALSE<br>*   name_mappings    =<br>  RECEIVING<br>    r_json = DATA(lv_json).</pre><p>The result will be as below:</p><pre>{&quot;CITY&quot;:&quot;İstanbul&quot;,&quot;COUNTRY&quot;:&quot;Türkiye&quot;}</pre><p>You may need to pass values to the commented fields of serialize method to get JSON fields like city or City. Then you have to use pretty_name of name_mappings.</p><p>If you have posted a http web service, the rest is the same as that. You just post your JSON in the body of your request. I got the URL the user and the password from a custom table, this is better than using hard code. Also you can use different URL’s or users in quality and production systems.</p><p>Also you need to deserialize the response if the service has one.</p><pre>cl_http_client=&gt;create_by_url(https://medium.com/EXPORTING%20url%20=%20ls_001-url%3Cbr%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20IMPORTING%20client%20%20%20%20%20%20%20%20%20%20%20%20%20=%20DATA(lo_http_client)<br>                               EXCEPTIONS argument_not_found = 1<br>                                          plugin_not_active  = 2<br>                                          internal_error     = 3<br>                                          OTHERS             = 4 ).<br><br>lo_http_client-&gt;authenticate( username = ls_001-username password = ls_001-password ).<br><br>DATA(lo_rest_client) = NEW cl_rest_http_client( lo_http_client ).<br>DATA(lo_request) = lo_rest_client-&gt;if_rest_client~create_request_entity( ).<br>lo_request-&gt;set_content_type( iv_media_type = if_rest_media_type=&gt;gc_appl_json ).<br>lo_request-&gt;set_string_data( lv_json ).<br><br>lo_rest_client-&gt;if_rest_resource~post( lo_request ).<br><br>DATA(lo_response) = lo_rest_client-&gt;if_rest_client~get_response_entity( ).<br>DATA(lv_status) = lo_response-&gt;get_header_field( &#39;~status_code&#39; ). &quot;#EC NEEDED<br>DATA(lv_reason) = lo_response-&gt;get_header_field( &#39;~status_reason&#39; ). &quot;#EC NEEDED<br>DATA(lv_content_length) = lo_response-&gt;get_header_field( &#39;content-length&#39; ). &quot;#EC NEEDED<br>DATA(lv_location) = lo_response-&gt;get_header_field( &#39;location&#39; ). &quot;#EC NEEDED<br>DATA(lv_content_type) = lo_response-&gt;get_header_field( &#39;content-type&#39; ). &quot;#EC NEEDED<br>DATA(lv_response) = lo_response-&gt;get_string_data( ).<br><br>CALL METHOD /ui2/cl_json=&gt;deserialize<br>  EXPORTING<br>    json = lv_response<br>*   jsonx       =<br>*   pretty_name =<br>*   assoc_arrays     = C_BOOL-FALSE<br>*   assoc_arrays_opt = C_BOOL-FALSE<br>*   name_mappings    =<br>  CHANGING<br>    data = ls_response.</pre><p>I posted user and password in this web service. But this is not required, there are different ways of authentication. This may change due to system. Other ways of authentication may be: getting a token or passing the user and password in header of the request. You can get this information who published the web service.</p><p>SoapUI is used for testing the web services that are created from SOAMANAGER, here you can use <a href="https://www.postman.com/">Postman</a>.</p><p>It is better to use Postman before coding your program. You may have not the permisson on you system to call a web service or the target system can block your request.</p><p><a href="https://xmarslan.com/consume-json-web-service-in-abap/">Consume JSON Web Service in ABAP</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d9f5883fe87" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SAP ABAP — Random Numbers]]></title>
            <link>https://xmarslan.medium.com/sap-abap-random-numbers-c94280f82296?source=rss-113c4413cb00------2</link>
            <guid isPermaLink="false">https://medium.com/p/c94280f82296</guid>
            <category><![CDATA[random]]></category>
            <category><![CDATA[abap]]></category>
            <category><![CDATA[sap]]></category>
            <dc:creator><![CDATA[Muhammet Arslan]]></dc:creator>
            <pubDate>Sun, 28 Jun 2020 19:47:28 GMT</pubDate>
            <atom:updated>2020-06-28T19:47:28.510Z</atom:updated>
            <content:encoded><![CDATA[<h3>SAP ABAP — Random Numbers</h3><p>In create method “min” and “max” are optional. If min/max is not entered; default min: -2147483648, default max: 2147483647.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/02f8fece243d8b488c11518894e15bc6/href">https://medium.com/media/02f8fece243d8b488c11518894e15bc6/href</a></iframe><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*WbymIbzWKFXLJMn9_19R3g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c94280f82296" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Medium’a kod satırları ekleme]]></title>
            <link>https://xmarslan.medium.com/mediuma-kod-sat%C4%B1rlar%C4%B1-ekleme-2e0c60f8f1f?source=rss-113c4413cb00------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e0c60f8f1f</guid>
            <category><![CDATA[gist]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[medium]]></category>
            <dc:creator><![CDATA[Muhammet Arslan]]></dc:creator>
            <pubDate>Mon, 04 May 2020 13:09:25 GMT</pubDate>
            <atom:updated>2020-05-09T14:19:59.684Z</atom:updated>
            <content:encoded><![CDATA[<p>Medium’a programlama diline ait kod eklediğinizde pek hoş gözükmüyor. Copy paste yaptığınızda aşağıdaki gibi gözüküyor:</p><p>WRITE ‘Hello World’.</p><p>Medium başka bir seçenek daha sunmuş. Kodu yapıştırıp, yapıştırdığınız kodu seçip. Ctrl+Alt+6&#39;ya bastığınızda aşağıdaki gibi gözüküyor.</p><pre>WRITE ‘Hello World’.</pre><p>Benim şu ana kadar en çok beğendiğim ise Github üzerinden kodunuzu paylaşmak. Önce Your gists:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*FjG2LrE0OlVvB8glZHPzsQ.png" /></figure><p>Daha sonra +:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*o3rVSBY4GPt7mU9e4l4SEA.png" /></figure><p>En son olarak da public olarak kaydettikten sonra, linki embed olarak yapıştırdığınızda ise aşağıdaki gibi gözüküyor:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1d4f9efc179c4370f64b18fd226ad0d8/href">https://medium.com/media/1d4f9efc179c4370f64b18fd226ad0d8/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e0c60f8f1f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SAP ABAP — Count of lines in internal table with REDUCE]]></title>
            <link>https://xmarslan.medium.com/count-of-lines-in-internal-table-with-reduce-2bd47337ef5c?source=rss-113c4413cb00------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bd47337ef5c</guid>
            <category><![CDATA[internal-table]]></category>
            <category><![CDATA[abap]]></category>
            <category><![CDATA[reduce]]></category>
            <category><![CDATA[count]]></category>
            <dc:creator><![CDATA[Muhammet Arslan]]></dc:creator>
            <pubDate>Sat, 02 May 2020 17:35:59 GMT</pubDate>
            <atom:updated>2020-06-28T19:48:33.435Z</atom:updated>
            <content:encoded><![CDATA[<h3>SAP ABAP — Count of lines in internal table with REDUCE</h3><p>You can use LINES command when you don’t have any condition.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ccf02b58b69e2458645fa04ccb4f77c9/href">https://medium.com/media/ccf02b58b69e2458645fa04ccb4f77c9/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bd47337ef5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SAP ABAP — INSERT INTO HASHED/SORTED TABLE]]></title>
            <link>https://xmarslan.medium.com/insert-into-hashed-sorted-table-59a1abb294d6?source=rss-113c4413cb00------2</link>
            <guid isPermaLink="false">https://medium.com/p/59a1abb294d6</guid>
            <category><![CDATA[hashedtable]]></category>
            <category><![CDATA[abap]]></category>
            <category><![CDATA[hana]]></category>
            <category><![CDATA[sortedtable]]></category>
            <dc:creator><![CDATA[Muhammet Arslan]]></dc:creator>
            <pubDate>Sat, 02 May 2020 17:32:53 GMT</pubDate>
            <atom:updated>2020-06-28T19:52:33.240Z</atom:updated>
            <content:encoded><![CDATA[<h3>SAP ABAP — INSERT INTO HASHED/SORTED TABLE</h3><p>Insert into hashed or sorted table with assigning field-symbols.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0d6bec7349a40a8940d5d186656e5029/href">https://medium.com/media/0d6bec7349a40a8940d5d186656e5029/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59a1abb294d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>