Exit/BADI for creating settlement rules in IW32 upon release of order
I need settlement rules to be populated in IW32 when an order is released.
The data for the settlement rules population will be obtained from a Z table based on Order type and Maintenance Activity Type.
I am not able to find out a suitable BADI/EXIT to fulfill this requirement. Has anybody worked on this kind of requirement earlier? Please suggest an EXIT/BADI/BTE for this.
Thanks in Advance!!
Hi Harveen,
How did you populate the fields in K_ORDER_SRULE_ADD. Which ones did you populate. I keep getting an error message.
Receiver categ. is not allowed by settlement prof. PM0001 for this sender
Message no. KD031 Diagnosis The settlement profile specifies which receiver
categories you can settle a sender to. Receiver category is not allowed by
settlement profile PM0001 for this sender.
Procedure
You can do the following:
Assign a settlement profile to the sender, that implements the
required receiver category .
Choose "Goto -> Settlement Parameters".
Specify another receiver for distribution rule 009. If you already
used this rule for a previous settlement, enter a valid-to period. Then
enter a new rule for the next settlement with a receiver category. This
category must be one that is allowed by settlement profile PM0001.
Procedure for System Administration
If necessary, maintain a suitable settlement profile.
Would very much appreciate your help.
Cheers
Eunice
Similar Messages
-
BAPI/ Function Modules for creating Settlement rules for Project in CJ01 .
Hi Experts ,
I need to create Settlement rules for WBS elements in Projects . Please let me know if there are any BAPI or Function Modules for the same . The Function Modules "k_settlement_rules_update" , "IBAPI_ALM_ORDERSRULE_CREATE" & 'K_SRULE_CREATE'
are in "Not Released" status . so our practices does not allow us to use them .. please suggest any other BAPI or FM for creating Settlement rules .
Thanks in advance ...
AnilHi ,
Thanx for ur prompt reply , This function module is used for creating WBS elements . I didnot find any parameters or process to create settlement rule .. Please let me know how to use this or if there are any other BAPI available .
Thanks
Anil -
Using exit/BADI to create settlement for the Transaction COR1
Hi Experts,
My Requirement is when we are creating Process Order in the Transaction COR1, Settlement Rule will be automatically created by using some User Exit or BADI to assign the cost centre, account assignment category, and settlement percentage for the setup to the Settlement Rule.
I have tried with the User Exit: EXIT_SAPLKOBS_001 Enhancement COOM0003 and also tried with EXIT_SAPLCOI1_027 enh. IWO10027.
The Problem is above mentioned User Exit are not triggering though I have activated project.
What is wrong with my exit or please let us know correct User Exit or BADI?
I appreciate every help.
Thank you.
NimaiTry with below Exits related to COR1 transaction.
Exit Name Description
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
PPCO0009 Enhancement in goods movements for prod. process order
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determination
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines
Regards,
Saurabh -
Bapi for settlement rule in IW32
I want a bapi which will create settlement rule for IW32 ?It should be able to update Valid From And Valied to fields in IW32.
I have checked BAPI_ALM_ORDER_MAINTAIN it does not have Valid from and Valid to fields in structure BAPI_ALM_ORDER_SRULE.I need a bapi which can be used to update those fields.HI
Check This Link
Re: Create/change settlement rule for inv.order - BAPI, funct.module??? -
User Exit / BADI for Transaction IW31 to create a POP-UP.
Hi,
I need to have a POP-UP Message in transaction IW31 on the press of ENTER. Could you give me the name of the EXIT or BADI which can be used for this purpose.Hi!
In IW31/IW32, there is no user-exit/badi for pressing Enter. User-exits are attached to well determined event (enabling, closing, saving the order and so on).
If you wanted to solve it, it seems, you have to modify the standard COIH function group. Use SE80 transaction for it. The first dynpro is 3000.
Regards
Tamá -
User Exit / BADi for TCode - IMA11 (Create Appropriation Request )
Hi friends ,
Can anyone help me in finding the User Exit / BADI for Transaction IMA11 (Create Appropriation Request , Module - FI ).I want to create search help for field "Partner" in table control "Person Involved" present in this transaction.
Thanks in advance.
Regards
Nand KishorHi,
The following user exits are available :
Exit Name Description
AAIR0001 IM-IS: User value fields in app.req. reporting
AAIR0002 IM-FA: User fields for app. requests
AAIR0003 IM: Workplace assignmt when creating PM order from app.req.
AAIR0004 IM Drilldown: Definition of User-Defined Characteristics
AAIR0006 IM-FA-IA: Data Transfer from App. Req. to WBS Element
regards
Aveek -
User-Exit / Badi for ML81n (create service entry sheet)
Dear experts,
I am looking for a User-Exit / Badi for ML81n (create service entry sheet), which will enable me to compare its date with the referenced PO's item's delivery-date, befor saving , and send an error message (with no update) if the check is not OK.
Remark : I have tried MB_DOCUMENT_BADI but with no success because you can't send an error message from it.
Thank you
Yaacovhi check below thread
User-Exit for Service Entry Sheet via ML81N?
regards
vijay -
User exit/BADI for tracing change of User Status in IW22
Hello,
I am looking for a user exit or BADI that triggers whenever ther's a change made to User status field.
eg. changing user status to APTC(Approved to be executed)
I then need the exit/badi to trigger my workflow to send mails to list of reviewers. I can handle that but I am not able to find the suitable exit.
I have seen BADI IQS0_STATUS_MAINTAIN, but no use.
Can anyone help?Hi..
Transaction Code - IW22 Change PM Notification
Enhancement/ Business Add-in Description
Enhancement
IWO10026 User check on setting status 'Do not perform'
IWO10027 User exit: Generate user-defined settlement rule
IWOC0001 Create PM/SM notification: Determine reference object
IWOC0002 PM/SM notification: Check whether status change is allowed
IWOC0003 PM/SM authorization check of ref. object and planner group
IWOC0004 Change single-level list editing PM/QM/SM ALV settings
Business Add-in
WOC_FL_DETERMINE Determine Date for Determining Installation Loc. Equi.
NOTIF_AUTHORITY_01 Additional Authorization Checks for the Notification
IWOC_OBJECTINFO_CHNG Changes to Data of Object Info Screen
IWOC_LIST_TUNING Performance Tuning for Lists in PM/CS
IWO1_SUBSCREEN_0170 Display Additional Data on Object Screen 0170 PhysicalSample
IQS_MASS_CHANGE BadI for Mass Changes to Notifications
IQS0_STATUS_MAINTAIN Control of Changeability of User Status
No.of Exits: 6
No.of BADis: 7
Arunima -
User Exit / BADI for Header Text in IW21
Dear All,
I have an requirement to update a header text of IW21 (Creating Notification) with some condition, ie., Header Text should be updated with different text (some information along with entered text) depends on Notification type and Functional Location.
Is there any User Exit / Badi to do this ?
Could any one help on this regard ?
Thanks and Regards,Hi,
Below are the exits for the Transaction Code - IW21.
Exit Name Description
IWO10026 User check on setting status 'Do not perform'
IWO10027 User exit: Generate user-defined settlement rule
IWOC0002 PM/SM notification: Check whether status change is allowed
IWOC0003 PM/SM authorization check of ref. object and planner group
IWOC0004 Change single-level list editing PM/QM/SM ALV settings
IWOC0001 Create PM/SM notification: Determine reference object
Check each which can server your purpose.
May be EXIT_SAPMIWO0_020 might suit your purpose.
Regards,
Vijay V -
Validation for the settlement rule of a wbs element
Hi Experts,
I have a requirement that in which i have to validate the settlement rule of the wbs done through t-code cj01/cj02/cj07,cj20n.
If the settlement receiver object is an G/L account (settlement category g/l ) then i have to check that if it is an o&m project type
wbs element settling on some already mentioned G/L e.g 0001081340,0001081341, then it should through some error like settlement rule not valid etc.
I have tried cjb1/cjb2 through badi WBS_SETTLEMENT_RULE by creating some strategy but it did not have any option for G/L
settlement reciever. Also client will not agree to this as they want to create settlement rule manually.
I have also tried the exit 'EXIT_SAPLCOI1_027 ' but its not getting triggerred during settlement rules assign mentand also i think it will not solve my purpose.
Please help me as i am struck in this for long time now.
Warm Regards,
HariomHi Prabhu ,
thanks for the quick update.
I have tried many badi's and exits but they are not triggering at the saving time of the wbs.
badi :
PROJECTDEF_UPDATE
WBS_FIELDS_FOR_ASSET
WBS_USER_FIELDS_F4
WORKBREAKDOWN_UPDATE
WBS_SETTLEMENT_RULE
exits :
EXIT_SAPLCJWB_004
EXIT_SAPLCJWB_005
EXIT_SAPLCJWB_001
These above exits i have tried either they are not implemented or they are not triggered during saving of a wbs element.
please suggest any exit or badi's which you may have used.
Thanks and regards,
Hariom -
Hello Experts,
I need to create settlement rule for work order.
Got one FM K_ORDER_SRULE_ADD but don't know how to use it.
Is this FM correct one to create settlement rule?
Can anyone please send sample code for FM?
Thanks in Advance,
Ripal.Hi everybody,
I found in a Rusian foruma way to create a settlement rule using the functions of the FM KOBS. I changed a bit the code because my requirement was just to update the field URZUO of the settlement rule. The original post (in Russian) can be found here.
My implementation is more simple because the requirement was different:
types: begin of ty_objnr,
objnr like prps-objnr,
end of ty_objnr.
*.COBRA-Buffer (see FM KOBS)
types: begin of ty_cobra_buf.
include structure cobra.
types: uflag like dkobr-upd_flag,
end of ty_cobra_buf.
types: ty_t_cobra_buf type ty_cobra_buf occurs 10.
*.COBRB-Puffer mit Änderungsflag (see FM KOBS)
types: begin of ty_cobrb_buf.
include structure cobrb.
types: uflag like dkobr-upd_flag,
end of ty_cobrb_buf.
types: ty_t_cobrb_buf type ty_cobrb_buf occurs 10.
* Internal tables *
data: it_abrechnug type standard table of ty_abrechnung,
it_objnr type standard table of ty_objnr,
it_cobra like table of cobra with header line,
it_cobrb like table of cobrb with header line.
* Data *
data: wa_cobra_buf type ty_t_cobra_buf,
wa_cobrb_buf type ty_t_cobrb_buf,
wa_objnr like line of it_objnr,
wa_urzuo like cobrb-urzuo,
l_mem_cobrb like wa_cobrb_buf[],
l_mem_cobra like wa_cobra_buf[],
l_mem_cobrb_zeile like line of l_mem_cobrb,
l_mem_cobra_zeile like line of l_mem_cobra.
form urzuo_aendern using p_objnr p_pspnr p_urzuo.
data: c_objnr like prps-objnr,
c_pspnr like prps-pspnr,
c_urzuo like cobrb-urzuo.
c_objnr = p_objnr.
c_pspnr = p_pspnr.
c_urzuo = p_urzuo.
refresh: it_objnr,
it_cobra,
it_cobrb,
l_mem_cobra,
l_mem_cobrb.
wa_objnr = c_objnr.
append wa_objnr to it_objnr.
* Reas settlement rule from the DM
call function 'K_SRULE_PRE_READ'
exporting
i_pflege = ' '
tables
t_sender_objnr = it_objnr
* T_COBRA =
exceptions
wrong_parameters = 1
others = 2.
if sy-subrc <> 0.
perform error using c_pspnr sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
* Fill internal buffer with settlement rules
call function 'K_SETTLEMENT_RULE_GET'
exporting
objnr = c_objnr
x_all = ' '
tables
e_cobra = it_cobra
e_cobrb = it_cobrb
exceptions
not_found = 1
others = 2.
if sy-subrc <> 0.
perform error using c_pspnr sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
* Save settlement rule in ABAP-Memory
call function 'K_SRULE_EXPORT_IMPORT'
exporting
i_mode = 'EX'
exceptions
wrong_mode = 1
others = 2.
if sy-subrc <> 0.
perform error using c_pspnr sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
* Read ABAP-Memory
import l_mem_cobra l_mem_cobrb from memory id 'K_SRULE'.
* Change field URZUO and set Update-Flag
loop at l_mem_cobrb into l_mem_cobrb_zeile where urzuo is initial.
l_mem_cobrb_zeile-urzuo = p_urzuo.
l_mem_cobrb_zeile-uflag = 'U'. "Update Kennzeichen
modify l_mem_cobrb from l_mem_cobrb_zeile transporting urzuo uflag.
endloop.
* Clear internal buffer
call function 'K_SETTLEMENT_RULE_REFRESH'
exporting
objnr = c_objnr.
* Fill ABAP-Memory with new rules
export l_mem_cobra l_mem_cobrb to memory id 'K_SRULE'.
* Fill internal buffer with new rules
call function 'K_SRULE_EXPORT_IMPORT'
exporting
i_mode = 'IM'
exceptions
wrong_mode = 1
others = 2.
if sy-subrc <> 0.
perform error using c_pspnr sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
* SAve new rules
call function 'K_SETTLEMENT_RULE_SAVE'
exporting
dialog = 'X'
objnr = c_objnr
i_status_update = ' '
exceptions
no_rule_for_objnr = 1
others = 2.
if sy-subrc <> 0.
perform error using c_pspnr sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
commit work.
perform erfolg using c_pspnr.
endform. " URZUO_AENDERN
Hope it helps,
Jaime -
CJB1/CJB2 will Create Settlement Rule only on Last level of WBS
In Investment projects the client want to settle last level WBS to top level WBS and from top level WBS to AUC and capitalise it. Since we have so many WBS in structure hence we want to use CJB1/CJB2 for settlement rule creation. But CJB1 and CJB2 is createing WBS on all level of WBS. Can any body tell me, what configuration/settings i need to do so that CJB1/CJB2 will create Settlement Rule only on Last level of WBS.
Edited by: Vipul Mehta on Aug 28, 2011 3:19 PMHi Sreekant,
I checked in SPRO; PS > Costs > Automatic & Periodic Allocations > Settlement > Sett Rule for WBS > BADI for CJB1 / CJB2, there is so many BADI is available. Please let me know BADI name, which is help me to create settlement rule create at WBS last level through CJB1 / CJB2.
Regards
Vipul Mehta -
Possibility of creating Settlement Rule in Background?
Hi Gurus,
When I am doing TECO of the Maintenance Order everytime I have to create Settlement Rule.
My settlement receiver Category (Cost Center) and Cost Center are fixed for Order Type.
Is it possible to create Settlement rule in the background while doing TECO of the Order.
Please suggest if any User Exit is there.
With best regards,
NarendraNarendra,
We are looking at exactly the same issue.
As you are aware, you can only default one cost centre via the equip/floc...
The only way we can see to have a pre-defined cost centre by order type/plant is to use user-exit [IWO10027|http://pjatkin.users.btopenworld.com/documents/PMCSUserExits.pdf] (default settlement rules).
PeteA -
Exit/Badi for Accounting Document
Dear Friends
Is there any user exit/BADI for accounting document. My requirement is quite simple which you would also faced in many implimentation. Client wants number ranges business area/plantwise. I was just thinking as plant/business area is a line item field it may be little difficult to have different number range controll at that level, so I thought we could use user id as the import parameter. But these is possible once I get any user exit/badi for number range change. We dont want to create so many document type also.
Thanks and Regards
Pankaj GuptaHi Marta,
Check these notes
SAP Note 1259505 - FAQ: New cancellation procedure in SD,
SAP Note 400000 - FAQ: Transaction VF11: Cancellation of SD billing documents
See with attention note 1259505 question 4. It says
Most of the userexits in the SD-FI interface (see note 301077) will not be
performed.
So, try to do it with BTE's
Sorry, try with USEREXIT_PRICING_COPY in program RV61AFZA.
I hope this helps you
Regards
Eduardo
Edited by: E_Hinojosa on Nov 21, 2011 9:15 AM -
User exit/BADI for Deleting the Empty Handling unit
Hi All,
Can anyone give me the suitable User exit/BADI for the below scenario.
While creating the TO (Transfer order) for a delivery using the transaction code LT12, the system will automatically generate HU (Handling unit) number. If the materials are not found in the storage bin for the selected HU, we have to delete the Handling Unit from the delivery document.
Thanks in advance.
Thanks
Ramesh.Find below couple of User Exits for Transfer Order.
MWMTO001 - EXIT_SAPLL03T_001 (Enhancements for end of transfer order generation)
MWMTO002 - EXIT_SAPLL03T_002 (User Exit at End of TO Confirmation (in Update Task))
The Exits gives you access to LTAK and LTAP.....
Hope this is helpful to you.
Vinodh Balakrishnan
Maybe you are looking for
-
Connecting 9.2.2 iBook G3 to iMac with 10.4.9
I've finally determined (tech support docs on 10.3.9 and online help do NOT make this simple to determine) that AFP ain't supported on 10.4. Here is my current problem: Open Public folder on iMac (10.4.9, Personal File Sharing enabled) using Chooser
-
Paper sizes from one install to another
I have Acrobat pro 9 on one laptop. I just got a second laptop with Acrobat x. Acrobat x only has a handful of paper sizes. I'd like to have the same paper sizes from one install to another. Is there a file that can be copied over to have this inform
-
System.out.println not showing up in the console
Hi, I've some System.out.println statements in a static block in a Stateless Session Bean. I could not see these outputs in the Weblogic console. I'm using Weblogic 5.1 Any one faced this problem before? any help is appreciated. Thanks & Regards, Nit
-
i cant open firefox anymore! :( do i need to uninstall it? == User Agent == Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; Media Center PC 2.8)
-
Why is my device not recognized by itunes?
Why is my iphone 3G not showing up as a device in itunes so that I can update it and sync it?