How to compare delivery date in schedule lines and PGI in outbound delivery
Hi,
I want to create a report to monitor and compare different dates in sales and delivery process.
One of my key figure is the comparison between date confirmed to the customer, that I can find in the schedule line of the sales order, and the actual goods issue date from the outbound delivery.
But I can't succeed in making the link between delivery and schedule lines, means between LIKP and VBEP.
Would you have any idea?
Thank you.
It seems there's no exact (table) connection / link between delivery item and schedule line item.
Those who were searching for this thing (link / connection between delivery item and schedule line) were recommended to use FM "RV_SCHEDULE_CHECK_DELIVERIES".
This FM calculates the delivered quantity for each schedule line, so it makes link between the delivery item and schedule lines - however if you check the code it's quite sophisticated...
(if you put a breakpoint in the FM and display a SO in VA03, you can check how the parameters have to be populated with data).
Schedule Line and Delivery Link
Edited by: Csaba Szommer on Aug 5, 2011 12:03 AM
Similar Messages
-
Delivery dates in schedule lines is not changing in sales order
Dear all,
delivery dates in schedule lines on line item in sales order is not changing.delivery dates are different in schedule line of partial qtys.i have to do same delivery date on all schedule lines.
Regards,
PraveenHi Praveen
1. Schedule Line dates can be changed manually or by doing an availability check only.
2. In case if you change the delivery date in the header it will not change automatically in the line item level.
3. You need to do it manually only.
kindly let me know more details.
reg
dsk -
Issue with delivery date in schedule line ??
Dear Members,
I have created a sales order on 05/18/2009.I am getting delv date on schedule line as 06/12/2009, due to this problem, I am unable to create a delv. What should I do now ?/
I have checked the availbility of material and material is available on 05/18/2009.
Also Checked on config of order type in V0V8 T-code, and lead time in not maintained.
please let me know, where should I check.
Thank you.
Madhuhello, friend.
on the schedule lines tab, try changing the date to the present and see if delivery can be confirmed. another way is to run the "check item availability" functionality in the sales order.
on the document header, check what date is being proposed for "Requested Delivery Date". this date could be proposed based on settings for the document type. but since you indicated that there was no lead time maintained, you will have to check lead times in:
1. the shipping point (deliveries processing, picking, packing, etc.)
2. in the MRP views of the material master
3. transportation lead times (routes, etc.)
4. if externally procured, purchasing lead times
hope this helped you.
regards. -
Need to check PO Posting date at schedule line and material document level
HI All,
I am facing an issue to reconciliation data with ECC.
Issue :
we have a PO,item,schedule line with delivery date, scheduled qty and quantity received from EKET table
we have PO,item,Material document,movement type,posting date with quantity received from EKBE table
the standard extractor 2LIS_02_SGR is providing data at
PO,item,schedule line,material document,movement,posting date
as if now we are using this extractor to get the posting date at schedule line level.
can some one let me know how exacty the EKET and EKBE table are joined ???Hi,
The data for the datasource 2lis_02_sgr can be compared in ECC using ME80FN transaction.
Please check the below Link for all the details reragrding 2LIS_02_SGR datasource.
[http://help.sap.com/saphelp_dm40/helpdata/en/69/063f3f2615e07fe10000000a114084/content.htm]
Hope this helps..
Thanks,
Nagarjuna -
Change delivery date in schedule line
High gurus,
I need some help. How is it possible to change the delivery date in a schedule line generate by APO ?
Thanks.Hi Thanks for your reply.
But the Tcode that you have mentioned appears to be in the SCM system and it calls an External Procurement Relationships report. My requirement is as follows:
I have a date generated based on the Route Schedule id (VL51, VL52) and I need to sync this date with the Goods issue date of the Sales Order created. So whenever a sales order is created with the schedule line dates, i need to modify the dates generated by the system with my dates like I will have to call a FM or a BAPI by passing the new GI date and get the new set of dates and populate them on the Sales Order schedule lines screen.
This scenario will happen for a GATP (Global Available to Promise) where by the ECC system does a remote call to the APO system to get the new dates. I will have to modify these dates with a new set of dates created either using a FM or a BAPI and populate them again on to the screen
Thanks,
Susanth Kumar -
Default category of delivery date in schedule lines
Hi,
When i enter transaction ME38, select an item and click on delivery schedule to input schedule lines,
by default i can see 'M' in field category of delivery date.
'M' is displayed in all the records, whether a sch line exists or not.
In another system of mine, when i try to enter sch lines thru ME38, by default all records show blank in category of delivery date.
I want to change the default category of delivery date as 'D' or want to keep it blank , but not 'M'.
How can i change this???
Regards,
Sneha
Points will be awarded for helpful answers *Hi w1n,
following is the setting in my system.
EN C 5 Calendar format
EN D 1 Day format
EN K 2 Planning calender
EN M 3 MONTH FORMAT
EN P 4 Period format
EN W 2 Week Format
Still it is showing me M as default in all the lines.
M 06.2008 32 R01.06.2008
M 06.2008 24 R01.06.2008
M 06.2008 24 R01.06.2008
M
M
M
Can u pls help me out ???
Regards, -
Printing last delivery date in schedule lines for sales order
Hi!
We should create a sales order with more then one schedule line. This schedule lines are only for internal use (only to plan our production) and not for printing on the sales order paper. Only the last line is the real delivery date which should be printed on the sales order paper. Now I'm searching for a solution to print only this schedule line.
Have anyone a good idea?
Thanks
MarkusHi,
Select <required fields> from VBEP
into table <itab>
where vbeln = <order number>.
sort itab by posnr etenr descending.
read table itab into wa index 1.
contents of work area will have the last schedule line details of order.
Regards
Vinod -
Delivery Date in Schedule Line
Hi,
The issue is:
There is a 1 hour time gap between the System time & the local time.
Say the PRD system date & time is 01.01.2011 23:30 & the local date & time is 02.01.2011 00:30.
I have a scenario where there are 2 similar MTO sales orders.
Sales order 1: Create SO with date & time 01.01.2011 22:30 & the schedule line for the item gets the GI date as 01.01.2011 as expected.
Sales Order 2: Create SO with date & time as 01.01.2011 23:30, then the schedule line for the item gets the GI date as 02.01.2011.
I am not sure if the time difference could be the reason for picking up the different GI dates eventhough both the orders were created on the same day 01.01.2011.
Please let me know if i am missing something here.
thanks & regards
NarainFor shipping point or route pick pack time, load time, transit time may be maintained totally 1 hr. Hence when you create the order at 23:30 the delivery date comes to next day.
or
Shift time may be maintend.
Please check the both. -
Delivery date in scheduling lines
Hi all,
I am using FM 'SD_SALESDOCUMENT_CHANGE' and passing all the desired fields, when passing fields for shceduling lines date is coming from header or somewhere else.
Please suggest me in which field i have to put entry so that scheduling lines will show my dates.
Regards,
Gaurav.Hi,
Pass the data in structure field ORDER_SCHEDULES_IN-REQ_DATE.
Edit : Also pass 'X' into structure field ORDER_SCHEDULES_INX-REQ_DATE.
Regards
Vinod
Edited by: Vinod Kumar on Jul 20, 2010 3:59 PM -
Is there a DIRECT link between SD schedule lines and delivery lines?
Is there a direct link (db table) between schedule lines on a sales order (VBEP) and the delivery lines (LIPS)?
Is there a function module to retrieve the data?
Example-
One order line with 3 schedule lines.
Each schedule line is for 2 units (total of 6 units).
Three deliveries made. 1st is for 2 units, 2nd is for 1 unit (backorder), 3rd is for 3 units.
You can use document flow (table VBFA) or examine the SD document in the delivery line (LIPS) and link the delivery line to the order line. The schedule line already references the order line.
I am using math to decrement the schedule lines used and make the link between VBEP and LIPS. It works fine. I need four records back....
1st schedule line for 2 units uses delivery 123
2nd schedule line for 1 unit (partial) uses delivery 124
2nd schedule line for 1 unit (partial) uses delivery 125
3rd schedule line for 2 units uses delivery 125
Like I said, it works. Just wondering if I missed a more direct link.As far as Db link is concern , I dont remember exactly , but 3 years before I had written a report which see Sales order schedule lines and devilry note lines against sales order. If you see process wise . when ever you create PO ( production order you assign some qty using 101 movement type .. and against production order you also give sales order . When you do delivery ( run seclude run ) it delivers against that material number , its movement is 601 ...
but I remember theres a link between these tables, VBAP,VBFA AND VBEP , LIPS ... against every sales order you can see sales invoice ( VBRP,VBRK) and you can also see your delivery note number in document flow .
I hope thisll give you some guide line, as right now I can not tell you the exact business process but I remember I written a report in SD 4 years before , in which they required Delivery against production order and sales order ... One more thing you also have production order reference on delivery item number. ( field :Empst ) . I think in my project they were maintaining this field .
Thanks -
Changing delivey dates on schedule line level in Purchase order in IS AFS
Hi,
I want to know if there is any standard transaction or enhancements to change the delivery dates in purchase order on schedule line level in IS AFS scenario on mass.
Thanks,
KumarHi Antony,
Thanks for the reply.But the transaction MASS is not enhanced for changing delivery dates in schedule line level in IS AFS.
Thanks,
Kumar -
How to get the Delivery date in PO line Item in SAPScript
Hi Gurus,
I am working on PO Script (MEDRUCK). I copied the Standard to a Z form. ZMM_MEDRUCK, Now I need to print the the Header text at the end of MAIN window. I put Iem number along with the other line Item informmation like stanadrd PO Script MEDRUCK. I also want to show the delivey date with line Item, so Itried to use EKET-EINDT but it is returning the delivery date of last line item, means while printing the first line and other information it is showing the delivery date of the last line item, I tried with the PEKPO-EINDT it is also not working.
Can any body suggest me how i can get the delivery date for the respective line Item ?
Regards
Sonyactually your are picking up the correct data from Table EKET (EKET-EINDT) but your are printing that in item data loop for EKET might have already executed in your script and the header of that internal table consist the last entry of the table so for that. Fetch the delivery date explicite from the Table EKET when your in item level processing and print that.
For Example u can use this code.
To print you have write the this code in Script item level printing window "MAIN" window
Following perform is called to get the line item delivery date in PO
{/: PERFORM GET_DEL_DATE IN PROGRAM ZPerform_prog
/: USING &EKPO-EBELN&
/: USING &EKPO-EBELP&
/: CHANGING &DEL_DATE&
/: ENDPERFORM}
{* Dellivery date &DEL_DATE& }
write the below code in the Z program "ZPerform_prog"
{ FORM get_del_date TABLES in_par STRUCTURE itcsy
out_par STRUCTURE itcsy.
READ TABLE in_par WITH KEY 'EKPO-EBELN'.
CHECK sy-subrc = 0.
$_po_no = in_par-value.
READ TABLE in_par WITH KEY 'EKPO-EBELP'.
CHECK sy-subrc = 0.
$_po_line = in_par-value.
SELECT *
FROM eket UP TO 1 ROWS WHERE ebeln EQ $_po_no AND ebelp EQ $_po_line.
$_del_date = eket-eindt.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = eket-eindt
IMPORTING
date_external = $_del_date
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
READ TABLE out_par WITH KEY 'DEL_DATE'.
CHECK sy-subrc EQ 0.
out_par-value = $_del_date.
MODIFY out_par
INDEX sy-tabix.
CLEAR : $_po_no , $_po_line ,$_del_date.
ENDSELECT.
ENDFORM. "GET_DEL_DATE } -
How to get GR posting date for schedule line of scheduling agreement?
I had hard time to tie the GR date to schedule lines. I need this information to generate vendor performance report. However, the GR date is tied to scheduling agreement item level only. One item line can have multiple schedule lines. Is there a way to link the GR date to actual schedule line? Thanks in advance!
Hi,
There will be icon called PO history in the over view screen of SA.Select the item and press it.May be this will be some what useful to you.
Regards, -
Delivery Status at Schedule Line level.
Hi All,
I have to retrieve some data on the basis of Schedule line for which delivery is not complete. Please find below the requirement.
I am having one sales order with one line item which having two schedule line. For one schedule line confirmed qty is 1K and for other 2k. For first line item deliver qty is also 1k.
I want to know how to check the delivery status for schedule line counter so I will get the idea that for first schedule line qty is delivered and for second not.
Thanks
PiyushUse the function module
CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
EXPORTING
fbeleg = wa_vbap-vbeln
fposnr = wa_vbap-posnr
FVERRECHNUNG = ' '
FS073_ALT = ' '
IF_NO_SORT = ' '
TABLES
fvbfa = fvbfa
fvbup = fvbup
fxvbep = it_vbepvb
FVBLB =
fvbap = fvbap
EXCEPTIONS
FEHLER_BEI_LESEN_FVBUP = 1
FEHLER_BEI_LESEN_FXVBEP = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop the internal table it_vbepvb.
get the open qty in that schedule line
MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
IF wa_vbepvb-bmeng EQ wa_itab-openqty.
check that with the schedule line confirmed qty wa_vbepvb-bmeng
If delivery is avaliable the open qty will not be equal to confirmed qty. -
Delivery not happening, Schedule lines
Dear Gurus,
End users created sales orders and saved, when trying to make delivery system through error
No delivery-relevant items in order 00000xxxx, order type xxxx
Message no. VL455
Diagnosis
The sales order you want to deliver, sales order 00000xxxx with order type xxxx, either contains no delivery-relevant items or its delivery-relevant items have already been delivered.
After analysis i come to know that in schedule line 'item relevant for delivery' field was unchecked, i checked it present system is allowing delivery and billing.
But Present problem is the sales orders which were created before this configuration were not able to deliver. system through same error.
how to overcome this,
thanking you
Regards,
Sudheer.USudheer,
Open the sales order in VA02 and select the line item in question and click the "Check item availability" button on the bottom. this should propose new dates in the schedule line and subsequently you should be able to deliver the old items as well with the newly proposed dates. This is assuming you have updated the schedule line with the correct config.
Hope this helps,
Ravin
Maybe you are looking for
-
How do I get the keyboard viewer to display Korean characters
I am trying to set up my Mac so that I can type in Korean. I followed the instructions here: http://www.foolsworkshop.com/120b/koreanmac.html. After adding all the Hangul input methods under the International control panel, I have the flag language m
-
My Nokia N78 (firm 30.011) doesn't refresh the lib...
I have Nokia N78 30.011 and a have a very annoying bug. I updated the firmware version from 20.149 to 30.011 and since then i cannot upload music to the music library. I copy it to my microSD card and put the option to refresh the music library.... a
-
I have ordered an iphone 5 on saturday when will it arrive3
I ordered an iphone 5 on saturday, when will it arrive
-
Info about setting enable and username secret lev.5 passwords
Hi, it's the first time I write on this forum, so I hope it's the right section for my question... I need to replace the enable and username XXX level 7 passwords (defined with enable password PPP and username xxx password PPP commands) on a lot of d
-
Unable to Save RFQ and PO.
Hi Experts, I am facing a very serious problem in saving the documents. Whenever I create PO or RFQ and Save it. It gets Saved and with the document number. But if I go to document display in ME23N or ME43 and the enter the document number created. t