Application Development 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: 

CTS

Former Member
0 Kudos

Hello SAP Pandits,

Once an object is developed, what would be the next step or process in the real time.

How an object will be transported and how it will be presented to client (or to presentation layer).

Also please explain me the tree structure of 'REQUEST' and 'TASK' with the naming convention of the both.

Who creates the same in real time and we as ABAPEERs, what is our role once we are done with the object development.

Please help me in this regards.

6 REPLIES 6

Sm1tje
Active Contributor
0 Kudos

If you have assigned (created) a transport request all you have to do is release the task and the request and import into other system.

After import it will be present in next environment, and no need to expose it to client or presentation layer. This is all part of the transport.

About naming convention: First three letters are your system name (same as on the bottom of your SAP Screen). next a number starting (normally) with 9..... This number will be generated automatically by the system.

The request is the 'main' transport which will be imported via transaction STMS in other system. Underneath this request you have some tasks, which are your development objects. A request CAN have more tasks, and you will have to release them all before releasing Request.

Normally we (ABAPPERS) create the transport (request and task), and release them. The import most of the times is done by Basis, but this also depends on your authorizations. This differs from customer to customer.

Former Member
0 Kudos

Thank you

Former Member
0 Kudos

Hi Suresh,,

First an object will be assigned to you and then a task will be created on your name by the Requester, so when ever you make the changes first it will ask you to assign a request and that object will be stored under your task for a particular request. ok then once you done with the develpment, then you have to release your task by going to SE10, and then your development will be send to Quality server, here they will check your development according to client requirements and naming standards.if it is ok then it will be moved to Production server.

Thats it.

<REMOVED BY MODERATOR>

thanks

Abdul.

Edited by: Alvaro Tejada Galindo on Apr 28, 2008 1:27 PM

Former Member
0 Kudos

hi suresh first once you develoup the object you have to release it ..and it has to transport from one client to another through the tcode scc1 ..

go to se01 , 09 , 10 you will get all the requests there ...go to se09 and check the release and modified check boxes and choose display..then it will display all the requests...first the task should be released and then request..the task will always below the request.

regards,

venkat

Former Member
0 Kudos

hi suresh,

this will give you the struture of request,pls chk it out.

An object is original in only one system. In the case of objects delivered by SAP, the original system is at SAP itself. These objects are only copies in customer systems. This applies to your development system and all other systems that come after it.

If you write your own applications, the objects that you create are original in your development system. You assign your developments to a change request, which has the type

Development/Correction.

This request ensures that the objects are transported from the development system into the

subsequent systems.

Changes to an original are called corrections. They are recorded in a change request whose tasks have the type "Development/correction".

If, on the other hand, you change a copy (an object outside its own original system), the change is recorded in a task with the type "Repair". Repairs to SAP objects are called modifications.

&#61472;When you repair your own objects (for example, if something goes wrong in your production system), you can correct the original in your development system straight away. When you change copies, you must correct the original immediately!

&#61472;However, you cannot do this with SAP objects, because they are not original in any of your systems.

&#61472;You should only modify the SAP standard if the modifications you want to make are absolutely necessary for optimizing workflow in your company. Be aware that good background knowledge of application structure and flow are important prerequisites for deciding what kind of modifications to make and how these modifications should be designed.

&#61472;Whenever you upgrade your system, apply a support package, or import a transport request, conflicts can occur with modified objects.

&#61472;Conflicts occur when you have changed an SAP object and SAP has also delivered a new version of it. The new object delivered by SAP becomes an active object in the Repository of your system.

&#61472;If you want to save your changes, you must perform a modification adjustment for the objects. If you have a lot of modified SAP objects, your upgrade can be slowed down considerably.

&#61472;To ensure consistency between your development system and subsequent systems, you should only perform modification adjustments in your development system. The objects from the adjustment can then be transported into other systems.

&#61472;A registered developer must register registers changes to SAP objects. Exceptions to this registration are match codes, database indexes, buffer settings, customer objects, patches, and objects whose changes are based on automatic generation (for example , in Customizing). If the object is changed again at a later time, no new query is made for the registration key. Once an object is registered, the related key is stored locally and automatically copied for later changes, regardless of which registered developer is making the change. For the time being, these keys remain valid even after a release upgrade.

&#61472;How do you benefit from SSCR (SAP Software Change Registration)?

&#61472;Quick error resolution and high availability of modified systems

