MIRO User - Exit to Change the Profit Centre..?
I need to change the Profit Centre in the Accounting document(for Vendor Line Item) and Profit Centre Accounting Document(For Payable Line Item) Created by MIRO Transaction.Can any one let me know if there is anyuser-exit or badi to achieve the same
Thanks a lot for your help .
Regards,
Gopi.K
hi
These are all the user exits avalilable for MIRO transaction.
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
I think you can use this exit.
LMR1M002
Regards.
Lavanya.
Similar Messages
-
How to change the Profit centre in goods receipt before posting
Hi All,
when we are doing MB01, material master and Purchase order are having different profit centres, since legacy has multiple profit centre for the same material.
My requirement is to change the profit centre before posting a Goods receip with the Purchase order Profit centre.
Is thre any user-exit, Badi or Substitutions for this requirement. I have implimented the below code in the Badi
MB_DOCUMENT_UPDATE.
data : ls_xmseg type mseg.
ls_xmseg-Profit Centre = .....
ls_xmseg-prctr = '0020077170'.
modify XMSEG from ls_xmseg transporting prctr .
But i'm getting Data base update terminated message. Please help me in this.
thanks,
Ram.Dear Sir,
But is T-code not working ....
have you other code/ process so, pls. give me ....
Pls sir
Regards
Jayesh Kanungo -
Change the profit centre in the cost centre master after a year
Hi All,
Could you'll please let me know whether it was possible to change the profit centre in the cost centre master and if i did what will be the implications.
Thanks and Regards,
VandanaRefer transaction code OKEG.
You can maintain master data for cost centers, cost elements, activity
types, and business processes with time dependencies. You can make
changes at any time for any given time interval. Data storage also takes
place with a time reference. In this way, a master data record can have
multiple database records storing different information.
The smallest interval is one day. To ensure data consistency, you cannot
change each field daily. The timeframes in which you can change a field
depend on the field functions, which are fixed by the system and cannot
be changed. Master data maintenance includes an automatic check for each
field's time-based consistency, resulting in individual time-based
maintenance for each field.
The following dependencies are supported:
o Not time-based
o Day-based
o Period-based
o (Fiscal) year-based
This function provides an overview of the time dependencies of
individual master data fields during master data maintenance, along with
checks and storage of consistency timeframes. You find this information
in the "Time dependency" column.
If you use fields requiring characteristics greater than one day and
which are changed for the system lifetime of the object, the system
automatically creates a new database record for this processing
interval, and changes the time-based validity of existing records. The
change is logged in the master data record with the time reference.
However, a great number of changes in multiple timeframes will result in
a correspondingly great number of data records.
Fields which you can change freely (indicated in the DAY column) can
possess different time dependencies only if you mark them additionally
as historically relevant. This activates the time-based updating for the
records.
Object 1000 has one master data record created with a fiscal year of 12
periods and the cost center name AAAAAAAAAA. During master data
maintenance, you change the cost center name in period 5 to BBBBBBBBBB.
The system reacts with one of two options.
o "Name" is marked as historically relevant. The existing master data
record for periods 1 - 12 must now become three records:
1000 01-04 AAAAAAAAAA
1000 05 BBBBBBBBBB
1000 06-12 AAAAAAAAAA
o "Name" is not marked as historically relevant. The existing master
data record remains intact, with the name changed for the entire
existence of the record:
1000 01-12 BBBBBBBBBB
Edited by: Ravi Sankar Venna on May 19, 2009 4:03 PM -
Is there any user exit to change the UOM of a material while creating sales
Hi experts,
I have a requirement to change the UOM of the item material in sales order while creating. Could anybody help me in finding the correct user-exit to change the UOM.
Thanks,
srinivas.Hi Ravish,
I am already changing the UOM in the same include and in the subroutine "USEREXIT_MOVE_FIELD_TO_VBAP". But it is again over writing in the standard program. What I need to do, to remain same UOM.
Thanks,
srinivas. -
User exit to change the storage section indicator (MLVS-LGBKZ)
Hi.
I'm looking for a user exit which be able to change the storage section indicator (field MLVS-LGBKZ) proposed by the material master data in the process of creating a TO (transaction LT06). I haven't found any user exit for this. Do you know any user exit to change this value?
Thanks in advancehi,
thank you for your response.
whatever the exit which you have been provided, not calling when i creating PR through MD50.
i need an exit which will trigger when we create PR through MD50.
Many thanks,
Regards,
kiran -
User exit to change the value of ltbp-wempf
Hi,
Is there any user exit to modify the value of ltbp-wempf during Transfer requirement creation ?It is also ok, if i can get a way to modify MSEG-wempf during production declaration. (MFBF)
-
Using Field-Symbols in a user exit to change the importing parameter
Please don't ask why but I need to use a user exit, changing the importing parameter. I decided that I could do this using field-symbols.
Please excuse my ignorance but I have never used field symbols for something such as this.
Here is my goal: Loop through an internal table (im_document-item). When I find what I need I want to make a change to this line (not so hard if I am looping into a field symbol) and also append a line to the end of the table im_document-item.
I have the following so far:
DATA: wa_item TYPE accit,
wa_item_out type ACCIT_SUB.
FIELD-SYMBOLS: <document> type acc_document,
<accit> TYPE ACCIT.
LOOP AT im_document-item ASSIGNING <accit> where saknr = '0000211000'.
* Modify the curent line
wa_item = <accit>
* Append a new line into table im_document-item.
ENDLOOP.
How can I use field-symbols to append a line to this table? Please note that the table in question (im_document-item) is an importing only parameter.
Regards,
Davisthat will allow me to append an initial line with <accit> pointing to the line. Therefore I just have to modify <accit> and the new line will then have my changes?
Yep, that is exactly it. So after the APPEND statement, simply fill the fields of the <accit>.
append initial line to im_document-item ASSIGNING <accit>.
<accit>-field1 = 'Blah'.
<accit>-field2 = 'Blah'.
Regards,
Rich Heilman -
User Exit to change the Ship-to party address at Sales Order headder level
Hi,
I have requirement like this......
I need to change the ship-to party address at Sales Order headder level. for that which user exit i need to use and which structure i need to use to update the transaction.
I used : userexit_save_document_prepare, in that i passed data to 'xvbpa' and 'xvbadr' structures. even though it is not update the transaction.
Please let me know the answer.
Thanks,
Satish.Hi Satish,
Step1. Create new Data Copy Routine using Tcode VOFM.
Step2. *-----------------------------------Ship to Party from contract
IF CVBPA-PARVW = 'WE' OR
CVBPA-PARVW = 'SH'.
REFRESH IT_STP.
SELECT KTOKD
A~KUNNR
NAME1
NAME2
A~ADRNR
FROM VBPA AS A INNER JOIN KNA1 AS B ON A~KUNNR = B~KUNNR
INTO CORRESPONDING FIELDS OF TABLE IT_STP
WHERE VBELN = CVBPA-VBELN .
Step3.
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
ENDPOS_COL = 80
ENDPOS_ROW = 10
STARTPOS_COL = 10
STARTPOS_ROW = 5
TITLETEXT = 'Your Title'
IMPORTING
CHOISE = T_SELIDX<=====Index No of selection
TABLES
VALUETAB = IT_STP
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
Step4.
READ TABLE IT_STP INTO WA_STP INDEX T_SELIDX.
IF SY-SUBRC = 0.
CLEAR:CVBPA-KUNNR, CVBPA-ADRNR.
MOVE WA_STP-KUNNR TO CVBPA-KUNNR.
MOVE WA_STP-ADRNR TO CVBPA-ADRNR. <========Address ID (Change Here).
ENDIF.
Regards,
Amrendra
Moderator Message - Please do not reply to old, dormant threads.
Message was edited by: Suhas Saha -
User Exit to change the Net price in the Billing document
Hi,
We have one billing document used for three countries
My requirement is , for worng price, user has to chaange the Price manually in the Billing document.
I cannt maintain the copy control setting from the Delivery document to Billing with Pricing Type C
Is there any user exit or alternative way to change Netprice in the Billing document.
regards,
santoshCheck the user exit USEREXIT_PRICING_CHECK or USEREXIT_CHANGE_PRICING_RULE in include MV61AFZA for your requirement.
Regards, -
User exits while changing the PO Output Medium
Hello Champions,
Will anyone share me, is there any user exit which triggers while changing Purchase Order Output Medium in ME22N transaction. How to know list of user exits which are applicable for ME22N transaction?. will anyone guide me.
Reward with Full pointHi PV,
These are the list f User exits for ME22N:
Exit Name Description
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
Regards,
Maia -
BADI or User Exit to Change the Item Details in AFAB Transaction(Depreciation)
Hi Experts,
I have a requirement of changing the Item details in AFAB Transaction (Internal Order Number). Is there any BADI or User exit available for that.
Thanks in advance.Hi Sivag,
You can find BADI for transaction in different ways. Try with below methods
1. To find New BADI(Karnel), Run the transaction with debug mode(/h), keep break point at statement
CALL BADI
2. To find old BADI (Classic), Keep break point at exit handler CL_EXITHANDLER=>GET_INSTANCE and run the transaction
3. Check in SPRO transaction - Check with functional consultant in which business process this transaction comes and any customization details available
4. Get pakage name of transaction and go to to tcode se84 enhancement browser . Try to find with package name, any enhancement available
Thanks & Regards,
aRun -
User exit to change the deliveries in self-billing
Hi abapers
i have a problem with badis
In the transaction VSB1 i have the badi BADI_SBWAP.
in this i have a method DELIVERY_DETERMINE_2.
i want to write the code to change the deliveries in that method.
since the required data to validate the VBELN is given in this method only.
but the problem is the program SDSBWAPSPS is not entering into this method.
if i write the code in that method then it is not executing the code.
so any alternate solution for this problem.
thanks in advance.
samiCheck the user exit USEREXIT_PRICING_CHECK or USEREXIT_CHANGE_PRICING_RULE in include MV61AFZA for your requirement.
Regards, -
User exit (To change the PO Release Strategy): M06E0004
Dear Experts,
I am trying to implement the enhancement for changing the PO release strategy, using exit M06E0004 for following situation.
If PO is already released and then if any changes made to it affects the net amount which makes it less than previous net amount. We have to change the PO Release indicator to 'Blocked'.
We have tried to change the value of USRC1 USRC2 USRN1 USRN2 of structure E_CEKKO but it is not workingu2026
Please help me *how / what to change in the E_CEKKO structure*.
I am new to User Exit.Hi Nagarajun,
I am able to solve this problem.!
All u have to do is follwoing two step.
1.maintained a flag in ur enhacement part (FM to Z_FIND_PO_RELEASE_STRATEGY)
inorder to know whether the current PO is without PR or not then export its value to memory.
2.Do enhancement in standard FM ME_REL_STRATEGIE_EKKO
(which is used to reset release strategy and indicator).
Inside this fm u can find below code
if xchange ne space.
*- Strategie geändert --------------------------------------------------
if e_frgst ne i_frgst or
e_frggr ne i_frggr.
perform reset
using e_frgst e_frggr
e_frgzu e_frgkz e_frgrl.
e_reset = 'X'.
*- Wertänderung prüfen -------------------------------------------------
else.
if t16fb-kzfae eq '4' or
t16fb-kzfae eq '6' .
perform currency_conversion using *cekko-waers
bwkurs_old
hwaers
fwaers
bwkurs
changing *cekko-gnetw.
f1 = *cekko-gnetw * t16fb-tlfae / 1000.
f1 = f1 + *cekko-gnetw.
if cekko-gnetw gt f1.
perform reset
using e_frgst e_frggr
e_frgzu e_frgkz e_frgrl.
e_reset = 'X'.
endif.
endif.
endif.
else.
perform reset
using e_frgst e_frggr
e_frgzu e_frgkz e_frgrl.
endif.....
above code is use to check the PO amount and with old net amount,Since normally code is done to reset indicator only when amount is greater than old one, u can copy above code and modify with ur condition(i.e flag) and paste in last line.
Please check & reward is useful. -
User exit for Change the Tariff Number in Customs Declaration Document
Hi Guru,
Due the business requirement, user only maintain the Tariff Number in ECC, there is an solution when GTS creating the customs declaration document in GTS, there is an user exit calling the Function Module (Customized program) to get the Tariff Number from ECC and then update the Tariff number in the item level automatically.
Do you know if there is user exit or BADI can update the "Tariff Number" in the item level of Customs Declaration Document in GTS?
Thanks,Hi,
I would not do it in that manner, first because of performance reasons and 2nd, GTS needs to have the Data in the system and for certain procedures (for example swiss customs you will have to manipulate them in GTS). Furthermore we tried to do this for dummy numbers and then conclusion is that it only works with a Programm modification (at least for CH customs) becasue the system needs to retreive more than just the Tarif number.
Yet if ECC has to be your master for Numbering (which I dont recommend by the way), but if there is really no other way.
Then create a batch job that transfers the ECCN number to GTS (there is a standard functionnality to do so), and then do a batch job in GTS that retreives these numbers.
Regards,
Marc -
How to change the profit centre during deliver?
i have an error during report generation.
'profit centre 'xx' not valid for company code 'abcd' '".
how to overcome this issue as i am unable to do the PGI.
let me know if any one has fced the issue
thanks
mmn
<REMOVED>hi,
GOTO -> KE53-> enter ur controlling area-> prress enter> key in the profit center which is having problem press enter-> This will take u to the screen, goto COMPANY CODE tab---> tick the company code in which it showing errror
regards,
Arun prasad
Maybe you are looking for
-
Repeated External HD Failure - Please Please Please Help.
I am running a 2012 Mac Pro with Mountain Lion. I have now had 3 external HD failures by it ejecting itself and never mounting back again. All 3 External HD's have been used for my archiving my photo's and Lightroom Catalogs. My current set up is run
-
Won't boot, blinking cursor, F8 doesn't work
I have a laptop with a Windows 7 and Debian Linux dual boot configuration and the Windows partition doesn't boot anymore. I just get a black screen with blinking cursor and no disk activity. F8, F5 and tab don't do anything, and cause it to beep if I
-
Timecapsule and iMac Early 2008 - Problems with Airport Utility
I have bought a new iMac and a TimeCapsule. With *Leopard 10.5.5* i have some problems to change the configuration. The Assistant will not work. The changed settings will not send to theTime Capsule (Ethernet or and Wireless). The airport signal is _
-
Hai all, I want to display a icon or link in AVL grid . In that icon click i want to navigate to another view. Could any body tell me how to do this Regards, Arun
-
About incompatibility between Solaris 10 and Solaris 8
Dear all I am investigating about incompatibility between Solaris 10 and Solaris 8. But I can't find incompatibility information (I can find some compatibility imformation). Please tell me about that if you know. Any suggestions would be appreciated.