Field for 'Delivered Quantity'
Hi experts,
I need to create a report with Quantities for Requested Delivery Qty, Goods Issued Qty and Delivered Qty. I am looking for the appropriate datasource, please advice. The report also needs to mention Sales doc # (and Purchase Order # if possible). Need advice if 2LIS_12_VCSCL is the right one?
My second question is how to calculate GI Date? I was wondering if I take the key fig 0GIDATE and choose aggregation as 'Maximum' and 'First Value'. I mean in ECC, when purchase order is received, the system calculates a goods issue date based on the requested delivery date and route(and transition time). My point is if the 'First value' of the kf 0GIDATE is equal to the first date from system generated '0GIDATE'? If this is right, then I don't have to create additional field and user exit to populate the gidate based on the requested delivery date. Please help.
Viren,
Seems you have good experience with this. Thanks for your quick turn around. Please see my requirement and also I have listed my current model, I need your input.
I need in the report:
Order Qty
Qty of Goods issued
Goods issue data as per the order
Actual goods issued date
I could not find a field for 'goods issue date as per the order' as it has to be calculated from 'Requested Del Date' minus 'Transit time'. This transit time comes from 'Route'.
But from your input, is '0GI_DATE_GH' from the order or physical issue date? Btw, I took the following fields and objects and realized they are not perfect:
KWMNG Order qty(for qty from the Sales Order) 0CML_OR_QTY
VSMNG_L Dely qty 0DLV_QTY
WADAT Goods issue date 0GI_DATE( KF-I took Maximum and
first value in aggregation of key figure)
WADAT_IST Actual GI Date 0ACT_GI_DTK(actual goods issue date)
Similar Messages
-
Table and table field for PICKING QUANTITY.
Hi friends,
I need to use PICKING QTY in script. but it is in structure LIPSD-PIKMG.
Please say Table and Field for Picking quantity.
I need a table and field.
THANKS in advance.
balaji.Hi Tarani, Rasmi,
Thank you for quick response.
LIPS-LFIMG is Delivery Qty . It is not Picking Qty.
please let me know for PICKING QTY to display in my Script.
Thank you. -
Database Field for Picked Quantity in Delivery
Hi All,
We want to know the Database Field for Picked quantity in a delivery. We checked the help for the field and it points to the LIPSD structure and the field PIKMG. However I could not find it in LIPS table or any other table. Could somebody please help me locate this field in the database ?
Thanks,
AmitHi, This is late response i know, but maybe someone else is looking for same and needs code for same. Please keep in mind that you also need to check if users have done LT0G return from GI are back to picking bin. In this case you need minus the TO from total picking qty.
ABAP routine:
form LIPS_PICKED using LS_LIPS type LIPS.
data: LT_VBFA type table of VBFA,
LS_VBFA type VBFA,
LS_LTAP type LTAP.
select * from VBFA into table LT_VBFA "Fetch to data from doc flow and count picked
where VBELV = LS_LIPS-VBELN
and POSNV = LS_LIPS-POSNR
and VBTYP_N = 'Q'.
clear LS_LIPS-LFIMG.
loop at LT_VBFA into LS_VBFA.
select single * from LTAP into LS_LTAP
where LGNUM = GS_SCREEN_100-LGNUM
and TANUM = LS_VBFA-VBELN
and TAPOS = LS_VBFA-POSNN
and PQUIT = 'X'. "Picked!
if SY-SUBRC = 0.
if ls_ltap-vltyp = '916'. "Source is GI area => LT0g done, it is minus!
LS_LIPS-LFIMG = LS_LIPS-LFIMG - LS_LTAP-VISTA.
ELSE.
LS_LIPS-LFIMG = LS_LIPS-LFIMG + LS_LTAP-VISTA.
endif.
endif.
endloop.
endform. "lips_picked -
Reference table / reference field for currency/quantity field in tables.
Hello Sap Experts ,
Am a newbie and not able to make head or tail of what reference table and reference fields are when related to currency / quantity fields.Someone if could explain to me with a small example it would be great.Hi,
The currency and quantity field always require a reference table and field so that they can be entered in correct format.
Whenever you use currency and quantity field while creating the table you need to provide their respective reference field and table.
whenever you use currency and quantity in scripts or smart forms you again have to receive their value using variables referring to their reference table and reference field.
hope it must have cleared some of your doubts.
Thanks,
Abhi -
Table field for ATP *** Quantity
Hi Experts,
we need a function module that can take as input a table of (MATNR u2013 PLANT u2013 CHECKING RULE) and output a table of (MATNR u2013 PLANT u2013 STLOC u2013 BATCH u2013 ***. ATP QTY for BATCH).
Please suggest.
Thanks,
Gaurav Mittalhi
check it these function modules
ITOB_CHECK_MATERIAL
ITOB_CHECK_MATERIAL_BATCH
ITOB_CHECK_MATERIAL_MARA
ITOB_CHECK_MATERIAL_MARC
ITOB_CHECK_MATERIAL_MBEW
ITOB_CHECK_MATERIAL_MCHAR
regards
anand kumar -
Total delivered Quantity field
Hi,
I am looking for a field that gives me total delivered quantities of an item of a sales order.
Foe Example : sales order 1000 item 20 qty 30.00 ea
two deliveries for this item
Delivery 8000 item 10 qty 20.00 each
delivery 8001 item 11 qty 10.00 each
I want to know if there is a field which gives me the total delivered quantity 30.00.
I am looking for something like the field in schedule lines tab of the sales order.
There is a structure field (RV45A-VSMNG).This field is for Delivered quantity in sales units.
Is this field directly available in a database table.
Please help.Hi,
I am looking for a field which gives me total delivered quantity by giving the sales order. LIKP and LIPS need delivery number as the input.
e.g. sales order 1000 qty 30 ea.
I need the delivered quantity for this sales order.
If there are 2 deliveries for this sales order,
delivery1 qty 10 ea
delivery2 qty 15 ea
Now the total delivered quantity is 25 for the sales order.
I am looking for a field which gives me this field.
With likp I only get the delivered quantity in a particular delivery which is not necessarily the total delivered qty for a sales order.
Please let me know if there is a field for this.
Tks a lot .. -
Additional field for quantity posted
Dear Friends,
While doing UD there are some fields for the quantity posting such as to unrestricted,to scrap,to block etc.but there is no field for to rework or rejection.As practically there may be a situation that the material which is non confirming in quality may me rework & clear it ok.
now please tell how can i add that field for rework in that area.
Please reply.
Regards,
Chandra.Dear Chandra
My suggestion will be use Block for Rework purpose. Please add this in your Blue Print process.
Please find the rework process for your reference
Rework & rejection
1. Reject the material in QA32 to block stock
2. Reverse faulty material using Tcode MB1A u2013 262 movement type against the production order
3. if you need to scrap highly faulty materials use Tcode MB1A u2013 551 movement type against a cost centre
4. Create a rework order using Tcode Co01 order type (PP03)
5. Enter the Parent production order number in the goods receipt tab in Co01. (inbound delivery)
6. Issue goods against the rework order using MIGO
7. confirm the rework order through co11n
8. Move the material back from block to quality using Tcode MB1B u2013 349 movement type (activate 08 inspection)
9. Inspection lot created
10. do the posting accordingly
Regards
gajesh -
Find the table name for Delivery quantity in production order
Hi,
Pls can you tell me what is table name for delivered quantity field in General tab for that production order number.
With Regards,
P.Arunkumar.Hi
You can find it GR qty via following 2 Tables.
Table AFPO Order item
Field WEMNG - Gr Qty
Or
Table AUFM
Field SHKZG (Debit Credit Indicator ) Select Debit Indicator - S
Field KZBEW Movement type ind.- Selct F Goods movement for production order.
Regards,
Dhaval -
Delivered quantity in co03 not updated
Hi folks,
I'm using bapi 'BAPI_GOODSMVT_CREATE' to post goods movement (type: 101). After i posted it, the field 'GWEMG' (delivered quantity) is not updated with the value i posted. But when i try to post manually using mb31, it works. anyone have any idea whats wrong with this?
Thanks!Hi,
Check that have you maintained " Movement Indicator" as F?
Regards,
Velmurugan S -
Table Required for Delivered Qty field in Sales Order
Hi friends
I can see confirmed order qty, required qty, quantity committed in VBEP table.
But if you see in sales order Schedule Lines you'll see one more field named as
Delivered Quantity.
I am not able to find this Delivered Qty in any of the SD tables....
pls help me to find this table and field
Pts rewarded for helpful ans..
Thanks and regards
Snehalhi,
delivery related data is stored in LIKP and LIPS tables
related to sd.
reward points if hlpful. -
Hi...
I need to use the Delivered Quantity present in a sales order at schedule line level.
This field can be seen if we, enter a sales order in VA02 and click on the Item and then click on the 'Schedule Lines' tab... i need to know.. how do i fetch the field 'Delivered Quantity' present there....
If no values are present .. then it means.. no delivery has been done for that material........
The F1 or Techinical help points to the field VBEPD-VSMNG...... and i found that this field is calculated at runtime in the function module RV_SCHEDULE_CHECK_DELIVERIES.....
Can someone please tell me... how do i fetch this field ...or calculate this field..... for my requirement.....
Regards.....Hi.
You can use the function module RV_SCHEDULE_CHECK_DELIVERIES to get the delivered quanity corresponding to schedule line item in sales order.
Please refer below code:
ie3mdpslx-delnr is sales order numer
ie3mdpslx-delps is line item.
internal table tl_da_vbep has got field VSMNG which is the delievred quantity for each line item
SELECT * FROM vbfa
INTO CORRESPONDING FIELDS OF TABLE tl_xvbfa
WHERE vbelv = ie3mdpslx-delnr
AND posnv = ie3mdpslx-delps
AND vbtyp_v = 'C'.
SELECT * FROM vbup
INTO CORRESPONDING FIELDS OF TABLE tl_xvbup
WHERE vbeln = ie3mdpslx-delnr
AND posnr = ie3mdpslx-delps.
SELECT * FROM vbep
INTO CORRESPONDING FIELDS OF TABLE tl_da_vbep
WHERE vbeln = ie3mdpslx-delnr
AND posnr = ie3mdpslx-delps.
SELECT * FROM vbap
INTO CORRESPONDING FIELDS OF TABLE tl_xvbap
WHERE vbeln = ie3mdpslx-delnr
AND posnr = ie3mdpslx-delps.
CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
EXPORTING
fbeleg = ie3mdpslx-delnr
fposnr = ie3mdpslx-delps
TABLES
fvbfa = tl_xvbfa
fvbup = tl_xvbup
fxvbep = tl_da_vbep
fvbap = tl_xvbap
EXCEPTIONS
fehler_bei_lesen_fvbup = 1
fehler_bei_lesen_fxvbep = 2
OTHERS = 3. -
BAPI for process order header delivered quantity
Hi,
current requirement is to get the process order quantity with drawn and delivered quantity , when we try using the BAPI
BAPI_PROCORD_GET_DETAIL , it does not have the process order delivered quantity - it has only total quantity for which process order is created .
Is there a way or any standard BAPI/RFC gives the below :
1. Process Order Header Delivered Quantity
2. Process order component's quantity with drawn
Regards,
Madhu KiranHi Madhu Kiran,
BAPI_PROCORD_GET_DETAIL of course has all the required fields:
1. --> check table POSITION, field DELIVERED_QUANTITY
2. --> check table COMPONENT, field WITHDRAWN_QUANTITY
Regards,
Andreas -
Exact field name and table name for Picking quantity
Hi All,
I need to know the field name for Picking quantity. If we go for VL02N transaction code and enter deliver number and go for picking tab, here in item details for picking quantity I need the exact field to catch it.
Thanks in advance.
Ramesh.Hi Ramesh,
You can find Picked quantity in below way.
table where picking quantity is
Regards,
Jai -
Delivered quantity for each schedule line
Hi,
Our scenario is that we have an order for each order's each item we can have multiple schedule lines, when any of the schedule line is delivered the delivered quantity colum is updated, the schedule lines table in VBEP but the thing is it doesnot have the delivered quantity, system calculates it at runtime or may be it is keeping it in some other table.
I hope some body can help in this regard.
Thanks
Khusro HabibIt is a calculated value, not a value of a table field. Also, it may lead to wrong results if you don't pay attention to this description of the field here under in bold.
Delivered quantity in sales units
The quantity from the schedule line that has already
been delivered.
Use
When there is more than one schedule line for an item,
the system distributes the total delivered quantity for
the item across the schedule lines according to the
sequence of their delivery.
Example
A sales order item has three schedule lines, each with
an order quantity of 50 pieces. You make two subsequent
deliveries: the first for 20 pieces, the second for 60
pieces. The delivered quantity for the first schedule
line is 50 pieces, for the second 30 pieces, and for the
third zero.
If you delete the first delivery (20 pieces), the
delivered quantity for this schedule line is still 50
pieces. However, the system reduces the delivered
quantity for the second schedule line to 10 pieces. -
Logic for fetching Quantity Delivered and Invoiced
I am creating a Sales Order report in which I need to Fetch the delivered Quantity and Invoiced Quantity fields.
I am currently going to VBFA table and pass SO and line item number and fetch all data. Then I perform addition/ subtraction to remove cancelled quantities. this is making the logic complicated.
Is there any standard Function module/ or table or BAPI which can fetch the Delivered and Invoiced quantities directly?
Regards,
Onkar BorkarHi Experts,
There is a requirement where in it is required to track changes in the field 'Batch' in the deliveries. This change log report should have the option of checking the log for multiple deliveires at a time. It can be similar to the delivery change log report that we have but shoul run for multiple deliveries at a time.
Please let me know if such a reporet is available in standard SAP or in LIS repporting.
Thanks/ Regards,
Onkar
Maybe you are looking for
-
Application Server Connection in Jdeveloper
Hi, Im facing issues in establishing Application Server Connection in JDevloper (10.1.2.1.0).Basically, im creating a JSR portlet. I followed the steps provided in the link "http://www.oracle.com/technology/obe/obe1014portal/standards_portlets/stdspl
-
How to change the value in an Integer object?
Hi, Is it possible to change the value that is contained in an Integer object. I know Integer objects are immutable. So it might not be possible to chage to value in an integer object once its been initalized a value @ the time of construction. Also
-
Hi All please can you advise ifa BOM explosion in a Sales Quotation is this standard SAP? Kind Regards KC
-
/SAPTRX/IDOC_INPUT_EVMSTA IDoc posting only works for single BAPI call
Although the settings and code imply that the function /SAPTRX/IDOC_INPUT_EVMSTA can handle multiple events in a single IDoc the fact is that the code does not have a refresh statement on the BAPI internal tables with the loop through the IDoc contro
-
Using opaqueBackground results in ugly borders
I am using cacheAsBitmap = true; opaqueBackground = 0xFF0000; in an itemRenderer and I am overriding drawBackground() and drawing inside.... var matrix:Matrix = new Matrix(); matrix.createGradientBox(getExplicitOrMeasure