Factory Calendar Working Times
Hi all,
Can any one help me on Factory Calendar Working Times, at shipping point level i need to assign Factory Calendarand Working Times
factory calender we define in SCAL but where we define Working Times ?
Can any one guide me
Thanks
Rajesh
Hi
Check the following path :
IMG > Logistics Execution>Shipping > Basic Shipping Function>Scheduling --> Delivery Sheduling and Transportation Scheduling --> define scheduling by Shipping Point.
Hope you are looking for this only.
Regards
Amitesh Anand
Similar Messages
-
Change working timings in factory calendar
Dear All,,
Can any one guide me , how to change working timings in factory calendar....
thank you advance.......In the factory calendar definitions in t.code SCAL, the working days are maintained. Working time is specific to each application area like shipping, production etc. For shipping area timings maintenance, check the link Factory Calendar Working Times and Factory Calendar Working Times
Regards, -
Hello,
in my factory there are some factory calendar which are used but not assigned to any plant.
can any one tell me when can be used?
thanks.Hello Alaeddine,
Check this list:
SCAL - Maintain factory
SFT3 - Maintain factory calendar Basis
OP03 - factory calendar C PP - Routing
OY05 - factory calendar Cross Application - Global Organization Customizing
OIZH - factory calendar PM - Plant Maintenance
OPJX - factory calendar C PP - Order Planning
OPDD - factory calendar PP - Capacity Leveling
OODK - Shift Planning: factory calendar Personnel Time Management - Shift Planning
OOFK - factory calendar Training & Event Mgmt - Training and Event Management
OVZ4 - C SD factory calendar SD - Basic Functions
If you want to see a Where is used, you can go to SE11 and see where is used the data element..
Check specially the tables starting with "T", like:
T001W --> plant assignment
TVRO --> Routes
Kind Regards,
Mariano -
Time stream and Factory Calendar settings issue. Problems in scheduling!!
Hi,
We have a factory calendar of working days from SUN-THU only (5 days a week).
Every working day starts at 07:00:00 (first shift) and ends at 06:59:59 at the following day.
I am not sure how to set the time stream. Do I set it for daily (5 days a week) with gaps start at 07:00:00. Or, as the standard way as daily (all days 1 -7) 00:00:00 - 23:59:59 without gaps.
We are using the planning board to schedule production orders that were created in ECC, but we see that we have problems with date corelation between the systems, and we think it is due to some wrong setting of the time stream!
Thanks for your repliesHi,
For scheduling, the time stream of resource is relevent. As to how to generated the time stream, it depends on your resource capacity setting and your factory calendar. I'm not sure why your factory calendar starts at 7:00:00 daily. For the time steam of the resource, it should be ok to start at 7:00:00, and you mayexecute the time stream generation (ta. /sapapo/rest02) to save the time stream in LiveCache.
Claire -
Working days between two date fields and Changing Factory Calendar
Hi,
I have to calculate working days between two date fields excluding the weekends and public holidays for Switzerland.
I have written the routine using factory calender and its working fine except for two problems now:
1. If any one of the date field is empty then teh rsult should be zero.
2. And the below code is working from 1996 but my cleints wants it to work for years before 1996 as well.
I also tried to change the Start date in SCAL for factory calendar but it says enter values between 1995 to 2020.
I am new to ABAP. Please help me how i can achieve these for below code.
DATA: IT_HOLIDAYS type TABLE OF ISCAL_DAY,
IS_HOLIDAYS TYPE ISCAL_DAY.
DATA: T_DATE TYPE SY-DATUM,
P_DATE TYPE SY-DATUM.
DATA : X_DATE(4) TYPE C.
DATA: CNT TYPE I.
REFRESH : IT_HOLIDAYS.
CLEAR : IT_HOLIDAYS.
T_DATE = SOURCE_FIELDS-/BIC/ZCCCHP812.
P_DATE = SOURCE_FIELDS-/BIC/ZCCCHP810.
CALL FUNCTION 'HOLIDAY_GET'
EXPORTING
HOLIDAY_CALENDAR = 'CH'
FACTORY_CALENDAR = 'CH'
DATE_FROM = P_DATE
DATE_TO = T_DATE
TABLES
HOLIDAYS = IT_HOLIDAYS
EXCEPTIONS
FACTORY_CALENDAR_NOT_FOUND = 1
HOLIDAY_CALENDAR_NOT_FOUND = 2
DATE_HAS_INVALID_FORMAT = 3
DATE_INCONSISTENCY = 4
OTHERS = 5.
DESCRIBE TABLE IT_HOLIDAYS LINES CNT.
X_DATE = T_DATE - P_DATE - CNT.
RESULT = X_DATE.
Please help
Regards
Zabina
Edited by: Syed786 on Nov 2, 2011 9:15 AMHi Zabina,
Try this function module 'DURATION_DETERMINE'.
Give the factory calendar and unit as DAY
With regards,
Rajesh -
Working day to factory calendar date
Hello Experts,
I wish to get the factory calendar date, specific to a factory calendar, based on a working day.
Basically, if i pass say 4, then i want to get the date for the 4th working day based on a specific factory calendar.
Can someone throw some light on possible function module that i can use in BW ?
ThanksThat's what I was giving you, you give the working day and the factory calendar and you get the date, or you can use this function and you can do it the other way:
(Unless I'm completely missing your point here...)
CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
EXPORTING
CORRECT_OPTION = '+'
DATE = G_WORKAREA3-CREATEDON
FACTORY_CALENDAR_ID = L_S_PLANT-FACTCAL_ID
IMPORTING
* DATE =
FACTORYDATE = L_FCDATE
EXCEPTIONS
CALENDAR_BUFFER_NOT_LOADABLE = 1
CORRECT_OPTION_INVALID = 2
DATE_AFTER_RANGE = 3
DATE_BEFORE_RANGE = 4
DATE_INVALID = 5
FACTORY_CALENDAR_NOT_FOUND = 6
OTHERS = 7.
ENDIF. -
How to change colors for record working time calendar
Hi,
I would like to change the colors in the calendar displayed in record working time based on some conditions.
How do i do that is there any BADI associated with that
Thanks
Bala DuvvuriHi Bala ,
Yes its possible to change that .
You need to implement BADI for this ..
BADI name : "PT_ABS_REQ"
In the BADI "PT_ABS_REQ" interface "IF_EX_PT_ABS_REQ" you can find the method
"SET_CALENDAR_COLOR" in that you can set the colure for the Absent type ......
Adjust Colors of Calendar and Team Calendar
Functionality
You can use this method to change the colors in the team calendar.
In the standard system, the different statuses for requests have different colors. You can use this method to differentiate the colors of requests depending on the following aspects:
Status of requests (status)
Action that an employee has executed: new request, delete, change (UIA operation)
Subtype of absence (SUBTY)
Full-day or partial-day absence (BEGMT, where BEGMT = 0 signifies a full-day absence)
Application mode ( mode). You specify the application mode in the Select Employees for the Team Calendar IMG activity.
Color Display of Status of Leave Requests(COLORS_ACTIVE). You specify this status in the Specify How Leave Is Displayed and Default Values IMG activity.
Available Colors
You have a choice of 16 colors. The 16 colors are hard coded, that is, you cannot change them or add other ones.
The available colors are stored with their RGB value as constants of the CL_PT_REQ_CONST class. Use these constants if you want to change the colors.
Notes
If you change the colors in the team calendar, you should also adapt the legend accordingly. You can use the Adjust Legend for Calendar and Team Calendar method to do so.
Hope this work!!! -
How to get working Date based on factory Calendar and current date
Hi All,
I want to deletermine a date which is Invoice date + 3 working days excluding SAT, SUN and holidays. For e.g, if Invoice date is 18th Sept, 2009, then my desired date should 23rd Sept, 2009.
I do have factory calendar ID but i dont know the proper function module.
Can some one please help me...Hi,
check this code,
DATA:
w_date TYPE dats,
w_date1 LIKE scal-date, " dats
w_date2 LIKE scal-date,
i_factid LIKE tkevs-fcalid VALUE 'IN', " IN for India
it_dats TYPE TABLE OF rke_dat,
wa_dats LIKE LINE OF it_dats,
w_lines TYPE i.
CALL FUNCTION 'CALCULATE_DATE'
EXPORTING
days = '0'
months = '1'
start_date = sy-datum " for example '20090918'
IMPORTING
result_date = w_date. " 1 month added '20091018'
w_date1 = sy-datum.
w_date2 = w_date.
CALL FUNCTION 'RKE_SELECT_FACTDAYS_FOR_PERIOD'
EXPORTING
i_datab = w_date1
i_datbi = w_date2
i_factid = i_factid
TABLES
eth_dats = it_dats. " number of working days between two dates
READ TABLE it_dats INDEX 4 INTO wa_dats.
WRITE :
/ wa_dats-periodat. " new date '20090923'
Hope this will be helpfull...
Regards
Adil -
Changes to Factory Calendar Not reflected in work schedule
I have updated the exsisting factory calendar in PRD .
Yet the changes do not seem to have taken effect. I have tried to regernerate the work schedule. However I'am not sure I have done that properly.
Any assistance would be greatly appreciated.
Thank youHi.. you cant expect any change in the Factory calender affecting work schedules. If you want the work schedules to be updated with the holidays you need to be updating the holiday calender.
Factory calender is mainly for Plant Schedules, Bank transfers in finance , etc -
Factory Calendar to prevent delivery on a non-working day
Hi Guys,
You may have already come across this problem and hence requesting your inputs on the same.
I'm able to create a delivery for a sales order on a week-end even though they happen to be 'non-working days' in my Factory Calendar. I have gone through the search forum and the 2 things that most of them said was to attach the Factory Calendar (having Sat and Sun as non-working days) to the Plant and Shipping Point, which I have already done, inspite of which I'm able to create a delivery for a schedule line date which falls on a non-working day.
My business scenario requires that even though a Sales Order may be created on a non-working day, the delivery should only be possible on the next working day, even if stock is available on those non-working days.
Your thoughts/suggestions/ideas would be useful.
Regards,
ShripadHi Shripad,
In Customer Master, General Data , We have Unloading Points Option. There we can opt for the delivery to the cutomer.
Then we can stop delivery for that day.
Award points if it adds information.
Thanks
Mohan -
Pass working day to get factory calendar date
Hello Experts,
I wish to get the factory calendar date, specific to a factory calendar, based on a working day.
Basically, if i pass say 4, then i want to get the date for the 4th working day based on a specific factory calendar.
Can someone throw some light on possible function module that i can use?
ThanksI want to pass sy-datum to get factory date and then check if this factory date is the 4th busiess day for that month based on a specific calendar.
Or if i can pass in 4th bus day for a month (just pass 4) based on a specific factory calendar (just pass calendar id), then i would want the factory date, which i want to compare against sy-datum in my subsequent logic.
I am trying to trigger a data load stating if factory date for this month = 4th business day, then run load, else dont. And this in BW.
I dont have the FM that you mentioned above, in BW and is available only in R/3 -
Displaying Non-Work time for all resources via a Calendar?
I am looking for a way to display a calendar or a view of all resources that will show the planned vacation time for each resource based on the "non-work time" set in each resource calendar.
Hi,
As workaround solution, through P6 professional you can create a report with choosing
"Resources" as subject Area and selecting "Time Distributed Data" option and,
At "Time Intervals Field" you can select "Limit" to be distributed.
This will give you a tabular report showing resource limit over selected period with selected intervals.
Regards,
Marcos -
To get time differnce based on factory calendar
Dear All,
We have Creation date, time, End date and time. We need to find out the time difference based on factory calendar ..ie need to exculde weekends, holidays.
Is there any FM to get this? Please adivse procedure how to get.
Thanks
Konda ReddyTry Something like following
PARAMETERS : P_BEGDA TYPE BEGDA,
P_BTIME TYPE SYUZEIT,
P_ENDDA TYPE BEGDA,
P_ETIME TYPE SYUZEIT.
DATA LV_DURATION TYPE F.
CALL FUNCTION 'DURATION_DETERMINE'
EXPORTING
UNIT = 'H' "Hours
FACTORY_CALENDAR = 'GR'
IMPORTING
DURATION = LV_DURATION
CHANGING
START_DATE = P_BEGDA
START_TIME = P_BTIME
END_DATE = P_ENDDA
END_TIME = P_ETIME
EXCEPTIONS
FACTORY_CALENDAR_NOT_FOUND = 1
DATE_OUT_OF_CALENDAR_RANGE = 2
DATE_NOT_VALID = 3
UNIT_CONVERSION_ERROR = 4
SI_UNIT_MISSING = 5
PARAMETERS_NOT_VALID = 6
OTHERS = 7.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WRITE LV_DURATION. -
Can we display Approved Times as marked in Record Working Time Calendar
Hi All,
In the Calendar provided by Record Working Time iview,I could see the following three types of dates as marked
1)Rejected
2)Not Released
3)Excess Time Recorded
Similarly is it possible for us to mark the dates for which the OT is approved.
Can some thing be done at the backend with configuration to achieve the same.
We do not have NWDI to modify webdynpro code of the iview
Regards,
SanthoshThe reason behind this was
the descision to keep the interface simple: Highlighting should be used
for records (or days on the calendar) for which action might be required
by the user. No matter if a record is approved or still to be approved,
the next step in the workflow is not for the user to perform but for
the approver.
If a record has been rejected, action is required by the user and
therefore the record is highlighted. Currently, there are no plans to
change this.
This could be changed on a project-basis, of course. Such a change
would require action in Java as well as in ABAP, since we do not
transfer the status to the frontend except for the detail screen, which
is for one record only. What would have to be done?
1) Add a new semantic state "approved" to the DDic element used for
semantic states.
2) Set this semantic sate within the RFC-layer (using the method
"build_timesheet", IIRC).
3) Possibly do the same for the calendar as well.
4) Adopt the Java-side to take this new semantic state into account.
This would of course be a modification, so please understand that I
just wrote down a rough outline of the changes that would have to
be introduced. I didn't actually do an analysis or design for such
a modification but simply noted all the steps that I am aware of that
would have to be performed.
Please refer the help.sap.com for further information on this
or SPRO path. -
ESS - Record Working Time Error Display and Approved Time in Calendar doesn't update color
Hi Experts,
We are using EHP7/NWBC. On ESS under Record Working Time when an employee enter time, system error message displayed on screen. Even through the message appears, employee able to submit time and manager can approve it.
We would like to know, how to remove this error message. We tried through clearing error log but when employee logs back in, it again appears.
And also, when Manager approves time, for the approved data Calendar doesn't get updated and employee don't have details that manager approved or not.
Appreciate your response to resolve these two issues.
Error Message Screenshot:
Thanks,
Ashishhttp://scn.sap.com/thread/3346594 http://scn.sap.com/thread/2135503
Maybe you are looking for
-
Query on SAP Business One..
Hi Experts, I would like to know if we can set up SAP B1 on the client side project wise.This client is working in number of projects at the same time.. For each project this client wants to have all the information as well as access to it independ
-
There is a problem with Adobe Acrobat/Reader. If if is running, please exit and try again.(1:1) i get that message trying to open pdf file from internet website. new onset yesterday after no prior problems. reader works fine opening pdf from my har
-
When will textbooks be available in Canada using iBooks2?
After today's announcement I'm wondering when this feature will be available in canada? They didn't mention which countries the textbook feature would be supported in, and after a quick look Canada doesn't as of right now.
-
When I try to print in Photoshop E. 8 a message said "need to install a printer"
In prosho 8, when a try to print a mssage saids "need to install a printer
-
Does anyone know why when streaming a movie from my iMac the screen on my tele goes grey but I still get audio. It only happens when using the DVD application on the mac. iPhoto streams fine.