on 12-13-2006 12:36 PM
Hi,
Our environment is SRM Server 5.5 with two R/3 backends.
We have executed the report BBP_GET_EXRATE for the first backend and it completed successfully copying the exchange rates. However when we executed the same report for the second backend the log says "No records updated".
Did anyone have experience this problem before? Can you please help?
Thanks
Hi Emre,
Good question.
As far as i know, the table is not prefixed by logical system thus i guess that SRM does not know how to handle your case.
Could somebody confirm this statement ?
Kind regards,
Yann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
FM LOAD_TCURR within BBP_GET_EXRATE is used to fill TCURR in SRM. It seems that all entries are deleted from TCURR and then the entries are filled again from the backend. So it seems to be not possible to get the exrates from different backends.
Take a look at the strange coding from FM LOAD_TCURR :
Load Exchange Rates table TCURR
TABLES: TCURR.
DATA: BEGIN OF ITAB_TCURR OCCURS 0.
INCLUDE STRUCTURE TCURR.
DATA: END OF ITAB_TCURR.
delete all entries in table
SELECT * FROM TCURR INTO ITAB_TCURR. <--- get existing entries
APPEND ITAB_TCURR.
ENDSELECT.
LOOP AT ITAB_TCURR.
DELETE FROM TCURR <--- delete them
WHERE KURST = ITAB_TCURR-KURST
AND FCURR = ITAB_TCURR-FCURR
AND TCURR = ITAB_TCURR-TCURR
AND GDATU = ITAB_TCURR-GDATU.
ENDLOOP.
LOOP AT E_T_TCURR.
MOVE-CORRESPONDING E_T_TCURR TO TCURR. <--- fill TCURR again
INSERT TCURR.
ENDLOOP.
Thank you Yann and Dennis. You made the issue clearer for us.
I think we are going to open an OSS note. It is not a good behaviour of SRM to accept exchange rates only from one backend system at a time. This would require that all the exchange rates should be entered on 1 backend.
Thank you once more although our issue is not resolved.
Hi
Our tech team have coded a custom program (scheduled at some intervals) to update the exchange rates from XI (which will get the latest exchange rates from thirdparty site online) and calling a bapi BAPI_EXCHRATE_CREATEMULTIPLE for appending the exchange rates in SRM system. Parallely same XI call is also used by Z program of multiple SAP backends, so the data is consistent all the time.
Rgds
Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.