Open Delivery value update error in credit management
Hi
We have credit management active at delivery level. The value of open deliveries is not getting updated correctly for items with material substitution (material determination). For all other items, its getting updated correctly.
E.g Let say the credit limit set in FD32 is 10000 and the credit limit used % is 98 and the credit exposure value is 9800.
Now when I create an order with qty 10 for mat A, it creates a sub item B due to material determination and the value of the item is Rs.1200. In our system, the sub item with TAPS item category is relevant for pricing.
Then I create a delivery in VL01N and save it.
Now if i check in FD33, the credit limit used should be 101% and the credit exposure value should be 11000, but its not updating the open delivery value correctly. Its not considering the value of the new delivery.
However, If I add a normal item (TAN) in the same sales order and create a delivery for that item and save it, its updating the credit exposure based on the value of the normal item in the delivery correctly.
How to make the system update the open delivery values correctly by taking the items with material determination also into account.??
Please advise if any specific settings need to be done.
Regards
Madhu
Hi,
the system updates open values for credit management. These are:
Open sales order credit value (S066-OEIKW)
Open delivery credit value (S067-OLIKW)
Open billing document credit value (S067-OFAKW)
The system updates the open values in standard SIS structures S066 and S067. Technically, the structures are transparent tables. You can display the contents using transaction SE16 or using table maintenance.
The S067-OLIKW will give the open delivery credit values credit.Check in you system whether this table is updated with the delivery values for the credit account(customer number)
RVKRED77 u2013 Reorganize SD credit data
When updating errors occur, it enables you to reorganize the open credit, delivery and billing document values.
If the table is not updated run this report in background.
Regards,
Saju.S
Similar Messages
-
Credit management -ve open delivery values
Hello Masters,
In S077 there are -ve open delivery values. Why -ve values are updated into FD33.
I know how to correct them with RVKRED77,RVKRED88,RVKRED07progrms. My issue is why those are updating?
I saw other forum answers about activating credit checks for return items...etc.
That's not the issue here.
Can any body help me in this issue.
Thanks in AdvanceHi
See these notes to check different points:
SAP Note 396338 - Problems in credit management - analysis help
SAP Note 400311 - RVKRED77: Reorganization credit data, new documentation
SAP Note 425483 - Consulting note collection: Credit checks
SAP Note 18613 - Checklist for Credit Management
I hope this helps you
Regards
Eduardo -
Sales value showing 3000Rs in credit management FD33 as open delivery value
Sales value showing 3000Rs in credit management FD33 as open delivery value, I want to get the delivery document numbers.
Hi Friend,
open delivery value in credit management will updated in SO67 AND this is information structure.
Please find the below link to which is similar to your issue
Open Delivery Value - Credit Mgt
Thanks
Dasaradha -
Open Delivery Value - Credit Mgt
Hi,
Is there any way or report to find out what makes up of the open delivery value for a credit acct as seen in FD33 -> Extra -> Sales Value
thanks!hi
goto V/c2 and specify the customer number here u can get open deliveries,open sales orders.
open delivery values are those which are delivered but not billed
it is vc/2
regards
prashanth
Message was edited by:
prashanth goud<b></b><u></u><u></u><u></u><b></b>
Message was edited by:
prashanth goud -
Open delivery values in S067 table showing as -ve
Hi All
Open delivery values in S067 table showing as -ve.
Could u please explain , what are the reasons!
Regards
RajYou can check the data in S067 by running the SAP report RVKRED88, this re-evaluates the credit data after update errors. If you find differences between S067 and the result of RVKRED88, you can correct S067 using SAP report RVKRED77. But note as this requires a table lock on various SD tables, you may have to run this report when users are out of the system.
-
Update groups in credit management
HI SAP Experts,
can any body explain the functionality of update groups in credit management. can we create customize it
apart from standard one. in normal implementation what update group is used extensively ? why?
yours,
Mahesh.Update Group
The credit update controls when the values of open sales orders, deliveries, and billing documents are updated. The open order value is only updated for schedule lines that are relevant for delivery.
Update group 000012
When a Sales order is created, system increases open order value from delivery-relevant schedule lines. S066-OEIKW (S066 information structure, OEIKW- Open sales order credit value (schedule lines) ) goes up.
When order is delivered, system reduces open order value from delivery-relevant schedule lines and increases open delivery value. S066-OEIKW decreases and S067-OLIKW (Open delivery credit value) increases
When delivery document is billed system reduces open delivery value and increases open billing document value. S067-OLIKW decreases and S067-OFAKW (Open billing document credit value) increases
When billing document is released for financial accounting, system reduces open billing document value and Increases open items (S067-OFAKW decreases)
In Brief when order is created, value of S066 information structure is increased by the open order value. When order is delivered, value of S066 information structure gets decreased decreasing the open order value and value of S067 information structure gets increased increasing the open delivery value. When delivery is invoiced, value of open delivery gets decreased and value of open billing documents gets increased again S067 information structure gets affected. When billing documents are released for accounting value of open invoices gets decreased and value of open items gets increased. S067 information structure value gets decreased.
Update group 000015
When delivery is created, system increases open delivery value and open billing document value
When billing document is released for financial accounting system reduces open billing document value and increases open items.
Update group 000015 does not use open sales order value, but uses only open delivery, open invoice and accounts receivable. 000015 will be used with customers who orders high value sales orders over a long time frame in the future. You donu2019t wish to stop them placing orders, even though you wonu2019t deliver anytime soon, so you only check your companies risk that is u2013 the open delivery, billing and open items value. The open sales order value is not checked, as these orders could be cancelled or by the time. At delivery these become values we need to check.
Update group 000018
If sales order is not relevant for delivery system determines Update group 000018. This update group will be always used by order items which are billed order-related (VBAP-FKREL = B for example).
When sales order is created S067-OLIKW goes up.
When invoice is created S067-OFAKW goes up, S067-OLIKW goes down
When account posting is done u2013> S067-OFAKW goes down and A/R goes up.
When sales order is created system increases open delivery value
When billing document is created for the order, open delivery value decreases and open billing documents value increases.
When billing documents are posted for accounting open billing documents value decreases and accounts receivables increases.
Note
If a document cannot be processed with the update group we specify, the system determines the next possible update it can carry out. For example, if we select Update group 000012 which, at delivery, reduces the open order value and increases the open delivery value. Assume that one item in the order is not relevant for delivery. In this case, the system automatically determines Update group 000018 for this item. Update group 000018 increases the open delivery value for the order item. The system uses the confirmed quantity of delivery-relevant schedule lines to update the order value. -
About update group in credit management
can any one help of what is the exact work of update group what type of advanatage we get wwhile using update group for ex: 000012,000015,000018.
it is given that for 000012 sales order: increases openitems for orders for delivery relevant schedule lines.
how the system increases the open items for sales orders under update group 000012Hi
Update groups are used, in order to group different key figures from (e.g) SD module to the structures in Logistics Information System.
What happens is when ever an event take place, e.g billing document raised, it can be customized to populate the LIS Structure (kind of a data warehouse) with key data you are looking for to report and evaluate. This update can be made either immediately or periodically.
The credit relevant data is updated into an information structure, where it is accessed andupdated. Thus each automatic credit control must be assigned an update group. The system allowsfor no update, and update group 000012, 000015 and 000018.
The difference between the three update groups is as follows:
Update group 000012
Sales order: Increases the open order value from delivery-relevant schedule lines
Delivery: Reduces the open order value from delivery-relevant schedule lines and increases the open delivery value
Billing document: Reduces the open delivery value and increases the open billing document value
Financial accounting document: Reduces the open billing document value and increases open items
Update group 000015
Delivery: Increases the open delivery value and increases the open billing document value
Financial accounting document: Reduces the open billing document value and increases open items
Update group 000018
Sales order: Increases the open delivery value
Billing document: Reduces the open delivery value and increases the open billing document value
Financial accounting document: Reduces the open billing document value and increases open items
The decision on which update group to use is based upon the business requirements; however,
update group 000012 is thorough and used in most businesses. -
Open Delivery value in F.35
Hi,
In Credit Master Sheet (F.35), there is a field "Open Delivery value" against which I am getting some value.
Can somebody give me Idea regarding how to get the delivery document numbers for those deliveries for which this value is coming?
I have tried VL06O, but no use.
Thanks in advance,
AnupHi Anupam,
I see this question is answered ,could you please explain me what was the solution.I have a similar issue.Quick response would be highly appreciated and rewarded.
My question "identify on the F.35 screen "how" SAP or "where" SAP extracts the value for "open delivery value" on this screen".
Kind Regards -
Update group in credit management
Hi friends , can anybody please tell me what is the use of update group in credit management.
regards
shyamHi S Sundhar
Credit update groups are based worked on opend documents for example of
000012 is the consider to the credit check to open sales orders,deliveries,billings,and F/I documents consider.
000015 is the consider only open deliveries and FAdocuments.
000018 is the consider open sales orders,open billings and FA documents only
this are diff to update groups
Thanks
Rajendra -
Clear unwanted open delivery value FD33
Hi
I have an issue issue in FD33. It is showing open delivery value but VC/2 is showing no open deliveries. Please advise me how to update this open delivery value.
Is there any program to get it updated and also let me know what would be the reason for not updated this value.
Thanks in Advance
Regards,
Galihi,
please check the document created date.
if it is under the moths given then we can consider your problem and system has to calculate that documents also.
so please check the dates of document.
regards,
balajia -
Hi,
Is there any report or table where the Open delivery value is getting stored ( Delivery Number wise )
My client want a report on Open delivery value , they want to know at the end of the day , how many deliveries are pending and what is the value of that .
Regards
RajeshHi,
Try VA05, this is the list of sale orders which will give you the delivery status and the order value.
Regards
Rasheed -
Retrive open order and open delivery value x custome
Hi,
how can i obtain a list of open order value and open delivery value per customer?
10x
byeCheck the following code which give details of pending orders & values and it can be modified as per ur requirement.
REPORT ZPEND_ORDER no standard page heading line-size 255.
*& Purpose : Details of Sale order having pending deliveries *
*& ( For Rake order handling ) *
tables : vbak, vbap, likp, lips, kna1, vbuk, vbpa, vepvg, vbfa, vbup.
data : pend_qty like vbap-kwmeng,
dlv_qty like vbap-kwmeng,
ord_qty like vbap-kwmeng.
data: begin of itab_vbak occurs 0,
vbeln like vbak-vbeln, "sales order no
audat like vbak-audat, " created date
auart like vbak-auart, " Sales Document Type
vkorg like vbak-vkorg, "Sales Organization
vtweg like vbak-vtweg, " distribution channel
spart like vbak-spart, " Division
vkgrp like vbak-vkgrp, " Sales group
vkbur like vbak-vkbur, " Sales office
kunnr like vbak-kunnr, " sold to party
kunag like vbak-kunnr, " ship to party
cust like vbak-kunnr, " sold to party
ship like kna1-name1, " ship to party
city like kna1-ort01, " ship to party location
deliv like likp-vbeln, " delivery
matnr like vbap-matnr,
arktx like vbap-arktx, " mat description
kwmeng like vbap-kwmeng,
kbmeng like vbap-kbmeng,
fkrel like vbap-matnr,
vstel like vbap-vstel,
route like vbap-route,
chln_no like likp-xabln,
grn_no like likp-bolnr,
truck_no like likp-traid,
dlv_dt like vbfa-erdat, "dlvy date
ord_qty like vbap-kwmeng,
dlvd_qty like vbap-kwmeng,
pend_qty like vbap-kwmeng,
kzwi5 like vbap-kzwi5,
posnr like vbap-posnr,
end of itab_vbak.
data posnr like vbap-posnr.
*FOR ALV DISPLAY
type-pools: slis.
constants: formname_top_of_page type slis_formname value 'TOP_OF_PAGE'.
*Data Decelararion for alv display
data: i_fieldtab type slis_t_fieldcat_alv,
i_heading type slis_t_listheader,
i_layout type slis_layout_alv,
i_sort type slis_t_sortinfo_alv,
i_print type slis_print_alv,
i_events type slis_t_event,
i_repname like sy-repid,
f2code like sy-ucomm value '&ETA',
i_save(1) type c,
i_exit(1) type c,
i_variant like disvariant,
h_text(50).
start-of-selection.
selection-screen skip 1.
selection-screen begin of block v1 with frame title text-001.
selection-screen skip 1.
select-options:
ord_no for vepvg-vbeln,
audat for vbak-audat obligatory,
matnr for vbap-matnr,
spart for vbap-spart obligatory,
vstel for vepvg-vstel obligatory,
sale_org for vbak-vkorg obligatory,
sale_off for vbak-vkbur.
selection-screen skip 1.
check box for ALV display
parameters p_alv as checkbox.
selection-screen end of block v1.
selection-screen skip 1.
data: ftab(72) occurs 5 with header line.
refresh ftab.
ftab = 'VBELN'. append ftab.
refresh itab_vbak.
initialization.
i_repname = sy-repid.
start-of-selection.
select vbeln audat vkorg vtweg spart vkbur kunnr from vbak
into
(itab_vbak-vbeln, itab_vbak-audat,
vbak-vkorg, vbak-vtweg, vbak-spart,
itab_vbak-vkbur, itab_vbak-kunnr)
where vbeln in ord_no
and audat in audat
and vbtyp = 'C'
and vkorg in sale_org
and spart in spart
and vkbur in sale_off.
if sy-subrc = 0.
select posnr kwmeng kbmeng matnr arktx "added for mat description
fkrel vstel route kzwi5 spart
from vbap into corresponding fields of itab_vbak
where vbeln = itab_vbak-vbeln .
check ( itab_vbak-fkrel = 'A' or "Delivery-related billing document
itab_vbak-fkrel = 'D' ) "Relevant for pro forma
and itab_vbak-vstel in vstel
and itab_vbak-matnr in matnr
and itab_vbak-spart in spart.
select single * from vbup where vbeln = itab_vbak-vbeln
and posnr = itab_vbak-posnr.
check vbup-gbsta ne 'C'.
dlv_qty = 0.
select single kunnr from vbpa into itab_vbak-kunnr
where vbeln = itab_vbak-vbeln
and parvw = 'WE'.
select single name1 ort01 from kna1 into
(itab_vbak-cust, itab_vbak-city)
where kunnr = itab_vbak-kunnr.
in case of partially processed sale order get delivery details
clear : dlv_qty, itab_vbak-dlv_dt, itab_vbak-dlvd_qty, itab_vbak-chln_no,
itab_vbak-grn_no, itab_vbak-truck_no.
if vbup-gbsta eq 'B'. "partially processed
dlv_qty = 0.
get details from delivery
select vbfavbeln vbfarfmng vbfavbtyp_n vbfaerdat
into (vbfa-vbeln, vbfa-rfmng, vbfa-vbtyp_n, vbfa-erdat)
from vbfa
where vbelv = itab_vbak-vbeln
and posnv = itab_vbak-posnr.
check vbfa-vbtyp_n = 'J'.
clear : dlv_qty, itab_vbak-dlv_dt, itab_vbak-dlvd_qty, itab_vbak-chln_no,
itab_vbak-grn_no, itab_vbak-truck_no.
select single erdat xabln bolnr traid kunag
into (itab_vbak-dlv_dt, itab_vbak-chln_no, itab_vbak-grn_no,
itab_vbak-truck_no, itab_vbak-kunag)
from likp
where vbeln = vbfa-vbeln.
if sy-subrc = 0.
dlv_qty = dlv_qty + vbfa-rfmng.
itab_vbak-dlv_dt = vbfa-erdat.
itab_vbak-dlvd_qty = dlv_qty.
itab_vbak-deliv = vbfa-vbeln.
endif.
append itab_vbak.
endselect.
elseif vbup-gbsta eq 'A'.
for unprocessed sale order
ship to party details
itab_vbak-kunag = itab_vbak-kunnr.
itab_vbak-ship = itab_vbak-cust.
append itab_vbak.
endif.
endselect.
endif.
clear itab_vbak.
endselect.
loop at itab_vbak.
clear with change in document / item no
on change of itab_vbak-vbeln or itab_vbak-posnr.
clear: dlv_qty,ord_qty,pend_qty.
endon.
at new posnr.
In case full qty not delivered
if itab_vbak-kwmeng > itab_vbak-dlvd_qty.
select single vbpa~kunnr into vbpa-kunnr
from vbpa
where vbeln = itab_vbak-vbeln
and posnr = itab_vbak-posnr
and parvw = 'WE'.
if sy-subrc eq 0.
itab_vbak-kunag = vbpa-kunnr.
select single name1 ort01 from kna1 into
(itab_vbak-ship, itab_vbak-city)
where kunnr = itab_vbak-kunag.
if sy-subrc ne 0.
select single vbpa~kunnr into vbpa-kunnr
from vbpa
where vbeln = itab_vbak-vbeln
and parvw = 'WE'.
itab_vbak-kunag = vbpa-kunnr.
if sy-subrc ne 0 and p_alv ne 'X'.
write :/ 'vbpadetls' , itab_vbak-vbeln, itab_vbak-posnr, itab_vbak-vbeln.
endif.
endif.
endif.
endif.
itab_vbak-ord_qty = itab_vbak-kwmeng.
Delivered Qty & Pending qty
dlv_qty = dlv_qty + itab_vbak-dlvd_qty.
itab_vbak-pend_qty = itab_vbak-kwmeng - dlv_qty.
modify itab_vbak transporting kunag ship city dlvd_qty ord_qty pend_qty .
endat.
endloop.
end-of-selection.
sort itab_vbak by vbeln posnr audat kunnr matnr.
if p_alv ne 'X'.
loop at itab_vbak.
select single kna1name1 kna1ort01
into
(kna1-name1, kna1-ort01)
from kna1
where kunnr = itab_vbak-kunnr.
pend_qty = itab_vbak-ord_qty - itab_vbak-dlvd_qty.
format color col_normal.
write : /01(10) itab_vbak-vbeln,
12(10) itab_vbak-audat,
24(8) itab_vbak-kunag no-zero,
34(6) itab_vbak-posnr no-zero,
42(10) itab_vbak-matnr no-zero,
54(15) itab_vbak-arktx,
72(25) itab_vbak-ship,
100(15) itab_vbak-city,
118(8) itab_vbak-ord_qty,
128(10) itab_vbak-route,
140(10) itab_vbak-dlv_dt,
152(10) itab_vbak-dlvd_qty,
164(10) itab_vbak-chln_no,
176(10) itab_vbak-grn_no,
188(10) itab_vbak-truck_no,
200(10) itab_vbak-pend_qty,
218(15) itab_vbak-kzwi5 left-justified.
format reset.
at end of audat.
sum.
pend_qty = itab_vbak-ord_qty - itab_vbak-dlvd_qty.
format color col_background.
write: /118(8) itab_vbak-ord_qty,
152(10) itab_vbak-dlvd_qty,
200(10) pend_qty,
218 itab_vbak-kzwi5 left-justified.
format reset.
endat.
at last.
sum.
pend_qty = itab_vbak-ord_qty - itab_vbak-dlvd_qty.
format color col_total.
write : /5 'Grand Total : '.
write: /118(8) itab_vbak-ord_qty,
152(10) itab_vbak-dlvd_qty,
200(10) pend_qty,
218 itab_vbak-kzwi5 left-justified.
format reset.
endat.
endloop.
else.
for ALV Display
i_repname = sy-repid.
perform fieldcat using i_fieldtab[].
perform eventtab using i_events[].
perform comment using i_heading[].
perform call_alv.
perform build_layout using i_layout.
endif.
top-of-page.
if p_alv ne 'X'.
format color col_heading.
write: /01 'Ord No',
12 'Ord Date',
24 'Sold to Party',
34 'Item No',
42 'Mat No',
54 'Mat Descp',
72 'Ship to Party',
100 'City',
118 'Qty',
128 'Route',
140 'Dlv Date',
152 'Dlv Qty',
164 'Challan No',
176 'GRN No',
188 'Truck No',
200 'Pend Qty',
218 'Total Value'.
format reset.
endif.
*& Form fieldcat
text
-->P_I_FIELDTAB[] text
form fieldcat using p_fieldtab type slis_t_fieldcat_alv.
data: l_fieldcat type slis_fieldcat_alv.
clear l_fieldcat.
l_fieldcat-tabname = 'ITAB_VBAK'.
l_fieldcat-fix_column = 'X'.
l_fieldcat-no_out = ' '.
l_fieldcat-fieldname = 'VKBUR'.
l_fieldcat-outputlen = 6.
l_fieldcat-seltext_l = 'Sales Office'.
l_fieldcat-no_zero = 'X'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'VSTEL'.
l_fieldcat-outputlen = 5.
l_fieldcat-seltext_l = 'Shipping Point'.
l_fieldcat-no_zero = ' '.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'VBELN'.
l_fieldcat-outputlen = 10.
l_fieldcat-seltext_l = 'Order No.'.
l_fieldcat-no_zero = 'X'.
l_fieldcat-hotspot = 'X'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'AUDAT'.
l_fieldcat-outputlen = 10.
l_fieldcat-seltext_l = 'Doc Date'.
l_fieldcat-hotspot = ''.
l_fieldcat-no_zero = ' '.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'POSNR'.
l_fieldcat-outputlen = 5.
l_fieldcat-seltext_l = 'Item'.
l_fieldcat-no_zero = 'X'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'MATNR'.
l_fieldcat-outputlen = 10.
l_fieldcat-seltext_l = 'Material No'.
l_fieldcat-no_zero = 'X'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'ARKTX'.
l_fieldcat-outputlen = 15.
l_fieldcat-seltext_l = 'Mat. Description'.
l_fieldcat-no_zero = 'X'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'KUNNR'.
l_fieldcat-outputlen = 8.
l_fieldcat-seltext_l = 'Sold to Party'.
l_fieldcat-no_zero = 'X'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'CUST'.
l_fieldcat-outputlen = 15.
l_fieldcat-seltext_l = 'Sold to Party Descp.'.
l_fieldcat-no_zero = 'X'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'KUNAG'.
l_fieldcat-outputlen = 8.
l_fieldcat-seltext_l = 'Ship to Party'.
l_fieldcat-no_zero = 'X'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'SHIP'.
l_fieldcat-outputlen = 15.
l_fieldcat-seltext_l = 'Ship to Party Descp'.
l_fieldcat-no_zero = 'X'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'CITY'.
l_fieldcat-outputlen = 13.
l_fieldcat-seltext_l = 'City'.
l_fieldcat-no_zero = ' '.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'DELIV'.
l_fieldcat-outputlen = 10.
l_fieldcat-seltext_l = 'Delivery No.'.
l_fieldcat-no_zero = 'X'.
l_fieldcat-hotspot = 'X'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'ORD_QTY'.
l_fieldcat-outputlen = 10.
l_fieldcat-seltext_l = 'Qty'.
l_fieldcat-no_zero = ' '.
l_fieldcat-hotspot = ' '.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'ROUTE'.
l_fieldcat-outputlen = 10.
l_fieldcat-seltext_l = 'Route'.
l_fieldcat-no_zero = 'X'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'DLV_DT'.
l_fieldcat-outputlen = 10.
l_fieldcat-seltext_l = 'Delivered date'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'DLVD_QTY'.
l_fieldcat-outputlen = 10.
l_fieldcat-seltext_l = 'Delivered Qty'.
l_fieldcat-no_zero = ' '.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'CHLN_NO'.
l_fieldcat-outputlen = 15.
l_fieldcat-seltext_l = 'Challan No'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'GRN_NO'.
l_fieldcat-outputlen = 15.
l_fieldcat-seltext_l = 'GR Number'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'TRUCK_NO'.
l_fieldcat-outputlen = 10.
l_fieldcat-seltext_l = 'Truck No'.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'PEND_QTY'.
l_fieldcat-outputlen = 10.
l_fieldcat-seltext_l = 'Pending Qty'.
l_fieldcat-no_zero = ' '.
append l_fieldcat to p_fieldtab.
l_fieldcat-fieldname = 'KZWI5'.
l_fieldcat-outputlen = 13.
l_fieldcat-seltext_l = 'Value'.
append l_fieldcat to p_fieldtab.
clear l_fieldcat.
endform. " FIELDCAT
*& Form EVENTTAB
text
-->P_I_EVENTS[] text
form eventtab using p_events type slis_t_event.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_events.
read table p_events with key name = slis_ev_top_of_page
into ls_event.
if sy-subrc = 0.
move formname_top_of_page to ls_event-form.
append ls_event to p_events.
endif.
endform. " EVENTTAB
*& Form BUILD_LAYOUT
text
-->P_LAYOUT text
form build_layout using p_layout type slis_layout_alv.
p_layout-f2code = f2code.
p_layout-zebra = 'X'.
p_layout-detail_popup = 'X'.
endform. " BUILD_LAYOUT
*& Form COMMENT
text
-->P_I_HEADING[] text
form comment using p_i_heading type slis_t_listheader.
data: hline type slis_listheader,
text(60) type c,
sep(20) type c.
clear: hline, text.
hline-typ = 'H'.
write : 'Pending Sale Order Details' to hline-info.
append hline to i_heading.
endform. " COMMENT
*& Form TOP_OF_PAGE
text
form top_of_page.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = i_heading
i_logo = 'ALV_REPORT'.
endform. " TOP_OF_PAGE
*& Form call_alv
text
--> p1 text
<-- p2 text
form call_alv .
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_interface_check = ' '
i_buffer_active = ' '
i_callback_program = i_repname
i_callback_pf_status_set = ' '
i_callback_user_command = 'FRM_ALV_USER_COMMAND'
i_structure_name = 'ITAB_VBAK'
i_background_id = ' '
is_layout = i_layout
it_fieldcat = i_fieldtab
it_sort = i_sort[]
i_default = 'X'
i_save = 'A'
is_variant = i_variant
it_events = i_events[]
is_print = i_print
tables
t_outtab = itab_vbak.
if sy-subrc <> 0.
write: 'SY-SUBRC: ', sy-subrc, 'REUSE_ALV_LIST_DISPLAY'.
endif.
endform. " call_alv
*& Form frm_alv_user_command
text
-->UCOMM text
-->SELFIELD text
form frm_alv_user_command using ucomm like sy-ucomm
selfield type slis_selfield.
case ucomm.
when '&IC1'.
if selfield-tabname = 'ITAB_VBAK'.
if selfield-fieldname = 'VBELN'.
read table itab_vbak index selfield-tabindex.
if sy-subrc = 0.
set parameter id 'AUN' field itab_vbak-vbeln.
call transaction 'VA03' and skip first screen.
endif.
elseif selfield-fieldname = 'DELIV'.
read table itab_vbak index selfield-tabindex.
if sy-subrc = 0.
set parameter id 'VL' field itab_vbak-deliv.
call transaction 'VL03N' and skip first screen.
endif.
endif.
endif.
endcase.
endform. "frm_alv_user_command -
In FD33 for one of our customers, it is showing a big amount in 'Sales Value' and when drilling down to it, it shows the amount as 'Open Delivery'. According to users, we do not have any open delivery for this customer.
Is there a report that will show the detail of that Open Delivery amount, e.g. Sales Order number?
Thank you,Hello Ruslim
Sometimes there an inconsistancy in credit value updation, like the case you mentioned - there is no open delivery but still some value is appearing in the open delivery.
You can execute program RVKRED88 (simulation- reorganisatio of SD credit data) & check the correct value.
once you execute above program against the credit account & credit control area, you will get the detail of the correct values.
once you are sure that there is a inconsistancy, you can run program RVKRED77 to update the value correctly in FD33.
To summerise - RVKRED88 is for simulation & RVKRED77 for updating.
thank you
Anirudh -
Open Order value for Customer in Credit Master
Hi All,
For ABC customer, if I check for Credit master(F.35), credit management(FD33) & Sales Summary, the Open order value(sales Value) is 10, 30,000.00 EUR.
If I calculate adding
Back orders - 83681.98
Open orders - 196763.43
Open Contract - 9,669.79
Open Delivers u2013 9,245.23
Receivables - 37,938.77.
Total will be 3, 37, 299.20
Please any one can tell where I can find the difference value(mean which tcode or report).
Thanks & Regards
SunilHi,
Check with transaction code VKM1 or VKM4 or FCV3. The columns will show the details.
Regards -
How the 3rd party process will be updated in to credit management
Hi gurus,
I have a doubt on how to update 3rd party process in to credit management.
So far I know update group 000018 will help to update it in to credit management.
But I already have 000012 in credit control area.
Then how can I place two update group in to credit control area.
Regards
RajHi Raj,
I dont think you can have two update groups into same cr control area.. And whats the need of it..?
By choosing which ever is needed for you business requirement, you can achieve the requirement.
the descriptions of these update groups are self explanatory and you need to chose the one that suits ur requirement.
What do you mean by thirdparty process? is it third party sales..? if so there is always a sales order in 3rd party sales. Also you will have a customer bill too, select the update group accordingly to include open sales orders or / and open bills
Thanks
Jobi
Maybe you are looking for
-
Firewire 400 & 800 not working together
I have two 800 firewire external drives connected to my Macbook Pro. They're plugged into wall outlets. I also have my DVCAM deck connected via a 400 firewire cable. If the 400 is connected, one or both of the 800s disappears and vice versa. How can
-
Oracle 11g stats and SQL plan mgt
Oracle 11.0.1.7: - According to what I have read so far in the various documents it looks like when dbms gather stats run and if that results in new sql plan oracle will not automatically start using that plan until it's verified by sql tuning adviso
-
Deleted time machine backups in Finder, now what?
I know this was foolish, but I didn't do any research before hand. My external drive had 8Gs left and the Time Machine window said it couldn't backup because it was almost full. I thought it also said something about deleting previous Time Machine ba
-
My daughter's Macbook Air Safari (using Mac OS X 10.6.8) won't allow her to connect to Google, Yahoo and Facebook. It will for some reason allow for Bing searches and connections to specific other websites. The wifi seems to be connected fine. We
-
Error code 1625 upgrade to windows 8.1. I do not want to upgrade from Windows 7
I am running windows 7 64 bit on HP probook 4440s & recently purchased HP pro mfp m 225dw all in one. I cannot get wireless printing nor scanning function to work. When I try to download the drivers directly from HP, I get the error nessage. Any