Datasource for SD Open & Delivered orders
Hi Experts,
My requirement is to build an report in SD with below fields,
1. Open orders qty -
2. Open orders GSV
3. Open orders NIV
4. Open delivered orders Qty - delivery done, but billing is pending
5. Open delivered orders - GSV
6. Open delivered orders - NIV
Can I have an advice on which data sources can be used for achiving above report and calculation of GSV and NIV.
Thanks & Regards,
Rags.
Edited by: raghavendrabw on Aug 6, 2011 1:17 PM
Hi,
Check data source 2LIS_11_V_SSL, you may find it useful as you should be able to get Order and Delivery Qty from this data source.
Alternatively, you can use following data sources;
2LIS_11_VAITM - Order Item
2LIS_12_VCITM - Delivery Item
2LIS_13_VDITM - Billing Item
In the Delivery and Billing data sources, you will get Sales Order number as well. Create DSOs for each of these Data Sources and then you need to load Order Item DSO from Delivery and Billing also to get Delivered Qty and Billing Qty.
You will have to keep Delivery Qty and Billing Qty KF in addition mode as there might be multiple deliveries/billing for one Sales Order item.
This way, you should be able to report what you need. Additonally, not all the deliveries and/or billing documents are created in reference to a Sales Order (e.g. Direct Delivery etc). Therefore, you will have to use proper filters in your flow from Delivery and Invoice to Order DSO like Preceding Sales Doc Category which will tell you that referece for Delivery/Billing Doc is Sales Order or not.
I hope it helps.
Regards,
Gaurav
Similar Messages
-
SD report for the open sales orders with items
Hi,
Is there any standard SAP report which display open sales order togeather with the open items. I want to have columns target quantity, delivered quantity and open quantity.
Any tip?
BR
SasoDear Saso,
I think, instead using Report: VA05/ VA05N; its better to use Report: VL10C
In this report, you will get all the Sales Orders along with Materials - relevant for open delivery, along with Open Qty. and various other options can be selected from "Change Layout - (Ctrlt+F8)".
Best Regards,
Amit
Note: Don't maintain any Field-Entry (while executing the Report: VL10N; in order to list all Sales Orders. But, if you want to list Sales Orders based upon some criterias, maintain the Field-entries, as reqd. -
Conversion program for the open sales orders
Hi ,
How to proceed for writing a conversion program for open sales order ??
Please share if 've any document or idea.
LSMW object: 0090, Method: 0000
Business Object : BUS2032, Method : CREATEFROMDAT2,
Message Type: SALESORDER_CREATEFROMDAT2
Basic Type: SALESORDER_CREATEFROMDAT202
Regards,
Jyoti ShankarDear Saso,
I think, instead using Report: VA05/ VA05N; its better to use Report: VL10C
In this report, you will get all the Sales Orders along with Materials - relevant for open delivery, along with Open Qty. and various other options can be selected from "Change Layout - (Ctrlt+F8)".
Best Regards,
Amit
Note: Don't maintain any Field-Entry (while executing the Report: VL10N; in order to list all Sales Orders. But, if you want to list Sales Orders based upon some criterias, maintain the Field-entries, as reqd. -
LSMW For Converting Open Sales Orders (not working for more than 1 item)
Hi,
I am using following standard object for Open sales orders .
Object 0090 Sales documents
Method 0000
Program Name RVINVB10
Program Type D Direct Input
Its not working for more than 1 line item.
For more than 1 line item its giving Error saying that
'102122 V1 845
Print parameter SAPML2 1 is not defined
Can anybody help me out in this regard.
Thanks in advance.
Nitin.hello, friend.
i will still research the subject. but the first thing that comes into my mind is t-code VA05. with this, you have the option to change the Plant en masse. so a possible workaround is for you to list a number of sales orders using VA05. you then sort the line items by Plant. choose all items with the same plant, change the plant via mass change... then change back to the original plant. hopefully, the new settings should apply.
do test a few sales orders by doing this for a larger scope.
regards. -
Query for all open sales order with a date range
Hi Experts!
I wrote this query that will look up all open sales order of a particular customer and how much was served:
SELECT T0.[DocNum] 'OS #', T0.[DocDate] 'Posting Date', T0.[CardName] 'Customer', T1.[Dscription] 'Item Description',T4.[SalUnitMsr] 'Sales UOM', T4.[InvntryUom] 'Invty UOM', T1.[UseBaseUn] 'Use of Invty UOM' , T1.[Quantity], T1.[Quantity]-T1.[OpenQty] 'Served Qty', T1.[OpenQty] 'Unserved Qty' FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCTG T2 ON T0.GroupNum = T2.GroupNum INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE T0.[DocStatus] = 'O' and T0.[CardName] =[%0]
However, I don't know how to input a parameter for the date range in a query. Can anyone help with this issue?
Your input will be highly appreciated.
Warm regards,
JenHiiiiiii
Try This.....
SELECT T0.DocNum 'OS #', T0.DocDate 'Posting Date', T0.CardName 'Customer', T1.Dscription 'Item Description',T4.SalUnitMsr 'Sales UOM', T4.InvntryUom 'Invty UOM', T1.UseBaseUn 'Use of Invty UOM' , T1.Quantity, T1.Quantity, T1.OpenQty 'Served Qty', T1.OpenQty 'Unserved Qty' FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCTG T2 ON T0.GroupNum = T2.GroupNum INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE T0.DocStatus = 'O' and T0.CardName ='[%0]' and (T0.DocDate>='[%1]' and T0.DocDate<='[%2]')
Regards, -
BADI or function module for updating open purchase orders
Hi all,
Does anyone know of a BADI or function module which can be used for updating item prices in open purchase orders?
All helpful answers are highly appreciated!
Regards,
MV1 ) execute this program in se38 .enter the input as transaction code for which you want list of User
Exit.
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP® User Exits exists.
*& Tables
TABLES : tstc, "SAP® Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP® Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP® Modifications
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
2) Second way is to go to transaction code SE93 .enter transaction code click on display.
There you will see the package. Copy that package name.
Go to transaction code se84
Enhancements -customer exits-enhancementsu2014enter package there and execute.
You will get list of exits.
3) BAPI for PO change is
BAPI_PO_CHANGE -
Working on LSMW using IDoc method for processing Open Sales Orders
We are currently in middle of creation of a new instance of production for a different Business SBU. We are looking to utilise the LSMW tool using IDocs for uploading / transferring the open orders to the new box. If some one has worked on LSMW using IDocs, please get in touch and if you could share any documents on the process of utilising the LSMW tool using Idocs for any kind of conversions, it would be great. The following is a sample case.
1. Each order will have multiple segments with different qualifiers under various segments.
2. Multiple line items would be available under each order.
Issues we are currently looking to solve :
1. How do you manage to loop through the qualifiers during processing for the same segment.
2. How do you prepare the tool to recognise the multiple line items of the same order.
3. What kind of strategy needs to be used to create the input data file(s). Like, splitting the header and detail level information ?
Note : The volume of data we are looking at is somewhere around 40-60 thousand orders worldwide.
Thanks in Advance.hI vikram check this link
and reward points if helpful
http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
http://www.jt77.com/system-dynamics/model-01395.html -
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 -
Hi..
my client want the report for all open sales orders in following manner :
CUSTOMER NAME ITEM 1 ITEM 2 ITEM 3 ITEM 4
Customer 1 23 45 54 76
Customer 2 10 20 30 50
Customer 3 40 10 30 10
TOTAL 73 75 114 136
please let me know the sql query which i can put in crystal report to creat this report
Regards
RakhihI rAK
HERE IS UR QUERY FOR OPENSALES ORDER I THINK THIS WILL SOLVE UR PROB
SELECT T0.[DocNum], T0.[DocDate], T2.[CardCode], T2.[CardName], T0.[DocTotal],
(T0.[GrosProfit]/(T0.[DocTotal]-T0.[GrosProfit])*100)'PROFIT%', T2.[CntctPrsn], T2.[Phone1], T3.[GroupName]
FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode
INNER JOIN OCRG T3 ON T2.GroupCode = T3.GroupCode
WHERE T0.[DocTotal]!= T0.[GrosProfit] and T0.[DocStatus] ='O'
GROUP BY T0.[DocNum], T0.[DocDate], T2.[CardCode], T2.[CardName], T0.[DocTotal],
T0.[GrosProfit], T2.[CntctPrsn], T2.[Phone1], T3.[GroupName]
REGARDS
JENNY -
Report for open purchase order quantity
Dear experts,
Is there any report for showing open purchase order quantity for which goods are not yet received?
Regards
babuHi
ref the blw link which will have the complete sap std reports
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erplo/sapStandardReports -
MRP not considering open purchase orders when planning for open sales order
Dear Experts,
1.I have open sales orders as well as planned Independent requirements for finished goods for the current month. Also I have open puchase orders for raw materials which is part of the Bill of material of the finished goods for the current month.
Please what do i need to do to make MRP consider my open purchase orders when the system is planning for the open sales orders.
2 what tcode can I use to delete all purchase reuisitions in the sytemThere was no response to these questions so i had to close it to make space for another
-
How can i get the open sale orders for given material no and plant
Hi,
I have to retrieve the open sale orders depending on the material number and plant.
For only open sale orders at header level and item level.
I want to use VBUK-GBSTK to find open sale order at header level and
VBUP-GBSTA at item level.
Can any one suggest me the best logic as performance is concerned?
Thanks,
Kumar.hi Prasanth,
select werks matnr from ZVSCHDRUN into table it_plant.
sort it_plant by matnr werks.
select
vbeln
posnr
matnr
werks
erdat
kbmeng
vrkme
from vbap
into table it_vbap
for all entries in it_plant
where matnr = it_plant-matnr and
werks = it_plant-werks.
and again i have to write one more select query for vbup.
am i right? -
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 -
Multiprovider as Datasource for Open Hub Destination
Hello,
Can you pls let me know if we can used the Multiprovider as datasource for the Open Hub destination. Currently we are Bi7.0 and SP9. I am not able to see the option of Mutiprovider in the template.
Appreciate the input ASAP.
Thanks
GopalMultiprovider is not yet supported for Open Hub destination and hence you dont see that option.
As of SAP NetWeaver 2004s SPS 6, the open hub destination has its own maintenance interface and can be connected to the data transfer process as an independent object. As a result, all data transfer process services for the open hub destination can be used. You can now select an open hub destination as a target in a data transfer process. In this way, the data is transformed as are all other BI objects.
In addition to the InfoCube, InfoObject, and DataStore object, you can also use DataSources and InfoSources as templates for the field definitions of the open hub destination.
The open hub destination now has its own tree under Modeling in the Data Warehousing Workbench. This tree is structured by InfoAreas.
<b>Restrictions -</b>
It is not currently possible to use MultiProviders as the source for the open hub destination.
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/7c836c907c7103e10000000a1553f7/content.htm
Hope it Helps
Chetan
@CP.. -
Delivery in open sales order report
Hi All,
In VA05 transation - in open sales order, my client wants the number of material delivered for a partial delivered sales order. Or is there any other way where we can see the open sales orders and the quantites partially delivered for a open sales order.
Rewrad points for helpful answer.
Regards
AshisHi
VA05 is a standard report provided by SAP and if your requirement doesnot satify with that you have to develop your own with the help of the abaper by passing the requirement to the abaper (this is a customised report.).
Every report will have an input screen and an output screen with a logic (programme) to generate the report. Pass the requirements of the client, like how the output screen should be, what are all the fields and tables that are to be hit to get the required data, to the abaper.
Thanks,
Ravi
Maybe you are looking for
-
1. How does one get the code segments to appear in that box? 2. How does one return to the "edit" screen after clicking the "Preview" link?
-
Re-issue of o/p type of a billing document
Hi, I have requirement where the a billing document needs to be printed and faxed/emailed to the customer when the o/p type is issued the first time(or the document is saved initially). I'm using SMARTFORM to accomplish it. Now, the user wants to rei
-
Hi all, currently we face a problem in logistics: For some reason there is no AC commitment documents in some PO. The comm. doc. for the requisition were created normally. Is there any report that can correct this? Regards, Hubert
-
Installing Flash Player 11.7.700.169 in XP
I tried installing Flash Player version 11.7.700.169 in XP and got a script error. I checked my system setting and found scripting to be enabled. I tried completely uninstalling Flash Player and reinstalling but got the same result. Have no idea w
-
How to install FaceTime in Lion
I deleted facetime in Lion and now I can't install it again from the app store! what can I do?