All objects that have been changed are logged by SAP. Based on this information, SAP's First Level Customer Service can quickly locate and fix problems. This increases the availability of your R/3 system.

&#61472;Dependable operation

Having to register your modifications helps prevent unintended modification. This in turn ensures that your R/3 software runs more reliably.

&#61472;Simplification of upgrades

Upgrades and release upgrades become considerably easier due to the smaller number of

modifications.

&#61472;If you want to change an SAP Repository object, you must provide the Workbench Organizer with the following information:

&#61472;SSCR key

&#61472;Change Request

&#61472;We saw above how you get an SSCR key. If you now continue to change the object, you must confirm the following warning dialogs: At this point, you can still cancel the action without repairing the object.

&#61472;The Workbench Organizer asks you to enter a change request, as it would for your own objects. The object is automatically added to a repair task. The change request has the following functions:

&#61472;Change lock

After the task has been assigned, only its owner can change the object.

&#61472;Import lock

The object cannot be overwritten by an import (upgrade or support package).

&#61472;Versions

The system generates a new version of the object (see below).

&#61472;After development is finished, the programmer releases the task. At this point, the programmer must document the changes made. The objects and object locks valid in the task are transferred to the change request. If the developer confirms the repair, the import lock passes to the change request. If the developer does not confirm the repair when releasing the task, the import lock remains in place.

Only the developer can release this lock.

&#61472;Once the project is completed, you release the change request. This removes all of the change request's object locks. This applies both to the change locks and the import locks.

&#61472;When the change request is released, the objects are copied from the R/3 database and stored in a directory at operating system level. They can then be imported into subsequent systems by the system administrator.

&#61472;After the modifications have been imported into the quality system, the developer must test them and check the import log of the request.

&#61472;When you release a change request, a complete version of all objects contained in the change request is written to the versions database.

&#61472;If you transport the Repository object again later, the current object becomes a complete copy and the differences between the old and the new object are stored in the versions database as a backwards delta.

&#61472;Whenever you assign a Repository object to a task, the system checks whether the current version agrees with the complete copy in the versions database. If not, a complete copy is created. This process is also initiated the first time you change an object, since SAP does not deliver versions of Repository objects.

&#61472;The versions of a Repository object provide the basis for modification adjustment. To support adjustment, information on whether the version was created by SAP or by the customer is also stored.

&#61472;Encapsulate customer source code in modularization units instead of inserting it directly into SAP source code (with, for example, customer function module calls in program source code, or customer sunscreen calls for additional screen fields).

&#61472;When encapsulating the customer portions of a program, be sure to use narrow interfaces.

You should define a standard for all of your company's modification documentation (see the following slides).

&#61472;You should also maintain a list of all modifications to your system (a modification log - see the following slides).

&#61472;All requests that contain repairs must be released before an upgrade so that all relevant customer versions can be written to the versions database (the system compares versions during adjustment).

&#61472;Repairs must also be confirmed prior to upgrade, otherwise the object being repaired is locked and cannot be imported.

&#61472;Any modifications that you make to ABAP Dictionary objects that belong to Basis components are lost at upgrade--- these objects revert to their earlier form and no adjustment help is offered. This can lead to the contents of certain tables being lost.

&#61472;The aim of the Modification Assistant is to make modification adjustments easier. In the past, the granularity of modifications was only at including program level. Today, a finer granularity is available. Now, modifications can be recorded at subroutine or module level.

&#61472;This is because (among other reasons) the modifications are registered in a different layer. As well as providing finer granularity, this means that you can reset modifications, since the original version is not changed.

&#61472;If, in the past, you modified an include for which SAP provided a new version in an upgrade, a modification adjustment was necessary. The modification adjustment had to be performed line by line. The system provided little support.

&#61472;The Modification Assistant has changed this situation considerably. Modifications are now recorded with finer granularity. For example, if you modify a subroutine, the rest of the include remains unchanged. If SAP delivers a new version of the include, the system looks to see if there is also a new version of that subroutine. If this is not the case, your changes can be incorporated into the new version automatically.

&#61472;The original version of each software layer comprises the originals from the previous layer plus current modifications.

&#61472;Above is a list of the tools supported by the Modification Assistant.

&#61472;In the ABAP Editor, you can use modification mode to change source code. Only a restricted range of functions is available in this mode. You can add, replace, or comment out source code, all under the control of the Modification Assistant.

