How to reproduce PA40 - List of Personnel Actions
Greetings experts.
I need to reproduce the list of Personnel Actions EXACTLY as they are displayed on the PA40 screen (same order, same items). I can see that these values are coming from table T529T but not all of them are showing and I'm not sure how the program is ordering them in the display.
I'm relatively new to SAP but I did try digging around in program SAPMP50A but for me it was trying to find a needle in a haystack.
Can anyone provide me with some advice on how to reproduce this, please?
Thanks!
Let me ask this another way.
I recorded a PA40 session to create a participant. The event selected on the client I recorded it on is 24 (24th item from the top of the "Personnel Actions" displayed). However, on the client the user is testing it's in a different position.
I'm on a very tight deadline and I don't have time to go back and re-work my code so I need to be able to somehow read the index (position) of the event I'm looking for so I can pass it to the BDC commands:
PERFORM bdc_field USING 'BDC_CURSOR' 'T529T-MNTXT(24)'.
PERFORM bdc_field USING 'BDC_OKCODE' '=PICK'.
If I could only access the list at runtime and somehow "query" it by doing a READ, etc., I could find the correct action and get it's position and replace the hard-coded "24" (from the SHDB recording) with the actual index.
Any thoughts?
Similar Messages
-
How to remove list of available actions in cs5
I installed actions in 2 places and now i have duplicates in the available action list (click the arrow to the right of the action tab to see the menu for add, remove, options etc and a list of all available actions and sets).
I removed the actions from
C:\Users\Hal\AppData\Roaming\Adobe\Adobe Photoshop CS5\Presets\Actions
and from
C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Presets\Actions
and yet i still have the huge list of available actions in duplicate.
How do I eliminate these?
Thanks
HalAh, my mistake. I didn't understand you fully.
I believe the actions that show up in that menu are in one of these folders:
Photoshop 64 bit:
C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Presets\Actions
Photoshop 32 bit on a 64 bit system:
C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Presets\Actions
Photoshop on a 32 bit system:
C:\Program Files\Adobe\Adobe Photoshop CS5\Presets\Actions
You would need to move/remove the .atn files from the above folder(s) to get them to stop appearing in that list.
-Noel -
Error in Personnel Actions (PA40)
Hi Mentors
I'm new to the forum and just started learning SAP HCM
Need your help in running Personnel Actions.
I have setup the Personnel Actions using the following nodes from SPRO:
1. User Group Dependency on Menus and Info Groups- Menu type G
2. Info group modifier - IGMOD feature
3. Define Infogroups
4. Set up Personnel Actions
5. Create Reasons for Personnel Actions
6. User Group Dependency on Menus and Info Groups- Menu type M
7. Change Action Menu
Also, I have setup Internal Number Ranges and maintained NUMKR feature.
ERROR:
When I run the Personnel Actions (PA40) the system is not assigning the personnel number in IT0000. After saving this infotype, it moves to 'Create Actions' screen. Here the status bar displays the error as u201CNo infotype found. Maintain infogroup modifier/ user groupu201D
Please guide.
Thanks
Balahi,
for your information
menu type M should be 1(Actions) or any thing that you have defined.
here you will give
UGR seq.no action type action text
xx 21 M1 Hiring
xx 22 M2 xxxx
xx 23 M3 xxxxx
xx 24 M4 xxxx
menu type G is Info group
menu type M is Personnel action menu
menu type G you will group the infotypes and make the infogroup. and this infogroup is inserted into menu type M(personnel actions menu)
what ever the user group you have used in menu type M it should be at parameters in T.code : SU3
and the MOLGA is country grouping. you have to input the MOLGA for which country you are doing this actions.
because country country the infotype screen are different.
hope this will help you,
regards,
mohammed -
How to customise Personnel actions in Vesion 3.1 I
Hello Experts,
I have to configure Personnel actions in version 3.1 but I could not find the node for the same .......Please help as it is urgent..
Thanks in advance
Rajeev ChhabraHopefully, this should help.
Even though it's vista specific, it should on windows 8 as well.
Effects panel
Install Actions in Photoshop Elements 7 on Vista
Action player
Install Actions in the PSE Action Player -
How to create secondary lists in ALV
Hi all,
Can u plz explain me how to create Secondary lists usingl ALV and how many secondary lists we can create.
Thanks in advance
Venkatthis is the very very simple program in HR module to demonstrate interactive ALV report.
If u have HR module implemented...just copy and paste this code and debug it...you will easily get the flow of the report...this is the simplest program..
i hope it helps...here u go......
REPORT ztej_alv_interactive.
TABLES: pa0000, pa0001.
DATA : BEGIN OF it0001 OCCURS 0,
pernr LIKE pa0001-pernr,
ename LIKE pa0001-ename,
END OF it0001.
DATA : BEGIN OF it0000 OCCURS 0,
pernr LIKE pa0000-pernr,
begda LIKE pa0000-begda,
endda LIKE pa0000-endda,
massn LIKE pa0000-massn,
massg LIKE pa0000-massg,
aedtm LIKE pa0000-aedtm,
END OF it0000.
TYPE-POOLS: slis.
DATA: v_repid LIKE sy-repid .
DATA: i_fieldcat TYPE slis_t_fieldcat_alv.
DATA: i_fieldcat1 TYPE slis_t_fieldcat_alv.
DATA: it_listheader TYPE slis_t_listheader.
DATA: it_listheader1 TYPE slis_t_listheader.
DATA: v_events TYPE slis_t_event,
wa_event TYPE slis_alv_event.
DATA: alv_layout TYPE slis_layout_alv.
DATA: i_title_0001 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED'.
DATA: i_title_0000 TYPE lvc_title.
DATA : temp_pernr LIKE pa0001-pernr.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS : s_pernr FOR pa0000-pernr DEFAULT '16240147'.
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
v_repid = sy-repid.
PERFORM build_fieldcatlog USING i_fieldcat.
PERFORM event_call.
PERFORM populate_event.
START-OF-SELECTION.
PERFORM data_retrieval.
PERFORM build_listheader USING it_listheader.
PERFORM display_alv_report.
*& Form BUILD_FIELDCATLOG
text
--> p1 text
<-- p2 text
FORM build_fieldcatlog USING temp_fieldcat TYPE slis_t_fieldcat_alv.
DATA : wa_temp_fieldcat TYPE slis_fieldcat_alv.
wa_temp_fieldcat-tabname = 'IT0001'.
wa_temp_fieldcat-fieldname = 'PERNR'.
wa_temp_fieldcat-seltext_m = 'Personnel Number'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
wa_temp_fieldcat-tabname = 'IT0001'.
wa_temp_fieldcat-fieldname = 'ENAME'.
wa_temp_fieldcat-seltext_m = 'Name'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
ENDFORM. " BUILD_FIELDCATLOG
*& Form EVENT_CALL
text
--> p1 text
<-- p2 text
FORM event_call.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = v_events
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " EVENT_CALL
*& Form POPULATE_EVENT
text
--> p1 text
<-- p2 text
FORM populate_event.
READ TABLE v_events INTO wa_event WITH KEY name = 'TOP_OF_PAGE'.
IF sy-subrc EQ 0.
wa_event-form = 'TOP_OF_PAGE'.
MODIFY v_events FROM wa_event TRANSPORTING form WHERE name =
wa_event-form.
ENDIF.
READ TABLE v_events INTO wa_event WITH KEY name = 'USER_COMMAND'.
IF sy-subrc EQ 0.
wa_event-form = 'USER_COMMAND'.
MODIFY v_events FROM wa_event TRANSPORTING form WHERE name =
wa_event-name.
ENDIF.
ENDFORM. " POPULATE_EVENT
*& Form DATA_RETRIEVAL
text
--> p1 text
<-- p2 text
FORM data_retrieval.
SELECT pernr ename
FROM pa0001
INTO TABLE it0001
WHERE pernr IN s_pernr.
DELETE ADJACENT DUPLICATES FROM it0001.
ENDFORM. " DATA_RETRIEVAL
*& Form BUILD_LISTHEADER
text
-->P_IT_LISTHEADER text
FORM build_listheader USING i_listheader TYPE slis_t_listheader.
DATA hline TYPE slis_listheader.
hline-info = 'This is Interactive ALV Program.'.
hline-typ = 'H'.
APPEND hline TO i_listheader.
ENDFORM. " BUILD_LISTHEADER
*& Form DISPLAY_ALV_REPORT
text
--> p1 text
<-- p2 text
FORM display_alv_report.
v_repid = sy-repid.
alv_layout-colwidth_optimize = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_grid_title = i_title_0001
I_GRID_SETTINGS =
is_layout = alv_layout
it_fieldcat = i_fieldcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
i_default = 'ZLAY1'
i_save = 'A'
is_variant = i_variant
it_events = v_events
TABLES
t_outtab = it0001
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH i_fieldcat.
CLEAR i_fieldcat.
REFRESH it_listheader.
CLEAR it_listheader.
ENDFORM. " DISPLAY_ALV_REPORT
*& Form TOP_OF_PAGE
text
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_listheader
i_logo =
I_END_OF_LIST_GRID =
ENDFORM. "TOP_OF_PAGE
*& Form USER_COMMAND
text
-->R_UCOMM text
-->, text
-->RS_SLEFIELDtext
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
REFRESH i_fieldcat1.
REFRESH it_listheader1.
CASE r_ucomm.
WHEN '&IC1'.
READ TABLE it0001 INDEX rs_selfield-tabindex.
IF sy-subrc = 0.
temp_pernr = it0001-pernr.
PERFORM build_fieldcatlog_0000 USING i_fieldcat1.
PERFORM event_call_0000.
PERFORM populate_event_0000.
PERFORM data_retrieval_0000.
PERFORM build_listheader_0000 USING it_listheader1.
PERFORM display_alv_0000.
ENDIF.
ENDCASE.
ENDFORM. "user_command
*& Form BUILD_FIELDCATLOG_0000
text
--> p1 text
<-- p2 text
FORM build_fieldcatlog_0000 USING temp_fieldcat TYPE slis_t_fieldcat_alv
DATA : wa_temp_fieldcat TYPE slis_fieldcat_alv.
wa_temp_fieldcat-tabname = 'IT0000'.
wa_temp_fieldcat-fieldname = 'BEGDA'.
wa_temp_fieldcat-seltext_m = 'From Date'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
wa_temp_fieldcat-tabname = 'IT0000'.
wa_temp_fieldcat-fieldname = 'ENDDA'.
wa_temp_fieldcat-seltext_m = 'To Date'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
wa_temp_fieldcat-tabname = 'IT0000'.
wa_temp_fieldcat-fieldname = 'MASSN'.
wa_temp_fieldcat-seltext_m = 'Action'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
wa_temp_fieldcat-tabname = 'IT0000'.
wa_temp_fieldcat-fieldname = 'MASSG'.
wa_temp_fieldcat-seltext_m = 'Reason'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
wa_temp_fieldcat-tabname = 'IT0000'.
wa_temp_fieldcat-fieldname = 'AEDTM'.
wa_temp_fieldcat-seltext_m = 'Action Run On'.
APPEND wa_temp_fieldcat TO temp_fieldcat.
CLEAR wa_temp_fieldcat.
ENDFORM. " BUILD_FIELDCATLOG
*& Form EVENT_CALL_0000
text
--> p1 text
<-- p2 text
FORM event_call_0000.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = v_events
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " EVENT_CALL_0000
*& Form POPULATE_EVENT_0000
text
--> p1 text
<-- p2 text
FORM populate_event_0000.
READ TABLE v_events INTO wa_event WITH KEY name = 'TOP_OF_PAGE'.
IF sy-subrc EQ 0.
wa_event-form = 'F_TOP_OF_PAGE'.
MODIFY v_events FROM wa_event TRANSPORTING form WHERE name =
wa_event-form.
ENDIF.
ENDFORM. " POPULATE_EVENT_0000
*& Form TOP_OF_PAGE
text
FORM f_top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_listheader1
i_logo =
I_END_OF_LIST_GRID =
ENDFORM. "TOP_OF_PAGE
*& Form USER_COMMAND
text
-->R_UCOMM text
-->, text
-->RS_SLEFIELDtext
*retreiving values from the database table ekko
FORM data_retrieval_0000.
SELECT pernr begda endda massn massg aedtm
FROM pa0000
INTO TABLE it0000
WHERE pernr = temp_pernr.
ENDFORM.
*& Form BUILD_LISTHEADER_0000
text
-->P_IT_LISTHEADER text
FORM build_listheader_0000 USING i_listheader1 TYPE slis_t_listheader.
DATA: hline1 TYPE slis_listheader.
hline1-typ = 'H'.
hline1-info = 'Actions Detail List'.
APPEND hline1 TO i_listheader1.
ENDFORM. " BUILD_LISTHEADER_0000
*& Form DISPLAY_ALV_0000
text
--> p1 text
<-- p2 text
FORM display_alv_0000.
CONCATENATE 'Actions For Personnel Number ' temp_pernr
INTO i_title_0000 SEPARATED BY ' '.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'F_USER_COMMAND'
i_callback_top_of_page = 'F_TOP_OF_PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
i_grid_title = i_title_0000
I_GRID_SETTINGS =
is_layout = alv_layout
it_fieldcat = i_fieldcat1[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT =
i_save = 'A'
IS_VARIANT =
it_events = v_events
TABLES
t_outtab = it0000
EXCEPTIONS
program_error = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " DISPLAY_ALV_0000
Regards,
Tejas -
How to Get a list of pending deferred tasks
Hi all
there is a bunch of unfinished threads here asking how to get a list/report of deferred tasks that are associated with user objects and scheduled for future execution.
I need this list and I can't find out how to get it anyway.
I don't care if it's a SJSIM report, a database query or a SJSIM log mining exercise.
Does anyone know how to do this?
My org has just gone live with SJSIM and I want to report on the number of legacy resource accounts that have had deferred tasks created against them for future disabling/deletion (our consultants added this workflow based on rules with an email warning, a disabling deferred task set for 2 weeks from now and a deleting deferred task for 6 months after that). Hopefully I can say "look, 5,000 legacy accounts are going to be cleaned up!
Thanks in advanceYou can do it with a custom workflow, something like this:
<Activity>
<Action id='0' class='com.waveset.session.WorkflowServices'>
<Argument name='op' value='queryObjectNames'/>
<Argument name='type' value='User'/>
<Argument name='attributes'>
<list>
<new class='com.waveset.object.AttributeCondition'>
<s>deferredTaskDate</s>
<s>isPresent</s>
</new>
</list>
</Argument>
<Action id='1' process='Check User'>
<Iterate for='currentUser' in='queryResult'/>
<Argument name='accountId' value='$(currentUser)'/>
</Action>
</Activity>And:
<WFProcess name='Check User'>
<Variable name='accountId' input='true'/>
<Activity id='0' name='start'>
<Transition to='Check User'/>
</Activity>
<Activity id='1' name='Check User' hidden='true'>
<Action id='1' name='Get User View' application='com.waveset.session.WorkflowServices'>
<Argument name='op' value='getView'/>
<Argument name='type' value='User'/>
<Argument name='id' value='$(accountId)'/>
<Argument name='authorized' value='true'/>
</Action>
<Transition to='Got One'>
<notnull>
<ref>view.accounts[Lighthouse].properties.tasks[Legacy Cleanup].date<ref>
</notnull>
</Transition>
<Transition to='end'/>
</Activity>
<Activity id='2 name='Got One'>
<ActionResult name='users' type='message' overwrite='false'>
<ref>accountId</ref>
</ActionResult>
</Action>
<Transition to='end'/>
</Activity>
</WFProcess>This just gives a rough idea of how it can be done. It might be best to bring your consultants back in to implement this.
Edited by: PaulHilchey on Feb 25, 2009 10:35 AM -
No infotype found in personnel action
hello,
i hv created one action in PA(personnel administration). I wanted that action has to come in pa40 screen. so i changed the uger group in the parameter coloumn. but while saving i saw an error message. it did not allow me to save. it was showing error in another coloumn. without checking wht is that coloumn i deleted the coloumn. After that acrion came in pa40. but after hiring a person it is showing no infotype is maintained. even if i go for the standard actin type it is saying no infotype is maintained and it coming out of the screen. i have checked all the configurations. every thing is fine. earlier with a standard action i hired a person, everything was fine then.
plz find me the solution soon.
thank you.
sudha.Dear Sudha
Check whether user groups are maintained properly.
Secondly, check whether you have created Infogroups and assigned the infotypes in Sequence.
Also check whether you have maintained Infogroup properly against the Personnel Actions.
Customizing Procedures
Actions
Set up personnel actions
Regards
Vikas -
How to control PNP LDB using personnel are alone
Hi all!
Any body can tell me, how control the pnp ldb using personnel area and employee group. bcaz in the standard selection screen it is given as
<u>selection.</u>
Pers.area/subarea/cost cente :
Employee group/subgroup
Thx,
palaniHi Palani,
Open the ABAP report in change mode
Select GOTO from Menu Bar
Choose ATTRIBUTES from dropdown list
New Window will pop-up
Click on button "HR REPORT CATEGORY"
New Popup will apeear
Report selects using:
Master data
YOU will find lots of "rep.class" to choose here...
Hope this will serve your requirement...
Best Regards,
Aslam Riaz -
HR personnel contract interface (Personnel action)
Hi,
We have an application and we want to connect this with SAP HR through an interface. The application will create contracts of new employees. The solution we have planned is create a batchinput and choose the infotypes we wanted through the infogroup of every Personnel Action we want to execute in PA40.
That's very difficult and we don't know if exists other possibilites.
Have you any idea about what we should do for implenting this? ¿There is an alternative to batch-input? ¿We should work throug infogroups?
Thank you a lot,
Best Regards,
AbelPlease Check Authorization and Also the Selection Parameters that you are entering esp. dates.
-
I have a few personnel actions like "Trainee Extension", "Probation Extension", where I should allow the user to change the training period or probation period. In which infotype should I store this data, so that I can include it in the corresponding personnel action?
Also, I have a personnel action called "Separation", where I should allow the user to choose an employee group like resigned, retired etc and also allow him to enter the date of separation. I know that the employee group can be changed in infortype 0001, but what about date of separation? Is it the "To" date in Action infotype screen?
-KalpanaHi,
In create reason for personal action under Hiring Action/ the action under which you want to see this reason there give Trainee Extension", "Probation Extension" and save.
Run pa40 with personal number and give the date on which the action is taking place and gohead.
And for seperation you have to run action in pa40 and has to give the date of seperation and save dont go to pa
30 and click on edit and change the date in IT 0001
Makesure any action shld be run through pa40
Vibin -
Hi Experts,
What is the relationship between MSS and Personnel Action (PA40)? Can a manager that have access to mss perform personnel action (eg Organizational Transfer) for his/her subordinate employees? ThanksYes as indicated above use processes and forms which are standard delivered and mimic the pa40
you can create your own forms just like actiions
http://help.sap.com/erp2005_ehp_04/helpdata/EN/2e/5a5d45d9f24fbdb06be2ff53651c3e/frameset.htm -
How do I create custom Photoshop/Illustrator actions in Automator?
Hi all,
I'm doing a video project with some fairly tedious processes involved on my files. I'd like to use Automator but I think I'm missing some key points on how to use it. Google has not yielded anything fruitful on the matter so I decided to bring this to the experts on this board.
Here is the process I'd like to automate. Keep in mind I know how to do each step in its given application, but have not been able to figure out how to plug these into Automator sequence:
- Use Quicktime to covert a movie file into an image sequence
- Take that image sequence and use Illustrator to covert each image in the sequence to vector
- Convert each .ai file produced into a jpeg using Photoshop
I need these steps done for over 100 movie files. My main problem is that Photoshop and Illustrator don't appear in my application list within Automator. Can I add these? If not, I'm not sure I understand how to write an action for either application. I even downloaded some third-party Photoshop scripts and added them but the application icon still does not appear within Automator.
I also tried "record" while doing all the steps manually, but Automator didn't seem to pick up anything I did (unlike the old versions of Apple Script Editor). Please help! Thanks a mil...
MikeFinicky is not the word for Watch Me Do... I feel like Apple's old record button in Script Editor worked better than this. Anyway, red_menace, thanks for the link - very helpful.
After lots of trial and error, I managed to get my Quicktime script to work. I did a Watch Me Do action, then from the list of those actions in the Watch Me Do step in Automator, I extracted individual actions by dragging them out below to the space for the next step, and a "Run Applescript" step appeared. I put something together with the idea that I could drag a desired movie file onto this Automator application and have it executed. This is what I have so far, in order of Automator steps:
1. Open Finder Items. Got this from a pre-installed action for Finder. I selected Quicktime 7 as the app to open. This assumes a movie file has been dragged onto the application file that Automator creates to open the file in Quicktime and kick off the script.
2. Run Applescript (extracted from the Watch Me Do recording). I adjusted the "delay" time to be long enough as I found having too short of a delay messed up the whole automation. This step is to tell Quicktime to bring up the Export dialogue (a simple Command-E button press). The script is as follows:
on run {input, parameters}
-- Press ⌘E
delay 3
set timeoutSeconds to 2.0
set uiScript to "keystroke \"e\" using command down"
my doWithTimeout(uiScript, timeoutSeconds)
return input
end run
on doWithTimeout(uiScript, timeoutSeconds)
set endDate to (current date) + timeoutSeconds
repeat
try
run script "tell application \"System Events\"
" & uiScript & "
end tell"
exit repeat
on error errorMessage
if ((current date) > endDate) then
error "Can not " & uiScript
end if
end try
end repeat
end doWithTimeout
3. Run Applescript (again, taken from the Watch Me Do recording). This one was a little trickier because for some reason Watch Me Do was recording my button press of the enter key as an empty set of commas (' '). I poked around online and found that the AppleScript equivalent for enter is "key code 36", so I replaced the blank space with that. I wonder if this is because I'm using a non-Apple keyboard... The script is as follows:
on run {input, parameters}
-- Type 'key code 36'
delay 2
set timeoutSeconds to 2.0
set uiScript to "keystroke \"
my doWithTimeout(uiScript, timeoutSeconds)
return input
end run
on doWithTimeout(uiScript, timeoutSeconds)
set endDate to (current date) + timeoutSeconds
repeat
try
run script "tell application \"System Events\"
" & uiScript & "
end tell"
exit repeat
on error errorMessage
if ((current date) > endDate) then
error "Can not " & uiScript
end if
end try
end repeat
end doWithTimeout
The above three steps work well for my movie file export from Quicktime, but what I'd REALLY like is to do is repeat these steps for every movie file in a given folder with one click. Any ideas on how I'd accomplish that?
I also tried to string in further actions for Illustrator but no luck - I kept getting errors in Illustrator. First, I got the error "The object "Play Action" is not currently available", and once I figured out how to get past that error (just extended the delay time), I got stuck on the error "Could not complete the Play command because the action is playing". In a nutshell, I'm trying to get Automator to open Illustrator and play an Illustrator Action. Again, open to any ideas. My Illustrator action is a simple one: Live Trace, then save file.
Thanks again for the help on this, folks. -
Hi to All
I have a requirment in Personnel Action Demotion how we can configure this one
1) Demotion - lower Designation with Same Salary
2) Demotion - Same Designation With Lower Salary
For this what are the infotypes are i supposed tomaintaine in infogroups
S.N.Infogroup Code Infogroup Text Sequence No Operation Type infotype infotype text sub tye sub type text
thanks in advance
Regards
RBS01 COP 0001 Organizational Assignment
03 COP 0007 Planned Working Time
04 COP 0008 Basic Pay
One way
You can include IT0007 if any changes happening in his working pattern
You can include or exclude IT0008 depends on change of basic pay is required or not
You can include or exclude IT0001 depends on changes in same designation or not
Second way
You include the all above in those two actions and only change only the necessary infotype you want -
Calling different lists in command action in j2me
I have created a midlet with multiple lists and after user select one list element he will be directed to another list.I want to call these lists in command actions using List.SELECT_COMMAND and list_one.getselectedIndex( ).It works for only first list and "done" is displayed on listScreen1 when the first index of listScreen1 is selected . As well as again "done " is displayed when the first index of ListScreen2 is selected.How Should i over come from here?I have used switch case also for this instead of If condition and same problem exists.Please help me.Thanx a lot.
if (c==List.SELECT_COMMAND )
if(listScreen1.getSelectedIndex()==0)
Display.getDisplay(parent).setCurrent(ListScreen2);
ListScreen2.addCommand(BACK);
ListScreen2.addCommand(OK);
ListScreen2.setCommandListener(this);
if(listScreen1.getSelectedIndex()==1)
Display.getDisplay(parent).setCurrent(ListScreen3);
ListScreen3.addCommand(BACK);
ListScreen3.addCommand(OK);
ListScreen3.setCommandListener(this);
if(listScreen1.getSelectedIndex()==2)
Display.getDisplay(parent).setCurrent(ListScreen4);
ListScreen4.addCommand(BACK);
ListScreen4.addCommand(OK);
ListScreen4.setCommandListener(this);
else
System.err.println("Unexpected choice...");
return;
if (c==List.SELECT_COMMAND )
if(ListScreen2.getSelectedIndex()==0)
ListScreen2.append("done", null);
}Hi,
there are more problems. I'd say that you will see many times displayed the "Unexpected choice..." message. But the main problem is you are testing all screens at the same time despite any application/screen status. You don't know where you are (on what screen) and you test multiple screens. So the done is always added to the screen 2 (because the condition is always true). Only if current screen is no.2 you just see added content.
So:
- add some more precise application screen/state logic
- manage the screens - you have existing instances of the screens but you multiple times add content and commands
- make corrent conditions
- use CODE tag during editing to enter the code, otherwise it's very bad readable.
Rada -
User Exit for Special Personnel Actions
Hello,
I would like to figure out a way to generate an email when HR does a termination action. Can you help?
Can this be done by enhancing the user exit - Please help with the steps!
Here's the - User Exit for Special Personnel Actions:
This step enables you to implement the following user exit for the Customer Enhancement for Special Personnel Actions:
EXIT_SAPLHRBAS00ACTIONS_001
Thanks!
PSYou need follow the below steps to activate the user exit.
1. Goto Transaction CMOD.
2. Create a new project or select an existing 'Z' project.
3. Click on the Enhacement tab on the application tool bar. Add "HRBAS001" as the enhancement.
4. Save it and click on the componet tab. You will see the exit EXIT_SAPLHRBAS00ACTIONS_001. Double click on this. It will take you the fuction module interface and you see the include zxhrbas00actionsu01 in it. You need to double click and add your custom code there.
5. Activate the code. Come back and active the enhancement and the project.You see the active button on the application tool bar.
Then this gets triggerd from PA40/PA30 and sends the notification as coded in the include program.
Maybe you are looking for
-
Unable to log into iMessage and intermittent issues with FaceTime
Late 2011 MacBook Pro, OS X 10.8.4. I'm an admin level Windows guy but a relatively new (and otherwise very pleased) convert to Mac OS. This morning Messages started repeatedly prompting me for my iMessage password and FaceTime has starting working
-
Problem with Time Machine back up
Hello all, Grateful for anyone's help with this issue. Firstly, a summary of specs: Mac OS X 10.7. Late 2007 Macbook 13inch External hard drive - LaCie 1TB D2 Quaddra Issue - When trying to back up my 2007 Macbook it fails! When I back up my 2011 Mac
-
Corrupted and can't be found on mycomputer or iTunes?!?
When connecting to iTunes it said my ipod has been corrupted? I have no idea what this means or why it happened. My PC does not recognize the ipod nor does iTunes. Is there anyone that can help?! Any input would be greatly appreciated. Thank you!
-
X-path expression in Receiver determination
Hi, I am working on JDBC to SOAP interface using BPM in PI7.0. I am trying to use the XPath function in creating a condition in my receiver determination to route messages to two different business systems. My issue is that i could not find the JDBC
-
Planning customer customer number is not assigned to Sales Organization
Dear Forum members, I get the above error in the Marketing planner. I have maintained the Sales organization in the Sales Area data for the Business Partner for which I get this error. How can I get rid of this error? Regards, Sowmiya