Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

exits and FAQS

Former Member
0 Likes
858

1. How many types of exits are there in sap?

2. Difference between exits and enhancements and badis?

3. How can we call a session in a report?

4. what is a value table?

5. What are Text Elements?

7 REPLIES 7
Read only

Former Member
0 Likes
826

Please give me reply

Read only

Former Member
0 Likes
826

Hi,

What are user exits? What is involved in writing them? What precautions are needed?

User defined functionality included to predefined SAP standards. Point in an SAP program where a customer's own program can be called. In contrast to customer exits, user exits allow developers to access and modify program components and data objects in the standard system. On upgrade, each user exit must be checked to ensure that it conforms to the standard system.

There are two types of user exit:

User exits that use INCLUDEs.

These are customer enhancements that are called directly in the program.

User exits that use tables.

These are used and managed using Customizing.

Should find the customer enhancements belonging to particular development class.

What are the different ways in which you can make changes to SAP standard software ?

Customizing

Enhancements to the SAP Standard

Modifications to the SAP Standard

Customer Development

What is customizing ?

Customizing is the setting of system parameters via SAP's own interface.

Why do you need enhancements ?

The standard applications do not offer some of the functionality you need. The R/3 enchancement concept allows you to add your own functionality to SAP's standard business applications.

What are the different types of enhancements ?

Enhancements using customer exits

Customers' potential requirements which are not included in the standard software are incorporated in the standard as empty modification 'shells'. Customers can then fill these with their own coding. Enhancements can relate to programs, menus and screens. Upward compatibility is assured. In other words, SAP guarantees that the jump from the standard software to the exit and the interface which call the exit will remain valid in future releases.

Enhancements to ABAP/4 Dictionary elements

These are ABAP/4 Dictionary enhancements (creation of table appends), text enhancements (customer-specific key words and documentation for data elements) and field exits (creation of additional coding for data elements).

What is customer development ?

Creating customer-specific objects within the customer name range.

What is SSCR ?

SSCR (SAP Software Change Registration) is a procedure, for registering all manual changes to SAP source coding and SAP Dictionary objects.

What is the difference between modifications and enhancements ?

Modifications mean making changes to the SAP standard functionality.

Enhancements mean adding some functionality to SAP standard functionality.

What are the disadvantages of modification ?

Modifying standard code can lead to errors

Modifications mean more work during software upgrades

What are the advantages of enhancements ?

Do not affect standard SAP source code

Do not affect software upgrades

when do you opt for modification ?

Customer exits are not available for all programs and screens within the R/3 standard applications. You can only use exits if they already exist within the SAP R/3 System . Otherwise you have to opt for modifications .

What are the various types of customer exits ?

Menu exits

Screen exits

Function module exits

Keyword exits

What is a menu exit ?

Adding items to the pulldown menus in standard R/3 applications .

13.What is a screen exit ?

Adding fields to the screens within R/3 applications. SAP creates screen exits by placing special subscreen areas within a standard R/3 screen and calling a customer subscreen from within the standard dynpro's flow logic.

What is a function module exit ?

Adding functionality to R/3 applications. Function module exits play a role in both menu and screen exits.

What is a keyword exit ?

Add documentation to the data elements of key words defined in the ABAP/4 Dictionary. The system displays this documentation whenever a user presses F1 to get online help for a screen field.

How do SAP organizes its exits ?

SAP organizes its exits in packages that are called SAP enhancements. Each SAP enhancement can contain many individual exits.

BDC Document Links:

Go thur these

http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm

http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html

http://www.sap-img.com/abap/learning-bdc-programming.htm

http://www.sap-img.com/bdc.htm

www.sappoint.com/abap/bdcconcept.pdf

http://www.sap-img.com/abap/learning-bdc-programming.htm

http://www.sapdevelopment.co.uk/bdc/bdchome.htm

http://www.planetsap.com/bdc_main_page.htm

What is a check table and What is a value table?

The relational data model contains not only tables, but also relationships between tables. These relationships are defined in the ABAP/4 Dictionary by foreign keys. An important function of foreign keys is to support data integrity in the relational data model. Foreign key fields may assume only those values allowed by the check table, in other words, values occurring in the primary key of the check table.

A foreign key provides a link between two tables, for eg.,T1 and T2 by including a reference in table T1 to the primary key of table T2. For this purpose, Foreign key fields assigned to the primary key fields of T2 are included in T1. Table T1, which is the one being checked, is called a foreign key table, and table T2 is called a check table. The terms dependent (foreign key) table and referenced (check) table are also used.

