Change Currency in Document Flow
SD Experts,
I am noticing that when I display document flow under invoice the amount is displayed in EUR, however all documents are created in USD. Where can I change the currency so that when I display it document flow everythign shows USD. We only bill in USD.
Thank You for your help.
Frank,
As per your current setting price exchange and currency is determined in invoice itself.
If you want same currency in all document Go to VTFL, select your Delevery and billing type, in the item category settings there is a "Pricing exchange type "maintain the value as " A" - copy from sales order
Try this and give feedback.
Thanks,
Raja
Similar Messages
-
Sales Document Flow - Ref. Value not showing correct currency
I have a question about document flow currency in ECC6.0. We recented upgraded to ECC6.0 from 4.7 and noticed the changes to document flow. We are a US based company with sales offices in Europe. Our European offices are finding that that document flow in ECC6.0 shows in base currency of USD. Even thought the sales order was entered in EUR euros. Is this intended to be this way; since it is causing our offices in Europe some confusion? I searched forums an SAP notes and did not find any references. Has anyone see this in ECC6.0
Example Document Flow: Line Level (I do not see Ref Value at header level)
Note Sales Document was entered in EUR euros.
Document Quantity Unit Ref. Value Currency
Standard Order 0025082768 / 10 12 EA 5,207.54 USD
...Delivery 0080211725 / 10 12 EA
.....Picking request 20100423 / 10 12 EA
.....Handling unit 0001221687 / 1 12 EA
.....GD goods issue:delvy 4901261948 / 1 12 EA 1,690.08 GBP
...Invoice 0092006736 / 10 12 EA 5,207.55 USD
Accounting document 0092006736 12 EA
If I highlight top line in document flow, I see the following in lower part of screen. This is the currency entered on the sales order.
0025082768 10 12 EA 3,847.80 EURSmile,
Thanks for pointing those configuration points out. I checked my system and found the following. I do not see any change documents for the configuration points, so they have been set this way since our implemenation in 2005.
XD02 is customer master change, the customer on my order is set to EUR in sales in distribution tabs.
OX02 - Company Code
1000 Middleton USD...ok
2000 London GBP ok
2100 Munich EUR...ok
2210 Amsterdam EUR...ok
4000 Hong Kong USD...ok
I think OVX5 is not set correctly, should be same as OX02. If I change them, do I need to run an update in the system for old data? Or is it as simple as changing the value here? I'm hesitant to change this not knowing how this will affect the system. Do you know?
OVX5 - Sales Org
1000 Middleton USD...ok
2000 London USD should be GBP
2100 Munich USD should be EUR
2210 Amsterdam USD...should be EUR
4000 Hong Kong USD...ok
Thanks,
Tony Romain -
How can change currency rate in clearing document
How can change currency amount in clearing document
Dear Michael,
It was a User confusion with Creation Date of Invoice, Billing Date of Invoice and Posting date of Accounting Document.
User had created Invoice on some 01.03.2009 but Kept Billing Date as 26.02.2009. So, while released Accounting Doc. on 10.03.2009 (Releasing date and not Posting Date), It gets Posted on 26.02.2009, only, and not on 10.03.2009.
The whole confusion was:
When User refers Document Flow (for Invoice in VF02), System shows Invoice Date as 01.03.2009, against Accounting Posting Date 26.02.2009.
Whereas,
When I showed FBL5N to user, BL Document and AB Document both get posted on 26.02.2009 only.
Its Clear now.
Best Regards,
Amit -
Change Currency in Park Document
Hi,
I have parked one document with currency USD, now I want to change same document from USD to SAR in FBV2. How can I change currency field, please advise!
Regards
VS RaoHello VS RAO
It is not possible to change the currency field in a parked document
after at least one G/L account line item is entered. This is highlighted
in SAP Note 851736
'ENJOY: Currency in parked document can be changed'.
There are a number of reasons why the currency should not be changed.
One such reason is mentioned in the SAP Note:
..'You park a cross-company code document with an Enjoy transaction. You
change the document currency in the parked document. The currency is
adjusted for the source company code only. The original currency remains
in all other company codes....'
Only possible solution is to delete these parked documents which
have incorrect currencies entered.
Hope this clarifies
Ray -
Change the document flow, table CRMD_BRELVONAI
Hi experts,
We are using CRM and ISU. For few cases the ISUCONTRACT displayed in the CIC0 is wrong.
I would like to know if it's possible to change the document flow ? (the datas in table CRMD_BRELVONAI).
By transaction ?
by FM ?
Thanks in advance if you could help me.
Regards,
Nicolas.Nicolas,
Though I myself have not tried deleting any existing Doc Flow, but you can try using the Function Module: CRM_DOC_FLOW_UPDATE_DU.
If you get a better option please share.
Regards,
Shyamak -
Screen layout changes document flow
Hi Experts,
I came across one specific need of customer where as he wants to supress 'service document' tab field on document flow screen,
I am not sure if that is at all possible and will appreciate your views and solution in detail.
Thanks in advance.
Pareshthanx kishor for your prompt reply,
this problem came from ABAPer to me suggesting tht there is some radio button to be unchecked ...........i am not sure though, but if you can please put some more focus just in case.
Thanx again.
Message was edited by:
Paresh Kolte -
Document flow for BOM item components missing
Hello,
I would like to seek help on the following:
I am creating a process where in I can create sales order (OR type) with reference from a sales order (like quotation type). I successfully configured the needed and was able to create one.
However, I have noticed that if I used BOM products (where there is a header and item components) and check the document flow per line items, only the header BOM (line item position 10) has document flow reflecting the reference order quotation type while the its components doesnt show such.
Below is an example of the document flow:
Bom Header (line itemk position 10):
Document Quantity Unit Reference value Currency
Buffer Buyin 111111 / 10 1 EA 0.00 USD
--> Product Order 222222 / 10 1 EA 0.00 USD
Line Items Component
(line itemk position 20):
Document Quantity Unit Reference value Currency
--> Product Order 222222 / 20 1 EA 0.00 USD
(line itemk position 30):
Document Quantity Unit Reference value Currency
--> Product Order 222222 / 30 1 EA 0.00 USD
Thus, in above illustration, the line item component document flow has a missing data that would reflect the reference sales order. Please advise if what needs to be configure here.
Thanks,
RiaHello Amit,
The current scenario is like this:
1. Reference sales order (OR but assumed as QT type) has item category YYBS for normal material and ZTAR for header BOM and YYBS as components.
2. When these sales order (OR but assumed as QT type) is being reference to create actual orders to customers (OR type) the normal material will be changed from YYBS to YZBS while BOM will have ZTAR header and components YZBS. This is the reason why I told you that its like the normal material.
I checked the copy control line item settings as yes, document flow is ticked.
Thanks,
Ria -
BAP_SALES_ORDER_CREATE_WITH_REFERENCE - Document flow
Hi, I have a problem with the bapi for create sales order with reference, When the line items be created, the Update indicator for flow table(VBAP-UPFLU) be created whit the value 'X'(Create document flow records).
If the sales order is manual, the value of the Indicator for flow table is '2'(Create document flow records except for delivery/goods issue/billing documents), acording to the configuration, but, the bapi assing 'X' for the same reference document.
Then, when change positions of outbound delivery or billing document the performance of the system is afected because the "Document number of the reference document" have to many reference, and read all the flow document of the contrat.
I think that maibe need indicate someting aditional to the bapi at position level.
Thanks a lot for your help.
Regards,
Fernando Jiménez.
Edited by: Julius Bussche on Jul 24, 2009 9:54 PMhttp://www.sap-img.com/abap/bapi-salesorder-createfromdat2.htm
-
Sales order document flow error
we do credit memo for one sales order, in the sales order document flow, the credit memo accounting document's status is not cleared. how can we changed it to be cleared?
Hi,
Clearing will be done by finance after the payment is given to the customer. This clearing is done by transaction F-22.
VKM3 is used for releasing document blocked for credit management and not for clearing the accounting document.
Regards
Karan -
Regarding invoice no. displaying in non-invoice no.list in document flow
Hi All,
I have 3 radio buttons. if i select 1st one only orders with invoice list should be displayed and for 2nd only orders without invoice list should be displayed and for the 3rd both should be displayed.
but here the problem was when i select the 2nd radiobutton and see the output it was showing all the orders without invoice no. but when i see the document flow for the first order it was showing invoice no. in DOCUMENT FLOW. but it was not displaying in the output.
So any one can help me in this issue, i am sending the select statements i have used,
Get the invoice numbers and the corresponding order numbers for the
date range specified on the selection screen.
SELECT vbrkvbeln vbrpposnr vbrp~matnr
vbrpaubel vbfaposnv
INTO CORRESPONDING FIELDS OF TABLE i_invoice_items FROM vbrk
INNER JOIN vbpa ON vbrkvbeln = vbpavbeln
INNER JOIN vbrp ON vbrkvbeln = vbrpvbeln
INNER JOIN vbfa ON vbrkvbeln = vbfavbeln AND
vbrpposnr = vbfaposnn AND
vbrpaubel = vbfavbelv
WHERE vbrk~fkdat BETWEEN s_fkdat-low AND s_fkdat-high AND
vbrk~bukrs IN s_bukrs AND
vbpa~parvw = 'WE' AND
vbpa~kunnr IN s_kunnr AND
vbrk~vkorg IN s_vkorg AND
vbrp~prodh IN s_prdha AND
vbrp~werks IN s_werks AND
vbfavbelv = vbrpaubel AND
vbfa~vbtyp_n = 'M' AND
vbfa~vbtyp_v = 'C'.
get all open orders i.e. orders that have not been invoiced - Start.
Step 1 - Get all invoiced orders.
SELECT vbfavbelv vbfaposnv
INTO CORRESPONDING FIELDS OF TABLE i_inv_ord_items
FROM vbfa
INNER JOIN vbpa ON vbfavbelv = vbpavbeln
INNER JOIN vbak ON vbfavbelv = vbakvbeln
INNER JOIN vbap ON vbfavbelv = vbapvbeln AND
vbfaposnv = vbapposnr
WHERE vbtyp_n = 'M' AND
vbtyp_v = 'C' AND
vbpa~parvw = 'WE' AND
vbpa~kunnr IN s_kunnr AND
vbak~vkorg IN s_vkorg AND
vbak~bukrs_vf IN s_bukrs AND
vbap~abgru = ' ' AND
vbap~werks IN s_werks AND
vbap~prodh IN s_prdha.
STEP 2 - Get all orders that have not been invoiced.
Step 2a) Get all orders that match the filters specified on the selection screen
SELECT vbakvbeln vbapposnr matnr
INTO CORRESPONDING FIELDS OF TABLE i_ord_items FROM vbak
INNER JOIN vbap ON vbakvbeln = vbapvbeln
INNER JOIN vbpa ON vbakvbeln = vbpavbeln
WHERE vbpa~parvw = 'WE' AND
vbpa~kunnr IN s_kunnr AND
vbak~vkorg IN s_vkorg AND
vbak~bukrs_vf IN s_bukrs AND
prodh IN s_prdha AND
werks IN s_werks AND
vbap~abgru = ' '.
SORT i_ord_items BY vbeln posnr.
Step 2b) Delete orders that have been invoiced by
deleting records found in Step 1
LOOP AT i_inv_ord_items INTO wa_inv_ord_items.
READ TABLE i_ord_items
INTO wa_ord_items
WITH KEY vbeln = wa_inv_ord_items-vbelv
posnr = wa_inv_ord_items-posnv
BINARY SEARCH.
IF sy-subrc = 0.
gv_index = sy-tabix.
DELETE i_ord_items
INDEX gv_index.
ENDIF.
ENDLOOP.
Step 2c) Remove entries that exist in the invoiced orders internal table
to avoid duplicate entries
SORT i_ord_items BY vbeln posnr.
LOOP AT i_invoice_items INTO wa_invoice_items.
READ TABLE i_ord_items
INTO wa_ord_items
WITH KEY vbeln = wa_invoice_items-aubel
posnr = wa_invoice_items-posnv
BINARY SEARCH.
IF sy-subrc = 0.
gv_index = sy-tabix.
DELETE i_ord_items
INDEX gv_index.
ENDIF.
ENDLOOP.
get all open orders i.e. orders that have not been invoiced - End.
Combine the open orders and invoiced orders into one internal table
--Code added by CHHEDAM.SMS129705.Date- 03/28/2007--
Clear 'invoiced' orders if open orders are opted.
IF g_open EQ 'X'.
CLEAR: i_invoice_items[].
ENDIF.
--End of code added by CHHEDAM.SMS129705.Date- 03/28/2007--
IF g_open EQ 'X' OR g_both EQ 'X'.
LOOP AT i_ord_items INTO wa_ord_items.
CLEAR wa_invoice_items.
MOVE: wa_ord_items-vbeln TO wa_invoice_items-aubel,
wa_ord_items-posnr TO wa_invoice_items-posnv,
wa_ord_items-matnr TO wa_invoice_items-matnr.
APPEND wa_invoice_items TO i_invoice_items.
ENDLOOP.
ENDIF.
SORT i_invoice_items BY vbeln.
IF i_invoice_items[] IS NOT INITIAL.
SELECT *
FROM vbak
INTO TABLE gt_vbak_table
FOR ALL ENTRIES IN i_invoice_items
WHERE vbeln = i_invoice_items-aubel.
IF sy-subrc = 0.
DELETE gt_vbak_table
WHERE vkorg NOT IN s_vkorg OR
bukrs_vf NOT IN s_bukrs OR
auart NOT IN s_auart.
ENDIF.
SORT gt_vbak_table BY vbeln.
IF gt_vbak_table[] IS NOT INITIAL.
SELECT *
FROM vbap
INTO TABLE gt_vbap_table
FOR ALL ENTRIES IN gt_vbak_table
WHERE vbeln = gt_vbak_table-vbeln.
IF sy-subrc = 0.
DELETE gt_vbap_table
WHERE werks NOT IN s_werks OR
prodh NOT IN s_prdha.
ENDIF.
ENDIF.
ENDIF.
SORT gt_vbak_table BY vbeln.
SORT gt_vbap_table BY vbeln posnr.
LOOP AT i_invoice_items INTO wa_invoice_items.
READ TABLE gt_vbak_table
INTO gt_vbak_table_line
WITH KEY vbeln = wa_invoice_items-aubel
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-aubel = gt_vbak_table_line-vbeln.
display_table_line-vkorg = gt_vbak_table_line-vkorg.
display_table_line-auart = gt_vbak_table_line-auart.
display_table_line-bukrs_vf = gt_vbak_table_line-bukrs_vf.
display_table_line-bill_to = gt_vbak_table_line-kunnr.
display_table_line-vdatu = gt_vbak_table_line-vdatu.
display_table_line-faksk = gt_vbak_table_line-faksk.
display_table_line-lifsk = gt_vbak_table_line-lifsk.
ENDIF.
READ TABLE gt_vbap_table
INTO gt_vbap_table_line
WITH KEY vbeln = wa_invoice_items-aubel
posnr = wa_invoice_items-posnv
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-posnr = gt_vbap_table_line-posnr.
display_table_line-matnr = gt_vbap_table_line-matnr.
display_table_line-kdmat = gt_vbap_table_line-kdmat.
display_table_line-maktx = gt_vbap_table_line-arktx.
display_table_line-werks = gt_vbap_table_line-werks.
display_table_line-prodh = gt_vbap_table_line-prodh.
display_table_line-kwmeng = gt_vbap_table_line-kwmeng.
display_table_line-vrkme = gt_vbap_table_line-vrkme.
display_table_line-waerk = gt_vbap_table_line-waerk.
display_table_line-net_price = gt_vbap_table_line-netwr.
display_table_line-kzwi1 = gt_vbap_table_line-kzwi1.
display_table_line-kzwi2 = gt_vbap_table_line-kzwi2.
display_table_line-kzwi3 = gt_vbap_table_line-kzwi3.
display_table_line-kzwi4 = gt_vbap_table_line-kzwi4.
display_table_line-kzwi5 = gt_vbap_table_line-kzwi5.
display_table_line-wavwr = gt_vbap_table_line-wavwr.
display_table_line-mwsbp = gt_vbap_table_line-mwsbp.
ENDIF.
display_table_line-vbeln = wa_invoice_items-vbeln.
APPEND display_table_line TO display_table_line.
CLEAR wa_invoice_items.
CLEAR display_table_line.
ENDLOOP.
Get the Purchase Order Number, Sales District and Desc
IF display_table_line[] IS NOT INITIAL.
CLEAR: gt_vbkd_table.
CLEAR: gt_t171t_table.
SELECT *
FROM vbkd
INTO TABLE gt_vbkd_table
FOR ALL ENTRIES IN display_table_line
WHERE vbeln = display_table_line-aubel.
SORT gt_vbkd_table BY vbeln.
IF gt_vbkd_table[] IS NOT INITIAL.
SELECT *
FROM t171t
INTO TABLE gt_t171t_table
FOR ALL ENTRIES IN gt_vbkd_table
WHERE bzirk = gt_vbkd_table-bzirk.
ENDIF.
SORT gt_t171t_table BY bzirk.
ENDIF.
Get Ship To Account
IF display_table_line[] IS NOT INITIAL.
CLEAR: gt_vbpa_table.
SELECT *
INTO TABLE gt_vbpa_table
FROM vbpa
FOR ALL ENTRIES IN display_table_line
WHERE vbeln = display_table_line-aubel.
IF sy-subrc = 0.
DELETE gt_vbpa_table
WHERE parvw <> 'WE'.
ENDIF.
ENDIF.
SORT gt_vbpa_table BY vbeln parvw.
Get Ship To Name and City
IF gt_vbpa_table[] IS NOT INITIAL.
CLEAR: gt_kna1_table.
SELECT *
INTO TABLE gt_kna1_table
FROM kna1
FOR ALL ENTRIES IN gt_vbpa_table
WHERE kunnr = gt_vbpa_table-kunnr.
ENDIF.
SORT gt_kna1_table BY kunnr.
IF display_table_line[] IS NOT INITIAL.
CLEAR: gt_vbpa2_table.
SELECT *
INTO TABLE gt_vbpa2_table
FROM vbpa
FOR ALL ENTRIES IN display_table_line
WHERE vbeln = display_table_line-aubel.
IF sy-subrc = 0.
DELETE gt_vbpa2_table
WHERE parvw <> 'ZS' .
ENDIF.
ENDIF.
SORT gt_vbpa2_table BY vbeln parvw.
IF gt_vbpa2_table[] IS NOT INITIAL.
CLEAR: gt_kna12_table.
SELECT *
INTO TABLE gt_kna12_table
FROM kna1
FOR ALL ENTRIES IN gt_vbpa2_table
WHERE kunnr = gt_vbpa2_table-kunnr.
ENDIF.
SORT gt_kna12_table BY kunnr.
Get Sales Group and Desc
IF display_table_line[] IS NOT INITIAL.
CLEAR: gt_knvv_table.
SELECT *
INTO TABLE gt_knvv_table
FROM knvv
FOR ALL ENTRIES IN display_table_line
WHERE kunnr = display_table_line-bill_to AND
vkorg = display_table_line-vkorg AND
vtweg = '01'.
SORT gt_knvv_table BY kunnr vkorg vtweg.
IF gt_knvv_table[] IS NOT INITIAL.
CLEAR: gt_tvgrt_table.
SELECT *
INTO TABLE gt_tvgrt_table
FROM tvgrt
FOR ALL ENTRIES IN gt_knvv_table
WHERE vkgrp = gt_knvv_table-vkgrp AND
spras = sy-langu.
ENDIF.
SORT gt_tvgrt_table BY vkgrp spras.
ENDIF.
Get Order Status for the line items in the sales orders
IF display_table_line[] IS NOT INITIAL.
CLEAR: gt_vbup_table.
SELECT *
INTO TABLE gt_vbup_table
FROM vbup
FOR ALL ENTRIES IN display_table_line
WHERE vbeln = display_table_line-aubel AND
posnr = display_table_line-posnr.
ENDIF.
SORT gt_vbup_table BY vbeln posnr.
IF gt_vbup_table[] IS NOT INITIAL.
CLEAR: gt_tvbst_table.
SELECT *
INTO TABLE gt_tvbst_table
FROM tvbst
FOR ALL ENTRIES IN gt_vbup_table
WHERE spras = sy-langu AND
tbnam = 'VBUP' AND
fdnam = 'GBSTA' AND
statu = gt_vbup_table-gbsta.
ENDIF.
SORT gt_tvbst_table BY spras tbnam fdnam statu.
Get Blocked Reason Text for Billing and Delivery Block
IF display_table_line[] IS NOT INITIAL.
CLEAR: gt_tvfst_table.
SELECT *
INTO TABLE gt_tvfst_table
FROM tvfst
FOR ALL ENTRIES IN display_table_line
WHERE spras = sy-langu AND
faksp = display_table_line-faksk.
ENDIF.
SORT gt_tvfst_table BY spras faksp.
IF display_table_line[] IS NOT INITIAL.
CLEAR: gt_tvlst_table.
SELECT *
INTO TABLE gt_tvlst_table
FROM tvlst
FOR ALL ENTRIES IN display_table_line
WHERE spras = sy-langu AND
lifsp = display_table_line-lifsk.
ENDIF.
SORT gt_tvlst_table BY spras lifsp.
SORT display_table_line BY vbeln aubel posnr matnr.
DELETE ADJACENT DUPLICATES
FROM display_table_line
COMPARING aubel posnr matnr .
LOOP AT display_table_line INTO display_table_line.
gv_index = sy-tabix.
Get the Purchase Order Number, Sales District and Desc
READ TABLE gt_vbkd_table
INTO gt_vbkd_table_line
WITH KEY vbeln = display_table_line-aubel
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-bstkd = gt_vbkd_table_line-bstkd.
display_table_line-bzirk = gt_vbkd_table_line-bzirk.
READ TABLE gt_t171t_table
INTO gt_t171t_table_line
WITH KEY bzirk = gt_vbkd_table_line-bzirk
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-bztxt = gt_t171t_table_line-bztxt.
ENDIF.
ENDIF.
Get Ship To Account
READ TABLE gt_vbpa_table
INTO gt_vbpa_table_line
WITH KEY vbeln = display_table_line-aubel
parvw = 'WE'
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-ship_to = gt_vbpa_table_line-kunnr.
ENDIF.
Get Ship To Name and City
READ TABLE gt_kna1_table
INTO gt_kna1_table_line
WITH KEY kunnr = display_table_line-ship_to
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-ship_to_name = gt_kna1_table_line-name1.
display_table_line-ship_to_city = gt_kna1_table_line-ort01.
ENDIF.
Get Ship To Salesman Number
READ TABLE gt_vbpa2_table
INTO gt_vbpa2_table_line
WITH KEY vbeln = display_table_line-aubel
parvw = 'ZS'
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-salesrep = gt_vbpa2_table_line-kunnr.
ENDIF.
Get Ship To Salesman
READ TABLE gt_kna12_table
INTO gt_kna12_table_line
WITH KEY kunnr = display_table_line-salesrep
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-ship_to_srep = gt_kna12_table_line-name1.
ENDIF.
Get Sales Group and Desc
READ TABLE gt_knvv_table
INTO gt_knvv_table_line
WITH KEY kunnr = display_table_line-bill_to
vkorg = display_table_line-vkorg
vtweg = '01'
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-vkgrp = gt_knvv_table_line-vkgrp.
READ TABLE gt_tvgrt_table
INTO gt_tvgrt_table_line
WITH KEY vkgrp = gt_knvv_table_line-vkgrp
spras = sy-langu
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-bezei = gt_tvgrt_table_line-bezei.
ENDIF.
ENDIF.
Get Order Status for the line items in the sales orders
READ TABLE gt_vbup_table
INTO gt_vbup_table_line
WITH KEY vbeln = display_table_line-aubel
posnr = display_table_line-posnr
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-gbsta = gt_vbup_table_line-gbsta.
ENDIF.
READ TABLE gt_tvbst_table
INTO gt_tvbst_table_line
WITH KEY spras = sy-langu
tbnam = 'VBUP'
fdnam = 'GBSTA'
statu = display_table_line-gbsta
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-status = gt_tvbst_table_line-bezei.
ENDIF.
Get Blocked Reason Text for Billing and Delivery Block
READ TABLE gt_tvfst_table
INTO gt_tvfst_table_line
WITH KEY spras = sy-langu
faksp = display_table_line-faksk
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-fakskt = gt_tvfst_table_line-vtext.
ENDIF.
SELECT SINGLE vtext INTO display_table_line-lifskt
READ TABLE gt_tvlst_table
INTO gt_tvlst_table_line
WITH KEY spras = sy-langu
lifsp = display_table_line-lifsk
BINARY SEARCH.
IF sy-subrc = 0.
display_table_line-lifskt = gt_tvlst_table_line-vtext.
ENDIF.
Get Total Net and Total Gross Invoice Amount
display_table_line-brtwr = display_table_line-kzwi1 -
display_table_line-kzwi2 -
display_table_line-kzwi3 -
display_table_line-kzwi4 -
display_table_line-kzwi5.
Calculate Discount
display_table_line-disc = display_table_line-kzwi2 +
display_table_line-kzwi4.
Unit Price and cost.
IF display_table_line-kwmeng NE 0.
display_table_line-unit_price = display_table_line-brtwr /
display_table_line-kwmeng.
display_table_line-wavwr = display_table_line-wavwr /
display_table_line-kwmeng.
ELSE.
display_table_line-wavwr = 0.
ENDIF.
Calculate the GPM percentage.
IF display_table_line-unit_price NE 0.
display_table_line-gpm_perc = ( ( display_table_line-unit_price -
display_table_line-wavwr ) /
display_table_line-unit_price ) * 100.
ENDIF.
Update the internal table.
SHIFT display_table_line-matnr LEFT DELETING LEADING '0'.
SHIFT display_table_line-bill_to LEFT DELETING LEADING '0'.
SHIFT display_table_line-ship_to LEFT DELETING LEADING '0'.
SHIFT display_table_line-vbeln LEFT DELETING LEADING '0'.
SHIFT display_table_line-aubel LEFT DELETING LEADING '0'.
WRITE display_table_line-vdatu TO display_table_line-vdatu_char MM/DD/YYYY.
MODIFY display_table_line
INDEX gv_index
FROM display_table_line
TRANSPORTING vbeln aubel bzirk bztxt
bill_to ship_to ship_to_name ship_to_city
salesrep ship_to_srep vkgrp bezei
bstkd gbsta status fakskt
lifskt matnr vdatu brtwr
disc unit_price wavwr gpm_perc
vdatu_char.
CLEAR: display_table_line, tvbst_wa.
ENDLOOP.
IF s_vkgrp[] IS NOT INITIAL.
DELETE display_table_line WHERE vkgrp NOT IN s_vkgrp.
ENDIF.
IF s_bzirk[] IS NOT INITIAL.
DELETE display_table_line WHERE bzirk NOT IN s_bzirk.
ENDIF.
IF s_srep[] IS NOT INITIAL.
DELETE display_table_line WHERE salesrep NOT IN s_srep.
ENDIF.
SORT display_table_line BY vkorg vkgrp ship_to_srep bill_to.
DELETE display_table_line WHERE aubel = ' '.
ENDMETHOD. "read_main_data
METHOD display_report.
CALL METHOD alv_class->set_table_for_first_display
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME =
IS_VARIANT =
I_SAVE =
I_DEFAULT = 'X'
is_layout = gv_layout
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
IR_SALV_ADAPTER =
CHANGING
it_outtab = display_table_line[]
it_fieldcatalog = gt_field_cat
IT_SORT =
IT_FILTER =
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMETHOD. "display_report
Thanks in Advance,
Ramana Prasad.THi Janakiraman,
unfortunately we don't have an upload storage here in the SDN. At this point we have two options:
a) you could upload the screenshots to a website that provides storage and then you can paste the url to the screenshots here
b) we can route this through our support channel. You can send a message to our support team in the <a href="http://service.sap.com/smb/sbo/support">SAP Business One Support Center</a> in our <a href="http://service.sap.com/smb/sbo">SAP PartnerEdge Portal</a>.
Please use the method that works best for you.
Thanks,
Torsten -
Line item document flow shows net value of the item
Line item document flow shows the value of the item with currency instead of the quantity.
Any inputs on how this is getting displayed instead of the quantity being displayed?
Additional information:
In this case, the line item is a third party item with item category TAS.
The document flow displays as follows..
*Document Date Qty/Value UoM/Cur*
*Standard order xxxx xxxxx 34 170,00 USD*Dear Anand
Go to VA02 or VF02, input the reference and execute. Again go to document flow screen. Now from top menu bar, click on "Document Flow --> View --> Items". Now check the document flow.
thanks
G. Lakshmipathi -
How to find Document flow / Relationships to a support message
Hi Friends,
I am new to Solution manager. I would like to know how to find Document flow of a Support message.
For example I have a Support message, there are few Change requests and tasks linked to it. This can be viewed from CRMD_ORDER transaction (Where used list button / Document flow), preceding documents and related documents.
Is there any function module or table where I find the link between these different transaction types or atleast any report!
Thanks in advanceHello Sesagiri,
Can you explain the process to link support message with change requests and tasks.
pls help me.
Regards,
Babu -
Document flow reference from ECC invoice to mySAP CRM complaint to be made
Hi,
I am using a BAPI program to create complaints in the mySAP CRM system; however the complaints have to be created with reference to invoices that are residing in the back end ECC system.
Since the complaints are not being created using the GUI, I cannot establish the doc flow while creating the complaints.
Is there someway I can make some table entries, etc... so that when I create the complaint in mySAP CRM using the BAPI:
1. I can see the invoice in the document flow as the preceding document
2. The reference of the line items from the invoice is also available in the relevant fields in the complaint line item (fields such as invoiced qty, net value, billing doc number, billing line item, etc)
Kindly advice on the same. Thanking you in anticipation.
Warm regards,
Dhaval.> See if the below one answers your query.
>
> Go to SPRO -> Financial accounting -> FA Global
> setting -> Company Code -> Multiple currencies
>
> See if anything is activated here.
>
> Raj
>
> Reward points if helpful
Hi Raj. Here i see the following settings :
1) Define additional local currencies. Here is only 1 company code (not mine) with settings.
2) Define additional local currencies for ledgers. Here is a setting saying ;
Ledger =0, Summary Tabel =GLT0, Valuation =Legal valuation, Second Currency =Comp.Code currency, Third currency =Group Currency.
I have no idea whether these settings have anything to do with my problem. I had more the feeling that it is an error in the document flow program.
When you know more i would appreciate your info. Thanks. Ed -
SD Document flow with Leading zeros
Hi All,
We have issue with docuemnt flow, when we click document flow sales order or delivery or billing its showing leading zeros, My client don't want any leading zeros in docuemnt flow.
For example -
if i click on document flow its showing - 00500005 (SO ) 008000674 -Delivery - - Billing - 0090000012,
Can any other guide us what could be a issue with leading zeros or any config setting is missing.
Regards
Nishaddear friend,
it depends on how do you set up the number ranges
for example, run VN01 and look how your sales orders are numbered.
regards,
p.s. create a new number range without leading zeroes and test it
but i suggest you will not change the current settings , it is 'too late' , so tell your client it is standard -
Hi,
This query is regarding document flow updating:
If we observe Update document flow check is only available in VTLA-ITEM, but it is not available in none of copy controls.
My doubt is how delivery to invoice is updating in doc.flow,
How Sales order to invoice(If invoice is created w.r.t sales order), how this updating??
VTAA,VTFF...how these document flow are updating??
Any suggestion on doubt please...Hi Rajk,
Yes, actually I have faced an issue with an invoice.
For one particular invoice status showing as cancelled, but the same has not updated in the document flow. VTFF is maintained same and this was happened with only one invoice.
If I see from the cancelled invoice I am able to see the doc.flow, but not from the parent invoice nor so or delivery.
In my analysis I found that there are no check buttons for doc.flow for VTFL,VTFF and got a doubt and posted the same here to clarify my doubt.
I have checked in cdhdr,cdpos...etc change logs...but not succeeded...
Maybe you are looking for
-
Problems with special characters uploading data into oracle database
Greetings I have a problem uploading data into oracle tables from sybase datasource. The data that I want to upload is in Spanish, for example when I have a varchar field with the data 'Consultoría', in oracle table the data upload with interrogation
-
Mail rebuild mailbox issue with Gmail
I set up Mail 4.6 to receive and send e-mails to and from Gmail as per the instructions on the Gmail site and used additional information on this forum. What is happening is whenever I rebuild the gmail folder it downloads again all the files I have
-
Photos blurry after restart?
I just bought my iPad and all of the photos are blurry after restart, including the ones I downloaded and took myself. Also when I tap Edit, it returns to home screen. Can anyone help?
-
I created a screen in the screen painter and it works fine . Now i want when i push a button to display a small selection criteria in a window subscreen (?) so to take some result. I dont know if this can happen . Is there any FM to do this ? Thanks
-
MAC os 10.4 powerprocessor
i cant install the flashplayer :/