Time for conversion
How much time does it take after uploading the document to receive the converted document
Conversions can take anywhere from a few seconds to up to 10 or 15 minutes. It depends on the complexity of the file.
-David
Similar Messages
-
Function module for Time zone conversion.
Hi SDN,
Can any one tell is there any FM for conversion of time from GMT to CET or any other time zone
Regards,
RahulTry these function modules
STU3_ALERTS_CONV_LOCAL_2_UTC Converts local time to a given timezone
STU3_ALERTS_CONV_UTC_2_LOCAL Converts local time to a given timezone
TZ_LOCATION_TIMEZONE Time zones: Determine time zone for a location (land, region) -
How can I get Messages to show the correct time for read receipts?
Messages in Mountain Lion shows the wrong time for read receipts. For example, my iPad will show a message was read at 3:37 pm but if I open Messages on my MacBook, the read receipt shows the time that I opened the Messages app as opposed to the time the message was actually read. This is not too much of an issue if my iPad is handy, but really, shouldn't Messages on my MacBook be able to show the correct time the message was read? It syncs all the other infromation with Messages on iOs.
I should mention that if Messages is running on my MacBook when the recipient reads the message, then it does show the correct time the message was read. It's if Messages was not running and I re-launch it that the read receipt time gets mixed up.HI,
As far as I am aware Messages marks or time stamps an iMessage at the time of receipt rather then the time you got around to reading it.
I will admit that in most cases reading and receiving as the app opens will be near enough the same time in some conversations.
Adding Time Stamps to Chat is what iChat has always done particularly with AIM based Chats.
The "Sync" in Messages is "display on all devices" and after that each iMessages is dealth with separately on each device.
There is no syncing of deleting/dimssing an iMessages or having read it on another device.
8:58 PM Tuesday; April 16, 2013
iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad
"Limit the Logs to the Bits above Binary Images." No, Seriously
Message was edited by: Ralph Johns (UK) -
Best Practice for Conversion Workflow
Hello,
I'm converting video files from our "home grown" virtual media reserve to iTunes U. Some of the files are in RM format, some are already compressed .mov's (not H.264) and some I have the original DV files for.
Anyone out there have a best practice for converting these file types for posting to iTunes U? I have Final Cut Studio (Compressor), QT Pro and Squeeze available to me.
Any experience you have with this would be helpful.
Thanks,
JeanaFor converting old files to a podcast compatible video and based on the machine you have, consider elgato turbo.264. It is a fairly priced "co-processor" for video conversion. It is comprised of an application and a small USB device with a encoder chip in it. In my experience, it is the fastest way to create podcast video files. The amount of time that you will save will pay for the device quickly (about $100). Plus it does batch conversion of any video that your system currently plays through QuickTime. it has all the necessary presets and you can create your own. It has a few minor limitations such as not supporting (at this moment) enhanced podcasting features such as chapter markers and closed-captions but since you have old files for conversion, that won't matter.
For creating new content, the workflow varies a lot. Since you mention MP3s, I guess you are also interested in audio files. I would stick with GarageBand, especially if you are a beginner plus it supports enhanced podcasts.
In any case the most important goal is to have the simplest and fastest way to go from recording to publication. The less editing the better. To attain that, the best methods will require the largest investments. For example, for video production the best way is to produce the content live so when you finish recording it is only a matter of encoding and publishing. that will require the use of a video switcher that can ingest at least one video camera and a computer output to properly capture presentation material. That's the minimum. there are several devices that can do this for you. Some are disguised PCs and some connect to a PC for tapeless recording. You can check the Tricaster, which I like but wish it was a Mac and not a Windows Xp PC. Other routes may include video mixers from manufacturers like Edirol, Pansonic or Sony connected to a VTR or directly to a Mac for direct-ti-disc capture. I f you look at some of the content available in iTunes U, you will see what I explain here. This workflow requires preparation and sufficient live support but you will have your material ready for delivery almost immediately after the recorded event. No editing required. Finally, the most intensive workflow is to record everything separately and edit it later, which is extremely time consuming. -
User Logic for Conversion Type Instead of Hard coding in query.
Hello , Good response from SDN but thats all standard which I know. Please help me to resolve the problem as stated below. SDN friends are always best help.
Requirement: User will select the Target Currency; Will select the Exchange Rate like Monthly Avg 002M. Now there has to be a variable in Conversion which tells the logic to pick Conversion Type ZVHGR if Exchange Rate = 002M, but if Exchange Rate = 001, then Conversion Type ZVHMR.
<u><b>
Approach to solve abo</b></u>ve
1. I have created a Currency Translation Type " FiscperConversion" "ZVHGR" now this has Exchange Rate Type from Variable "ZVARN" (Which is a variable single value manual input on 0RTYPE Infoobject for exchange rate.)
2. Now Currency Tab: Target Currency is selected from Variable placed in the Report. ZRPVAR.
3. Now the Variable Time Reference is used. Standard Infoobject 0FISCPER
which is beginning of period.
Now all the above is done. Let go to the query and For Value of kEYFIGURE "Audit Balance" in Conversion Tab Conversion Type is specified is "FiscperConversion" ZVHGR"same as above and thats it. But the problem is here user want a variable that user can select the Conversion Type Instead of Hard coding.
<b>Please suggest how to create this variable for Conversion Type and specify in query designer since In Conversion Tab this is not allowed to have variable.</b>
Please help me very soon
Thanks
Soniya Kapoor
nullHello soniya
CTK ( currency translation key) includes
1. Exchange rate type - variable
2. Time base - Variable
3. Source abd TGT currency - variable
if all the things are given in variable why and what extra you need by selecting currency translation key from user input. I think you should ask business user again abt their requirement.
I can think of inputing CTK if say you have choosen time base as static ( Fix value)...say in one key u r using fiscal period as base and in other u r using calday as base...
Thanks
Tripple k -
How to Add attachments at the time of Conversion
Hi all ,
Is it possible to get the attachments at the time of conversion .
we want to attach a URL to the trancation at the time of data conversion .
Example:
if we are uploading the MM data and we want to have a URl as an attachment for every material can we add it at the time of conversion?
thanks
NavalUsing GOS ...
-
DST prob for conversion from US/Eastern- GMT but not from GMT- US/Eastern.
Hi folks,
I'm running the following SQL against a Oracle 10.2.0.1 g server using Oracle SqlDeveloper 1.5.3 & then again using SQLPlus 10.2.0.1.0.
I'm attempting to provide SQL that highlights the jump forward by one hour at 2am US/Eastern on 14th Mar 2010.
In order to do this I've converted times from GMT into US/Eastern using the oracle function from_tz and to_timestamp.
The following sql statements are suffixed with a 'correct' or 'incorrect' as to whether they correlate to what I would expect and indeed to the time returned from the World Clock website.
=======================
= Via Oracle SqlDeveloper 1.5.3
=======================
-- The first section of selects highlight the jump of 1 hour forward that occurs on the 14th of March 2010 by converting the GMT time to the corresponding US/Eastern time and the second block reverses the conversion.
select from_tz(to_timestamp('14-MAR-2010 0500' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 00:00:00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0600' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 01:00:00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0659' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 01:59:00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0700' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 03:00:00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0701' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 03:01:00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0800' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 04:00:00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0000' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 05:00:00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0100' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 06:00:00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0159' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 06:59:00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0200' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 07:00:00.000000000 US/EASTERN incorrect
select from_tz(to_timestamp('14-MAR-2010 0300' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 08:00:00.000000000 US/EASTERN incorrect
select from_tz(to_timestamp('14-MAR-2010 0301' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 08:01:00.000000000 US/EASTERN incorrect
select from_tz(to_timestamp('14-MAR-2010 0400' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 09:00:00.000000000 US/EASTERN incorrect
which is as I would expect. At 6:59am GMT the time in US/Eastern is 1:59 am, however, at 7:00am the time in US/Eastern is now 3:00am. This correlates to the times I get back when I perform the same calculations using the converter at the WorldClock.
http://www.timeanddate.com/worldclock/converter.html
However when I attempt to perform the same conversions except in reverse i.e. from US/Eastern to GMT I get different results.
-- everything is fine up until the actual time of the change over (2am US/Eastern). With the 2:00am time though I would expect Oracle or perhaps even the SqlDeveloper client to indicate either of the following :-
a) the time 14-MAR-10 02:00am US/Eastern is actually a non-existant time as per the WorldClock.
b) that it's defaulting the time 14-MAR-10 02:00am to 14-MAR-10 03:00am US/Eastern
instead the results proceeding the sql statements are output and for any time on/after 2am they are 1 hour behind their correct GMT times as per the world clock.
I understand that there is a patch for timezone's from 10.2.0.1 to 10.2.0.4 that should address this, however, the reason I'm posting this is because when I run the above SQL in sqlplus against the same server I get different results except this time both conversions are incorrect.
=======================
= Via SqlPlus 10.2.0.1.0
=======================
select from_tz(to_timestamp('14-MAR-2010 0500' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 00.00.00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0600' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 01.00.00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0659' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 01:59:00.000000000 US/EASTERN correct
select from_tz(to_timestamp('14-MAR-2010 0700' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 02.00.00.000000000 US/EASTERN incorrect
select from_tz(to_timestamp('14-MAR-2010 0701' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 03:01:00.000000000 US/EASTERN incorrect
select from_tz(to_timestamp('14-MAR-2010 0800' , 'DD-MON-YYYY HH24MI'), 'GMT') at time zone 'US/Eastern' from dual; -- returns 14-MAR-10 03.00.00.000000000 US/EASTERN incorrect
select from_tz(to_timestamp('13-MAR-2010 2300' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 04.00.00.000000000 GMT correct
select from_tz(to_timestamp('14-MAR-2010 0000' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 05.00.00.000000000 GMT correct
select from_tz(to_timestamp('14-MAR-2010 0100' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 06.00.00.000000000 GMT correct
select from_tz(to_timestamp('14-MAR-2010 0159' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 06.00.00.000000000 GMT correct
select from_tz(to_timestamp('14-MAR-2010 0200' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 07.00.00.000000000 GMT incorrect
select from_tz(to_timestamp('14-MAR-2010 0300' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 08.00.00.000000000 GMT incorrect
select from_tz(to_timestamp('14-MAR-2010 0301' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 08.01.00.000000000 GMT incorrect
select from_tz(to_timestamp('14-MAR-2010 0400' , 'DD-MON-YYYY HH24MI'), 'US/Eastern') at time zone 'GMT' from dual; -- returns 14-MAR-10 09.00.00.000000000 GMT incorrect
so it's as if the Oracle Client SqlDeveloper somehow intervenes as the results come back from the server an adjusts it for the first set of conversions but not the second.
Basically it looks like I need the patch for the timezones for 10.2.0.1 but what about the Clients? Is there patches I then need for them? Would the SqlPlus client that ships with 10.2.0.4 return the correct results or once the patch is applied to the server.
Has anyone else encountered this problem and if so would they be able to point me in the direction of a resource describing and resolving it?
Thanks,
Mark.Hey Robert,
Yes indeed we are paying for Oracle support? As far as I know I logged in through metalink in an effort to investigate this problem.
Our DBA upgraded from 10.2.0.4 to 10.2.0.1 and all the inconsistency went away thankfully.
Thanks for taking the time to reply to me,
Mark. -
Apple TV - Software for Conversions to .m4v format
I've been using MPEG Streamclip to do conversions from .vob, .avi, etc to m4v format. It seems to take an unusually long time (for a 2 hour film it takes 8-10 hours) and lately when it finally gets to the end, a message comes up that "Can't export movie" with no details given. My 1TB destination drive has plenty of space available.
I'm wondering if there's a better product out there even if it costs a bit of $$ ?
I do need the ability to convert to 1020 x 780p for my Plasma HD Set (for full screen) ...
BTW, I'm on an iMac 2 GHz Intel Core Duo with 2GB memory (the max) sunning OS X 10.4.11I'm not sure but I don't believe the turbo h264 does 720p conversions.
You are certainly right; the webpage says:
Apple TV Video: Video: H.264 Main Profile, 5 Mbps max., 800x600 max., 30 fps max. Audio: AAC-LC, stereo, 128 Kbps, 48 kHz. (Note: If the source movie is larger than 800x600 it will be scaled to fit within 800x600 preserving aspect ratio. Resolution is maintained if 800x600 or smaller. Frame rate is maintained when 30 fps and smaller.)
Also if your source video isn't 720p, you are wasting a lot of time and HD space converting to 720p, you cannot create quality from nowhere.
I'm always amazed at the number of people who seem to think you can. -
Enqueueing a video for conversion to iPod format
Hello,
when I select a video (AVI/DivX) already imported successfully (as QuickTime reference movie) into iTunes, I can select it for conversion for iPod/iPhone without problems and that works completely fine.
When I want to select a second movie for conversion while one is already converting, I can't - the option isn't available. Selecting multiple movies in the first place is possible, though. This is quite a bit annoying.
How would I let Apple know about this problem, so they can fix it in one of the upcoming iTunes versions?
AndreasIt isn't really a bug. Just the way it works. You can select one or more videos to be converted, then you can start the conversion. Once a conversion is started, you must wait until it is done to start a new conversion. Even if you only pick one to begin with, you can only have one "process" working at a time, regardless of the number of items the process works on.
As someone else already suggested, you can always try third party converts instead, many of which give you a lot more control of settings used to convert/compress as well.
Patrick -
HT1577 Why am I experiencing long download times for an HD movie rental from itunes?
I have been experiencing long download times for movie rentals from itunes (this time 11 hours). I have even tried to use ethernet, turn off simultaneous downloads, and shut down my browser, to speed up the time but that didn't help. My internet download speed is about 7mbps. Any suggestions?
iTunes: Purchasing and viewing HD videos
When you purchase an HD video on a supported device or computer, only HD video will be downloaded. To download the SD version, you need to download the video again from your Purchased page. Conversely, if you purchase an HD video on an unsupported device, the SD version will be downloaded. Then, you will need to download the HD version from your Purchased page. Learn more about downloading previous purchases." -
Do I need to keep my external hard drive connected at all times for time capsule?
Do I need to keep my external hard drive connected at all times for time capsule?
Hi,
I have a similar question. I have backed up my external hard drive through my computer, onto my TC. When I go into TM, it doesn't show the external hard drive unless it is connected to the computer. Can I access the info from the external hard drive that is on the TC if I don't have the hard drive plugged in? If so, how can I do that?
Thanks,
Bernadette -
How to get users' login logout time for user IDs for a specific date?
Dear All,
There is a case I being requested to retrieve the Userid, User Name,
User Group, User Dept, Date, Login Time, Logout Time in a specific date, for example, 21.05.2009.
How should I retrieve the information? The user want to input specific date and user group then return the details that mentioned above.
I try with SUIM->Users->By Logon Date and Password Change... but I can't specific the date that I want ...
I try with SM19 (Security Audit Log), but unfortunately in my system this is not activated.
I've seek for SAP's advise, and they say need to ask abaper to developr a report in order to get such details....
Do you guys have any other methods?
Do you guys know which tables will contain the details as mentioned above?
Best Regards,
KenUnfortunately without the audit log, you're going have a hard time finding this information. As mentioned, ST03N will give you some information. If your systems daily workload aggregation goes back to the date you require then you'll be able to get a list of all users who logged on that day. ST03N doesn't keep time stamps just response times.
My only idea is VERY labor intensive. If your DB admin can retrieve a save of the database from that day then table USR02 will hold a little more information for you. It will contain last login times for that day. If your system backup policy happened to have saved the contents of folder "/usr/sap/<SID>/<instance>/data" then you potentially have access to all the data you require. The stat file will have recorded every transaction that took place during that day. If that file is restored you could use program RSSTAT20 to query against it.
Good luck and turn on the audit log as it makes your life much easier! -
I updated my iphone and when it came time for activation it won't work and keeps telling me to try again. At the top it says "No Service" and I have my SIM card in and a good WiFi connection and have connected it through iTunes but it says I have no SIM card and need to disconnect and insert my SIM. I don't understand why this keeps happening and it's been going on for a wile now. I have tried over and over again to get this iPhone to work but nothig is happening. I've even gone on the website for support (apple.com/support) but cannot find anything that will help me with this situation. Can someone please help me find a solution to this problem? I have been without a phone and do not have money to buy another one and it is crucial for me to get it fixed. Thanks.
wesb
What computer operating system is involved in the Premiere Elements 11 and 13 issues? Same computer or different ones? Are you installing from purchased download installation files or from purchased installation disc? Does Premiere Elements 11 work completely on this computer whereas 13 will not?
Let us go through the typical drill so as to take nothing for granted.
1. Does the problem exist with or without the antivirus and firewall(s) disabled? Are you working with an individual home computer or in a
school or company network?
2. Are you running the program as Administrator and is there any "domain" account involved?
3. Is your video card/graphics card up to date according to the web site of the manufacturer of the card?
4. Do you have the latest version of QuickTime installed on the computer with Premiere Elements?
Let us start by ruling in or out any of the above, and then we can decide what next.
Any questions or need clarification, please do not hesitate to ask.
Thank you.
ATR -
Generic extractor FM : taking 5-6 hours time for 3 months to BW urgent:
Dear experts,
I have designed a FM for generic extraction , which is taking 5-6 hoours time for 3 months data i.e 24 lakhs records to BW up to PSA .
i have given the coding below plz provide any modifications to improve the performance.....
FUNCTION zhr_att_analysis.
""Local Interface:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_REMOTE_CALL) TYPE SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
*" TABLES
*" I_T_SELECT TYPE SBIWA_T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SBIWA_T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE ZHR_ATT_MAIN OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
Auxiliary Selection criteria structure
DATA: l_s_select TYPE sbiwa_s_select.
Maximum number of lines for DB table
STATICS: l_maxsize TYPE sbiwa_s_interface-maxsize.
Select ranges
RANGES: l_r_pernr FOR pa9004-pernr,
l_r_bukrs FOR pa0001-bukrs,
l_r_persg FOR pa0001-persg,
l_r_begda FOR pa9004-begda,
l_r_persk FOR pa0001-persk.
Maximum number of lines for DB table
STATICS: s_s_if TYPE srsc_s_if_simple,
counter
s_counter_datapakid LIKE sy-tabix,
cursor
s_cursor TYPE cursor.
*"Declaration of store data
TYPES : BEGIN OF ty_9004,
pernr TYPE persno,
endda TYPE endda,
begda TYPE begda,
zrs TYPE zrs,
zstorecode TYPE zstorecode,
END OF ty_9004.
*"Declaration of employee data
TYPES : BEGIN OF ty_0001,
pernr TYPE pernr_d,
endda TYPE endda,
begda TYPE begda,
AEDTM TYPE AEDAT,
bukrs TYPE bukrs,
persg TYPE persg,
persk TYPE persk,
END OF ty_0001.
*"Declaration of expected mandays
TYPES : BEGIN OF ty_0000,
pernr TYPE persno,
endda TYPE endda,
begda TYPE begda,
aedtm TYPE aedat,
stat2 TYPE stat2,
massn TYPE massn,
END OF ty_0000.
*"Declaration of man days swiped
TYPES : BEGIN OF ty_teven,
pernr TYPE pernr_d,
ldate TYPE ldate,
satza TYPE retyp,
aedtm TYPE aedat,
counter_swiped TYPE i,
END OF ty_teven.
*"Declaration of Man days regularized
TYPES : BEGIN OF ty_2002,
pernr TYPE pernr_d,
subty TYPE subty,
endda TYPE endda,
begda TYPE begda,
aedtm TYPE aedat,
END OF ty_2002.
*"Declaration of Man days lostdue to leave
TYPES : BEGIN OF ty_2001,
pernr TYPE pernr_d,
subty TYPE subty,
endda TYPE endda,
begda TYPE begda,
aedtm TYPE aedat,
END OF ty_2001.
*****Declaration of weekly off
TYPES : BEGIN OF ty_2003,
pernr TYPE pernr_d,
subty TYPE subty,
endda TYPE endda,
begda TYPE begda,
aedtm TYPE aedat,
tprog TYPE tprog,
END OF ty_2003.
Auxiliary Selection criteria structure
DATA :
it_0001 TYPE TABLE OF ty_0001,
wa_0001 TYPE ty_0001,
it_0000 TYPE TABLE OF ty_0000,
wa_0000 TYPE ty_0000,
it_teven TYPE TABLE OF ty_teven,
wa_teven TYPE ty_teven,
it_2002 TYPE TABLE OF ty_2002 ,
wa_2002 TYPE ty_2002,
it_2001 TYPE TABLE OF ty_2001,
wa_2001 TYPE ty_2001,
it_2003 TYPE TABLE OF ty_2003,
wa_2003 TYPE ty_2003,
wa_target TYPE zhr_att_main.
DATA : date TYPE dats,
doj TYPE dats,
dol TYPE dats,
date1 TYPE dats,
date2 TYPE dats,
counter(9) TYPE n.
Initialization mode (first call by SAPI) or data transfer mode
(following calls) ?
IF i_initflag = sbiwa_c_flag_on.
Initialization: check input parameters
buffer input parameters
prepare data selection
Check DataSource validity
CASE i_dsource.
WHEN 'ZHR_ATT_ANALYSIS'.
WHEN OTHERS.
IF 1 = 2. MESSAGE e009(r3). ENDIF.
log_write 'E' "message type
'R3' "message class
'009' "message number
i_dsource "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDCASE.
APPEND LINES OF i_t_select TO s_s_if-t_select.
Fill parameter buffer for data extraction calls
s_s_if-requnr = i_requnr.
s_s_if-dsource = i_dsource.
s_s_if-maxsize = i_maxsize.
Fill field list table for an optimized select statement
(in case that there is no 1:1 relation between InfoSource fields
and database table fields this may be far from beeing trivial)
APPEND LINES OF i_t_fields TO s_s_if-t_fields.
ELSE. "Initialization mode or data extraction ?
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
First data package -> OPEN CURSOR
IF s_counter_datapakid = 0.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'PERNR'.
MOVE-CORRESPONDING l_s_select TO l_r_pernr.
APPEND l_r_pernr.
ENDLOOP.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'BUKRS'.
MOVE-CORRESPONDING l_s_select TO l_r_bukrs.
APPEND l_r_bukrs.
ENDLOOP.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'PERSG'.
MOVE-CORRESPONDING l_s_select TO l_r_persg.
APPEND l_r_persg.
ENDLOOP.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'BEGDA'.
MOVE-CORRESPONDING l_s_select TO l_r_begda.
APPEND l_r_begda.
ENDLOOP.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'PERSK'.
MOVE-CORRESPONDING l_s_select TO l_r_persk.
APPEND l_r_persk.
ENDLOOP.
OPEN CURSOR WITH HOLD s_cursor FOR
populate only store code employess does not have empty store codes
SELECT apernr bpernr bendda bbegda bbukrs bpersg b~persk FROM pa9004 AS a INNER JOIN pa0001 AS b
ON apernr = bpernr
WHERE a~pernr IN l_r_pernr AND
a~zstorecode <> '' AND
bukrs IN l_r_bukrs AND
persg IN l_r_persg AND
persk IN l_r_persk.
ENDIF.
Fetch records into interface table.
named E_T_'Name of extract structure'.
FETCH NEXT CURSOR s_cursor
APPENDING CORRESPONDING FIELDS
OF TABLE it_0001
PACKAGE SIZE s_s_if-maxsize.
IF sy-subrc <> 0.
CLOSE CURSOR s_cursor.
RAISE no_more_data.
ELSE.
break-point.
IF l_r_begda-high = '00000000' AND l_r_begda-low = '00000000'.
date1 = sy-datum - 1.
date2 = sy-datum - 1.
ELSE.
date1 = l_r_begda-low .
date2 = l_r_begda-high.
ENDIF.
SORT it_0001 BY pernr persg begda endda bukrs.
DELETE it_0001 WHERE persg NE 'T' AND
persg NE 'K' AND
persg NE 'P' AND
persg NE 'W'.
DELETE ADJACENT DUPLICATES FROM it_0001 COMPARING pernr begda endda bukrs.
populate all the employees that are active in pa9004.
IF NOT it_0001[] IS INITIAL.
SELECT pernr endda begda aedtm massn FROM pa0000
INTO CORRESPONDING FIELDS OF TABLE it_0000
FOR ALL ENTRIES IN it_0001
WHERE pernr = it_0001-pernr
AND ( massn = 'A1' OR massn = '00' OR massn = 'A6' OR massn = 'A3' ).
SORT it_0000 BY pernr begda DESCENDING.
ENDIF.
populate SWIPED MAN DAYS data
IF NOT it_0001[] IS INITIAL.
SELECT pernr ldate satza aedtm FROM teven
INTO CORRESPONDING FIELDS OF TABLE it_teven
FOR ALL ENTRIES IN it_0001
WHERE pernr = it_0001-pernr AND
satza = 'P01'
AND ldate IN l_r_begda.
SORT it_teven BY pernr ldate.
ENDIF.
**populate REGULARIZATION DAYS data
IF NOT it_0001[] IS INITIAL.
SELECT pernr subty endda begda aedtm FROM pa2002
INTO CORRESPONDING FIELDS OF TABLE it_2002
FOR ALL ENTRIES IN it_0001
WHERE pernr = it_0001-pernr
AND begda >= date1
AND endda <= date2 .
SORT it_2002 BY pernr begda endda.
ENDIF.
**populate LEAVE DAYS data
IF NOT it_0001[] IS INITIAL.
SELECT pernr subty endda begda aedtm FROM pa2001
INTO CORRESPONDING FIELDS OF TABLE it_2001
FOR ALL ENTRIES IN it_0001
WHERE pernr = it_0001-pernr
AND begda >= date1
AND endda <= date2 .
SORT it_2001 BY pernr begda endda .
ENDIF.
**populate WEEKLY OFF data
IF NOT it_0001[] IS INITIAL.
SELECT pernr subty endda begda aedtm tprog FROM pa2003
INTO CORRESPONDING FIELDS OF TABLE it_2003
FOR ALL ENTRIES IN it_0001
WHERE pernr = it_0001-pernr AND
tprog = 'OFF'
AND begda >= date1
AND endda <= date2 .
SORT it_2003 BY pernr begda endda.
ENDIF.
date = sy-datum.
********added changes on 06.04.2008**************action type & date dependent extaction****
loop over it_0001 table
BREAK-POINT.
LOOP AT it_0001 INTO wa_0001.
if sy-tabix = 1.
counter = 0.
for expected mandays
LOOP AT it_0000 INTO wa_0000 WHERE pernr = wa_0001-pernr .
IF wa_0000-massn = 'A1' OR wa_0000-massn = '00' OR wa_0000-massn = 'A3'.
doj = wa_0000-begda.
if wa_0000-endda = '99991231'.
date2 = sy-datum.
else.
dol = date2.
endif.
ELSEIF wa_0000-massn = 'A6'.
dol = wa_0000-begda.
ENDIF.
ENDLOOP.
IF date1 <= wa_0001-begda AND date2 <= wa_0001-endda AND date2 >= wa_0001-begda AND date1 <= wa_0001-endda.
counter = date2 - wa_0001-begda .
counter = counter + 1.
date = wa_0001-begda - 1.
ELSEIF date1 >= wa_0001-begda AND date2 >= wa_0001-endda AND date2 >= wa_0001-begda AND date1 <= wa_0001-endda.
counter = wa_0001-endda - date1.
counter = counter + 1.
date = date1 - 1.
ELSEIF date1 >= wa_0001-begda AND date2 <= wa_0001-endda AND date2 >= wa_0001-begda AND date1 <= wa_0001-endda.
counter = date2 - date1.
counter = counter + 1.
date = date1 - 1.
ELSEIF date1 <= wa_0001-begda AND date2 >= wa_0001-endda AND date2 >= wa_0001-begda AND date1 <= wa_0001-endda.
counter = wa_0001-endda - wa_0001-begda.
counter = counter + 1.
date = wa_0001-begda - 1.
ELSE.
CONTINUE.
ENDIF.
********completed changes on 06.04.2008**************action type & date dependent extaction**
split records from date of joining to till date
DO counter TIMES.
CLEAR : wa_teven , wa_target.
date = date + 1.
wa_target-date1 = date.
wa_target-pernr = wa_0001-pernr.
wa_target-bukrs = wa_0001-bukrs.
wa_target-persg = wa_0001-persg.
wa_target-persk = wa_0001-persk.
for expected mandays count
IF wa_target-date1 >= doj AND wa_target-date1 <= dol.
wa_target-expectedmandays = 1.
wa_target-aedtm = wa_0000-aedtm.
for swiped mandays
READ TABLE it_teven INTO wa_teven WITH KEY pernr = wa_target-pernr
ldate = wa_target-date1 BINARY SEARCH.
IF sy-subrc = 0.
wa_target-swiped_days = 1.
wa_target-aedtm = wa_teven-aedtm.
ENDIF.
for regularized days
LOOP AT it_2002 INTO wa_2002 WHERE pernr = wa_target-pernr
AND ( endda GE wa_target-date1 AND begda LE wa_target-date1 ).
wa_target-reg_days = 1.
wa_target-subty2 = wa_2002-subty.
wa_target-aedtm = wa_2002-aedtm.
ENDLOOP.
for leave days
LOOP AT it_2001 INTO wa_2001 WHERE pernr = wa_target-pernr
AND ( endda GE wa_target-date1 AND begda LE wa_target-date1 ).
wa_target-leave_days = 1.
wa_target-subty1 = wa_2001-subty.
wa_target-aedtm = wa_2001-aedtm.
ENDLOOP.
for weekly off days
LOOP AT it_2003 INTO wa_2003 WHERE pernr = wa_target-pernr
AND ( endda GE wa_target-date1 AND begda LE wa_target-date1 ).
wa_target-off_days = 1.
wa_target-aedtm = wa_2003-aedtm.
ENDLOOP.
append work area to e_t_data
APPEND wa_target TO e_t_data.
ENDIF.
ENDDO.
ENDLOOP.
clear internal tables
CLEAR : it_0000 , it_0001 , it_2001 , it_2002 , it_2003 , it_teven.
ENDIF.
s_counter_datapakid = s_counter_datapakid + 1.
ENDIF. "Initialization mode or data extraction ?
ENDFUNCTION.Hi Guys
I can have both your cases looked into for you.
Please send me an email using the contact us form in my profile. The address for this form in the section 'about me'.
Thanks
Stuart
BTCare Community Mod
If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-) -
Longer time for Material Availability check while creation of prd order.
Hi guys,
I am facing a weird problem while creating production orders thru CO01.
I enter the component and plant and I am also using the forward scheduling option.
for some reason, SAP is taking a long time for material availability check when I hit the release button.
Sometimes its taking more than an hour. Its happening with few specific BOM's, and I have checked the master data but I could hardly find a problem in master data.
Can someone suggest me some tips ??
Thanks & Regards,
SashivardhanHi,
Please check the Availability check control maintained for Components it should be 01 or 02. Also check the issue storage location maintained or not. You can maintain issue storage location in BOM in Status/lng text tab in Production Storage Location.
Hope this will help.
Regards,
Navin
Maybe you are looking for
-
Trouble with text messages going to the wrong person
I have four family members all on the same Apple ID account. Text messages are going to the wrong people when sent among family members. Text A going to B ends going to C. Not sure what the problem is. Any help would be greatly appreciated.
-
When I want to open Notes on my macbook air, 1 second later the program stoppes and I get the following message: Application Specific Information: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Got more tha
-
Does anyone know what the issue is and how to fix it?
-
Can't sync after installing vista
My PC was recently crippled by some serious viruses and i was forced to completely reinstall windows. As i thought i was resigned to losing most of my saved items i decided that this was a good oppertunity to try out vista. However, later when i had
-
Change in MRP planning control parameters.
Hi gurus, i have an issue regarding the control parameters for MRP. Presently while planning run i am getting some purchase requisitions and some planned orders for externally procured items with create purchase requisition =2( pur req in opening per