on 02-27-2012 8:57 PM
Hello All !!!
Please, if a colleague has this information I'll be very grateful.
This issue ocurred after aplication of Enhancements Packages (EHP4)
The question is about the exchange rate with manual entry field VBKD-KURRF through order sales (Header -> Accounting).
Modification was made to control copying, performing tests with the "B" in VTFL transaction, but the problem persists.
For example:
In sales order i set exhange rate to U$ 1,75 (HEADER--> ACCOUNTING), but the billing document consider U$ 1,40 according to transaction OB08.
I need that manual entry has higher priority as illustrated in SAP note 1481238, but after (EHP4) manual entry are being ignored.
Thanks in advance,
Marcelo Lucas Sassaki
SAP SD Consultant
Edited by: Funcional Grupo Assa on Feb 27, 2012 10:04 PM
Dear Marcelo Lucas Sassaki,
If your issue is that system considers exchange rate M while passing to accounting (billing document header--> exc.rate accounting ), then it is a standard behaviour.
If you want the exchange rate to be picked up from the customer master, then
write a copying routine in VTFL.
Logic = get LIKP-KUNAG
Put in KNVV as KUNAG and get KNVV-KURST
Put this in V_TCURR and get UKURS.
Input this UKURS in the EXC.RATE ACCOUNTING.
Thanks & Regards,
Hegal K Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Hegal !!!
I made some tests and your clue was very helpful, in really the problem was in routine 901 in VTFL transaction, which after upgrade to u201CEHP4u201D doesn´t worked anymore.
In Copy control, the correct choice is "B" for this case. So I retired the routine 901 and the system worked properly, remains now to find out why the routine that worked before no longer works after EHP4.
This routine is responsable for change USD for BRL in billing document.
Bellow the routine. I'll talk to colleagues ABAP to assist me, but if you have a new tip, I am very grateful.
Thanks in advance.
Marcelo Lucas Sassaki
SAP SD Consultant
==================================================//===============================================
TABLES: zzbileuro.
*&----
*
*& Form DATEN_KOPIEREN_901
*&----
*
text
*----
*
FORM daten_kopieren_901.
*{ INSERT DEVK903476 1
**----
Data transfer for delivery related billing *
*----
-
*----
*
FORM DATEN_KOPIEREN_001 *
*----
*
---> VBAK Order header KUAGV View Sold-to *
VBAP Order item KURGV View Payer *
VBKD Business data order KUREV View Bill-to *
LIKP Delivery header KUWEV View Ship-to *
LIPS Delivery item *
*----
*
DATA: BEGIN OF zuk,
modul(3) VALUE '901',
vtweg LIKE vbak-vtweg,
spart LIKE vbak-spart,
vgbel LIKE vbrp-vgbel,
END OF zuk.
zuk-vtweg = vbak-vtweg.
zuk-spart = vbak-spart.
IF kurgv-perfk = space.
zuk-vgbel = vbrp-vgbel.
ENDIF.
vbrk-zukri = zuk.
vbrk-fkdat = sy-datum.
><b> Z3S6E - JDMD - 24.03.2009
Grupo Assa - Willian Santos - 02/12/2009 - Inicio Alt
IF zzbileuro-kunrg NE vbrk-kunrg.
SELECT SINGLE *
FROM zzbileuro
WHERE bukrs EQ vbrk-bukrs AND
kunrg eQ vbrk-kunrg .
Grupo Assa - Willian Santos - 02/12/2009 - Fim Alt
ENDIF.
IF zzbileuro-kunrg = vbrk-kunrg AND zzbileuro-fkdat LE vbrk-fkdat
AND NOT zzbileuro-waerk IS INITIAL.
MOVE zzbileuro-waerk TO vbrk-waerk.
CLEAR vbrp-kursk.
CLEAR vbrk-kurrf.
ENDIF.
*} INSERT
ENDFORM. "DATEN_KOPIEREN_901
You may need to run program RV80HGEN in SE38 to activate the routines after the upgrade. Also the table zzbileuro looks a customized table, and you may need to check whether this table contains the required entries. If not you may need to make the entries (or reimport from development system) for proper functioning.
Regards,
Hello,
In your Copy COntrol Records from Delivery to Invoice (T-Code VTFL) go to Item Details & Maintain PricingExchRate type as A - Copy from sales order.
The setting tried by you is B which is Price exchange rate = Accouting rate, thus is is not picking from VBKD - KURRF
Hope this helps,
Thanks,
Jignesh Mehta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In VTFL, can you maintain value A in the field Pricing Exchange rate type field at item level and try?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.