VALUE TABLE:If the domain of the check field has a value table, this is proposed by the system as check table in the foreign field maintenance. The key fields of the value table are in this case assigned fields of the foreign key table with the same domain. These fields may assume only those values allowed by the value table.

The value range of the domain can be defined by specifying value table.All table fields referring to this domain can then be checked against the corresponding field of this value table.In order the check can be executed, a foreign key must be defined for the value table.

There are two ways of formatting texts using layout sets:

The text is entered and output in standard text maintenance. You can assign any layout set. Text can also be entered via the layout set a letter header, for example.

The text is formatted via an ABAP/4 program using a layout set. The program can either dynamically output individual predefined text modules,

or transfer entire texts, which are to be output in the layout set.

<b>SAP SCRIPT:</b>

http://help.sap.com/saphelp_46c/helpdata/en/d6/0dc169494511d182b70000e829fbfe/frameset.htm

http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm

check following links

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/591c31cf-0d01-0010-8ab7-a1f...

this one is very simple example tutorial.

http://www.thespot4sap.com/articles/SAPscript_Introduction.asp

http://help.sap.com/saphelp_46c/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm

http://help.sap.com/saphelp_46c/helpdata/en/f4/b4a54b453611d189710000e8322d00/frameset.htm

Reward points if this Helps.

Manish

Message was edited by:

Manish Kumar

Read only

Former Member
0 Likes
826

Exits:

a) Function Exits, Screen Exits,Menu Exits.Transactions: CMOD and SMOD

b) BADI's are an object oriented approach to creating user exits.

Transaction: SE18 and SE19

The SAP Enhancement Framework is explained in

http://help.sap.com/saphelp_erp2005vp/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm

Reward points if this helps.

Regards

Meera

Read only

Former Member
0 Likes
826

Hi,

1)Enhancements in SAP

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e...

4) Value Table:

A foreign key links two tables T1 and T2 by assigning fields of table T1 to the primary key fields of table T2. Table T2 is then known as the check table of the foreign key.

value table : when you define a domain, you already know that all fields that use the domain will need to be checked against a particular table. You can store this information in the domain definition by specifying a value table.

If you try to define a foreign key for a field that points to this domain, the value table of the domain is proposed as the check table for the foreign key.

5) Text Elements

http://help.sap.com/saphelp_46c/helpdata/en/d6/0db400494511d182b70000e829fbfe/frameset.htm

Regards,

Ram

Read only

Former Member
0 Likes
826

hi

good

1-3

2-Exits are nothing but the gateway to do the enhancements

Badis->

BADIs are Business Add-Ins.

More details at help.sap.com -> NW -> Enhancements. (rough link)

The are used to provide custom extension of a standard functionality.

BADIs are the new form of user exit.

They use ABAP OO.

The support multiple implementation.

The BC training on enhancements course goes into detail about how the

function if you cant figure it out from the help alone.

BADIs are defined in SE18 and implemented in SE19.

Code in application checks to see if and implementation is "active"

and calls it if it has been implemented.

thanks

mrutyun^

Read only

Former Member
0 Likes
826

hi

good

1-3

2-Exits are nothing but the gateway to do the enhancements

Badis->

BADIs are Business Add-Ins.

More details at help.sap.com -> NW -> Enhancements. (rough link)

The are used to provide custom extension of a standard functionality.

BADIs are the new form of user exit.

They use ABAP OO.

The support multiple implementation.

The BC training on enhancements course goes into detail about how the

function if you cant figure it out from the help alone.

BADIs are defined in SE18 and implemented in SE19.

Code in application checks to see if and implementation is "active"

and calls it if it has been implemented.

Value Table

This is maintained at Domain Level.

When ever you create a domain , you can entered allowed values. For example you go to Domain SHKZG - Debit/credit indicator. Here only allowed values is H or S.

When ever you use this Domain, the system will forces you to enter only these values.

This is a sort of master check . To be maintained as a customization object. This mean that if you want to enter values to this table you have to create a development request & transport the same.

TEXT ELEMENT->

Text element maintenance is a tool in the ABAP Workbench that makes it easier to maintain program texts in different languages. Any text that a program displays on the screen can be maintained as a text element.

http://help.sap.com/saphelp_nw04/helpdata/en/e3/9609f6eb0711d194d100a0c94260a5/content.htm

thanks

mrutyun^

thanks

mrutyun^