... (lets call it here Z_DESTINATION_TO_NBP) tha will point to https://www.nbp.pl/kursy/xml/lasta.xml, where the last exchange rates are posted.
The XML behind has following structure:
...
... XML from bank site into internal table, which can be then used inside your code to populate values of BAPI_EXCHANGERATE_CREATE FM.
There are few ways to download the XML to your ABAP code, I prefer ...
... inside development objects folders and opposite.
h.Manual edit of XML file
As currently there is no possiblity to move folders and favorites between the folders, you have to manually recreate ...
...
else.
*else we take the one we passed
mt_fcat[] = it_fieldcat[].
endif.
if cl_salv_bs_a_xml_base=>get_version( ) eq if_salv_bs_xml=>version_25 or
cl_salv_bs_a_xml_base=>get_version( ) eq if_salv_bs_xml=>version_26. ...
... table.
In the method provided bellow I firstly create custom container object (cl_gui_custom_container) to place the chart in it, then I create chart engine (cl_gui_chart_engine), then using if_xml I ...
... Then I'll paste the XML content here and save: After it's done I can prepare a module to read the text, replace title and subtitle and to create an xstring from it. I will use this xstring in ...
... it in XML file which can be used in ABAP after.
So first of all we need to download chart designer from SDN so you can google "sap chart designer" to get it. After you'll have it just ...