2008 Aug 27 3:43 PM
Hi,
I want to default the field "Requisitioner" in the transaction CJ20N and for this I have the user exit CNEX0002, but I have no idea how to do this. Can anyone help please.There is one more transaction for creating a Purchase
Requisition called ME51N and the user exit for this is
Enhancement name is : u2018MEREQ001u2019.
Function Exit name : u2018EXIT_SAPLMEREQ_005u2019.
I have no idea whether to use u2018MEREQ001u2019 or CNEX0002.
Hi,
I want to default the field "Requisitioner" in the transaction CJ20N and for this I have the user exit CNEX0002, but I have no idea how to do this. Can anyone help please.There is one more transaction for creating a Purchase
Requisition called ME51N and the user exit for this is
Enhancement name is : u2018MEREQ001u2019.
Function Exit name : u2018EXIT_SAPLMEREQ_005u2019.
I have no idea whether to use u2018MEREQ001u2019 or CNEX0002.
2008 Aug 27 3:45 PM
goto CMOD... create a project...specify the enhancement name... Inside you will see the FM where you need to add the code...Activate the project.
2008 Aug 27 3:50 PM
Yep in the function module there is a include and I think I need to add the code in the include.
This is the FM
FUNCTION EXIT_SAPLMEREQ_005.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" REFERENCE(IM_REQ_ITEM) TYPE REF TO IF_PURCHASE_REQUISITION_ITEM
*" REFERENCE(IM_DATA_NEW) TYPE MEREQ_ITEM
*" REFERENCE(IM_DATA_OLD) TYPE MEREQ_ITEM
*" REFERENCE(IM_DATA_PERSISTENT) TYPE MEREQ_ITEM
*" REFERENCE(IM_FULL_CHECK) TYPE SY-CALLD
*" REFERENCE(IM_ITEM_HAS_ERRORS) TYPE SY-CALLD
*" EXPORTING
*" REFERENCE(EX_MESSAGES) TYPE MEREQ_T_BAPIRET2
*" REFERENCE(EX_RECHECK_ITEM) TYPE SY-CALLD
*"----
INCLUDE ZXM02U05 .
ENDFUNCTION.
But out of all these fields wich one should I use?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |