How to call workflow from abap program sap code#Then on the CALL CUSTOMER-FUNCTION ABAP code line, double click on user exit number text to display the user exit definition. Then press enter to list where the Customer-Function call is executed in the ABAP program.Īs shown in the below screenshot, there a numerous Customer Function calls in VA02 screen ABAP program.Ĭlick on one of them to see where the call exists in the ABAP source code. When the Find/Replace screen is shown, enter text " CALL CUSTOMER-FUNCTION" in Find textbox and choose option " In main program" in Programs to Be Included section. When the ABAP report is displayed, click on Find button to make a search within the ABAP program codes. Open the System Status screen using menu options System > Status.Īnd then go to the ABAP program running behind VA02 transaction screen by double click on the Program (screen) text area in repository data.įor VA02 transaction the screen program is SAPMV45A Just as on the first method call VA02 tcode with a valid sales document number. Now we will try to find out the user exits in VA02 transaction screen. Here is the list of user exits in VF package.ĭouble click on V60A0001 to see the function module exist in SAP Enhancement V60A0001ĪBAP developers can double click on the function module name EXIT_SAPLV60A_002 given in the function module exits section to see the user exit codes.įind User Exits on VA02 by Searching CALL CUSTOMER-FUNCTION Provide the package name we have copied in previous steps into the Package search criteria and press F8 or Execute button. Highlight Enhancement input text area and click Find button. Then exit from the current transaction and go to main SAP screen.Ĭall SAP transaction SMOD (SAP Enhancements transaction). RAISEEXCEPTION dumps with exception condition 'TYPENOTFOUND' found in ST22. In our case the ABAP report package is VF. Workflow jobs such as SWWRUNCNT or SAPWORKFLOWSWWRUNCNT, SWWDHEX or SAPWORKFLOWDEADLINE are cancelled. When the ABAP program attributes is displayed, copy the program package name. When the ABAP report is displayed, choose Goto > Attributes from top menu options. In System Status screen, you will see the active transaction (VF02 in this case) and the ABAP program SAPMV60A running behind the VF02 screen.ĭouble click on the screen program name (SAPMV60A) to display the ABAP codes executing behind this VF02 transaction screen. When billing document data is being displayed in VF02 transaction screen, choose System > Status. Provide a valid billing document number and press enter to display billing document data. Find Function Module User Exit on VF02 using SMODįirst call transaction VF02.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |