cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User exit for creating PR from service order(IW32)

0 Likes
3,719

Hello,

I am creating a Purchase requisition from service order(tcode IW32) by adding operations and clicking on Save button. Could you please let me know the user exit or badi to update few custom fields of table EBAN?

Below are the list of BADI's which are called during the save of service order.

IWO1_ORDER_BADI
CO_SRULE_CHECK
K_PLAN_RULE
COPCMESSAGECONTROL
ORDER_COSTING_CK
ORDER_COSTING_CK
QUANTITY_STRUCT_CK
DATA_EXTENSION_CK
VALUATION_CK
EAPS_HRKFT_EXTENSION
VALUATION_CK
SD_COND_ACCESS_A
COPCMESSAGECONTROL
ME_COMMITMNT_PARKING
ME_COMMITMENT_STO_CH
DIP_GET_SEL_DATA
DIP_DPBP_RRDP_PROC
CACL_CHARACTER_INPUT
/MRSS/RSG_PM_INT
ME_REQ_POSTED
ATP_PUBLISH_RESULTS

MRO_CONTRACT
LFM2_DB_STRG
ME_CHECK_SOURCES
VALUATION_CK
IWO1_PREQ_BADI
ME_REQ_OI_EXT
IWO1_ORDER_BADI
GOS_SRV_SELECT

But none of them are useful.

I also checked exit EXIT_SAPLCOZF_001 and EXIT_SAPLCOZF_002, but the changing parameter is not of type EBAN.

checked for EXIT_SAPLCOIH_009 as well and it is also not useful.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Hello

You can use BADI 'ME_PROCESS_REQ_CUST' :

PROCESS_ITEM can be used for update custom fields in the items

PROCESS_HEADER can be used for custom fields in the header

Cedric

Hello Cedric,

Thank you for your answer. But BADI 'ME_PROCESS_REQ_CUST' is not called when I save service order using tcode IW32.

Regards,

Manoj.

peter_atkin
Active Contributor
0 Likes

Manoj Yadav,

Try user-exits COZF0001 or COZF0002 (via SMOD/CMOD). You will also need to append your additional EBAN fields to structure EBAN_ORD_CUST.

.

PeteA

0 Likes

Hello Peter,

Thanks for your reply. I will check on it. I found another customer exit 'EXIT_SAPLEBND_004' and able to populate the value but I am not sure whether to go with

'EXIT_SAPLEBND_004' or COZF0001.

Regards,

Manoj.