&#61472;Changes to layout and flow logic in the Screen Painter are also recorded.

&#61472;The Modification Assistant also records changes in the Menu Painter and to text elements, as well as the addition of new function modules to an existing function group.

&#61472;To avoid conflicts in the upgrade, table appends are also logged by the Modification Assistant.

&#61472;If you want to change an SAP object, you must provide the following information:

&#61472;SSCR key

&#61472;Change request

&#61472;The system informs you that the object is under the control of the Modification Assistant. Only restricted functions are available in the editor.

&#61472;You can switch the Modification Assistant on or off for the entire system changing the R/3 profile parameter eu/controlled_modification. SAP recommends that you always work with the Modification Assistant.

&#61472;You can switch off the Modification Assistant for single Repository Objects. Once you have done so, the system no longer uses the fine granularity of the Modification Assistant.

&#61472;In modification mode, you have access to a subset of the normal editor tools. You can access these using the appropriate pushbuttons. For example, in the ABAP Editor, you can:

&#61472;Insert

The system generates a framework of comment lines between which you can enter your source code.

&#61472;Replace

Position the cursor on a line and choose Replace. The corresponding line is commented out, and another line appears in which you can enter coding. If you want to replace several lines, mark them as a block first.

&#61472;Delete

Select a line or a block and choose Delete . The lines are commented out.

&#61472;Undo modifications

This undoes all of the modifications you have made to this object.

&#61472;Display modification overview

Choose this function to display an overview of all modifications belonging to this object.

&#61472;&#61472;The Modification Assistant automatically generates a framework of comment lines describing the action. The comment also contains the number of the change request to which the change is assigned, and a number used for internal administration.

&#61472;The "modification overview" icon provides you with an overview of the modifications you have made in the current program.

&#61472;The display is divided up according to the various modularization units. This corresponds to the structure used by the Modification Assistant to record the modifications.

&#61472;You can reset all of the modifications that you have made to the current object using the

Modification Assistant by choosing this function. The record of the modifications is also deleted.

&#61472;Remember that you cannot selectively undo modifications to an object. You can only undo modifications based on the "all or nothing" principle.

&#61472;The Modification Browser provides an overview of all of the modified objects in the system. The Modification Browser differentiates between modifications made with the Modification Browser and those made without.

&#61472;On the initial screen of the Modification Browser, you can restrict the selection according to various criteria. This allows you to find modifications in a particular area.

&#61472;The Modification Assistant displays the hit list in tree form. Objects are arranged by:

&#61472;Modification type (with/without the Assistant)

&#61472;Object type (PROG, DOMA, DTEL, TABL,)

&#61472;SAP recommends that you use Modification Assistant to make changes to R/3 objects. Changes without the use of the Modification Assistant should be avoided. However, should this be necessary, you should document your modifications in the source code as follows?

&#61472;Preliminary corrections SAP note, repair number, changed by, changed on, valid until

&#61472;Customer functions that have been inserted subject area, repair number, changed by, changed on, INSERTION

&#61472;Customer functions that have replaced SAP functions subject area, repair number, changed by, changed on, REPLACEMENT The SAP functions that you do not need should not be deleted, but commented out instead

&#61472;Subject areas are specified in the relevant process design blueprint (for example, subject area SD_001 = pricing).

&#61472;SAP recommends that you keep a record of all modifications that have been made to your system (that is, of any changes you have made to Repository objects in the SAP namespace).

&#61472;The following information should be logged for each modification:

&#61472;Object type (program, screen, GUI status,)

&#61472;Object name

&#61472;Routine (if applicable)

&#61472;Subject area (according to process design blueprint or technical design)

&#61472;Repair number

&#61472;Changed on

&#61472;Changed by

&#61472;Preliminary correction? (Yes/no)

&#61472;OSS note number, valid until Release x.y

&#61472;Amount of time necessary to recreate modification during adjustment (measured in hours).

&#61472;A module pool is organized as a collection of include programs. This is particularly useful for making the program easier to understand. The organization is similar to that of function groups. In particular, the naming convention, by which the last three letters of the name of the include program identify its contents, is identical.

&#61472;The main program, as a rule, contains the include statements for all of the include programs that belong to the module pool.

&#61472;The includes described as "special" includes in the program are themselves only include programs - technically, they are not different. These programs are only delivered once.

&#61472;User exits are a type of system enhancement that were originally developed for the R/3 Sales and Distribution Module (SD). The original purpose of user exits was to allow the user to avoid modification adjustment.

