Script in HR-ABAP
hi friends,
plz give me the solution to the following, its urgent yar.
in abap we are copy a script from client 000 and done the modification according to the requirement, thn we go for NACE
in that we remove the standard script name and we give our custom script name and save. now we get the print output with the modified script....
here my doubt is how can i do these forABAP-HR,
i.e, i copied an script related to ABAP-HR, and i done all the modification reg to requirement, after that how can i configure with NACE, in NACE i'm not getting any application related to this form, then how can i give my custom script name in NACE. is there any othe procedure for ABAP-HR to do script.
after i done the modification in std script what can i do for geting that modified print output in that script related transaction code??????
plz reply me its very urgent........
for eg: we configure zmedruck in NACE, by removing the standard form name, like that how can i do for ABAP-HR forms
i'm rying for the forms:1. letter of appointment(HR_SGPLA).
2.education leave
3.benefi confirmation
4.hours worked report
5.personal statement.
how can i do the confuguration and where....plz reply me.
thanks in advance,
regards,
Priya.S
Hi,
we can generate the remuneration statements.
Thanks & Regards
Sunil Kondoju
Similar Messages
-
Include Java script in the abap webdynpro
Dear expert,
Anyone know how can i include a java script in the abap web dynpro.
Thanks
Regards,
BryanHi
There is no way you can include Java Script in Web Dynpro ABAP. You can navigate to a BSP application and run your JavaScript.
Abhi -
Calling an external shell script program from ABAP.
Hi,
Can i call an external shell script program from abap which is there on application server.
The FM WS_EXECUTE i know can be used for calling this purpose.
But i am getting a doubt that how can i call the external program from there.
Please clear my doubts.
Thanks in advance.
Vikashsearch in SCN for sm49 and sm69 Tr. you will surely find solutions for it, with a simple search.
-
Logic to run Unix script file through ABAP program
Hi Friends,
I need to run the Unix script file from abap program, for that user provided file directory of application server.
Is there any logic/FM to run through abap programing.
pls can any one provide logic.
Thanks,
Ravireport zsrchsap.
*-This is a demo report for Search Sap
*-Author : Sandeep Kulkarni
*-Date : 09/20/2001
parameters : p_sfile(60) lower case
"File to be moved
"Eg : /home/in/SFILE1.txt
p_dfile(60) lower case.
"File's Destination
"Eg: /home/archive/SFILE1.txt
data : t_btcxpm
like btcxpm occurs 0,
p_addparam
like sxpgcolist-parameters.
concatenate
'/home/ABAP/scripts/Archive_file.sh'
p_sfile
p_dfile
into p_addparam separated by space.
refresh t_btcxpm. clear t_btcxpm.
call function 'SXPG_CALL_SYSTEM'
exporting
commandname = 'ZSHELL'
additional_parameters = p_addparam
tables
exec_protocol = t_btcxpm
exceptions
no_permission = 1
command_not_found = 2
parameters_too_long = 3
security_risk = 4
wrong_check_call_interface = 5
program_start_error = 6
program_termination_error = 7
x_error = 8
parameter_expected = 9
too_many_parameters = 10
illegal_command = 11
others = 12.
if sy-subrc = 0.
write : /
'File',p_sfile,'moved to',p_dfile.
else.
write : / 'Error Occured'.
endif. -
Hi Everybody,
i´ll hope that someone can help me. It is possible to take Java Script in a WebDynro for ABAP. Can anybody give me some code samples or something to solve the issue?
Thanks
Best regards
MarkusWeb Dynpro ABAP is not intended for adding Java Script, or any script for that matter.
-
Pass value of Java script variable to ABAP variable (in BSP)
Hi,
I have a Javascript variable declared in the SCRIPT tag of BSP layout page.
I want to pass its value to ABAP variable, so that later I can do some computations using the ABAP variable.
(ABAP variable is also declared in the same SCRIPT tag of BSP page)
Would request to post a sample code, if possible.
Would appreciate quick replies.
Thanks & Regards,
Nisha Vengal.just check this
https://forums.sdn.sap.com/click.jspa?searchID=16240444&messageID=1191305 -
Script conversions to ABAP BADI's
Hello,
I am currently working on conversions of script logic files of BPC MS 7.0 into ABAP BADI's of BPC NW 7.5
Few of the keywords that I do not understand are:
GET, LOOKUP, FLD, XDIM_GETINPUTSET, FUNCTION
Also when I create the BADI, filter definition is part of it, so what values will the filter have.
Regards,
PankajHi Pankaj,
Filter name is like a keyword and the badi's in bpc are called using the filter names.
Please check the pdf for badi creation and can be easily found on sdn.
I would advise you not to convert everything in Badi's as some things can be retained in script logic in NW version also.
Creating BADI's can be quite complicated for tasks which could be written in few lines in script logic.
Hope this helps .
Regards,
Sachin -
ABAP program to execute shell script !
Hi Friends,
I have created some shell scripts and need to be executed through ABAP prog in order to automate some process. can any one tell me how to execute these scripts through ABAP program? i know that we have to setup those scripts through SM69 but i dont have clear idea about this.can some one tell me step by step how to do this. ur help will be awarded in terms of points.
ThanksDefine the scripts as commands in SM69. Test them in SM69/SM49 to see if they work.
Next, go to SE37, run FM SXPG_COMMAND_EXECUTE, and specify your command there. Does it work?
If yes, you can just code a 'CALL FUNCTION' to this FM in your ABAP program, and you are ready to invoke your script from your ABAP.
For a list of functions that work with commands (defined in SM69), do a drop-down on SXPG_COMMAND* in SE37.
A sample code may look like this
concatenate zsys_id z_infile z_extfile into parm
separated by space.
*C_FTP_COMMAND is a script defined in SM49
CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
EXPORTING
COMMANDNAME = C_FTP_COMMAND
ADDITIONAL_PARAMETERS = parm
OPERATINGSYSTEM = SY-OPSYS
TABLES
EXEC_PROTOCOL = PROT
EXCEPTIONS
NO_PERMISSION = 1
COMMAND_NOT_FOUND = 2
PARAMETERS_TOO_LONG = 3
SECURITY_RISK = 4
WRONG_CHECK_CALL_INTERFACE = 5
PROGRAM_START_ERROR = 6
PROGRAM_TERMINATION_ERROR = 7
X_ERROR = 8
PARAMETER_EXPECTED = 9
TOO_MANY_PARAMETERS = 10
ILLEGAL_COMMAND = 11
WRONG_ASYNCHRONOUS_PARAMETERS = 12
CANT_ENQ_TBTCO_ENTRY = 13
JOBCOUNT_GENERATION_ERROR = 14
OTHERS = 15.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
else.
write: /, 'FTP Function module executed with no errors.'.
ENDIF. -
Sap script (ABAP-HR)
hi friends,
plz give me the solution to the following, its urgent yar.
in abap we are copy a script from client 000 and done the modification according to the requirement, thn we go for NACE
in that we remove the standard script name and we give our custom script name and save. now we get the print output with the modified script....
here my doubt is how can i do these forABAP-HR,
i.e, i copied an script related to ABAP-HR, and i done all the modification reg to requirement, after that how can i configure with NACE, in NACE i'm not getting any application related to this form, then how can i give my custom script name in NACE. is there any othe procedure for ABAP-HR to do script.
after i done the modification in std script what can i do for geting that modified print output in that script related transaction code??????
plz reply me its very urgent........
thanks in advance,
regards,
Priya.Shi waz,
thanks for ur kind reply, here in HR-ABAP i'm rying for the forms:1. letter of appointment(HR_SGPLA).
2.education leave
3.benefi confirmation
4.hours worked report
5.personal statement.
how can i do the confuguration and where....plz reply me.
thanks in advance,
regards,
priya.s -
Calling GUI Scripting from ABAP program
Is it possible to call GUI Scripting from ABAP and thus to use GUI Scripting as an alternative to CALL TRANSACTION?
Is the class CL_JAVA_SCRIPT suitable to access GUI Scripting engine? Accessing ABAP data object would work as well in this case as i think. What SAP Logon and WAS releases are required? Is the 6.20 release sufficient for this case?
I would appreciate if somebody could post an example.Hi,
CL_JAVA_SCRIPT has nothing to do with SAPGUI Scripting.
Calling SAPGUI Scripting API from ABAP could be possible for programmes experienced with OLE automation calls from ABAP coding.
The hardest thing will be, to access the scripting engine handle as an entry point. Once you have a handle in your abap session, any api function can be invoked.
Best regards
Jens
BTW: SAP testtool eCATT does call SAPGUI-Scripting from ABAP. -
About hr-abap(script)
hi,
can any one send the program about script in hr-abap......inlcuding driver program and layout set,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,hi,
can any one send the program about script in hr-abap......inlcuding driver program and layout set,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -
Call a unix script from ABAP program
Can anybody help me on how to call a unix script from an ABAP program
Regards
AnjaliHi try the below code
parameters : p_sfile(60) lower case
"File to be moved
"Eg : /home/in/SFILE1.txt
p_dfile(60) lower case.
"File's Destination
"Eg: /home/archive/SFILE1.txt
data : t_btcxpm
like btcxpm occurs 0,
p_addparam
like sxpgcolist-parameters.
concatenate
'/home/ABAP/scripts/Archive_file.sh'
p_sfile
p_dfile
into p_addparam separated by space.
refresh t_btcxpm. clear t_btcxpm.
call function 'SXPG_CALL_SYSTEM'
exporting
commandname = 'ZSHELL'
additional_parameters = p_addparam
tables
exec_protocol = t_btcxpm
exceptions
no_permission = 1
command_not_found = 2
parameters_too_long = 3
security_risk = 4
wrong_check_call_interface = 5
program_start_error = 6
program_termination_error = 7
x_error = 8
parameter_expected = 9
too_many_parameters = 10
illegal_command = 11
others = 12.
if sy-subrc = 0.
write : /
'File',p_sfile,'moved to',p_dfile.
else.
write : / 'Error Occured'.
endif. -
How to Open a file by JAVA SCRIPT in ABAP?
Hi Experts,
i'm trying to open a pdf file in java script (ONLY) through ABAP.
Is it possible? If so how?
The java script what we write in HTML is "window.open("C:
Temp
file.pdf");"
Please advice ASAP.
SomnathHi,
You have to make the Vi reentrant so that it does not share the same memory location:
Regards,
Even
Certified LabVIEW Associate Developer
Automated Test Developer
Topro AS
Norway -
Adding Fields to New Hire SAP Script, Text ID PAMA
Hi there,
I have successfully created a sapscript email to be sent via Dynamic Actions for the notification of New Hires and Terminations. This has been accomplished via feature M0001 (we have created two new features u2013 M00NH & M00TM), dynamic action (T588z), Business Workplace, distribution lists, etc. All are working correctly, and an email is being generated and forwarded to appropriate parties.
Now we have been asked to add extra fields to the SAP Script text for New Hire and Termination. These are text fields for Employee Group, Employee Subgroup, among others.
Our syntax has been set up as follows:
&'Employee Group: 'P0001-PERSG(02)&
&'Employee Group Text: 'T501T-PTEXT(20)&
&'Employee Subgroup: 'P0001-PERSG(02)&
&'Employee Subgroup Text: 'T503T-PTEXT(20)&
For the New Hire action, we are getting the Employee group and Employee subgroup codes to display but we are NOT getting the Employee Group or Employee Subgroup texts to display. To confuse the issue, we ARE getting these text fields to display for the Termination script. Our ABAP'er is also having difficulty determining how to bring in these fields to the New Hire script.
We have researched this website have tried the instructions given by one user..... which states that we needed to go to our SAPscript text and make the following changes:
" To get other HR data into your standard text (from SO10):
Insert > Symbols > Program symbols (now you'll see a list of print programs, and i guess this is where the ABAP grabs the data).
Highlight the one for HR Master data, and click the DDIC button.
Double click the table you need data from (e.g P0000, P0001 or P0002).
Finally select the field you want."
I have done this, but when I get to the Program symbols, I do not see a print program for HR Master Data. I only see RPUCOB02 - Processing of Qualifying COBRA Events and Letters & SAPMSSCE - SAPscript Standard Text Maintenance.
I tried to use the RPUCOB02 and inserted the text for Employee Subgroup as a test. But it did not work as the text still did not display.
The other oddity is that for the Termination sapscript text, the Employee Group and Employee Subgroup text displays correctly. To test our syntax, we then connect the Termination sapscript text to the 'New Hire' action and reran the New Hire action. The Employee Group and Employee Subgroup text fields then disappeared. So it worked when the action was a termination, but did not work when the action was New Hire.
The difference between these two actions is that the feature for the sapscript generation for New Hires is being generated upon saving of I0002 (which is created AFTER I0001) - we needed the Employee's name in the text. For the Termination action, the feature is set to generate the mail upon saving of I0001. This is the only difference between the two. But as I need the employee name to display, it seemed the best approach. I did try to generate the New Hire sapscript after saving of I0008, but had the same problem.
Does anyone know how we can add text fields to our New Hire sapscript text and actually get them to display? We would also like to display the Org Unit text (&'ORGEH_2nd_TEXT(40)&) or even the Supervisor (from the OM relationship). But they do not display for the New Hire sapscript either. And our ABAP'er is able to insert the Supervisor logic, but the field still does not display.
Thanks very much for any help.
Edited by: Cathryn Westgarth on Nov 17, 2009 6:23 PM
Edited by: Cathryn Westgarth on Nov 17, 2009 6:24 PMI am going to repost this question to the HR forum as it may be more appropriately an HR forum questions.
Thanks
Cathryn -
Hello everbody,
we are trying to script a webdynpro ABAP application with eCatt.
We have completed the system configuration steps (see below), but still when trying to record we are getting the error message:
"An error probably occurred during the logon to the Web Dynpro target system. Check user and password in the target system."
We have set up a HTTP connection to the target system with a preset username / password combination in the authentication details. We also log into the target system with this username / password combination directly just fine.
What could we be missing?
Some more questions:
Is eCatt supposed to execute the webdynpro on the target system as the user defined in the http connection or as the user executing / recording the script?
What user should be set in the http connection in the first place? I'm assuming its not the ecatt_http user because that one doesnt even exist in the target system (the guides only ask for this user to be created in the ecatt system)
Regards & Thanks in advance,
ThomasThomas Stoffels wrote:
> We have set up a HTTP connection to the target system with a preset username / password combination in the authentication details. We also log into the target system with this username / password combination directly just fine.
Just check, if HTTPS is off on this connection.
Thomas Stoffels wrote:
> Some more questions:
> Is eCatt supposed to execute the webdynpro on the target system as the user defined in the http connection or as the user executing / recording the script?
> What user should be set in the http connection in the first place? I'm assuming its not the ecatt_http user because that one doesnt even exist in the target system (the guides only ask for this user to be created in the ecatt system)
Please take a deeper look into saphelp for RFC connections, to clearify, which user credentials are used with RFC connections.
Kind regards,
Christoph
Maybe you are looking for
-
BSI version upgrade from 8 to 9 query
Hello All We are upgrading TaxFactory from 8 to 9 by following the SAP note 1469858. when we run the report RPUBTCU0, SAP system is giving system failure error. We are in contact with BSI support but no use, as suggested by them we have changed the p
-
Mac Mini Server won't load Profile Manager
My Mac Mini Server has stopped loading Profile Manager in a web browser, and gives me the following message: Caught exception "Connection to DB failed" [CSDatabaseError] executing route /auth/?redirect=https://stormforce.no-ip.biz/devicemanagement/ap
-
Hello, We are maintaining purchasing info records for all material and vendor combination and from Info records rates are flowing in the purchase order and scheduling agreemnt. But in schediling agreement buyer can change rates by going on condition
-
everytime i try to transfer music, nothing happens. when i drag the files over nothing highlights to show that it accknowledges it. why? this is pretty frustrating.
-
i am having trouble burning my program to DVD. i have tried the build and format and burn functions but when i put the dvd in a external player it does not recognize the disk. my program plays fine in simulation and the disk works fine on my macbook,