Hr-abap fetching appraisal marks
Hi all,
I need to fetch the final marks of an employee from the appraisal template, from Qualifications infotype.
In which table can I find the information regarding appraisals...
Hi Mamtha,
You can check the BAPI BAPI_APPRAISAL_GETLIST.
from these you can get the details.
comment on it.
Regards
Kumar M
Similar Messages
-
Hello,
Can anybody tell me the syntax to call a 'C' Program in an ABAP program. How it can be done, and where can I get some information on it?
Regards,
KunalHi, I tested function SXPG_COMMAND_EXECUTE on a Windows server and it worked well. Here's an example of my ABAP code.
Mark
REPORT Z_TEST3.
The function SXPG_COMMAND_EXECUTE allows you to perform an
external operating system command from within an ABAP program.
The export parameter COMMANDNAME is defined in txn SM69.
ZCMD is defined as 'cmd /c'.
start-of-selection.
perform exe.
FORM EXE.
data: t_exec_protocol like btcxpm occurs 0 with header line.
CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
EXPORTING
COMMANDNAME = 'ZCMD'
ADDITIONAL_PARAMETERS = 'dir \usr\sap\interface\*.txt'
OPERATINGSYSTEM = SY-OPSYS
TARGETSYSTEM = SY-HOST
DESTINATION =
STDOUT = 'X'
STDERR = 'X'
TERMINATIONWAIT = 'X'
TRACE =
IMPORTING
STATUS =
EXITCODE =
TABLES
EXEC_PROTOCOL = t_exec_protocol
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.
ENDIF.
loop at t_exec_protocol.
write: / t_exec_protocol-message.
endloop.
ENDFORM. -
RFC using global class.
Hello Folks,
I have developed FM using global class(se24), just calling method inside FM. My question is that, which has more prefrence a class or PERFORM.
Thanks,
Amol.Your question is unclear. However, you seem to be saying you have created an RFC enabled function module in which you use a class. If this is the case, you've done the right thing as in later releases of ABAP performs are marked as obsolete. Further, if all your logic is inside the class, then you've the opportunity to exploit the benefits of OO over procedural programming.
-
SAP Adapter: Error when committing SAP good receipt on purchase order.
Hi guys:
I’m trying to perform a sap good receipt on purchase order, and the BAPIs are the followings:
1) BAPI_GOODSMVT_CREATE
2) BAPI_TRANSACTION_COMMIT
Note: This is only a proof of concept. Therefore, only I'm considering the commit of transaction.
I’ve followed the example SAPTransaction, but in the moment when the BizTalk is sending the commit (point 2), BT get this error:
There was a failure executing the send pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLTransmit, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Source: "XML assembler" Send Port: "SP_BAPI" URI: "sap://CLIENT=800;LANG=EN;@a/192.168.0.102/00" Reason: This Assembler cannot retrieve a document specification using this type: "http://Microsoft.LobServices.Sap/2007/03/Rfc/#BAPI_TRANSACTION_COMMIT".
The operations:
<BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Operation Name="Bapi" Action="http://Microsoft.LobServices.Sap/2007/03/Bapi/MKPF/CREATEFROMDATA/BAPI_GOODSMVT_CREATE"
/>
<Operation Name="Commit" Action="http://Microsoft.LobServices.Sap/2007/03/Rfc/BAPI_TRANSACTION_COMMIT"
/>
</BtsActionMapping>
Thanks in advance.
LuisHi Luis,
Refer to links, they might be useful:
This Assembler cannot retrieve a document specification
This Assembler cannot retrieve a document specification
using this type: "http://www.sap.com/abapxml#abap
Rachit
Please mark as answer or vote as helpful if my reply does -
BSP Extensions Book - example application
Hi all!
I have bought the Book "BSP Extensions: How to master Web reporting with HTMLB" and i've tried to run the example application. But on half the way of the programming (the next chapter is checkbox & radioButton) i'm getting a JScript error that says "childNodes.0.tagName is null or not an object" and it occurs every time i want to create the text of a new treenode by focusing the inputfield.
I've coded everything exactly like it is in the book so i don't know what's wrong. A little while ago i've searched the SDN forums for that case and found out that there is a SAP Note (949105) about it. After following the instructions and refreshing the cache the error still appeares. Does anyone read the book and faced the same problem?
(I'm Using the Trial Version of Netweaver 2004s ABAP.)
Regards
Mark-Andréhi,
can you tell me ..what kind of example you are trying..
there are demo programs which are given by sap..first try it and then sort the error..
program names :
SBSPEXT_BSP
SBSPEXT_HTMLB
or
choose bsp application from se80 and search as SB*
you will find more programs:
thanks
jaideep
if helpful reward points... -
Limitation on data that can be fetched (ABAP RFC) via a Web Service?
Hi,
Is there any limit on the data that can be fetched via a Web Service (ABAP exposed as Web Service). I am trying to fetch PI monitoring data from ABAP Tables via a Web Service and there can be thousands of messages proceesed say in a day and what if user is provided the option of fetching messages for a specefic duration.
Please advise.
NehaHello my friend
If I understand your question correctly, there's an environment variable CPIC_MAX_CONV handles sessions between integration engine and adapter engine (ABAP and Java). By default, the value of this variable is 500, and you might want to increase it to 1000 at least, depends on system throughput. Recommended value from SAP for Production is 5000.
Hopefully it's helpful,
Effan -
BADI for changing Appraisal document application name for Web dynpro ABAP
Hi,
For Appraisal document customizing through PHAP_CATALOG_PA, We have BADI HRHAP00_BSP_TMPL to change the BSP application name which can be used in Web layout for output display. Using this we can change application name from HAP_DOCUMENT to custom BSP application name
Similarly, what is the BADI for changing Web dynpro ABAP applictaion name? Currently its triggering HAP_MAIN_DOCUMENT.
how do we change application name to some custom web dynpro application name
Regards,
KothandHi Karim,
I don't know, if there is any chance to get the Webdynpro application name. At least in the ABAP System fields is no information about the webdynpro application name.
One remark: I have allways problems with BAPIS / BADIS that behave different depending on the caller. Could it be a good idea to pass some information through the interface / parameters?
Best regards
Renald -
Problem while fetching more records in SAP ABAP report program
Hello Frinds,
I have SAP ABAP report program which fetches data from usr02 table
Now, program is working fine with less number of records, bot in production there are more than 200000 records and either report gets timed out or there is run time error like buffer area not available.
Below is the fetch statement
SELECT bname FROM usr02 INTO TABLE lt_user
So, do I need to take records in small chunks, I do not think it is needed as I have worked on number of othere databases where there are number of records in single fetch statement and database itself take care of this.
Please provide me some approach to resolve this problem.This will be very difficult for you.....
Since you are getting a time out error....it looks like, you are runnning this report in foreground....................
Try running it in background it will work...
ELSE....you have to fetch in small chunks....but the question is how will you do it. Since the USR02 only has BNAME as primary key...
Either put the BNAME as part of selection screen and fetch the data.....it will solve your problem....
Only fetch for those BNAME which is entered in the selection screen...
Hope it helps! -
Fetching Values From JAVA classes into ABAP report
Hi Experts,
I have a requirement, in which I need to fetch Java Roles/Groups from the portal to a ABAP report, for specific users. The roles inside of our project are not always in sync with the central system.
I could not find any link with talks about this. Could anybody guide me on how to proceed?
Regards,
TrishnaI have written a report which takes users and specific roles as the input. Eg, userID :12345 and role/profile :SAP_ALL, SAP_ADMIN..etc in a table. and gives back if the user 12345 has SAP_ALL or not.
Now I have used RFCs to fetch all the roles for the user from different SAP systems which i further compare .
What I am unable to do is fetch the portal roles .
PROBLEM : The portal roles also exist in the central system, but might not be always consistent since they get manually updated in the central system. Hence I want to directly fetch the data from the JAVA Portal.
WHAT I KNOW : I need to write a JAVA class in NW developer studio which will take the user as the input and give me all the roles/profiles for the same user as output.
How do I further pass the values to and from the Java class to my ABAP report?
I know that I need to use the UME in some way to have this work for me. But since i do not expertize in java I need guidance/steps as to how to proceed.
Regards
Trishna -
Hi
We are trying to execute a BW query using the RRW3_GET_QUERY_VIEW_DATA function module but when I test the function module I'm getting the data expected.
My query is a simple query returning the cost center hierarchy that my authorizations give me access to). I fill the import parameters I_INFOPROVIDER and I_QUERY and leave I_VIEW_ID and I_T_PARAMETER empty. When I execute the function module I only get zeros in the E_CELL_DATA export parameter. The query works fine, when I execute it through the Query Analyzer.
Any ideas what I might be doing wrong?
We are using a BW 3.5 SP19
Regards,
Jacob VennervaldOK, I have found out that the reason I didn't get any data was that I didn't have any key figures in the query. This might sound strange but I'll try to explain.
What I want to do is to create a query that will return the cost center hierarchy that a specific user has access to. This hierarchy is in the infoobject 0COSTCENTER and I though I could just make a query with this infoobject in it and then fetch the result of this query in ABAP using FM RRW3_GET_QUERY_VIEW_DATA, but apparently that is not possible.
Is there another way to get contents of the infoobject into the query?
Is there a way to fetch the contents of the infoobject from ABAP?
Regards,
Jacob -
Hi Experts,
I have normal report with dat fetch logic. I need to convert my normal code logic to OO abap logic using classes & methods..
Exp:
select knumh kotabnr vakey datab datbi knuma_bo
from konh
into corresponding fields of table i_konh
for all entries in i_kona
where knuma_bo eq i_kona-knuma.
Is there any easy way to write the code in OO using classes & methods.
Thanks.Hi Khan,
Here is the code for your query with OO abap logic i.e. Class and methods.
Code.
TABLES: konh.
data: i_konh TYPE TABLE OF konh,
i_kona Type TABLE OF kona.
CLASS class_name DEFINITION.
PUBLIC SECTION.
CLASS-METHODS get_details.
ENDCLASS.
CLASS class_name IMPLEMENTATION.
METHOD get_details.
DATA: knumh TYPE REF TO konh-knumh,
kotabnr TYPE REF TO konh-kotabnr,
vakey TYPE REF TO konh-vakey,
datab TYPE REF TO konh-datab,
datbi TYPE REF TO konh-datbi,
knumabo TYPE REF TO konh-knuma_bo.
select knumh kotabnr vakey datab datbi knuma_bo
from konh
into corresponding fields of table i_konh
for all entries in i_kona
where knuma_bo eq i_kona-knuma.
ENDMETHOD.
ENDCLASS.
*Global data.
data: obj TYPE REF TO class_name.
*Event block.
START-OF-SELECTION.
CREATE OBJECT: obj.
CALL METHOD obj->get_details.
Regards,
Soundarya.
Edited by: K.Soundarya Singh on Mar 24, 2010 8:42 AM
Edited by: K.Soundarya Singh on Mar 24, 2010 8:43 AM -
How to put water mark in web dynpro abap Adobe forms
Hi
Can any body tell me how to put water mark in web dynpro Abap adobe forms ,
actually I need to print water mark as back ground in gray color.
Points will be rewarded of Helpful answer..!
Regards,
SidramHi,
for more information about layout options in forms, go to your form in transaction SFP, layout view and choose Help -> Adobe LifeCycle Designer Help. There you find information on page layout, e.g. " Objects can be placed anywhere on a master page, inside or outside the content area. As a general rule, do not place objects inside the content area unless your intention is to have other objects laid down on top of the master page objects when the form is rendered. If you are setting up a watermark, place it inside the content area. "
Besides, there's an Adobe forum where you might get more information for such Adobe questions.
Regards, Heidi -
To fetch 2 fileds of table TRFCQIN (abap schema table ) through OPEN SQL
Hi Experts,
My basis team wants me to write a OPEN sql statement in DB2 . T
The Open SQL statement for reading data from database tables is:
SELECT <result>
INTO <target>
FROM <source>
[WHERE <condition>]
[GROUP BY <fields>]
[HAVING <cond>]
[ORDER BY <fields>].
I want to fetch 2 fileds of table TRFCQIN (abap schema table ) through OPEN SQL in report RSORADJV in PI .
As per PI basis comment : To use u201CRSORADJVu201D you need write the code in open SQL. If the code had been written in open SQL in the first place you wouldnu2019t be having to translate this from MS SQL.
Can you pls help in writing open sql with above syntax .
Initially when I wrote as
QL statement : select * from SAPDBSR3.XI_AF_MSG, I got the error messege as
Error : insufficient priviliage to access specified table.
Again basis suggested to write this code in OPen SQL statement .
Please suggest., I dont know open SQL for the same.
Regards,
Arnab.Hi,
Well I don't know why you have duplicates, this is a functionnal issue. But you get the dump due the the message number 864 that triggers the abend... Changing the message type to 'E', 'S' or 'I' will prevent the dump but I guess this message has a good reason to be
Kr,
Manu. -
How to fetch audit log in ABAP
can somebody tell me how to fetch audit log texts in abap program to displyay.
if Any functional module present to retrieve could you pls tell me..
ambichanhi,
use the function module read_text to retreive the text details.
FUNCTION READ_TEXT.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(CLIENT) LIKE SY-MANDT DEFAULT SY-MANDT
*" VALUE(ID) LIKE THEAD-TDID
*" VALUE(LANGUAGE) LIKE THEAD-TDSPRAS
*" VALUE(NAME) LIKE THEAD-TDNAME
*" VALUE(OBJECT) LIKE THEAD-TDOBJECT
*" VALUE(ARCHIVE_HANDLE) LIKE SY-TABIX DEFAULT 0
*" VALUE(LOCAL_CAT) DEFAULT SPACE
*" EXPORTING
*" VALUE(HEADER) LIKE THEAD STRUCTURE THEAD
*" TABLES
*" LINES STRUCTURE TLINE
*" EXCEPTIONS
*" ID
*" LANGUAGE
*" NAME
*" NOT_FOUND
*" OBJECT
*" REFERENCE_CHECK
*" WRONG_ACCESS_TO_ARCHIVE
specify the name of the text and the object type as specifed in THEAD table.
Regards,
Jagath -
Pass Marks for ABAP Certification
Hi All,
I am thinking to take ABAP certification test.Can anybody who has done certification recently, tell me what is the pass marks for it. I have got all other information, only this is left out.
Thanks in advance.Hi Smita,
Refer this link:
https://websmp204.sap-ag.de/~sapidp/011000358700006455222004E
The minimum pass marks for certification is 56 marks i.e 70%.
Regards,
Raj
Maybe you are looking for
-
Hi error while creating sales order
hi i am getting 'not able to save' message while i am creating sales order. how should i proceed to know where is the problem??? i tried debugging but it is taking lots of time, is there any other way i can know the reason for this error in standard
-
Yesterday, I was unable to access Firefox at all and had to use another browser. Today, Firefox is back but all my bookmarks seem to have disappeared. I followed the procedure for restoring bookmarks from a backup file. I selected the file to back up
-
Mismatch in linenumbers of ABAP editor and debugger
Hi all, although the ABAP program is shown as active in our editor, we sometimes have a mismatch in line numbers between ABAP editor and debugger. E.g.: FORM ITEM_PRINT in report RVADOR01 starts at linenumber 1403 in our ABAP editor. Debugger shows l
-
Security upgrade with Enhancement pack 4 on ECC6
Hi Everyone, Perhaps you already know SAP is prompoting upgrade via Enahncement packs so we have upgraded ECC6 with Enhancement packs 4 and now that we have doen this , if you want to create a role in PFCG this prompts tp peform steps 2A to 2C in SU
-
How to fetch published data from portal using ABAP
Hello, I have a file published in the portal (with broadcaster). Now I want to use this file in an ABAP program. I can't call the web address directly because my program can't handle the Portal authentication. So I have two questions: - is there any