Features in ABAP HR
Hi,
I would like to know what are the features in ABAP HR and how to use them in the program.
I have a custom feature YEMPG and have to use it in my program for some validation on employee type.
Sample code would be appretiated.
reagrds,
*: Report: ZDOWNEMPDATA :
*: Author: www.SAPDev.co.uk :
*: Date : 2004 :
*: Description: Downloads employee data to TAB delimited flat files :
*: Report: ZDOWNEMPDATA :
*: Author: www.SAPDev.co.uk :
*: Date : 2004 :
*: Description: Downloads employee data to TAB delimited flat files :
REPORT zdownempdata .
INFOTYPES: 0000, 0001, 0007, 0008, 0121, 0615.
NODES: pernr.
TABLES: t001p.
TYPES: BEGIN OF t_employee,
INCLUDE STRUCTURE hrms_biw_io_occupancy.
begda TYPE begda,
endda TYPE endda,
pernr TYPE pernr_d,
rfpnr TYPE rfpnr,
bukrs TYPE bukrs,
werks TYPE persa,
btrtl TYPE btrtl,
persg TYPE persg,
persk TYPE persk,
orgeh TYPE orgeh,
stell TYPE stell,
plans TYPE plans,
kokrs TYPE mast_coar,
kostl TYPE mast_cctr,
abkrs TYPE abkrs,
molga TYPE molga,
trfar TYPE trfar,
trfgb TYPE trfgb,
trfkz TYPE trfkz,
trfgr TYPE trfgr,
trfst TYPE trfst,
bsgrd TYPE bsgrd,
ansal TYPE ansal_15,
ancur TYPE ancur,
empct TYPE empct,
stat2 TYPE stat2,
ncsdate TYPE hiredate,
sltyp TYPE p_sltyp,
slreg TYPE p_slreg,
slgrp TYPE p_slgrp,
sllev TYPE p_sllvl,
ansvh TYPE ansvh,
vdsk1 TYPE vdsk1,
sname TYPE smnam,
END OF t_employee.
DATA: it_employee TYPE STANDARD TABLE OF t_employee INITIAL SIZE 0,
wa_employee TYPE t_employee.
TYPES: BEGIN OF t_emptexts,
INCLUDE STRUCTURE hrms_bw_txt_employee.
DATEFROM TYPE RSDATEFROM,
DATETO TYPE RSDATETO,
PERNR TYPE PERSNO,
TXTMD TYPE EMNAM,
END OF t_emptexts.
DATA: it_emptexts TYPE STANDARD TABLE OF t_emptexts INITIAL SIZE 0,
wa_emptexts TYPE t_emptexts.
TYPES: BEGIN OF t_contract,
INCLUDE STRUCTURE pa0615.
pernr TYPE p0615-pernr,
begda TYPE p0615-begda,
endda TYPE p0615-endda,
aedtm TYPE p0615-aedtm,
ctype TYPE p0615-ctype,
cbeg TYPE p0615-cbeg,
cend TYPE p0615-cend,
END OF t_contract.
DATA: it_contract TYPE STANDARD TABLE OF t_contract INITIAL SIZE 0,
wa_contract TYPE t_contract.
DATA: it_tabemp TYPE filetable,
gd_subrcemp TYPE i,
it_tabempt TYPE filetable,
gd_subrcempt TYPE i,
it_tabcont TYPE filetable,
gd_subrccont TYPE i.
DATA: gd_downfile TYPE string.
SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
PARAMETERS: p_emp LIKE rlgrap-filename,
p_empt LIKE rlgrap-filename,
p_cont LIKE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK block1.
*at selection-screen
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_emp.
REFRESH: it_tabemp.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select File'
default_filename = '*.xls'
initial_directory = 'C:\'
multiselection = ' ' "No multiple selection
CHANGING
file_table = it_tabemp
rc = gd_subrcemp.
LOOP AT it_tabemp INTO p_emp.
ENDLOOP.
*at selection-screen
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_empt.
REFRESH: it_tabemp.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select File'
default_filename = '*.xls'
initial_directory = 'C:\'
multiselection = ' ' "No multiple selection
CHANGING
file_table = it_tabempt
rc = gd_subrcempt.
LOOP AT it_tabempt INTO p_empt.
ENDLOOP.
*at selection-screen
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_cont.
REFRESH: it_tabcont.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select File'
default_filename = '*.xls'
initial_directory = 'C:\'
multiselection = ' ' "No multiple selection
CHANGING
file_table = it_tabcont
rc = gd_subrccont.
LOOP AT it_tabcont INTO p_cont.
ENDLOOP.
*START-OF-SELECTION.
START-OF-SELECTION.
GET pernr.
Selecting the latest infotype record
rp_provide_from_last p0000 space pn-begda pn-endda.
rp_provide_from_last p0001 space pn-begda pn-endda.
rp_provide_from_last p0007 space pn-begda pn-endda.
rp_provide_from_last p0008 space pn-begda pn-endda.
rp_provide_from_last p0121 space pn-begda pn-endda.
rp_provide_from_last p0615 space pn-begda pn-endda.
MOVE-CORRESPONDING p0001 TO wa_employee.
wa_employee-rfpnr = p0121-rfp01. "?????
MOVE-CORRESPONDING p0007 TO wa_employee.
MOVE-CORRESPONDING p0008 TO wa_employee.
MOVE-CORRESPONDING p0000 TO wa_employee.
SELECT SINGLE molga
FROM t001p
INTO wa_employee-molga
WHERE werks EQ p0001-werks AND
btrtl EQ p0001-btrtl.
SELECT SINGLE trfkz
FROM t503
INTO wa_employee-trfkz
WHERE persg EQ p0001-persg AND
persk EQ p0001-persk.
CALL FUNCTION 'HR_ENTRY_DATE'
EXPORTING
persnr = pernr-pernr
RCLAS =
BEGDA = '18000101'
ENDDA = '99991231'
VARKY =
IMPORTING
entrydate = wa_employee-ncsdate
TABLES
ENTRY_DATES =
EXCEPTIONS
ENTRY_DATE_NOT_FOUND = 1
PERNR_NOT_ASSIGNED = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
append employee data
APPEND wa_employee TO it_employee.
CLEAR: wa_employee.
wa_emptexts-datefrom = p0001-begda.
wa_emptexts-dateto = p0001-endda.
wa_emptexts-pernr = p0001-pernr.
wa_emptexts-txtmd = p0001-ename.
append employee texts data
APPEND wa_emptexts TO it_emptexts.
CLEAR: wa_emptexts.
MOVE-CORRESPONDING p0615 TO wa_contract.
append employee contract data
APPEND wa_contract TO it_contract.
CLEAR: wa_contract.
*END-OF-SELECTION.
END-OF-SELECTION.
download employee data
IF NOT p_emp IS INITIAL.
gd_downfile = p_emp.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = gd_downfile
filetype = 'ASC'
write_field_separator = 'X'
TABLES
data_tab = it_employee.
IF sy-subrc EQ 0.
WRITE:/ 'Employee file downloaded to',
gd_downfile.
ELSE.
WRITE:/ 'There was an error downloading Employee file to',
gd_downfile.
ENDIF.
ENDIF.
download employee texts data
IF NOT p_empt IS INITIAL.
gd_downfile = p_empt.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = gd_downfile
filetype = 'ASC'
write_field_separator = 'X'
TABLES
data_tab = it_emptexts.
IF sy-subrc EQ 0.
WRITE:/ 'Employee text file downloaded to',
gd_downfile.
ELSE.
WRITE:/ 'There was an error downloading Employee text file to',
gd_downfile.
ENDIF.
ENDIF.
download contract data
IF NOT p_cont IS INITIAL.
gd_downfile = p_cont.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = gd_downfile
filetype = 'ASC'
write_field_separator = 'X'
TABLES
data_tab = it_contract.
IF sy-subrc EQ 0.
WRITE:/ 'Employee contract file downloaded to',
gd_downfile.
ELSE.
WRITE:/ 'There was an error downloading Employee contract file to',
gd_downfile.
ENDIF.
ENDIF.
Or you can refer to these too:
http://www.****************/Tutorials/HRABAP/HRABAPMain.htm
reward if helpful
regars,
preet
Similar Messages
-
Dynamic documents in ABAP Objects (weblog)
Hi SDNers,
Do you want to implement the following features in ABAP Screens?
1. Large font sizes and more colour options than traditional ABAP/4 (There are some limitations also)
2. ICONS and pictures in different sizes
3. Texts
4. Links
5. Pushbuttons
6. Input fields
7. Dropdown list boxes
8. Tables with row span and with column span
9. Tables with frames and without frames
10. Tables with buttons, icons, pictures, input elements and texts in it.
Then please read the below weblog to incorporate these features...
<a href="/people/venkata.ramisetti/blog/2005/12/20/dynamic-documents-in-abap-objects">Dynamic Documents in ABAP Objects</a>
Thanks,
Ramakrishnaone limitation which comes to my mind immediately is that you cannot create spool output of the dynamic document.
Regards
Raja -
Use of internal table with hearerline in ABAP OO
Hi,
I have a very basic question regarding the use of Internal table with headerline in ABAP OO.
I consider the concept of Internal table with header as one of the most features of ABAP, which is not there in any of the other porgramming languages.
I accept that OO's concept is one of the most powerful and a very good concept. We should also implement OO's concept in ABAP.
But my concern is why in the process of moving to OO's the concept of Internal table with headerline is no more used.
Can any one tell me the main reason for this. Is there any technical reason for this. By this i mean anything to do with memory or effeciency.
Thanx,
SrinivasHi Srinivas,
here is something more which i found about the same
follow this link
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5ac31178-0701-0010-469a-b4d7fa2721ca
and search for header line.
it says:
Tables with header lines not allowed
Only tables without header lines can be declared in ABAP Objects.
Error message in ABAP Objects if the following syntax is used:
DATA itab TYPE LIKE TABLE OF ... WITH HEADER LINE.
Correct syntax:
DATA: itab TYPE LIKE TABLE OF ... ,
wa LIKE LINE OF itab.
Reason:
It depends on the statement whether the body or header line of a table is accessed. The table name should identify the table uniquely. Programs are easier to read. Tables with header lines do not improve performance.
i hope this will help you.
regards,
Kinshuk
PS mark helpful answers -
Implement activation key in ABAP code
In short:
I want to implement a way to control if certain ABAP code (certain logicial areas) are executed, by having the ABAP code prompting for an activation key.
Much like when you are promptet for a Developer access key or an object key for chaning sap standard code.
The long explanation:
We have som local developement in our system landscape that we want subsiduraies to request an access key if they want to go beond a certain point (or if they want to use this logical part of the develoment).
They should be promptet for an access key - which they then request from the head office.
A case could also be if we are developing an SAP Add-on using AAK (Add-on Assemply Kit) and we want to close of certain areas of functionality, these areas of functionality could then be opened by a access key requested from headoffice.
Question
Do you know how to impelment an access key feature in ABAP?For programs (SE38), you may implement EXIT_SAPLS38E_001 of extension SEUED001 (using CMOD transaction) to keep users from modifying programs:
IF operation = 'EDIT' AND
program IN <reserved_to_head_office> AND
sy-uname NOT IN <head_office_team>.
MESSAGE i001(00) WITH 'program reserved exclusively to head office'.
RAISE cancelled.
ENDIF.
For function modules (SE37), you may implement EXIT_SAPLS38L_001 of extension SEU00004:
IF operation = 'MODIFY' AND
objectname IN <reserved_to_head_office> AND
sy-uname NOT IN <head_office_team>.
MESSAGE e001(00) WITH 'this FM is reserved exclusively to head office'
RAISING cancelled.
ENDIF.
For methods (SE24), I don't know how to do it. I guess implicit enhancement option should be used.
Edited by: Rob Burbank on Mar 22, 2010 6:40 PM -
Urgent: About Obsolete ABAP statements in Netweaver 4.0?
Can any body please help us about the obsolete ABAP statements in Netweaver 4.0 corresponding to SAP 4.6?
Hi,
Pls read first the rules of engagement.
Anyway, open an editor and choose Utilities->Help on->New features in ABAP.
Or check notes like
367676 and 689951
Eddy -
Hello,
Can any one explain how to do ABAP mapping?and necessary trancsaction codes for this?
Ex: I am sending PO to reciever system.
And if posibel screen shots....plz
Thank youHi Jyotsna,
Which mapping we need to use..
/people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/mapping%2btechniques
ABAP MAPPING...
You can implement the following mapping programs by using the ABAP Workbench:
ABAP mappings [Seite 375] in ABAP objects
XSLT mappings (ABAP Engine) [Seite 376]
Use
ABAP mappings are mapping programs in ABAP objects [Extern] that customers can implement using the ABAP Workbench.
Prerequisites
Note the prerequisites in the sections Purpose and Integration as well as the Restrictions in Mapping Development with the ABAP Workbench
Features
An ABAP mapping comprises an ABAP class that implements the interface IF_MAPPING in the package SAI_MAPPING. The interface has a method EXECUTE with the following signature:
Importing Parameter Parameter Meaning
SOURCE(Type XSTRING) Source XML document
PARAM(Type Ref To IF_MAPPING_PARAM) Parameter object for read access to runtime constants (see below)
TRACE (Type Ref To IF_MAPPING_TRACE) Trace object for writing messages in the mapping trace (see below)
Exporting Parameter Parameter Meaning
RESULT (Type XSTRING) Target XML document
Exception: CX_MAPPING_FAULT
Applications can decide themselves in the method EXECUTE how to import and change the source XML document. If you want to use the XSLT processor of SAP Web AS, you can use the ABAP Workbench to develop a stylesheet directly (see XSLT Mappings (ABAP Engine) [Seite 376]) rather than using ABAP mappings
Runtime Constants
In ABAP mapping you can read access message header fields. To do this, an object of type IF_MAPPING_PARAM is transferred to the EXECUTE method. The interface has constants for the names of the available parameters and a method GET, which returns the respective value for the parameter name. The constants are the same as in Java mappings [Seite 367], although the constant MAPPING_TRACE does not exist for ABAP mappings. Instead, the trace object is transferred directly using the parameter TRACE of the method IF_MAPPING~EXECUTE (see above).
regards,
Kishore -
Hi,
I am just starting at the tip of the ABAP / SAP iceberg. Any particular reason why the one-bit-length boolean data type not featuring in ABAP?
Thanks.>
BreakPoint wrote:
>
type-pools: abap.
>
> data: my_flag type boolean. "default false.
>
>
Any idea, why SAP has different "Definition" of Boolean (X=True, -=False, Space=Unknown) rather than industry standards True and False.
Regards,
Naimesh Patel -
Object-oriented + ABAP Objects
Hello friends,
I would like to know, is it possible in ABAP Objects to do the followings:
Single Inheritance
Multiple Inheritance
Polymorphism
Data Abstration
Method Overloading, and method Overriding
Inner Classes ?
Would be nice if some one highlights some of the features of ABAP Objects, in comparision or in regards to JAVA or so...
Many thanks in advance...Hi,
In ABAP : We do have final concept!
There are differencies between 'Local Classes' created in abap wihtin One program : for example Handler for ALV Grid
And Repository classes : Created in the repository available for any program!
Multi threading can be done via asynchronous Function module or with event!
greetz!
<b>Thanks for small-> Big reward!</b> -
Diference bet. sap 4.6b,4.6c & 4.7e from abap point of view
hi,
i want to know what are the diferences between the sap versions 4.6b, 4.6c and 4.7e.
at my home i am having 4.6b and in my institute i am having 4.7e.
will there be any difference sintax wise, look and feel wise in reports,alv's, scripts, smartforms, screen designing,bdc etc.
regards,
maqsoodThere is hardly any difference between 46B and 46C from ABAP poitn of view.
However there is quite a lot of new features/tools/syntax changes in 4.70, which is based on WAS 6.20.
(Web-extension/BSP, Unicode check, Code Inspector/SCOV, extended SE80, XSLT, New package concept etc)
The best is check SE38 Application help "New features in ABAP" and check the Changes in Release 6.10 & 6.20 section.
Same is also available in the Online help ( help.sap.com )
Peter -
Web Report - ABAP Vs JAVA engine - ABAP 10 times faster than JAVA
Guys,
I want to share what we found in our project and see if any of you have insights
into our findings.We are on NW2004S SP14 and we are moving to SP15 in a couple of weeks.We created query, developed WAD for it and executing the WAD takes for this query takes 22 secs (Vs 2 secs using ABAP) the query output has 1 million records and most of the actions we take from that point on like right click on account takes 20 secs (Vs 0 secs/instant using ABAP) , drilldown to level 4 of account hierarchy takes 58 secs (Vs 5 secs using ABAP), drilldown on cost center level 6 takes 42 secs (Vs 4 secs using ABAP), , right click on cost center takes 32 secs (Vs 3 secs using ABAP), ..etc.
Basically every action we take in the JAVA report takes an average of 28 secs.There are 9 aggregates built on the cube that are barely hit by this query but the same query performing same actions with same selections hit the aggregates many many times.The questions I have is why is ABAP so fast compared to JAVA ? What is true explanation behind this behavior ? What are the dis-advantages by using ABAP engine ? Users are loving the performance and features of ABAP while they weren't really on board with the original JAVA report (as it was slow). ABAP is sure enough 10 times faster than JAVA. Query/Query Properties are exactly the same in ABAP and JAVA.Please explain.
Cheers
RTHi All,
Thanks to all you for your responses. I appreciate your time for going through my questions and coming forward to express your views.
However, I was looking for more specific "factual" answers. My question is "What does a client miss if they opt to install only ABAP based BI 7.0, as against JAVA Based BI 7.0"
thanks again.
Naga -
Hi Experts,
I was looking at some blogs on HANA and I was searching for some documents/tutorials in the internet.
I want to know what will the impact of HANA concet in ABAP programming language.
What new features will be added to ABAP if the integration of HANA features into ABAP happens?
Respose will be highly appreciated.
Thanks,
RKHi Ravi,
Traditional SAP ABAP applications only offload very limited functionality into the database using SQL.Most of the application logic is executed in the ABAP application server which means that data to be operated upon needs to be copied from the database into the application server and vice versa.When executing data intensive logic, this copying of data is very expensive in terms of processor and data transfer time.
The SAP HANA database is optimized for modern technology trends (e.g. data resides in main-memory, massive-parallelization on multi-core CPUs).
The SAP HANA Database can leverage such hardware to optimally support application requirements by the use of SQLScript to offload data-intensive application logic into the database.
Thanks,
Goutham -
Explain me about the word Feature in ABAP-HR?
Hi,
Features are objects in the system that determine a specific value by querying different enterprise personnel or data structure fields. The value is known as a "return code" or "result". This value is used to determine default values and to control certain system processes. Features enhance system flexibility.
Features can be queried in programs. To make this possible, every feature must be generated. A report is created from the feature in the generation process. Programs that require feature information utilize this report.
The most important uses of features are outlined below:
Features for determining default values
Features are frequently used to determine default values. These values are proposed by the system when employee master data infotypes are maintained.
Feature ABKRS, for example, provides a default value for the payroll area. This is based on the data found in an employeeu2019s Organizational Assignment infotype. Feature LGMST also illustrates this concept: This feature proposes the valid wage and salary types for an employee, which are taken from the Basic Pay infotype. The feature also refers to the personnel and pay scale structure.
Features for controlling system processes
Pnnnn features (nnnn is ® infotype number) control the sequence of country-specific screens for displaying and editing master data infotypes. For example, if you set the country grouping as the user group parameter (e.g. UGR=01), the system accesses the country-specific screens.
Features for controlling list displays in evaluations
Feature BUWEB, for example, can be used to group or convert personnel areas or personnel subareas for evaluations. This enables you to change the sort sequence as required.
Structure
Features are defined by the following five elements, which must be maintained in the order listed when creating a feature:
Persons Responsible for a Feature
Country/Component Assignment for a Feature
Feature Structure
Decision Tree for a Feature
Feature Documentation (optional)
This is the basic about feature for more information go to SAP help
Thanks & Regards
Pallavi -
*New to ABAP: what is Report*
Hi Gurus,
i am new to ABAP.If any body can explain about what is report and how many types are there to create internal tables.
points will be reward.
Thanks,
Balakrishna.hi naidu,
When you are working in the SAP System, you may want to access information from the database. To do this, you use reports.
In this documentation, report refers to the report program, and list refers to the output u2013 that is, the results of the report.
Some reports display information; others allow you to perform analyses.
A report must be started, or executed. In many cases, the SAP System automatically executes a report. Sometimes, however, you will want to execute a report yourself.
In addition to report programs, the SAP System provides numerous reporting tools, each of which has its own set of procedures for executing report programs.
This documentation describes report programs only. For an introduction to the SAP reporting tools, refer to the Reporting Made Easy guidebooks (Release 4.0B). You can find these guidebooks at: www.saplabs.com/rme
In ABAP, there are a total of 7 types of reports. They are:
Classical
Interactive
Logical Database
ABAP query
ALV Reports (ALV stands for ABAP List Viewer)
Report Writer/Report Painter Views (There are different types of views also)
[Edit section] Classical Reports
These are the most simple reports. Programmers learn this one first. It is just an output of data using the Write statement inside a loop.
Classical reports are normal reports. These reports are not having any sub reports. IT IS HAVING ONLY ONE SCREEN/LIST FOR OUTPUT.
Events In Classical Reports.
INTIALIZATION: This event triggers before selection screen display.
AT-SELECTION-SCREEN: This event triggers after proccesing user input still selection screen is in active mode.
START OF SELECTION: Start of selection screen triggers after proceesing selection screen.
END-OF-SELECTION : It is for Logical Database Reporting.
[Edit section] Interactive Reports
As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers.
And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed.
We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21).
Events associated with Interactive Reports are:
AT LINE-SELECTION
AT USER-COMMAND
AT PF<key>
TOP-OF-PAGE DURING LINE-SELECTION.
HIDE statement holds the data to be displayed in the secondary list.
sy-lisel : contains data of the selected line.
sy-lsind : contains the level of report (from 0 to 21)
Interactive Report Events:
AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist.
AT PFn: For predefined function keys...
AT USER-COMMAND : It provides user functions keys.
TOP-OF-PAGE DURING LINE-SELECTION :top of page event for secondary list.
[Edit section] Logical Database Reports
Logical database is another tool for ABAP reports. Using LDB we can provide extra features for ABAP reports.
While using LDB there is no need for us to declare Parameters.
Selection-screen as they will be generated automatically.
We have to use the statement NODES in ABAP report.
If there are many tables the Performance will be slow as all the table data will be read from top node to bottom node .
[Edit section] ABAP Query Reports
ABAP query is another tool for ABAP. It provides efficency for ABAP reports. These reports are very accurate.
Transaction Code : SQ01
The advantage with ABAP QUERY is logic required for classic & interactive reports system design automatically 80%.
For ABAP QUERY handle these
SQ01 ; QUERY
SQ02 : INFOSET OR FUNCTIONAL AREA
SQ03: USER GROUP.
[Edit section] Report Writer
Key Concept :
Super users and end users can use Report Painter/Report Writer tools to write their own reports.
Giving them the ability to report on additional fields at their discretion shifts the report maintenance burden to them, saving SAP support groups time and effort normally spent creating and maintaining the reports.
Instead of using ABAP code to write a report in FI and CO, many users build a Report Painter/ Report Writer library using transaction MC27.
However, this workaround has some drawbacks. Little known transaction GRCT solves these problems in most cases, and eliminates the need to use transaction MC27.
ABAP Report Types
ABAP report types are those ones available in some report's attributes screen, i.e. :
Executable program
Function group (containing function modules)
Include
Interface pool
Class pool
Module pool
Subroutine pool
Also ALV means ABAP List Viewer. Most convenient way to use it is through reuse library (cf. transaction se83) available from release 4.6 of SAP R/3.
ALV is available in two modes: list and grid. List mode is good old list processing with standard functionnalities, and grid mode is using a new OCX object displaying grids.
hope its clear to you,
Reward points if usefull,
Thanks,
Kalyan. -
HIII..
I want to know about a ABAP web service . How this can be created????
Thanks in advance.
Regards
Mayank SaxenaHi,
Web Services
Business processes consist of individual process steps that can vary in how extensive they are. One or more functions are then assigned to these steps; an executing software component is then assigned to each function. Clearly, the heterogeneous nature of system landscapes in enterprises makes it impossible to implement all the necessary functions associated with a complete process using the same technology on the same component. A modern software infrastructure must be in the position to integrate functions, implemented on widely differing software components, in one effective complete process. Until now, the combination of different applications has largely been based on manually declared interfaces, message formats, and agreements between business partners.
Web services simplify this process. They are based on open, generally accepted standards. They enable you to combine functions in a single process, even if they are implemented in widely differing software components. Web services are standalone, executable entities that can be published, searched for, and called, across a network.
Introduction
The SAP Web Application Server implements the following basic Web services standards: eXtensible Markup Language (XML); Simple Object Access Protocol (SOAP); Web Service Definition Language (WSDL); and Universal Description, Discovery, and Integration (UDDI).
In the documentation that follows, we assume that the reader is familiar with Web service standards and techniques. You will find a general introduction to the Web Services topic under Sun Microsystems, in the pages of W3C, and in the general explanations for standardization organization OASIS under the topic UDDI.
Integration
ABAP and Java Web Services
Enterprises can extend their solutions by using Java or ABAP Web services, or both. If your priority in programming an application is the selection of data, the integration of an ABAP Web Service could be appropriate. Conversely, if you are implementing processes that involve different business partners and systems, it may be beneficial to program in Java and integrate Java Web Services.
The Web Service Framework consists of:
· The development environment for the ABAP Engine
· The development environment for the J2EE Engine
· Tools that support UDDI registration
· A distributed, interoperable SOAP runtime (ABAP and J2EE Engine)
Processing of SOAP requests using the Internet Communication Framework
Web Services and the SAP Exchange Infrastructure
The SAP Exchange Infrastructure is a key area in SAP NetWeaver. The Exchange Infrastructure provides an open, process-oriented integration infrastructure for the unhindered flow of information and for XML-based message exchanges. Systems integrated using SAP XI exchange messages over the Integration Server.
The programming model for XI ABAP proxies and Web services has been unified. The advantage of this is that both technologies can be implemented so that they complement one another. Messages can be sent and received either using the XI runtime or the Web service runtime.
Additional proxy runtime services can be controlled using protocols that you request using a proxy method. The features you have available depend on whether you are using the Web Service Framework or the Exchange Infrastructure for communication.
Features
The ABAP Workbench offers an environment where you can publish, search for, and call Web services. It enables the SAP Web Application Server to act both as a server and client for Web services.
The Web service infrastructure enables developers to:
· Publish independent function that were implemented as RFC-enabled function modules, function groups, BAPIs, or XI message interfaces. This includes functions available as part of mySAP.com solutions, or functions developed by customers or partners. The Web service can be used across the entire Internet using standard protocols and can easily be added to any development environment. (See also Creating a Web Service).
· Consume Web services, regardless of where they are stored or how they are implemented. Business processes can be implemented across several systems, either within an enterprise or across several enterprises. (See also Consuming Web Services.)
The following triangle shows the basic architecture of the Web Service Framework:
Service Provider
After the functions have been implemented, a Web service interface must be created that provides a representation of the Web service for the user. This interface offers an abstraction layer and thus independence from the specific implementation used. Based on this interface, the Web service is configured and can be called at runtime. Publishing Web services in a UDDI Registry is supported by the UDDI client functions in the SAP Web AS.
Service Directory
You can store Web service definitions and released Web Services in a UDDI Registry. WSDL documents provide the basis of the Web service client, which can then be searched for in the UDDI using either a browser or the standard UDDI APIs. Web services can be published and searched for in all registries that conform to the standard. SAP also offers a public UDDI Business Registry under uddi.sap.com.
Service Requestor
The SAP Web AS allows you to integrate Web services. It can generate Web service clients from WSDL files.
Standardization and Extensibility
Web services and Web service standards develop quickly; new standards are being presented continually at standardization committees. However, these extended standards such as security standards or additional protocols can easily be integrated in the Web Service Framework using SAP.
See also:
Web Services Toolset
For more information see the following link.
http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm
Please Reward If Helpful
Jagadish -
Enable Auto correct Option in Abap Editor
In Our QAS server, we saw a feature of ABAP editor. For some errors a particular icon will come in error window. On clicking the icon it will automatically rectify the error . For example .. IF we change a variable name from name1 to name2 . If the error comes , on clicking that, it will automatically change name1 to name2. My problem is that we are getting this option only in QAS . We want it in development server. Any configuration is reqd ?? Please give ur valuable suggestions..
Thanking you in advanceHello Shankar,
There is one setting that I can think of at the moment. In the ABAP Editor screen, go to the menu Utilities--> Settings, For the "ABAP Editor" tab, there is an option called "Display All Syntax Errors". If you have this option checked, you will no longer be able to see the Auto-Correct option. Of course, this option is user-specific. So Make sure you have this option de-selected.
Hope this helps...
Regards,
Anand Mandalika.
P.S. : If this solves your problem, please do reward the points.
Maybe you are looking for
-
Front row in Lion 10.7 issue (-70012) and video_ts not playing issue -solved
Hi all, thought I just post my solution to the front row issues in 10.7. I looked for a solution for days, and when I found it, I thought it would make other peoples live easier if I combine everything in one post. I actually had a couple of issues:
-
Aperture won't start after upgrade to 2.1.1 and 10.5.5
Help! I cannot access aperture library at all. It crashes straight away on booting up. Worked fine before a recent upgrade to 2.1.1 and system to 10.5.5. Tried reinstalling aperture, same problem. I have my library in an external firewire 800 mounted
-
Why do colors look different in PDF saved from Powerpoint with glow?
When I save a Microsoft Powerpoint (2008 for Mac) Presentation as PDF, then view the PDF with Preview (application on Mac) it looks right. But when I view it with Adobe Reader, the color is off (it looks dim like there is a gray screen over it) on an
-
Error Handling in workitem---user decision step
HI Experts, I have created work item through user decision step. In that decision i have given Approve & Reject Option now when user click on Approve that i need to do some validation based on this i need to give error also at same time i dont want t
-
Why are dialog boxes acting up in Indesign CC 64-bit?
Hi. I have Windows 7. When I use the regular Indesign, it works fine, but if I try sing the 64-bit version, I cannot use my mouse on the dialog boxes - they don't respond. The only way to navigate around them is with the Tab and arrow keys. Any ideas