Calculate all days in month from schedule line delivery date for 12 mths
Hi experts,
I am trying to solve a problem and would appreciate any help! Im on BI7.
The user will input a date for the schedule line delivery date via a variable.
From this date I need to go forward 12 months exactly and display a key figure (outstanding value) by months but the first and last months must only use the days in that month i.e not the whole month if not selected by the user.
I.e if the user types in 13.05.2008
The display need to show (columns)
May 08 (13th to end of May 2008)
June 08 (All)
July 08 (All)
August 08 (All)
Sept 08 (All)
Oct 08 (All)
Nov 08 (All)
Dec 08 (All)
Jan 09 (All)
Feb 09 (All)
Mar 09 (All)
April 09 (All)
May 09 (1st to 12)
So I neen to restrict the key figure (Outstanding Value) by Schedule Line Delivery Date and display as above on a 12 month forecast basis from the day (sch line delivery daye) entered as a variable by the user.
I also need the first month to only show the dates in the month remaining including the date entered as a variable. The last month must go up to the day before exactly a year in front.
I have created the 12 months as a structure and can include the key figure and the schedule line delivery date. The schedule line delivery date for each period needs to be restricted. How can I do this to achieve the above?
Thanks in advance. Will assign good points for a speedy solution.
Best
Steve.
Hi,
Check "OVLY" and "OVLZ" and If the sceduling is active for he shipping point /sales document type. Check "OVXD" and see If the Loading time/ Pick/pack time is determined from it. If they are getting determined from shipping point check the shipping point calender in "SCAL" .If it has saturday and sunday as holidays ,then you may have to change them. And check If the customer has goods recieving hours assigned to him (In customer master unloading point). If he has only 5 working days and If he accepts only goods at 8 am in the morining then system would propose like this.Kindly please let me know If you need any more Information on this.
Regards
Ram Pedarla
Similar Messages
-
Schedule Line Delivery Date Calculation with Transportation Scheduling
Hi All,
We are currently running into a problem where our Sales Order Schedule Line delivery dates are being pushed out too far into the future - because of the Calendar being used to determine the transit time.
We have 'Delivery Scheduling' and 'Transportation Scheduling' activated for our Sales Document type
We have Routes that are configured with a 'Transit Time' and a 'Factory Calendar'
Order Scenario:
'Factory Calendar' assigned to our 'Route' is setup with only one 'Workday' in a given week e.g. Wednesday
Our 'Route' has a Transit Time of 2 days
We create a Sales Order on Monday for a Material that is available in our Plant
The 'Goods Issue' date is being determined correctly for the next Workday - being Wednesday
The 'Delivery Date' is extending out over 15 days (2 Wednesdays into the future) - since it is working on 'Calendar Days' and not 'Actual Days'
Does anyone know of a way (config or other) to only influence the 'Goods Issue' date with the 'Factory Calendar' assigned to the Route, and have the 'Delivery Date' calculated using the Transit Time on the Route and 'Actual Days' rather than Calendar days?
All help greatly appreciated.
Thanks,
Ravelle<i></i>Hi Pathik,
Thanks for your reply. I have already maintained the Calendars I'm using for this business process in <SCAL> - same as <OY05>.
The problem I'm having though is that by assigning a Calendar directly to my route (which I doing to influence the goods issue date - using a 1 Working Day Calendar) it is also taking precedence in determining the Transit time - which in this case I don't want, as I want my Transit time to be determined using a 5 Working Day Calendar.
I don't think this problem has a config option as a work around...I think the only possibility in this case is a development to achieve the results we need.
Thanks,
Ravelle -
Update Schedule line Delivery date using Bapi_po_Change
Hi all,
I am using Bapi_po_change to Update the Schedule line Delivery date(EKET-EINDT) for the PO based on the Item and the Schedule line.
I am passing the PO number, Po header, Item structure, Schedule line Structure.
But the Date is not getting updated in the Eket table.
Please suggest.Hi Sukriti,
Thanks for the Response, yes i have used the Bapi Transaction Commit Also .
The point is I am able to Update the Statistical Delivery Date in the Same EKET table using BAPI_PO_Change .I have Checked all the Ways to update the EKET-EINDT(Delivery Date)but no Unable to do it. -
I want to pick up Schedule line Delivery date based on Sales Order of Mater
Hi Experts,
I have one scenario like,
I want to pick up Schedule line Delivery date based on Sales Order of Material.
For example :
Go to va03
Give the order no
Press the enter
Double click on material.
Go to Schedule line Tab
Then we can find out the Delivery date .
I want to pick up the that Delivery date. Could you please help on that.
Thanks,
Amjad.Hi,
schedule line dates are available in VBEP.
VBEP-VBELN = sales order number.
VBEP-EDATU = schedule line date.
REgards,
Raghavendra -
Hi ,
I am creating a order ( for which Delivery Not created ) for which schedule line delivery date is alloted . Which i can check in VBEP table .
But when extracting the data in 2Lis_12_VCSCL , the order is not coming . Is the extractor is correce or anyother way of checking ( check in rsa3 also )
Regards
AnkitHello,
the extractor 2LIS_12_VCSCL is correct to extract schedule lines information of a sales order. Check with your mappings.
Regards,
NK.A -
Change schedule line delivery date
Hello,
We are doing STO intercompany scenario, with ATP control, routing delivery in schedule lines.
If for example in Supplying Plant the delivery date is 2 month in the future, and we have dates and quantities confirmed in the STO, if this Plant creates the Outbound delivery and PGI tomorrow, how can the buying Plant will notice this situation?
Once PGI schedule lines in STO will not be ATP anymore and the delivery dates will be not be updated.
At schedule line level I can see the quantity was delivery but the delivery date it is not updated to the new one.Hi Sukriti,
Thanks for the Response, yes i have used the Bapi Transaction Commit Also .
The point is I am able to Update the Statistical Delivery Date in the Same EKET table using BAPI_PO_Change .I have Checked all the Ways to update the EKET-EINDT(Delivery Date)but no Unable to do it. -
In VA01 In Schedule line Delivery date not getting populated
Hello,
We have developed enhancement for VA01 tcode.
Depending upon the quatity entered for a material it should show one more item as free good.
If quatity is 10 for a line item 10 then it should show item 20 by default same mateerial and quatilty as 1.We have done this it is working fine.
But if we select free good item in our case it is 20 and click on schedule line item buttom all quaitity fields getting populated.but delivery date not getting populated for only free good.for line item 10 it showing properly.
Can any one please suggest what i need to do in order to display delivery date for free good.
Thanks in advance.
Regards.Thanks for your response.
Actually i have seen technical settings for that field.it is rv45a-etdat.this field has value till MV45AFZZ.seen in debugger.
Looks like it is clearing some where after the above include.Any suggisitions welcome.Thanks again. -
Schedule line confirmation date for 3rd party sales( non stock item)
Hi ,
While creating an sales order i have a stock item and 4 non stock items . All the non stok items are similar to 3rd party sales as they are services . While created the sales order for the no stock item the confirmed schedule date is given as 12 days in the future or in one case after month .
Can someone please help me in understanding how the dates are being calculated . I havent created any PO for the non stock items.
I would like the confirmed date to be picked as the system date.Hi,
There can be multiple reasons for this.
You have not mentioned the material type. Anyhow, first check Material Master
Purchasing view> GR Processing Time field
Sales / general Plant > Set up time and processing time field
If MRP views are maintained
In MRP2 View > Scheduling.
In case you do not want availability check to be carried out
Untick Availbility check and TOR check boxes in VOV6 for the schedule lines determined for these materials.
Hope this helps.
Regards,
Sharan -
Schedule line : delivery date not changes
Dear Gurus,
When I change delivery date change in delivery documents and sales documents, picking date, pricing date, etc.. changes, but in sales document, schedule line's delivery date does not changes.
Please help me to change the same and kindly tell me, will it make any problem.
fyi..
If I have not created delivery for the respective sales document, then I can able to change the delivery date in the schedule line(sales document).
I'm just a new born in this area so please feed me...
Regards
Viswanthan.GHi Viswanath,
When you change delivery date change in delivery documents and sales documents, picking date, pricing date, etc.. changes, but in sales document, schedule line's delivery date does not changes.
This is because the system calculates the dates based on avaliabiltiy check and it picks data from material master as well, based on purchasing processing time, GR processing time, loading time ..etc and it will conclude accordingly.
Its like system will do backward schdeuling and establishes material avaliabilty date.
Thanks & Regards,
Krishna -
Schedule line delivery date of sales ordere in production order-MTO
We have a Make to order scenario where item in sales order can have mutliple scheule lines on different delviery dates.
Ex : sales order 100020 and item no 0010
has schedules with schedule line dates as
10.04.2010----1pcs
20.04.2010---1pcs
03.05.2010----1pcs
When the planned orders are converted to production orders, the 1 del date (EDATU) in the all the three production orders is the same ie the earliest delivery date (10.04.2010), even though the delviery dates are different for three as shown above.
Is there a way we can show the indivdual delivery dates on all the three production orders.
production order 1----- 1 del date as 10.04.2010
production order 2 -
1 del date as 20.04.2010
production order 3 ---1 del date as 03.05.2010
Thanks in advance.
When a planned order is converted toproduction orderWe have a Make to order scenario where item in sales order can have mutliple scheule lines on different delivery dates.
Ex : sales order 100020 and item no 0010
has schedules with schedule line dates as
10.04.2010----1pcs
20.04.2010---1pcs
03.05.2010----1pcs
When the planned orders are converted to production orders, the 1 del date (EDATU) in the all the three production orders is the same ie the earliest delivery date (10.04.2010), even though the delviery dates are different for three as shown above.
Is there a way we can show the indivdual delivery dates on all the three production orders.
production order 1----- 1 del date as 10.04.2010
production order 2 -
1 del date as 20.04.2010
production order 3 ---1 del date as 03.05.2010
Thanks in advance. -
Schedule line delivery dates change in VA01
Experts,
User is adding some days for a material in maintenance table and it is like below.
Material Days Plant
2525252 100 ABCD
3636363 150 PQRS
The requirement is --
While creating sales orders or changing sales orders(VA01 or VA02) while adding this material(2525252)in the line item - In schedule line items Delivery date should changed (some thing like get added 100days)
I have added my logic in routine RV03VFZZ. But some materials are not getting changed due to avilability check.
How can i bypass availability check ?
(tried in USEREXIT_MOVE_FIELD_TO_VBEP... but no use).
Thanks,
PriyaTake a look an ATP00001 in SMOD. However, this looks to me as a classic case when we're trying to use ABAP to compensate for poor functional choices or an incorrect business process. I find it hard to believe this cannot be done by other means than such funky ABAP.
-
Schedule line delivery date on saturday and sunday its confirm for monday
HI Experts
in cash sales process or normal OR also when i create sales order monday its work fine system take todays (current date) as delivery date and i can do delivery on same date
but if i create sales order on saturday system take coming monday as delivery date and give goods confirmation on monday date but iif i change manually system allow me to change the date for saturday and i can do delivery but i want it system should take delivery date as saturday (same date only )
because in my client there is no holiday all 365 as working day
in VOV8 its blank no lead time
factory calendor and logistic i define as all 7 days as working day
and sales org and plant i assign calendor
Please guide me where i miss and how can i solve this issue
thanks in advanceHi,
Check "OVLY" and "OVLZ" and If the sceduling is active for he shipping point /sales document type. Check "OVXD" and see If the Loading time/ Pick/pack time is determined from it. If they are getting determined from shipping point check the shipping point calender in "SCAL" .If it has saturday and sunday as holidays ,then you may have to change them. And check If the customer has goods recieving hours assigned to him (In customer master unloading point). If he has only 5 working days and If he accepts only goods at 8 am in the morining then system would propose like this.Kindly please let me know If you need any more Information on this.
Regards
Ram Pedarla -
Schedule line delivery date Source table
Hi,
I want to know from which table in R/3 system does data gets popped in to field 0SCH_DELDAT i.e EINDT in data source 2LIS_02_SCL
Thanks in Advance,
Rgds,
GauravHi Gaurav,
The format shown in the PSA is the internal format by which System stores.
So, as per standard BI the system stores as YYYYMMDD for the date. So, the same format is shown in PSA.
PSA is the RAW table. where you can see RAW data without any formatted type.
when you can load the data into cube/ods then you can see the data in the normal format like DD.MM.YYYY.
hope you understood. ..
Regards,
Ravi Kanth -
KANBAN cycle - Change of Schedule line dellivery date.
Hi,
I have some queries in KANABAN scenario
1) How to change the schedule line delivery date generated from KANBAN cycle.
2)How to avoid generation of schedule lines from KANABAN if the Scheduling agreement was not released.
regards,
Kannaiah NaiduHi,
1.It is not possible to change the schedule lines of the Scheduling agreement with kanban indicator. Only work arround solution is to remove the kanban indicator. Then you can change the schedule line.
2.Using user exit, during emptying of the bin check whether scheduling agreement is released on not.If not released generate error.
Regards,
Krishna A S V -
Customer Exit to get last day of month from Year/month
Hi Experts,
I need to create a customer exit to get the last day of month from Cal Year month input variable.
Examples
1)
User input period: 12.2008
I need from the customer exit: 31.12.2008
2)
User input period: 02.2009
I need from the customer exit: 28.02.2009
Can someone help me with the ABAP code to achieve this with a customer exit?
Help will be appreciated.Hi,
Please use the following code,
Second one is the suitable solution for you, I can understand that, if it leafe year then you have the problem so use the secon one.
First one is using Period i.e. 010.2008 (December 2008).
Secodn one is based on Date/Month.
Note: Insted of SY-DATUm, you give your variable name
*******To get the Last day of the Fy Period entered by User in ZFYP***
WHEN 'ZLDAY_FI'.
LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZFYP'.
zbdatj = loc_var_range-low+0(4).
zbuper = loc_var_range-low+4(3).
CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = zbdatj
i_periv = 'V3'
i_poper = zbuper
IMPORTING
e_date = zzdate.
CLEAR: l_s_range.
l_s_range-low = zzdate.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDLOOP.
Note: in the below code I given SY-DATUM, so you change to your Month Variable like using
LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'XXXX'.
** Last Day of Current Calendar month
zzdate = sy-datum.
CALL FUNCTION '/OSP/GET_DAYS_IN_MONTH'
EXPORTING
iv_date = zzdate
IMPORTING
ev_days = znum.
CLEAR: l_s_range.
l_s_range-low+6(2) = znum.
l_s_range-low+0(4) = sy-datum+0(4).
l_s_range-low+4(2) = sy-datum+4(2).
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
Thanks
Reddy
Edited by: Surendra Reddy on Jan 27, 2009 2:47 PM
Edited by: Surendra Reddy on Jan 28, 2009 6:12 AM
Maybe you are looking for
-
I get error 20 when trying to reinstall CS 5.5 on new PC.
I get error 20 when trying to reinstall CS 5.5 on new PC. I thought I deactivated on old PC first before uninstalling; maybe I didn't? Old PC no longer available. What do I do now?
-
Using DC from another track ??? possible??
Hi Experts, Out of curiosity i wanted to know whether i can access public part of some other DC DC1 from some other track T1 from a different DC DC2 of another track T2? If yes , can you please tell me how? Regards, Ashish Shah
-
Any way to search in a Word document? How to? Any freebies?
OK, I've e-mailed myself a Word document. I can see it beautifully formatted as an attachment on the IPT. But I cannot search through it for a particular term. I've transferred the document over using Stanza. No formatting--and while S has search, it
-
Report Validation - Parameter form
How do I stop report from running (stay at parameter form), when invalid parameter is entered? Also how do I go back to the parameter form after running the report (so that I could run it again)? Thank you.
-
Well, I feel as though I'm at my wits' end. This has been going on for a few months now, and I'm starting to get aggravated. I don't have a single problem with embedded flash objects anywhere (Youtube, Homestar Runner, etc.) but when I want to open a