&#61472;A user exit is considered a modification, since technically objects in the SAP namespace are being modified.

&#61472;The SAP developer creates a special include in a module pool. These includes contain one or more subroutines routines that satisfy the naming convention userexit_. The calls for these subroutines have already been implemented in the R/3 program. Usually global variables are used.

&#61472;After delivering them, SAP never alters includes created in this manner; if new user exits must

be delivered in a new release, they are placed in a new include program.

&#61472;User exits are actually empty subroutines that SAP developers provide for you. You can fill them with your own source code.

&#61472;The purpose behind this type of system is to keep all changes well away from program source code and store them in include programs instead. To this end, SAP developers create various includes that fulfill the naming conventions for programs and function groups. The last two letters in the name of the include refer to the include that the customer should use: "Z" is usually found here.

&#61472;Example: Program SAPM45A

Include M45AFZB

&#61472;This naming convention guarantees that SAP developers will not touch this include in the future. For this reason, includes of this nature are not adjusted during modification upgrade.

&#61472;The subroutine call is already implemented in the programt. The interface is already defined. Normally, subroutines of this type only work with global data.

&#61472;If any new user exits are delivered by SAP with a new release, then they are bundled into new includes that adhere to the same naming convention.

&#61472;You can find a list of all user exits in the SAP Reference Implementation Guide.

&#61472;There, you will also find documentation explaining why SAP developers have created a particular user exit.

&#61472;Follow the steps described in the Implementation Guide.

&#61472;The set of objects for adjustment is derived from the set of new objects delivered by SAP in a new release. This is compared with the set of objects you have modified on your R/3 system.

&#61472;The intersection of these two sets is the set of objects that must be adjusted when you import an upgrade or support package.

&#61472;During modification adjustment, old and new versions of ABAP Repository objects are compared using transactions SPDD and SPAU.

&#61472;You do not have to call transaction SPDD to adjust Dictionary objects if:

No changes have been made to SAP standard objects in the Dictionary

You have only added customer objects to your system. Only SAP objects that have been

Changed must be adjusted using this transaction.

&#61472;All other ABAP Repository objects are adjusted using transaction SPAU. Upgrade program R3up tells you to start the transaction after upgrade has finished. You have 30 days to use transaction SPAU after an upgrade. After 30 days, you must apply for a SSCR key for each object that you want to adjust.

&#61472;Transaction SPAU first determines which objects have been modified. Then it determines which of these objects have a new version in the current upgrade. Modification adjustment allows you to transfer the modifications you have made in your system to your new R/3 Release.

&#61472;Use transaction SPDD to adjust the following ABAP Dictionary objects during the modification adjustment process:

&#61472;Domains

&#61472;Data elements

&#61472;Tables (structures, transparent tables, pool, and cluster table, together with their technical settings)

&#61472;These three object types are adjusted directly after the Dictionary object import (before the main import). At this point in time, no ABAP Dictionary objects have yet been generated. To ensure that no data is lost, it is important that any customer modifications to domains, data elements, or tables are undertaken prior their generation.

&#61472;Changes to other ABAP Dictionary objects, such as lock objects, match codes, or views, cannot result in loss of data. Therefore, these ABAP Dictionary objects are adjusted using transaction SPAU after both main import and object generation have been completed. You can use transaction SPAU to adjust the following object types:

&#61472;ABAP programs, interfaces (menus), screens, match code objects, views, and lock objects.

&#61472;During modification adjustment, you should use two different change requests to implement the changes you have made: one for SPDD adjustments and another for SPAU adjustments. These change requests are then transported into other R/3 systems you want to adjust. This guarantees that all actual adjustment work takes place solely in your development system.

&#61472;When upgrading additional R/3 systems, all adjustments exported from the first system upgrade are displayed during the ADJUSTCHK phase. You decide which adjustments you want to accept into your additional systems and these are then integrated into the current upgrade. Afterwards, the system checks to see if all modifications in the current R/3 system are covered by the change requests created during the first system upgrade. If this is the case, no adjustments are made during the current upgrade.

&#61472;Note: For this process to be effective, it is important that all systems involved have identical system landscapes. This can be guaranteed by first making modifications in your development system and then transporting them to later systems before you upgrade the development system. You can also guarantee that all of your systems have an identical system landscape by creating your development system before upgrade as a copy of your production system and then refraining from modifying the production system again until after upgrade.

