‎2005 Jul 15 3:03 PM
Hi Friends,
Is there a way to find out exactly at which point the function exits get executed?. My requirement is to add a tab and 3 new fields to the CJ01 transaction. I dunno how to update these values in the standard table PROJ. I tried using
EXIT_SAPLCJWB_002 - PS Customer Exit: User Specific Fields PROJ (Data SAP -> SUBSCREEN)
EXIT_SAPLCJWB_003 - PS Customer Exit: User Specific Fields PROJ (Data SUBSCREEN -> SAP)
Am i going in the right direction.
Prompt replies would be rewarded suitably.
Thanks,
Tamilarasan.
‎2005 Jul 15 3:53 PM
Hello,
Yes, you are using the right exits.
Regards, Murugesh AS
FUNCTION EXIT_SAPLCJWB_002.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(SAP_PROJ_IMP) LIKE PROJ STRUCTURE PROJ
*" VALUE(CNCI_PROJ_IMP) LIKE CNCI_PROJ
*" STRUCTURE CNCI_PROJ
*" VALUE(SAP_DISPLAY_ONLY) LIKE RCWBS-SEL01
*"----------------------------------------------------------------------
INCLUDE ZXCN1U11.
ENDFUNCTION.
*----------------------------------------------------------------------*
* INCLUDE ZXCN1U11 *
*----------------------------------------------------------------------*
move-corresponding sap_proj_imp to proj.
*- PROJ is Structture for screen fields
FUNCTION EXIT_SAPLCJWB_003.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" EXPORTING
*" VALUE(CNCI_PROJ_EXP) LIKE CNCI_PROJ STRUCTURE CNCI_PROJ
*" VALUE(FLG_CLR_OK_CODE_EXP) TYPE C
*"----------------------------------------------------------------------
INCLUDE ZXCN1U12.
ENDFUNCTION.
*----------------------------------------------------------------------*
* INCLUDE ZXCN1U12 *
*----------------------------------------------------------------------*
move-corresponding proj to cnci_proj_exp.
*- PROJ is Structture for screen fields
Hope this helps you.
Message was edited by: Murugesh Arcot
‎2005 Jul 15 4:15 PM
Hi,
PS Customer Exit: User Specific Fields PROJ (Data SAP -> SUBSCREEN) - Does this mean that the values from the standard screen fields are passed as a structure to this function module?. Can u please explain the import parameters involved in this function module?. When i put a break-point i only get to see an empty PROJ structure.
I guess i should be able to get the key field value from the standard screen field and use it to update the table with the user-defined fields that i have added in the exit. Am i right?. How to go about it?. Please explain.
Thanks in advance.
Regards,
Tamilarasan.
‎2005 Jul 15 3:58 PM
I think you are on the right track. In the ehancement you can find an append strucure for inserting new fields to the table and subscreen to display the new fields. There will be exits to write PBO and PAI codes. The PBO and PAI exits are used to pass data from the table to screen and vice versa.
You can put a break point in the function module to check whether it is the right one. Do not forget to activate the project. I do not have access to SAP system now so not possible to confirm the exit name.
‎2005 Jul 15 4:15 PM
Hi Tamilarasan,
In the code look for "Call Customer" and you will find the point where these user exits are called. If you double click on this statement (number) it will take you to the function module (EXIT_SAPLCJWB_XXX).
Cheers,
Sanjeev