cancel
Showing results for 
Search instead for 
Did you mean: 

BBP_GET_EXRATE - No records updated

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

yann_bouillut
Active Contributor
0 Kudos

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

dennis_bruder
Employee
Employee
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

yann_bouillut
Active Contributor
0 Kudos

Hi Emre,

Please post SAP answer as soon as you get it

Kind regards,

Yann

Former Member
0 Kudos

Hi,

SAP answered that it is standard SRM functionality to update the exchange rates only from one backend system. I did not like this behaviour but what to do...

Bye