&#61472;Version compare is also used during or after an upgrade for modification adjustment.

&#61472;During modification adjustment, version compare determines the number of SAP objects that you a) changed in the system and that b) were then overwritten by SAP at upgrade.

&#61472;Version compare allows you to find where changes were made and transfer them to your new SAP version if you want.

&#61472;The icons in front of the individual objects that need adjustment show how they can be adjusted.

The possible methods are:

&#61472;Automatically

The system could not find any conflicts. The changes can be adopted automatically

&#61472;Semi-automatically

The individual tools support you in adjusting the objects.

Manually

You must process your modifications with no special support from the system. In this case, the modification adjustment does allow you to jump directly into the relevant tool.

&#61472;Adjusted objects are identified by a green tick.

&#61472;If you want to use the new SAP standard version, use Restore original. If you do this, you will have no further adjustment work in future.

EPILOG:

&#61472;Modifications can be categorized as 'critical' if:

They affect numerous other Repository objects (such as Dictionary objects or function modules) Modification adjustment is either difficult (as with menus, pushbuttons, and GUI interfaces up to 4.5A) or not supported by a tool (transaction codes, message classes, logical databases)

&#61472;Without the Modification Assistant (prior to Release 4.5A), both modifying GUI statuses and GUI titles, as well as assigning customer function modules to SAP function groups, should be considered 'critical' activities.

&#61472;SAP only changes the following Repository objects in an upwardly compatible manner. They should therefore be considered 'uncritical' by customers who want to call them:

&#61472;Function modules that have been released

BAPIs

&#61472;Includes for user exits

&#61472;Screen, program, menu, and field exits

&#61472;After an upgrade, you must test customer reports that call SAP objects, as well as all objects displayed in the upgrade utility SPAU. This is also true for Repository objects that have been automatically adjusted using the Modifications Assistant (from Release 4.5A).

&#61472;You must be familiar with the processing logic of your application in order to be able to adjust programs properly.

&#61472;Modification adjustment is not necessary if you avoid making changes to SAP objects.

&#61472;Use program enhancements and appends with SAP tables to enhance SAP objects in such a way that your changes cannot be overwritten by SAP at upgrade.

&#61472;From Release 3.0, you can use Online Correction Services to import and cancel support packages and patches automatically (instead of having to insert preliminary corrections manually).

&#61472;Modification has the advantage that your live Repository objects do not lose their connection to the SAP standard. Copying, on the other hand, has the advantage that no modification adjustment will be necessary for your live Repository objects during subsequent upgrades.

&#61472;Choose copying instead of modifying if:

&#61472;You have to make numerous changes to an SAP program

&#61472;Your requirements will not be met by the standard in future R/3 releases

&#61472;

During copying, pay attention to a Repository object's environment as well. You should only decide whether to modify or copy after having informed yourself of the consequences for the main program, as well as for all of the includes attached to the main program. The same holds true for function groups and function modules.

&#61472;ABAP development projects can be evaluated according to the following criteria:

&#61550;&#61472;What will implementation cost, measured in manpower (creating the concept, implementation, testing)?

&#61472;How will the ABAP development project influence:

Production operation performance?

The amount of adjustment at upgrade?

&#61472;By calling SAP objects in your own Repository object, you can drastically reduce the amount of effort needed to implement your object. However, any changes that SAP makes to the Repository object you choose to call may make extra adjustment necessary after an upgrade. For example, SAP could conceivably change the user interface of a screen for which you have written a batch input program.

&#61472;Naming conventions allow you to avoid naming conflicts and give your Repository objects meaningful names (that can be understood by others).

&#61472;The following naming conflicts can occur:

&#61472;An SAP Repository object and a customer Re pository object conflict

SAP Repository objects and customer Repository objects should be separated from each other by strict adherence to SAP naming conventions. OSS note 16466 gives you an overview of the current naming conventions for customer Repository objects (usually names that begin with either Y or Z).

&#61472;Two customer Repository objects conflict

Naming conflicts can also occur between customers Repository objects in decentralized

Development scenarios where more than one development system is being used. You can avoid naming conflicts in this area by reserving a special namespace for development areas within the customer namespace. The Workbench Organizer checks to make sure that you adhere to these conventions by making entries in view V_TRESN

thanks

karthik

0 Kudos

Hi Kartheek,

Your answer is tooo lenghty to read but very interesting !!!

Thanks.

Suresh