SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

Проблема с входящими IDOC курсов валют



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
Валерий
Участник
Участник



Joined: 14 Sep 2007
Posts: 4

PostPosted: Fri Jan 16, 2009 4:44 pm    Post subject: Проблема с входящими IDOC курсов валют Reply with quote

Коллеги, кто-нибудь сталкивался с такой ошибкой обработки входящих IDOC c курсами валют.
В систему приходят IDOC mesage type = EXCHANGE_RATE
и обрабатываются ФМ IDOC_INPUT_EXCHANGE_RATE,
который в свою очередь запускает BAPI_EXCHANGERATE_SAVEREPLICA
и BAPI_EXCHRATE_CREATEMULTIPLE

Проблема возникает, если приходят курсы валют, уже существующие в системе (корректировка первоначально загруженных неверных значений). BAPI_EXCHRATE_CREATEMULTIPLE возвращает ошибку.

Требуется, чтобы курсы обновились. На ум приходит замена стандарного обработчика и прямой update таблицы tcurr.
Back to top
View user's profile Send private message
vga
Мастер
Мастер


Age: 140
Joined: 04 Oct 2007
Posts: 1218
Location: Санкт-Петербург

PostPosted: Sat Jan 17, 2009 11:41 am    Post subject: Reply with quote

Ручной апдейт может и не нужен, у BAPI есть параметр
UPD_ALLOW
попробуйте его включить.

Как заменить стандартную обработку EXCHANGE_RATE на пользовательскую, есть дока, могу выслать.
Back to top
View user's profile Send private message Blog Visit poster's website
Валерий
Участник
Участник



Joined: 14 Sep 2007
Posts: 4

PostPosted: Tue Jan 20, 2009 1:27 pm    Post subject: Reply with quote

vga wrote:
Ручной апдейт может и не нужен, у BAPI есть параметр
UPD_ALLOW
попробуйте его включить.


Спасибо, с этим параметром заработало. Не заметил Sad

Замена стандартного обработчика уже сделана.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.