Open Sales Order Quantity
Hi,
Does anyone know what table & field is the open sales order quantity stored?
Thanks.
Hi Marc,
U can get the open order quantity like this.
First go to VBFA table. Give sales order number, item and document category as J(for delivery) in the fields VBELV(Preceding sales and distribution document), POSNV(Preceding item of an SD document), VBTYP_N(Document category of subsequent document) respectively. If an entry exist then that means the order has subsequent document created(Delivery in this case). If not then that order is open.
if it is open order then u can get the quantity from
VBAP-KWMENG.
Here subsequent document to the order depends on customization of ur system. In general subsequent to order will be delivery. But there is a possibility to have other than delivery as subsequent to order. So contact ur functional for more inputs on this.
Thanks,
Vinod.
Similar Messages
-
Open sale order quantity in VA05
hi all,
can anyone please tell me the function module or bapi or Table to find out open sales order quantity coming in VA05.
regards.First of all define what is open , is it created but notdelivered , or delivered but not invoiced.
The table VBUP has flags for statuses eg
A Not yet processed
B Partially processed
C Completely processed
A for open , B for partial C for complete , so by checking this table you will find which are actually delivered or invoiced completely.
Tcode V.02 gives u this option. -
Open Sales Order quantity & value
Hi,
We have a requirement here of report to show open sales order quantity & value for any month (monthend). There is a datasource 2LIS_11_V_ITM which gives Open order quantity. I have created an ODS with 2LIS_11_VAITM & 2LIS_11_V_ITM which can give me desired qty & value, but only for date of last data upload and not for date in the past.(and to get that, I have to sumup all open orders quantity without using any date filter)
I am thinking of creating a Infocube over this ODS to update the Open Order qty & value at the monthend (Snapshot scenario). But to update this, I am not able to get the logic for date to be used in time dimension.
If anyone can think of the solution or any alternate way to develop this kind of report, your help/suggestions are most welcome.
Thanks,
Vikram.Hi Vikram,
Find the link, which solves u r requirement
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/arobustdesignofopensalesorderdataflow
Thanks & Regards
Ramakrishna Kamurthy -
Table for Open Sales Order Quantity
Hi
After creation of partial deliveries for a Sales Order , in which table open Sales Order quantities will be stored?
We are using in Material Master Avilablity check as 'KP- No check'.
in VBBE & VBBS table no data is there
where it will store can any plz guide me
PrasadHi prasad
1st of all as you are using KP no check availability check doesn't happen.
Check , VBEP table which is sales doc schedule lines and ,VBEH table is for schedule line history.
check in VBFA table sales doc flow
Hope these table will help you
Regards
Srianth -
To POP up the open sales order quantity in Sales order
Hi gurus,
I hav a requirement that for example,I raised an order for 100 Qty and delivered 80 materials 20 is open,So when i raise an order for the same material for 50 Quantity,I need to get POP up box saying that 20 qTY IS OPEN. in Sales order.
I am an SD consultant Please assist me in doing this requirement.
Regards
Narayana
Edited by: manam narayana on Feb 6, 2008 12:08 PM
Edited by: manam narayana on Feb 6, 2008 12:30 PMHi Usha,
Thanks for ur early reply,can u make it clear for me.Like when i enter a sold to party and material in VA01,This should check the open order quantities for a particular combination of sold to party and material and POP UP a message saying that the customer has open quantities for this material,So this Open quantities i found in VBBE table.Can u please explain me in clear how can i compare the values in T.code VA01 to VBBE table and how can i get POP UP message.
Regards
Narayana
Edited by: manam narayana on Feb 6, 2008 12:15 PM -
Open sales orders key figure in APO
HI Gurus,
Can anyone please throw some light as to where i need to be looking in this scenario. Our BW resource extracts open sales order quantity from ECC and loads into APO DP. The issue that i'm seeing is the open sales order quantity key figure is not getting updated properly in APO. For example to begin with we have a quantity of 800 EA in the period of 12/2014 (we go by fiscal period and in this case 12 would represent September 2014), 01/2015(October 2014), 02/2015(November 2014). The customer service group has deleted the quantity completely from period 12/2014 (September 2014) in ECC. But when i look in the planning book in APO, i can still see the quantities in the periods of 12/2014, 01/2015 and 02/2015. I was expecting the quantity from the period of 12/2014 to not showup in APO as it has been deleted in ECC. Our BW resource also confirms that he has loaded it properly in APO. Where can i start looking to resolve this issue.
Thanks
RaviDear Subhash, Thanks for your reply and i apologize as APO DP is new to me and i'm picking up things, can you please guide me to which tcode should i be going and checking this. Also reloading the planning area can you xplain a little more please
Okay i have checked in the tcode /SAPAPO/TSCUBE and this is setup in the process chain for us which runs once a month on the opening day of the period. I hope this is what you were referring to?
Under the key figure assignment in TSCUBE tcode, i see that the 'Add data" check box is not checked under Target area. -
Current month open sales orders
Hello Experts,
I have requirement to build a custom report to calculate open sales order quantity and its count for current month. I know we can use VBBE for open quantity and VBUP for the status to capture the count, however how can i add the logic to get the required information for the current month. Is there a function module or BAPI available which can be of any help, i have to consider the performance issue too, if i were to use multiple tables. Please advise
Thanks
RahulHI Rahul,
There is a standard BAPI available for listing Sales Orders.
<b>BAPI_SALESORDER_GETLIST</b>
However to meet your requirement of <b>OPEN sales orders</b>, you will have to modify this BAPI to suit your purpose. You can give appropriate logic to you ABAPer with reference to tables VBUK,VBUP, etc. This means that you will have to create a new Z-BAPI, keeping the above BAPI as the core.
Once this is done you can wrap Z-BAPI in a transaction code or a program/ report, so that it is ready to use by business.
Selection Variants can be used to default the date range as 01/MM/XXXXX to 31/MM/XXXX.
Hope this will prove of some help to you..
if yes then ..pls reward liberally
Sachin Bhonsle -
Hi,
I need to find open sales order quantity even though delivereies are created but PGI is not yet been done.
Is there any function module or simple logic.
As of now, the logic which i have seems to be complicated where we are checking based on goods movement status and followig some extraction of tables listed below
VBAK,VBFA,VBUK,LIKP,LIPS and VBEP.
Is there any simple way of finding this
Regards
KrishHI
If you have the sales order number then pass this VBELN into LIPS-VGBEL and get all the deliveries LIPS-VBELN now pass all these LIPS-VBELN into table LIKP-VBELN and write a logic in such a way that it gets only the deliveries whic are not PGIed.
Get all the deliveries where the value in LIKP-WADAT_IST is blank.
regards
Prashanth -
Update open sales order values. - Update rule.
Hi
In library below information given for the updation of open sales order value in infostructure. Can any one please explaing how can we configure below two rules.
An update rule describes the set up of the open sales order value, i.e., the open sales order quantity. The second update rule describes the reduction of open sales order value, i.e., the open sales order quantity by the corresponding deliveries.
http://help.sap.com/saphelp_47x200/helpdata/en/96/dfec3410b5f563e10000009b38f83b/frameset.htm
Path: LIS - SIS - How the key figures are calculated - open sales order value.
Thanks in advance.
Raj.Any inputs please.....
-
Open Order Quantity for open sales orders
Is there a standard SAP Report that gives the open order quantity for every open sales order. "Open" is defined as any order quantity that has not shipped. Delivery creation is not the same as shipment. VA05 Report does not contain enough information to calculate the open order quantity for an ERP-based backlog report.
Try VA05 schedule lines standar variant...include status fields and both ordered qty and confirmed qty. In SAP standard system order status, status A means open orders fully (Nothing shipped, everything opened). Status B means in process orders (Partially processed - shipped). Status C means complete orders (Nothing opened). As there is no delivered qty in VA05, you need to download to excel the file and calculate the difference between both qty fields for each A and B status. That is a way to get the missing qty to be delivered or open qty as you stated.
Hope it helps.
Jorge Fernandez -
Reg Open sales order item and the quantity
Hi experts:
I am getting open sales order item based on inner join of tables(vbak, vbap, vbep). Not using vbbe table in inner join as it doesnt carry all pending open records.
can any one say how open sales order items and their quantity can be retrieved?
I searched forum and saw usage of vbuk and vbup tables, but it does not accomplish our scenario.
Thanks in advance,
Sashti.Hi,
1) fetch the header information from VBAK table.
2) Based on VBAK table fetch all the line items from VBAP table.
3) Now fetch from VBFA table.
*-Fetch from VBFA to get the delivered qty
SELECT vbelv " Preceding sales and distribution document
posnv " Preceding item of an SD document
rfmng " Referenced quantity in base UOM
FROM vbfa
INTO TABLE lt_vbfa
WHERE vbelv = gv_vbeln
and vbtyp_n = 'J'.
4) By comparing VBFA-POSNR just filter the records from the VBAP internal table. Remained lines are open lines of the sales order.
Regards,
~Satya -
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 -
Function to find quantity of a material in Open sales Order in 4.5
hi ,
is there any function to find the total quantity of a material in open sales order for an input date in 4.5
RegardsI think you may find function <b>RV_BILLING_PRINT_VIEW</b> helpful. This is the function used by the standard SAP report <b>RVADIN01</b> to assemble all the information needed to print a Sales Order. The structure and table output by this function contain all the information in the header and line items of the Sales Order.
To watch this function in action, set a break point on this function (line 1075 of RVADIN01 in my system) and print a Sales Order (SO).
I use VF31 to print an arbitrary SO during testing.
Your company may have altered the standard print configuration for sales orders in SAP. If so, you will need to note the output type of your test Sales Order in VF31 and use Transaction <b>V/83</b> to determine which program is being used to print that type of SO. -
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 -
Hello..
my client wants to have the open sales Order report in following format :
======================================================================================================
Customer Name | Item 1 code | Item 2 code | Item 3 code | Item 4 code | Item 5 code | Item 6 code | Item 7 code |
=======================================================================================================
Jack Inc.......................987.................865.....................654.................543.......................739..................543...................987
Colt Inc.......................237.................213.....................799..................321.......................875...................187...................122
IOUU LLC...................127.................535.....................654..................777.......................211...................345...................777
=====================================================================================================
.................................1351..............1613...................2107.................1641.....................1825.................1075..................1886
=====================================================================================================
pls help me to create sql query for the above
rekha
Edited by: Rekhatiwari on Dec 16, 2010 10:46 AM
Edited by: Rekhatiwari on Dec 16, 2010 10:47 AMHi,
Try this:
SELECT T0.CardName,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%2\]') Item1,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%3\]') Item2,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%4\]') Item3,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%5\]') Item4,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%6\]') Item5,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%7\]') Item6,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%8\]') Item7
FROM ORDR T0
WHERE T0.docdate between [%0\] and [%1\]
That might be the only way close to your requirement.
Thanks,
Gordon
Maybe you are looking for
-
Hi, first of all thanks for reading, and I apologize for fooling around in Terminal. I followed a method to remove applesetupdone in terminal, in order to enter the menu to create a new admin account. I had done this before on a computer that was giv
-
My FCP7 project takes a very long time to open up (compared to others that do not possess any Motion4 interaction such as the stuff detailed below). My project takes about 10 minutes to finally open up completely where others (such as wedding videos
-
BPM: send 2 different files to same folder and then call RFC
Hi Gurus, I need the design of this BPM: 2 files are pulled from an FTP site, and both placed in an SAP folder (no mapping required). Once both files are placed, then I will need to call an RFC. I think in BPM for this: 2 receiver steps (for both fil
-
Making two mono tracks from one stereo track?
I've used the M-Audio MobilePre USB device to record vocal and guitar at the same time. In GarageBand, this inputs as one track, with guitar on the left channel and vocal on the right. I'd like to separate this one stereo track into two mono tracks
-
Children showing up as Adults on Family Share
My children keep showing up as adults on Family Share. I've looked everywhere to try to correct this but haven't found anything. Is there a way to correct this and actually have them listed as children (or even the student feature would be fine)? PLE