on 06-09-2008 3:53 PM
Hello,
I've got a problem with shopping cart's currency. I create the shopping cart with 1 item currency "EUR", I see in my backend ECC 5.0 , my purchase requisition have got a currency in "CHF".
System SRM : SRM 5.5
System ECC : 5.0
The scenario for approval shopping cart is automatic, the workflow WS1000060 is active.
Can you help me please, thanks very much.
Lionel
Lionel,
What is the currency of the vendor? Also, if you look at the shopping cart, do you see in Basic Data section the total in CHF?
Regards, Dean.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Lionel,
what is the default currency of the vendor?
Regards,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Andreas,
Yes , the vendor's default currency is "CHF", I agree with you.
Me, with SRM shopping cart, I don't tranfer a purchase order but a purchase requisition.
If I create a purchase requisition directly in backend, I can put any currency, the system don't put automatically the vendor's default currency.
I want :
- If I create a item SC with currency "EUR" in SRM -> in backend ECC I want a item purchase requisition with currency "EUR".
- If I create a item SC with currency "CHF" in SRM -> in backend ECC I want a item purchase requisition with currency "CHF".
Thanks for help.
Lionel
Hi Sambit,
Yes I found the solution.
You must implemente this BADI BBP_CREATE_BE_RQ_NEW with method FILL_RQ_INTERFACE.
You can see my code :
METHOD if_ex_bbp_create_be_rq_new~fill_rq_interface.
DATA : wa_requisition_items TYPE bbps_badi_rq_item,
wa_item TYPE bbp_pds_transfer_item,
w_tabix TYPE sy-tabix,
w_check.
LOOP AT cs_rq_document-it_requisition_items INTO wa_requisition_items.
w_tabix = sy-tabix.
READ TABLE is_sc_document-item INDEX w_tabix INTO wa_item.
IF wa_requisition_items-currency NE wa_item-currency.
wa_requisition_items-currency = wa_item-currency.
wa_requisition_items-c_amt_bapi = wa_item-gross_price.
ENDIF.
MODIFY cs_rq_document-it_requisition_items FROM wa_requisition_items INDEX w_tabix.
CLEAR : wa_requisition_items,
wa_item.
ENDLOOP.
ENDMETHOD.
I hope that will help you.
Kind regards.
Lionel
Edited by: Lionel Lacotte on Jun 24, 2008 2:22 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.