XML Parsing , XML Ayrıştırma

Aşağıdaki örnekte, Distance tagı aratılır, tag içindeki alt tagların değerleri ayrıştırılır ve bir sonraki Distance tagına geçilir. Her Distance tagını bir tablo satır olarak döndürür  

Mehonder 2023-02-21 13:27:43

XML Reuqest, POST


 datalo_client type ref to if_http_client.

  datalv_url   type string.

  lv_url `http://ws.******.com/v1/report.php?op=ServiceName`   .
perform create_client using lv_url
                     changing lo_client.
  if lo_client is not bound.
    message `Bağlantı başarısız` type `E` raising conn_error.
  endif.


  perform send_client_request   using lo_client 
                               changing lv_response.

  call method lo_client->close .


perform get_data_xml   using      lv_response
                             changing      et_report
                                            .





Mehonder 2023-02-21 11:40:19

Web Servis Oturum Dili Değiştirme

Oturum dilini değiştirmek için sap-language parametresini kullanabilirsiniz.
?sap-language=TR       (TR/EN/DE)
Web Servis : zfi_servis
Binding: zfi_servis
httpS://*******:4443/sap/bc/srt/rfc/sap/zfi_servis/400/zfi_servis/zfi_servis?sap-language=TR

Mehonder 2023-01-03 02:02:25

DB Export Programı

Table Name : İndirilecek veri tabanı tablosunun adı
Text(200)  : WHERE ifadesi eklenebilir, eklenmez ise tüm satırlar indirilir.
Directory :Dosyaların indirileceği klasör
File Name Prefix : Dosya adı için ön ek
Extension : Dosya adının uzantısı
Rowsize : Her bir dosya için satır sayısı



Mehonder 2023-01-02 01:57:29

DB Import Programı

Tabloyu XLS formatında  upload programı.
File name : Yüklenecek dosya adı
Table Name : Hedef tablo adı
Natural number : Toplu commit için satır sayısı

Mehonder 2023-01-02 02:00:31