PA40 Actions display
Hi Experts,
I have configured actions according to requirement. When I am watching PA40 with my userid I am able to see all the configured actions but when seen with another id those actions are not seen in PA40 screen. Pls help.
Regards,
Tomesh
Hi,
You must have configured actions as user-group dependent. While the user group parameter is set for ur userid it is not set for the other userid.
Use transaction SU3 and set parameter UGR for the other userid.
Hope this helps,
Amit
Similar Messages
-
Text not getting displayed in PA40 action.
Hello All,
We upgraded from 4.6 to 5.0. When I doing the hiring or any other action, the text for the action type, reason for action or any other field is not getting displayed. Even when I select the entries the text for that is not getting displayed.
like its displaying only 01- for Action type hiring.
Thank You all in advance for your reponse!
Chakri.Hello Sharath,
I checked this and this table is having all the values properly maintained. Language, Action, Name of the action is maintained. Is there any place where we need to activate this in order for us to see the name of the action type also when we select an action in PA40.
Thanks a lot for your response.
Chakri. -
How to retrieve the action type of a PA40 action?
Hi there,
I am trying to find out the way to identify what was the action type for the personnel action that is just being executed. I will try to explain myself with a concrete example.
Let's take the hiring action.
A user goes to PA40 and initiates the action to hire a new employee. The program will then start guiding the user through the different infotypes defined within the infogroup.
Let's say that the order is IT0001, IT0002, IT0006, ...
I have setup table T779X to call a Function Module of my own after inserting IT0006. At that point in time I can know that the IT has been modified through transaction PA40 (sy-tcode) but, how can I know what action is being executed?
ThanksJim,
Actions can always be found afterwards in IT000 indeed
My problem is that I need to know what action type was initiated in REAL TIME. When I am debugging the batch for IT0006, after the user initiated an action through PA40
Thanks for the answer anyway -
Action - Display smartform in PDF format
Hi All,
I have a requirement whereby on triggering of a print form action in crmd_order, the smartform should be displayed in PDF format and from there, user should be able to choose whether to save or to print the form. How can this be done?
Thanks!
CadyHi,
Here's the solutions.
1 .Show the PDF as pop-up upon trigger, very much the same how PDF attachment always pops up in the internet explorer. But this pops up in GUI.
Call the smartform FM with the GETOTF checked,
control_parameters-GETOTF = 'X'.
control_parameter-no_dialog = 'X'.
control_parameter-langu = <ur language>.
output_options-tddest = 'LOCL'.
output_option-tdimmed = 'X'.
output_option-tddelete = 'X'.
i_otf = job_output_info-OTFDATA.
CALL FUNCTION 'SSFCOMP_PDF_PREVIEW'
EXPORTING
i_otf = i_otf
EXCEPTIONS
CONVERT_OTF_TO_PDF_ERROR
CNTL_ERROR
OTHERS
2. Triggering action in ICWC and PDF pops up in new window.
Call function 'SSF_GET_DEVICE_TYPE'
EXPORTING
i_language = sy-langu
IMPORTING
e_devtype = devtype
EXCEPTIONS
no_language
language_not_installed
no_devtype_found
system_error
others
control_parameters-langu = sy-langu.
control_parameters-no_dialog = 'X'.
control_parameters-getotf = 'X'.
CALL FUNCTION '<your_form_FM>'
EXPORTING
CONTROL_PARAMETERS = control_parameters
OUTPUT_OPTIONS = output_options
IMPORTING
JOB_OUTPUT_INFO = output_data
TABLES
orderadm_h = <your tables>
EXCEPTIONS
FORMATTING_ERROR
INTERNAL_ERROR
SEND_ERROR
USER_CANCELED
OTHERS
call function 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = l_pdf_len
bin_file = l_pdf_xstring
TABLES
OTF = OUTPUT_DATA-OTFDATA
LINES = LT_LINES
EXCEPTIONS
err_max_linewidth
err_format
err_conv_not_possible
err_bad_otf
others
CREATE OBJECT cached_response TYPE CL_HTTP_RESPONSE EXPORTING add_c_msg = 1.
l_pdf_len = xstrlen( l_pdf_xstring ).
cached_response->set_data( data = l_pdf_xstring
length = l_pdf_len ).
cached_response->set_header_field( name = if_http_header_fields=>content_type
value = 'application/pdf' ).
cached_response->set_status( code = 200 reason = 'OK' ).
cached_response->server_cache_expire_rel( expires_rel = 180 ).
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_32 = guid.
CONCATENATE runtime->application_url '/' guid '.pdf' INTO display_url.
cl_http_server=>server_cache_upload( url = display_url
response = cached_response ).
url = display_url.
RETURN.
Declare display_url as an attribute in the implementation class as well as page attribute.
Push the display_url value to page attribute using the SET_MODELS method in the implementation class.
Clear display_url in DO_INIT_CONTEXT so that PDF only pops up when action is triggered.
Put this piece of code in the page htm.
I can't seem to be able to put the code here. It's a java script.
IF display_url IS NOT INITIAL.
* I can't show the script here for i kept getting error when i tried putting the java script here.
ENDIF.
3. To trigger a print action and send PDF attachment in background, a spool will still be created.
Call the smartform FM as usual.
lt_spoolid[] = es_job_output_info-spoolids[].
READ TABLE lt_spoolid INTO lw_spoolid INDEX 1.
CHECK lw_spoolid IS NOT INITIAL.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = lw_spoolid
no_dialog = 'X'
IMPORTING
pdf_bytecount = lw_bytecount
TABLES
pdf = lt_lines
EXCEPTIONS
err_no_otf_spooljob
err_no_spooljob
err_no_permission
err_conv_not_possible
err_bad_dstdevice
user_cancelled
err_spoolerror
err_temseerror
err_btcjob_open_failed
err_btcjob_submit_failed
err_btcjob_close_failed
OTHERS
IF sy-subrc NE 0.
*/ Set to incorrectly processed.
CALL METHOD cl_log_ppf=>add_message
EXPORTING
ip_problemclass = '2'
ip_handle = ip_application_log.
ENDIF.
CHECK sy-subrc = 0.
* Convert PDF from 132 to 255, combine everything into a single string.
LOOP AT lt_lines INTO lw_lines.
* Individually replace the space with a '~'.
TRANSLATE lw_lines USING ' ~'.
CONCATENATE lw_buffer lw_lines INTO lw_buffer.
ENDLOOP.
* Replace '~' by space.
TRANSLATE lw_buffer USING '~ '.
DO.
* Putting in the first 255 chars into the variable.
lw_record = lw_buffer.
* Append 255 chars as a record.
APPEND lw_record TO lt_record.
SHIFT lw_buffer LEFT BY 255 PLACES.
IF lw_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
* Object with PDF.
lt_objbin = lt_record.
DESCRIBE TABLE lt_objbin LINES lw_lines_bin.
* Object with main text for the mail.
lw_objtxt = <your text>
append lw_objtxt to lt_objtxt.
DESCRIBE TABLE lt_objtxt LINES lw_lines_txt.
* Document information.
lw_doc_chng-obj_name = 'Smartform'.
lw_doc_chng-expiry_dat = sy-datum + 20.
lw_doc_chng-obj_descr = <your text>.
lw_doc_chng-sensitivty = 'F'
lw_doc_chng-doc_size = lw_lines_txt * 255.
* Pack to main body as RAW
* Obj to be transported not in binary form
CLEAR lw_objpack-transf_bin.
* Start line of object header in transport packet.
lw_objpack-head_start = 1.
* Number of lines and object header in object packet.
lw_objpack-head_num = 0.
* Start line of object contents in an object packet.
lw_objpack-body_start = 1.
* Number of lines of the object contents in an object packet.
lw_objpack-body_num = lw_lines_txt.
* Code for document class.
lw_objpack-doc_type = 'RAW'.
APPEND lw_objpack TO lt_objpack.
* Packing as PDF.
lw_objpack-transf_bin = lc_x.
lw_objpack-head_start = 1.
lw_objpack-head_num = 0.
lw_objpack-body_start = 1.
lw_objpack-body_num = lw_lines_bin.
lw_objpack-doc_type = 'PDF'.
lw_objpack-obj_name = <your text>.
CONCATENATE '<your text>' '.pdf' INTO lw_objpack-obj_descr.
lw_objpack-doc_size = lw_lines_bin * 255.
APPEND lw_objpack TO lt_objpack.
* Document information.
CLEAR lw_reclist.
* Email receivers.
lw_reclist-receiver = <email address>
lw_reclist-express = 'X'.
lw_reclist-rec_type = 'U'. "Internet address.
lw_reclist-com_type ='INT'.
APPEND lw_reclist TO lt_reclist.
* Send mail.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = lw_doc_chng
TABLES
packing_list = lt_objpack
object_header = lw_objhead
contents_txt = lt_objtxt
contents_bin = lt_objbin
receivers = lt_reclist
EXCEPTIONS
too_many_receivers
document_not_sent
document_type_not_exist
operation_no_authorization
parameter_error
x_error
enqueue_error
OTHERS
IF sy-subrc = 0.
COMMIT WORK.
ELSE.
*/ Set to incorrectly processed.
CALL METHOD cl_log_ppf=>add_message
EXPORTING
ip_problemclass = lc_2
ip_handle = ip_application_log.
ENDIF.
4. Trigger action and send PDF attacment as mail. No Spool.
control_parameters-GETOTF = 'X'.
control_parameter-no_dialog = 'X'.
control_parameter-langu = <ur language>.
output_options-tddest = 'LOCL'.
output_option-tdimmed = 'X'.
output_option-tddelete = 'X'.
CALL FUNCTION 'your smartform FM
EXPORTING
control_parameters = lw_ctrl_params
output_options = lw_output_options
user_settings = space "Has to be set to SPACE so it will get parameters from lw_output_options.
et_orderadm_h
et_orderadm_i
et_cancel
et_appointment
et_partner
es_but000
IMPORTING
job_output_info = lw_output "OTF format
EXCEPTIONS
formatting_error
internal_error
send_error
user_canceled
OTHERS
* Get the OTF data.
lt_otf = lw_output-otfdata[].
* Convert OTF format to PDF.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = lw_bin_filesize
TABLES
otf = lt_otf
lines = lt_lines
EXCEPTIONS
err_max_linewidth
err_format
err_conv_not_possible
err_bad_otf
OTHERS
The rest will the similiar to no.3, * Convert PDF from 132 to 255, combine everything into a single string. onwards.
Cheers,
ck. -
SHDB/BDC - PA40 - How to Avoid Absolute List Position of PA40 Action
The following code was generated by SHDB for transaction PA40. It's picking a particular action from the list on the screen (23rd item from the top). This is almost certain to change in production because our dev environment isn't configured exactly the same.
Is there anyway I can avoid using an absolute position in my code do perform this logic? Thanks!
PERFORM bdc_dynpro USING 'SAPMP50A' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR' 'T529T-MNTXT(23)'.
PERFORM bdc_field USING 'BDC_OKCODE' '=PICK'.
PERFORM bdc_field USING 'RP50G-SELEC(23)' 'X'.You can even do an action from PA30. I usually do BDCs for Action via PA30. There won;t be any issues related to config variations in it.
A -
Apraisal action log - without action "display"
Hi,
we are using the standard action log for apraisals. But it's very large and so we don't want to save all "display" actions.
Is there a BADI or a customizing table where we can switch out the looging of the display of an apraisal?
Thanks in advance
JürgenHi
You can do the same. It can be done, you need to call in the following struture in your BOL layer CRMT_ACTION_GRID which coantins all your required data. You need to craete a Z implementation class where in you need to code in for fetching the values from the structure and fill in your view.
Regards,
Pranay -
Default Reason code in IT0008 during PA40 Actions
Hi,
My requiremnt is default the reason code in infotype 008 during actions in PA40. Itshould be same as the one the user selected during the initial Action screen.
For Eg: Suppose user is selected the '01' as reson code in the initial action screen during the Hiring action, then when IT0008 appears, reason code should be defaulted as '01'.
Pls share any idea to do it.Hi,
I have got the user exit for poulating the data. But the problem is how to get values from the screen for Infotype 0000 to screen for infotype 0008. Since the user may not save the data in 0000.So we can't read it from database. -
Save as Adobe PDF Automator action displaying dialog
Hi,
I'm trying to use the "Save as Adobe PDF" Action in Automator in a workflow.
As soon as the action is initiated it interrupts the workflow to ask for a save path.
I don't understand this. Is it possible to provide this save path beforehand?
Having it pop up a dialog in the middle of the workflow renders it useless to me,
or am I missing something?
hope anyone can help.
kind regards,
RichardNo :-) I'm just surprised that an automated workflow asks for something halfway.
It seems to defy the point of automation. I would expect to be able to pre-set something like that. -
How can you get actions to show in PSE 11? I want to be able to do one-step clicking while I'm editing photos, but I cannot figure out how to get them loaded on the right-hand side like I had in PSE 10, or even where they're located in the top menu. Thank you!
Window>Actions. If you set up a custom workspace by clicking the More button at the bottom right of your screen, you can then rip the actions panel loose from The Clump and put it into the panel bin if you like.
-
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? -
Customisation of personal actions(PA40)
Hi All,
I am following all the steps to customise the PA40 form of personal actions. I want to show only one action at a time as per my requirement.
But after following all the steps I cant view the customised part only the old actions is displaying.
Can you pls guide through step by step process for this to get the customised PA40 actions
Regards,
AnishaPM-PA-Customising Prodedure-Actions-Define Info Group
after this go for personnle action
reasons for action
user group dependency on menus and info groups
than action menu i think u had missed this one here u have to define ur user group
than go system
user Profile
own Data
Parameters
and let me know if there is anything else
Edited by: Sikindar on Feb 13, 2008 5:50 PM -
Dynamic Actions - only PA40 ?
Can we use dynamic actions in PA30... or is it juust dedicated to PA40/Actions ?
Thanks in advanceIf you want the spro path
Personnel management -
> PA -
>customising procedures --->dynamic actions
For recruitment
Personnel management -
> Recruitment -
> dialog controls -
> create
dynamic actions for recruitment.
All of them get stored in T588Z.
Kindly reward in case useful.
Regards & Thanks,
Darshan Mulmule -
Need to create a 1-sided matrix in Virsa CC5.2 for (132) sensitive actions
Hello
I need to set up sensitive transactions in Virsa Compliance Calibrator 5.2 , in addition to the out of the box global rule set. Our company tracks 132 sensitive transactions in SAP like PA40 for example. I need to be able to have CC 5.2 give me a list of all users that have access to any of the 132 transations. So I would want to run a report in Virsa CC5.2 and it needs to provide me with the names/IDs of the users that have access to the action PA40. Display/Add/Create etc. it does not matter I just need to know who can perform the action. I believe there should be a way to create a one-sided matrix with the 132 sensitive transactions on one side. I tried putting a few in a Function ID, and creating a Risk with just that function but it is not pulling up any matches, when I am sure there should be some. Can you please let me know how to create the one sided matrix in CC5.2 if you can.
Please help if possible.
Thank YouHello Vince,
The logic that transactions within a function use to calculate a risk on Critical action Level is "OR".
Thus, for your scenerio what you can do is to create a Function and add all the transaction to it. Then, define a Critical Action risk with this single function only. That should do the work for you. Thus anytime, any role or user has one or more of these transactions, this will show up as a risk in your reports.
Regards,
Hersh -
New infotypes from form are displaying in black font instead of red
Good day,
I recently created a new form where a manager can submit a form to change their employee's work schdule infotypes in MSS.
The form can be successfully processed through workflow and the new infotypes from the form are populated in PA40 when executing the corresponding PA40 action.
The issue is, for all other forms when a new infotype is pulled into PA40 in SAP ECC the data is displayed in red font (making it easy for the data processor to see which feilds have been updated by processing the form). For my new form, the data is successfully pulling in but the font is black.
How do I change the font of the new infotypes to pull in as red instead of black? Is there a setting/config somewhere that I have missed?
Thanks,
ChristineHello,
Is this a workflow question? If not, you may get a quicker and better answer in another SDN forum.
regards
Rick Bakker
hanabi technology -
SSAS SSRS Report Action on Cell Value w/ Embedded Single Quote Not Executing
I have configured an SSAS 2008 R2 cube SSRS ReportAction. I'm having problems when the member value for a cell has an embedded single quote, e.g. abc's. The action displays on the context menu appropriately, but when I click on the action, nothing happens.
For member values that do not have the single quote, the action works as designed. I've added a calculated ember to escape the embedded single quote by adding another single quote, e.g. abc''s, with no luck. Is there a resolution or workaround for this?Hi Mdccuber,
According to your description, you create a reporting action in you cube, and it works fine except the members that have embedded single quote, right? In your scenario, it seems that you pass this value to the report as the parameter.
In SQL Server Analysis Services (SSAS), when pass values to a report, multi-select parameters have to be placed into IN statement and SQL Server Reporting Services (SSRS) will do single-quote wrapping for string values automatically. In this case, the original
value that have embedded single quote will be damaged. So this action not work. You can submit a feedback at
http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product.
Regards,
Charlie Liao
TechNet Community Support
Maybe you are looking for
-
UC560 / 8.6.2 - how to remotely reboot phones?
After upgrading our UC560 from 8.2.0 to the latest 8.6.2 software pack, a whole bunch of phones have not yet completed the phone load update. Apparently the UC560 gets overwhelmed by having so many phones try to contact it all at once to upgrade, and
-
Scenario: Installation #1: Infrastructure Repository Database installed along with Oracle App Server etc. The EUL resides on the Repository Database (let's say under schema eul1). The Application Data (let's say in schema - app1) for reporting also r
-
Search not finding artists in various artist albums
Using "Search Library" in iTunes 11.0.1, if an artist is in an album of various artists, search will not find this artist even if the artist tag is filled out in the Get Info box. Same thing if you select the Artist tab at the top of the screen, arti
-
After you use one of the plug in synths, insted of freezeing it, is there a way to bounce it to a audio track.
-
"Licensing for this product has stopped working" error
Hi and thanks for your help. I've installed Director 11, but when i run for fist time i get this error : "Licensing for this product has stopped working"; I've already uninstall it and install it again, but it keep saying me the same error. I've alre