Posts

Showing posts with the label function exit

Passing default value to sold to party for VA01 Using "function exit" in ABAP.

Image
  Steps to Implement function module exit. 1. Goto T-code CMOD . 2. Give project name and click create . 3. Give short description and click on enhancement assignments . 4. Give enhancement and click on components . 5. Double click on function exit name. 6. Double click on include and hit enter and create object. 7. Check the field in export tab. 8. write code and activate. 9. Go back and activate the project . Checking * Goto T-code VA01 . * Give order type ( AA ) and press enter. Finally delete project. * Deactivate the project and delete.

Third way to find a Function Module Exit in ABAP

Image
 Go to T-code SE84( Enhancements- Customer exits )  1. Go to T-code SE84 . 2. Expand ' Enhancements '. 3. Expand ' Customer exits '. 4. Double click on ' Enhancements '. 5. Give package name ' VA '. 6. Click on ' Execute '. 7. Double click on function module.

Second way to find a Function Module Exit in ABAP

Image
Put the package name of the program in SMOD T- code ( Utilities-find-package name). 1. Go to T-code ' VA01 '. 2.Click on ' system ' and select ' status ' and double  click on program name. 3. Click on Goto - Attributes. (package 'VA'). 4. Goto T-code ' SMOD '. 5. Goto utilities and click on find . 6. Give package name ' VA ' and execute. 7. Select function module as per our requirement. 8. Double click on function module.

First way to find a Function Module Exit in ABAP

Image
  Ways to find a Function Module Exit: * Put the Breakpoint on the statement CALL CUSTOMER-FUNCTION . * Put the package name of the program in SMOD T-code (Utilities-find-package name) * Go to T-code SE84 (Enhancements- Customer exits). *************************************************************************************************** T o pass the default value to 'Sold-to-party' field in 'VA01'  transaction. ***************************************************************************************** Put the Breakpoint on the statement CALL CUSTOMER-FUNCTION. 1. Go to T-code 'VA01 '. 2. Enter order type. (Eg: AA ).                                3. Enter ' /h ' (To become debugger on) and press ' Enter' . 4. In debugger click on ' Breakpoints ' choose breakpoint at and select b reak point at statement. 5. Enter ' CALL CU...