Documentos de Académico
Documentos de Profesional
Documentos de Cultura
https://answers.sap.com/questions/1586943/call-url-from-abap-program.html
-------------------------------------------------------------------------------------------------------------------------------------
http://consultorsapfi.blogspot.com/2017/06/actualizacion-automatica-de-los-tipos.html
Consultoría SAP FI
El propósito de este blog es compartir experiencias, comentarios, novedades, conocimientos y toda la
información que pueda servirnos a los consultores FI de SAP a resolver nuestros problemas y
enriquecer nuestra experiencia. Tu opinión es vital para que este blog crezca y que se alimente en base
a tus aportes.
JUEVES, 22 DE JUNIO DE 2017
Sí, eso es factible! SAP permite acceder a las diferentes cotizaciones de forma on-line y por sobre todo sin
desarrollos ABAP, sólo con customizing standard.
La clave de eso está en la transacción TBD4. Esta transacción con un customizing 100% standard, permite
que SAP se conecte a la nube y que obtenga los tipos de cambio que deseamos desde un sitio determinado.
Esta misma transacción interpreta las respuesta de forma on-line, alimentando la tabla TCURR de forma
transparente, por lo que si se accede después a la OB08, se van a encontrar los valores ya actualizados.
El customizing es muy sencillo. Sólo debemos saber qué monedas vamos a utilizar (origen, destino, tipo de
cotización, fecha y si es directo o indirecto). En poco tiempo una tarea rutinaria y sensible queda
totalmente automatizada.
http://www.cotizaciondemonedas.com/
http://sap-ob08.com/
http://www.cotizaciondemonedas.com/
Portugués
Obtenga de manera Online las cotizaciones de todas las
monedas para actualizar su sistema SAP de
manera automática.
Ofrecemos
Cotizaciones On Line, las 24 horas, basadas en fuentes oficiales, tales como
Conexión HTTP desde y hacia su sistema SAP, utilizando la transacción standard TBD4.
Totalmente configurable desde el customizing standard de SAP.
No es necesario contar con desarrollos ABAP.
Alimentación automática de la transacción OB08.
Hosteado en AWS
Amazon Web Services
“Es una herramienta muy flexible que nos permitió agilizar el proceso de carga de tipos de cambio, evitar el
error humano en un dato sensible y comunicar diariamente esta información a los interesados. Excelente el
soporte de Infoaval ante cualquier necesidad.”
https://www.superfinanciera.gov.co/descargas?com=institucional&name=pubFile1016117&downloadname=20151228
manualserviciowebtrm.pdf
https://www.superfinanciera.gov.co/SuperfinancieraWebServiceTRM/TCRMServicesWebService/TCRMServicesWebServ
ice?WSDL
http://www.mundosap.com/foro/showthread.php?t=77233
OPCION Solicitr datos de mcdo (Tx TD04)
Para configurar ese campo :
https://blogs.sap.com/2016/08/10/trm-market-data-management-datafeed/
Grigor iy Bab itskiy
Using Datafeed we can upload Market data into SAP automatically from different Market data providers.
Input data
I have a web site of National Bank of the Republic of Belarus ( Exchange Rates, Refinancing Rate, News | National
Bank of the Republic of Belarus) from where i can get information about:
As a result we need to get information into SAP and parse it into the special table “Answer”.
Configuration
Create Market Data Provider
IMG -> Financial Supply Chain Management -> Treasury and Risk Management -> Basic Functions -> Market Data
Management -> Datafeed -> Technical Settings -> Define Datafeed Name (tr. S_ALR_87007834)
Here we create Market Data provider in order to separate the different sources of information:
IMG -> Financial Supply Chain Management -> Treasury and Risk Management -> Basic Functions -> Market Data
Management -> Datafeed -> Technical Settings -> RFC Settings for External Partner Program -> Assign Datafeed RFC
Destination (tr. SM30 -> V_VTB_DFD)
Using RFC
For RFC we need to Enter our RFC destionation (tr. SM59, RFC with type T (TCP/IP) ) and indicate partner’s
function. For example, with RFC we connect to Data Provider and the SAP calls special partners function in order to
get Market data. Usually, you can get description of RFC configuration and list of function from your partner
(Reuters, Blumberg, Teletrade, etc). Using RFC we can retrieve information in Real-time if your provider allows it.
Internet settings for WEB Server Access
IMG -> Financial Supply Chain Management -> Treasury and Risk Management -> Basic Functions -> Market Data
Management -> Datafeed -> Technical Settings -> Internet Settings for External Partner Program -> Define Internet
Settings for WEB Server Access (tr. SM30 -> V_VTB_DFD2)
Here we define URL (required) and User name and Password (optional) if your Data Provider requeres it.
As you can see earlier in URL we have constant part (http://www.nbrb.by/API/) and variable part depending on
market data class.
So in this configuration i will put constant part. Variable part is added inside of
FM ZTB_DATAFEED_INTERNET_ACCESS.
Proxy Configuration
IMG -> Financial Supply Chain Management -> Treasury and Risk Management -> Basic Functions -> Market Data
Management -> Datafeed -> Technical Settings -> Internet Settings for External Partner Program -> HTTP Proxy
Configuration -> Define Proxy Configuration (SM30 -> THTTP)
If according to your companie’s policy you use Proxy to enter to internet, then you can configure your proxy with Proxy
user and Proxy password.
This operation fills Converstion tables with SAP data: Exchange rate types, Currency names, etc.
IMG -> Financial Supply Chain Management -> Treasury and Risk Management -> Basic Functions -> Market Data
Management -> Datafeed -> Translation Table -> Define Datafeed Conversion Codes -> Create Tables for Code
Conversion (tr. TBDK)
IMG -> Financial Supply Chain Management -> Treasury and Risk Management -> Basic Functions -> Market Data
Management -> Datafeed -> Translation Table -> Define Datafeed Conversion Codes -> Convert Codes for Exchange
Rate Types (tr. SM30 -> V_MDUDFCV)
Before creating tables for Code Conversion, the table was empty. After creating tables – it will be filled with SAP data. All
you need to map SAP Data with External Providers’ data.
Adjust converstion tables to your need: IMG -> Financial Supply Chain Management -> Treasury and Risk
Management -> Basic Functions -> Market Data Management -> Datafeed -> Translation Table -> Define Datafeed
Conversion Codes -> …
I will use these tables to get external codes for currencies and commodities.
SAP created translation tables for currency. Make a double click on any parameters in the table.
Most of fields are entered by SAP, selected fields with red box – you have to enter yourself.
Save markter data permanently in system: tell your system to save data into SAP tables. For example,
Exhange rates – tr. OB08, Reference Interest rates – tr. JBIRM, etc.
Instrument – ask you data provider about this data or create your own. I created my own Instrument –
combination of currencies.
External data feed currency settings: according to external data.
If you didn’t use Automatic creation of Translation tables then you have to fill these tables manually.
Conclusion
If your provider is Reuters (or Bloombers, or Teletrade, or similar services) – it’s very good. Reuters, for example, is
licensed with SAP to provide market data. All you need is to configure RFC connection, list of Reuters functions to
call and translation tables.
If your data provider has Web-Services or APIs – it’s also not a problem to get data. You have to retrieve simple
data structures and parse them into the SAP tables.
Even if you have access to data which is presented as a web page – you can get this information also (as HTML),
but you have to find out how to parse this information.
Now it’s time to process datafeed market data: TRM Market Data Management: Datafeed: Processing market data.
————————————————————————————
Alert Moderator
Assigned tags
FIN Treasury
commodities
currency
curves
data
View more...
Related Questions
Former Member
Hi Grigoriy ,
Regards,
Biao
o Like(0)
Jain Varghese
Hi Grigoriy,
Cheers,
Jain
o Like(0)
Former Member
Dear Grigoriy,
We are using Reuters DATA SCOPE SELECT API.. after executing TBD4 how the request is passed to Reuters.. is there any JAVA
program we need to write? how to invoke that program from TBD4?
o Like(0)
I don’t have experience to work with Reuters, so i am unable to answer your question. I think you have to request such
information from Reuters.
Like(0)
Former Member
Thanks Grigority … for the information .. We have achieved the solution through PI.
o Like(0)
Former Member
Hello Naresh,
Could you please give me some clue about how you solved it via PI?
Im using HTTP_AAE receiver comm channel but I´m not able to sort out the issue.
Kind regards!
Carlos
Like(0)
Former Member
I have a question regarding the function ZTB_DATAFEED_INTERNET_ACCESS. When I try to set up “Internet settings for web server
access” and to complet the URI,
I get the message “No entries found that match selection criteria” (Msg SV004).
When I debug, I see that this is beacuse in the code of this transaccion it is hardcoded “TB_DATAFEED_INTERNET_ACCESS”. Do
you know if we have to implement any note or do some modification?
Thanks in advance,
Oscar
o Like(0)
Hello Oscar, i haven’t met any note about this situation. If i want to add URI into this confi, i always use debug.
----------------------fin blog----------------------------------------------------------------------------------------------------------------------
Tx S_ALR_87007834
----------------------------------
https://docmanager.com.co/ES/Productos/TRM
Web Service - TRM - Banco de la República
Colombia
Términos y Condiciones
El servicio WEB de consulta de TRM se basa en la información que entrega el banco de la república
en
http://superfinanciera.gov.co/SuperfinancieraWebServiceTRM/TCRMServicesWebService/TCRMSer
vicesWebService
DocManager ofrece este servicio "AS IS", es decir, no se compromete en la veracidad de la información
entregada, y el uso del servicio web no compromente a DocManager Solutions en ningún tipo de
responsabilidad. El Servicio WEB funciona y presenta información en tanto el origen de datos esté
disponible. DocManager Solutions no ofrece ningún tipo de soporte a este servicio.
Detalles técnicos: El servicio WEB solo ofrece un metodo GETTRM que devuelve una cadena simple
JSON string con el valor de la TRM aplicable al día de la consulta.
https://stackoverflow.com/questions/24322222/sap-fm-http-post-to-send-a-message-to-push-notification-server
function HTTP_POST
https://answers.sap.com/questions/5615609/updating-tcurr-table.html
PRUEBA OSM
AL ENTRAR X LA OB08
-------------------------------------FIN BLOG------------------------------------------------------------------------------------------