on 09-25-2014 12:35 PM
Hi,
In order to redefine settlement rules in IW31, I implemented user exit IWO10027, activated it.
The issue is, when creating the order and hitting the settlement rule builder, the user is not triggered.
i.e. SAP is not calling the exit.
Is there anything that must be done in order to get this working?
And also, we are on Enhancement Pack 7 using the settlement rules per operation, not on header.
I think the user exit does not cater for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is a settlement profile assigned to the order type?
Also check out this OSS Note which lists the conditions required to trigger the user-exit.
PeteA
Creating a Customer Project in CMOD --> Add the Enhancement --> Activate.
This resolves the problem.
Even though its a old post, I hope it helps someone. 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will log an OSS as user exit does not support operations.
Thanks all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So I did manage to find a place with debugger where the user exit will trigger:
Program SAPLCOI1
Include LCOI1U03
Function CO_I1_ABRV_ARCH_FREI
ENHANCEMENT-SECTION SAPLCOI1_OLC_003 SPOTS ES_SAPLCOI1.
* check switch for OLC...
IF cl_erp_co_olc_tools=>is_olc_relevant( caufvd_imp-netzkont )
= abap_false.
The above check fails which skips the user exit
PERFORM abrv_arch_frei USING caufvd_imp
trtyp_imp
CHANGING continue.
ENDIF.
END-ENHANCEMENT-SECTION.
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Please check in below configuration path
Plant Maintenance--> Maintenance and Service Processing-->Maintenance and Service Orders--> Functions and Settings for Order Types--> Define Settlement Rule, Time and Distribution Rule.
As per STD SAP Settlement rule is created When the order is released Or Only when the order is completed.
So Check what is the setting in Plant Maintenance--> Maintenance and Service Processing-->Maintenance and Service Orders--> Functions and Settings for Order Types--> Define Settlement Rule, Time and Distribution Rule.
Br
Rakesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mornee Parsons,
Some things to try:
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.