This website is not affiliated with, sponsored by, or approved by SAP AG.

FAQ: PM/CS Enhancement Options

Logistics : PM and its sub-modules & SM

Moderators: Snowy, thx4allthefish, PJA

FAQ: PM/CS Enhancement Options

Postby PJA » Mon Sep 12, 2005 10:34 am

FAQ: PM/CS Enhancement Options

Please contribute:

------------------------------------------------------------------------------------------------
Transaction variants
TCode: SHD0 1, 2, 3,
Used to amend the sap standard transaction screens.
------------------------------------------------------------------------------------------------
Global Field Values
TCode: SHDG
Used to amend the sap standard fields (similar to field selection in the IMG).
------------------------------------------------------------------------------------------------
Field exits
TCode: None
1. The SAP system has to be configured for field-exits (see ABAP Team)
2. Run TCode CMOD and enter FCode PRFB
3. Create field-exit and function module
4. Ensure both FE and FM are active
5. Test

------------------------------------------------------------------------------------------------
Business Transaction Events (BTEs)
TCode: FIBF
------------------------------------------------------------------------------------------------
User-exits
TCode: SE38
------------------------------------------------------------------------------------------------
Customer-exits
TCode: SMOD/CMOD
------------------------------------------------------------------------------------------------
BADIs
TCode: SE18/SE19
------------------------------------------------------------------------------------------------
Enhancement spots (from ECC6)
TCode: SE18/SE19
The latest generation of enhancement options.
Enhancement options are automatically available at certain pre-defined places. Some of the implicit options are:
  • At the end of all the programs (Includes, Reports, Function pool, Module pool, etc.), after the last statement
  • At the beginning and end of all FORM subroutines
  • At the end of all Function Modules
  • At the end of all visibility areas (public, protected and private) of local class
Search the SAP web site for a document called Introducing: Enhancement Framework
------------------------------------------------------------------------------------------------
Field Selection
TCode: SFAW/SFAC
Read the SAP Help
The function field selection allows you to change the attributes of screen fields dynamically at runtime. However, you should only use this option if you often need to assign different field attributes to the same screen for technical reasons.
------------------------------------------------------------------------------------------------
Business Data Toolset
SAP Help
SDN Document
------------------------------------------------------------------------------------------------
Last edited by PJA on Sat Aug 04, 2007 3:09 am, edited 15 times in total.
PJA
 
Posts: 11383
Joined: Sun Jul 20, 2003 3:11 pm
Location: Deepest darkest Aberdeenshire

Enhancements in PM (User exits)

Postby Ranjit PP » Wed Oct 19, 2005 2:27 am

User exits in PM can be found out easily by using SE81.

Use T code SE81. select the module (in this case PM) in the application hierarchy, click on information system, Go to enhancements, customer exits, click on enhancements and execute.

Rgds
Ranjit PP
 

Enhancements

Postby PJA » Wed Oct 19, 2005 3:46 am

Ranjit PP,

Thanks for your reply, we could do with more (this is a hint to everyone)

There are several ways in SAP system to find enhancements by TCode.

Unfortunately non of them (including your suggestion) gives the complete picture of the user-exits for a given object.

This is often because functionality from another module is embedded in a PM object. An example is purchasing documents in PM/CS orders.

You will also find various ABAP programs which are freely available on the internet which "try" (unsucessfully) to get round this problem.

The best way is for user-groups, like this one, to maintain a list of those user-exits - and keep it updated (another hint guys).

Lastly, user-exits are not the only option. You can also use workflow, BADIs, etc (see the Enhancement Options FAQ for more info)

PeteA
PJA
 
Posts: 11383
Joined: Sun Jul 20, 2003 3:11 pm
Location: Deepest darkest Aberdeenshire


Return to Logistics PM

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.