Open Sales Order Balance incorret
Dear All,
When you copy a Sales Order to an AR-Invoice and then increase the line quantity on the AR Invoice, the Open Sales Order Balance on the Business Partner Master Data shows a negative amount.
E.G.
Sales Order 10 Chairs @ R1000 = 10000 (Open Sales Order balance in bp master = 10000)
Copy to AR Invoice
AR Invoice 12 chairs @ R1000 = 12000 (Open Sales Order balance in BP maser = -2000)
When subsequent sales orders are added their is a - 2000 diff between the Sales order balance and actual open sales orders.
Can you please tel me how to correct this.
Best regards
Erika
Hi,
Please run the Query from the Note no. : 999124 and check whether the item in the sales order appears in the results obtained.
If yes then you need to log a support ticket to get your issue investigated.
Kind Regards,
Jitin
SAP Business One Forum Team
Similar Messages
-
Can not open sales order balance from BP master data
Hello All,
for a particular customer i am not able to open the sales order balance field in BP master data.
It is showing the amount but the orange arrow does not appear.
can any one please tell me why i am not able to drill down into Sales order field in BP master data?
Thanks in advance.
Prachi Kulkarni.HI Gordon,
All the users are getting this issue for the particular customer.
even my self (super user) also not able to drill down into the sales order field.
we have assigned Professional Licenses to all the users.
Thanks,
Prachi. -
Need logic for calculate the balance quantity in open sales order
hi all
i need logic to calcuclate the balance quantity in open sales order ,
where i am using VBAK header and VBAP item , and VBFA for document flow tables
i need to have the balance quantity , for the open sales order
especially taking with respect to VBFA-VBTYP_N = M for invoice creation and N for canellation
any one please help methank you but i am clear abt it
will you please anyother way to calucaluate the logic ,
and i need to populate in bukets also for the terms of 5 years
Edited by: sridhar loganathan on Nov 25, 2008 6:43 AM -
In a report i am in need of obtaining open sale order for a material. open sale order means sale orders for which the PGI is not yet done.
Please tell me the data fetching from various tables.
can anybody tell me how to achieve this..HI
Give logic to ur ABAPER in FS If in VA02 Item is given as if Balance Qty is Greater than 0 then it is OPEN and if not it is Closed.
Regards
Santosh.A.R -
Not Updating Open Sales Orders Value for CreditManagement
Hi Frendz,
This is the first time am implementing creditmanagement in my system tested simple credit limit check working fine.
Now testing Static and Dynamic(Automatic) it also working fine but Its not caliculating open sales orders value either static or dynamic while Creating s.o, settings made clicked on open s.o, i have already created sales orders value of 10th.
EX:- customer balance is 2lacs, credit limit is 1lac while creating s.o it always showing balance 1lac only(Instead of 1lac10th) with open sales order value is 10th.
Let me know Where i have missd settings.
Hari Prasadhello,
it is maintained against the cr control area in ent structure.
one needs to change there.
r u in prd system or development?
becoz if prd, then this change will effect a lot of ongoing docs.
rgs,
AK -
Hi All,
I am in need of a report to display list of open Sales orders, Requirement Date or Requested Delivery Date and Requirement Qty for given Materials (Multiple Input) and Plant.
Please guide me, Is there any Standard Report Available to display the above information except VA05.
Or else
Please guide me, the list of tables to fetch those information.Did you try in VA05N ?
How ever , you will not get the requirement date oir requested delivery date here .You can get only Document date or creation date .
I suggest you to try to build a report with the below SAP field and data element :
VBELN VBAK-VBELN, "SALES ORDER
POSNR VBAP-POSNR, "ITEM
MATKL VBAP-MATKL, "Material Group
AUART VBAK-AUART, "ORDER TYPE
AUDAT VBAK-AUDAT, "ORDER DATE
BSTNK VBAK-BSTNK, "CUSTOMER PO NO.
BSTDK VBAK-BSTDK, "CUSTOMER PO DATE
WAERK VBAK-WAERK, "Currency
PSTYV VBAP-PSTYV, "Sales document item category
ZMENG VBAP-ZMENG, "TARGET QTY.
KWMENG VBAP-KWMENG, "SO QTY
OPENQTY VBAP-KWMENG, "OPEN QTY
LFIMG LIPS-LFIMG, "DELIVERY QTY
LFIMG1 LIPS-LFIMG,
SHKZG VBRP-SHKZG,
NETPR VBAP-NETPR, "UNIT PRICE
NETWR VBAP-NETWR, "NET VALUE
BALWR VBAP-NETWR, "NET VALUE FOR BALANCE QTY.
BALLOC VBAP-NETWR, "BALANCE VALUE IN LOCAL CURRENCY
KURSK VBKD-KURSK, "EXCHANGE RATE
FPLNR VBKD-FPLNR, "BILLING PLAN NO.
FKSAF FPLT-FKSAF, "BILLING STATUS
LOCVAL VBAP-NETWR, "AMT. IN LOCAL CURRENCY
KUNNR VBAK-KUNNR, "CUSTOMER
VKORG VBAK-VKORG, "SALES ORG.
VKBUR VBAK-VKBUR, "SALES OFF.
VDATU VBAK-VDATU, "Req.Del.Date
MATNR MARA-MATNR, "MATERIAL NO
ARKTX VBAP-ARKTX, "MATERIAL DESC
WERKS VBAP-WERKS, "PLANT
LFSTA VBUP-LFSTA, "Item Delivery Status
FKARA TVAK-FKARA,
GBSTA VBUP-GBSTA, "Overall Status
FKSAA VBUP-FKSAA, "Item billing statuS
NAME1 KNA1-NAME1, "CUSTOMER NAME
VBTYP VBAK-VBTYP, "Doc. Category
LFARV TVAK-LFARV, "Delivery type
LIFNR LFA1-LIFNR, "Vendor Number
SPSTG VBUK-SPSTG, "Overall blkd status
COST KONV-KWERT, "COST
DISC KONV-KBETR, "DISCOUNT
SPRICE VBAP-NETWR, "SELLING PRICE
The above field are similiar kind of report .But I feel you have to keep two opetion one will be Open Sales Order and other All the sales order .Discuss with your abaper in this regard in line with VA05N and VA05
Hope this will be useful
Regards
JH
Edited by: Jiaul Haque on Jun 20, 2010 9:07 AM -
Can any body give me the logic to list the oper sales orders.
Thanks,
srikHi,
*& Report ZOPEN_SALESORDER
report zopen_salesorder message-id arc no standard page heading.
tables :kna1,vbak.
select-options : so_vkorg for vbak-vkorg ,
so_vtweg for vbak-vtweg ,
so_spart for vbak-spart,
so_kunnr for kna1-kunnr.
data : keybalance like bapi3007_3 occurs 0 with header line.
data : begin of sales_open occurs 0 ,
vbeln like vbak-vbeln,
auart like vbak-auart,
kunnr like kna1-kunnr,
bstnk like vbak-bstnk,
lfstk like vbuk-lfstk,
fkstk like vbuk-fkstk,
gbstk like vbuk-gbstk,
end of sales_open.
data : begin of itm_sales occurs 0,
vbeln like vbap-vbeln,
posnr like vbap-posnr,
matnr like vbap-matnr,
lfsta like vbup-lfsta,
lfgsa like vbup-lfgsa,
fksta like vbup-fksta,
fksaa like vbup-fksaa,
gbsta like vbup-gbsta,
end of itm_sales.
data : l_kunnr like kna1-kunnr,
l_vkorg like vbak-vkorg,
l_vtweg like vbak-vtweg,
l_spart like vbak-spart.
data: v_statusl(20) type c,
v_statusb(20) type c,
v_statusf(20) type c,
v_statusg(20) type c,
v_status(20) type c,
v_field(1) type c.
**Selection Screen Validations.
at selection-screen.
perform validations.
*& Form Validations
text
--> p1 text
<-- p2 text
form validations.
**Customer
if not so_kunnr[] is initial.
select single kunnr into l_kunnr
from kna1
where kunnr in so_kunnr.
if sy-subrc ne 0.
message e002 with text-005.
endif.
endif.
**Sales Organization
if not so_vkorg[] is initial.
select single vkorg into l_vkorg
from tvko
where vkorg in so_vkorg.
if sy-subrc ne 0.
message e003 with text-006.
endif.
endif.
**Distribution Channel
if not so_vtweg[] is initial.
select single vtweg into l_vtweg
from tvkov
where vkorg in so_vkorg
and vtweg in so_vtweg.
if sy-subrc ne 0.
message e004 with text-007.
endif.
endif.
**Division
if not so_spart[] is initial.
select single spart into l_spart
from tvta
where vkorg in so_vkorg
and vtweg in so_vtweg
and spart in so_spart.
if sy-subrc ne 0.
message e005 with text-008.
endif.
endif.
endform. " Validations
top-of-page.
perform sales_top_of_page.
start-of-selection.
perform sales_sel.
*& Form sales_sel
text
--> p1 text
<-- p2 text
form sales_sel.
data: date type sy-datum.
date = sy-datum - 3000.
select vbeln auart kunnr bstnk
lfstk fkstk gbstk
into table sales_open
from vbakuk
where vkorg in so_vkorg
and vtweg in so_vtweg
and spart in so_spart
and kunnr in so_kunnr
"and gbstk ne 'C'.
and gbstk in ('A','B')
and erdat >= date.
loop at sales_open.
call function 'BAPI_AR_ACC_GETKEYDATEBALANCE'
exporting
companycode = '1919'
customer = sales_open-kunnr
keydate = sy-datum
tables
keybalance = keybalance.
read table keybalance index sy-tabix.
write:/4 sy-vline,
5 sales_open-vbeln color 2 intensified on,
16 sy-vline,
17 sales_open-auart color 2 intensified on,
27 sy-vline,
28 sales_open-kunnr color 2 intensified on,
40 sy-vline,
41 sales_open-bstnk color 2 intensified on,
55 sy-vline,
56 sales_open-lfstk,
76 sy-vline,
77 sales_open-fkstk,
96 sy-vline,
97 sales_open-gbstk ,
117 sy-vline,
118 keybalance-lc_bal,
142 sy-vline.
"hide sales_open-vbeln .
endloop.
write :/4 sy-uline(160).
endform. " sales_sel
*& Form sales_top_of_page
text
--> p1 text
<-- p2 text
form sales_top_of_page.
write:/4 sy-uline(160),
50 'OPEN SALES ORDERS' color 7 intensified on .
write: /4 sy-vline,
5 'SalesOrder' color 1 ,
16 sy-vline,
17 'OrderType' color 1,
27 sy-vline,
28 'Customer' color 1,
40 sy-vline,
41 'PoNumber' color 1,
55 sy-vline,
56 'Delivery Status' color 1,
76 sy-vline,
77 'Billing Status' color 1,
96 sy-vline,
97 'Processing Status' color 1,
117 sy-vline,
130 'Balance' color 1,
142 sy-vline.
write:/4 sy-uline(160).
endform. " sales_top_of_page
"at line-selection.
"select a~vbeln
"a~posnr
"a~matnr
"* a~kwmeng
"b~lfsta
"b~lfgsa
"b~fksta
"b~fksaa
"b~gbsta
"into table itm_sales
"from vbap as a join vbup as b
"on avbeln eq bvbeln
"and aposnr eq bposnr
"and b~gbsta ne 'C'
"where a~vbeln eq sales_open-vbeln.
"if not sales_open is initial.
"loop at itm_sales.
"write:/5 itm_sales-vbeln,
"itm_sales-posnr,
"itm_sales-matnr,
"itm_sales-lfsta,
"itm_sales-lfgsa,
"itm_sales-fksta,
"itm_sales-fksaa,
"itm_sales-gbsta.
"endloop.
"endif.
thanks
Ravi -
Table required for details of Open sales order
Hi experts,
My user wants following reports and it is to be based on SD module:
Customer Name Open Sales order(qty.) Delivered ( qty.) Balance Open Sales Order(Qty.)
Please advise from which table i can make said report.
Regards,
SamaarHi,
Check the table VBAP by filtering conditions.
Thanks
Prasada -
Commited quantity but there are no open sales orders.
Item show as x quantity committed in inventory data tab in Item Master data. There is no open sales orders for specific item though. Client is on SAP 2007 A SP 00 PL42. Anyone had this before..? Solution?
Hi Jerusha,
Sometimes the stock quantities can go out of sync. Not entirely sure why, upgrading to the latest patch may help preventing it in the future.
In order to fix this you can run the 'Restore Item Balances' for that item.
Go to the Help Menu / Support Desk / Restore / Restore Item Balances.
Enter the Item Number in the From and To box to ensure you only run it for the effected item. Run the routine to recalculate the quantities.
Regards,
Adrian -
Outstanding open sales order (To be Invoiced Amt.)
Dear Experts,
I need to display Outstanding open sales order items only with its balanced quantity to be invoiced and amount.
I am calculating Open SO Line item Qty as
Open Qty = Sales Order line item Qty(VBAK) - Invoiced line item Qty(VBRP).
And I am getting Conditions from KONV Table by passing Condition number and Line Item no. Here they are maintaining conditions as some time 10$ per 1 PC and sometime 150$ per 10 PC....I.e Based on Condition value...
How can I Get Amount to be invoiced for SO line Item????
Regards,
RayuduHi,
Two ways to look at
1) As suggested by others, Billing due list will give you the net amount to be billed for an order/delivery
2) If you are in the process of writing a report to get item details, you will have to compare VBAP and VBRK.
It will be tedious if you take the route of adding values of each condition as your pricing procedure may have multiple conditions. The best way is to use (VBAP-NETWR - VBRK-NETWR) to get the balance dollar value.
Raj
Reward points if helpful -
Open Sales Orders Backlog Report
Hi All: I have been asked to create Backlog reports for Open Sales Orders and the revenue amounts for the next 15days, one month, 2 months, 3 months 6 months etc etc. Does anyone know of a standard report that covers that and the business content and cues that go with it?
Thanks in advance
BobbyI haven't seen any standard content for it, with my client, we actually developed the open order report from Item extractor and status extractor. And compare the created on date to the system data to see how long it has been opened for and put it in different buckets.
Hopes that help.
thanks.
Wond. -
Logic for Open Sales order qty
What should be the logic given to determine "open sales order qty" during designing a report.
Note the criterias are as under:
1) Open sales order qty is the confirmed qty less the delivery qty.
2) The delivery qty should be delivery order qty (The delivery should not necessarily be pick, packed & PGI)sorry it doesn't work for services, since they do not create requirements.
in this case you can use VBFA table, subracting all the delivered quantities VBFA-RFMNG with VBFA-VBTYP_N = J and VBFA-VBELV/VBFA-POSNV = to your order/item from the ordered quantities
hope this help you.
Roberto -
Dear all,
I need to create a open sales order report. Could you please tell me from which table i can get open sales order. Its standard report is VA05 and also I checked in table VBBE. but all record which i get from VA05 are not visible in VBBE table. It means VBBE doesnt carry all pending open records.
Please guide me from which table i can get it or what is the sriteria to get it?
Thankyou very much in advance
Punnet Sharmahi,
my logic goes like this:
Note: Open cursor is used since we are dealing with huge amnt of data:
* Select orders based on their Delivery status
SELECT vbeln
FROM vbuk INTO TABLE git_vbuk
WHERE lfstk = 'A' OR lfstk = 'B' .
* Filter selected orders
* Selection using open cursor
DATA: lwa_op_sal_ord1 TYPE gt_comtab.
IF sy-subrc = 0.
OPEN CURSOR c1 FOR
SELECT vbap~matnr
FROM vbap INNER JOIN vbak
ON vbap~vbeln EQ vbak~vbeln
FOR ALL entries IN git_vbuk
WHERE vbap~vbeln = git_vbuk-vbeln AND
vbak~vbtyp = 'C'.
DO.
CLEAR lwa_op_sal_ord1.
FETCH NEXT CURSOR c1 INTO CORRESPONDING FIELDS OF lwa_op_sal_ord1.
IF sy-subrc = 0.
APPEND lwa_op_sal_ord1 TO li_op_sal_ord1.
ELSE.
CLOSE CURSOR c1.
EXIT.
ENDIF.
ENDDO.
ENDIF.
here filter orders based on 'A' and 'B' from VBUK...
then frm header table VBAK get order for vbtyp ='C'.
now li_op_sal_ord1 will have open sales orders..
Moreover as per ur query y do u need the item data frm VBAP as u are only concerned abt VBELN.
If u need item u hv 2 run another select.
regards,
ags -
Hi,
We have a business scenario of one sales order --> one delivery document. Any items which have not been confirmed for delivery need to be closed out so that they do not show up as open requirements.
One way is to reject the open line items. However, rejection reduces the original customer sales order value.
Is there any other way that the open sales order line items can be changed in status so that the pricing is intact, but the item is closed out ?
Would appreciate inputs from the forum
ThanksHi
In standard itself this can be achieved
In t code OVAG itself for your reason of rejection if you maintain BLANK in the statistical column
Then those rejected values will not be reflected in sales order
Suppose a sales order contains three materials say
Material A qty 3 units
Material B qty 3 units
Material C qty 2 units
Each and everything is priced as 10 US dollars
then the nett value of this order will be 80 US dollars
Suppose if you reject Material C qty 2 units with a reason of rejection by maintaining the settings that i mentioned above the sales order value still Will be 80 US dollars and will not become 60 US dollars
This is what you are looking for (i hope so)
Please try this
Regards
Raja -
hai to all
i my senario i should download the open sale order existing in the present production server into a flat fle
can anyone tell me where this ship- to party is getting stored while creating the sale order. please let me know the table name.
regards
vijayHi Vijay,
To find out Open Sales Order. You shoud get them from VBUK-GBSTK <> 'C'. Store them in internal table.
To get Ship-to-party, you can get it from VBPA (partner table).
VBPA-VBELN = sales order number
VBPA-POSNR = '000000'
VBPA-PARVW = 'WE' or 'SH'
You will get details for Ship to Party.
regards,
ram
Maybe you are looking for
-
Office 2013 disable privacy option but no GPO
Hello, I want to disable the following privacy options but cant find any GPO setting for it. Somebody know where the settings are located? Allow the Research task pane to check for and install new services Allow sending files to improve file validati
-
F110 - Automatic email to vendor when payment run is carried out
Hi, I am trying to configure automatic emails to be sent to vendor when automatic payment run is carried out. Please note that i have already carried out the following settings: Step 1- Define Std communication method as SMTP (Internet mail) in vendo
-
CONNECT BY - Start from different levels
Hello again, It's me again with a hierarchical query on which I'm stuck... I think, the easiest way to understand my issue is to get an example: DROP TABLE my_organisations; CREATE TABLE my_organisations org_id NUMBER(10), org_name VARCHAR2(100),
-
Hi, Does anyone know if there is anyway to get preview to remember my zoom preference, I'm trying to read pdf documents in the full screen view at 1 page per screen, and each time I flip to the next page it reverts to zoom to fit (which is useless fo
-
Is there a way to spell-check ALL CAPS text in an Acrobat document as one can in Word?