User Exit on payment term is empty in MIRO
Hi Experts,
I'm new to abap, thus i have the above problem.
If in t-code MIRO, and i want to stop the transaction from proceeding (meaning no parking, no posting, etc) when the payment term in the payment tab is empty. So, i am wondering if there is a user exit that should fulfill what i needed to do?
Currently, i have codes that gave the users a warning message that the payment term is blank, but if the user continue to click on parking, or posting button, etc, the user will still be able to post or park that document.
If there are any other solutions, please let me know.
I have tried badi MRM_HEADER_CHECK but i am not sure if this will help me as i am new to this.
Really appreciate any kind soul who can help me in this.
thank you!
Hi,
maybe something (two possibilities) like this might work.
1.- in badi MRM_HEADER_CHECK do:
IF sy-tcode = 'MIRO'.
IF I_RBKPV-ZTERM IS INITIAL.
* get the ok-code
DATA: c_okqx(17) TYPE c VALUE '(SAPLMR1M)OK-CODE'.
FIELD-SYMBOLS: <fs_okqx> TYPE ANY.
ASSIGN (c_okqx) TO <fs_okqx>.
* delete ok-code.
CLEAR <fs_okqx>.
MESSAGE s0xx(zxx). "Fill in payment terms please
ENDIF.
ENDIF.
2.- or in badi INVOICE_UPDATE, method CHANGE_AT_SAVE
you can do:
IF sy-tcode = 'MIRO'.
IF S_RBKP_NEW-ZTERM IS INITIAL.
MESSAGE e0xx(zxx) RAISING error_with_message. "Fill in payment terms please
ENDIF.
ENDIF.
Best regards.
Edited by: Pablo Casamayor on Dec 18, 2009 11:52 AM
Similar Messages
-
Hi Friends
how to write the User Exit for Payment terms at Item Level. Any Sample User Exits can help me if no exact User Exit Is there
User Exit Name : USEREXIT_MOVE_FIELD_TO_VBKD
Thanks in Advance.
Regards
sahitiHi Amrish.
thanks again.
Hear is the complete ticket which i got from the client.
1. User exit in Program MV45AFZZ
User Exit Name : USEREXIT_MOVE_FIELD_TO_VBKD.
create an include first - and then add the statements to that include..
this way when there is a patch or an upgrade - we need to only type the include statement and not the extire userexit.
2. External Table Specifications:
the table is client dependent
table name: zpaymentterm.
client(keyfield)-mandt
sales org(key)vkorg
sales Doc-(key)auart
material Grp-Matkl
cust:kunnr
Payment term (zterm) : ijput field in table maintenance
3. select from the ztable using vbak-vkorg/vbak-auart/vbap-matkl/vbak-kunnr is equal to zztable fields.
move corresponding zztable-zterm to vbkd-zterm.
4. Validations: if no entry found in ztable then payment term from the customer master should be copied in the document.
5. Create the maintenence view for the table and assigned with Transaction Code.
Thanks in advance.
Sahiti. -
User exit for Payment terms at header level
Dear Alli
In which user exit, I have to modify if I need ti change value of payment terms at Sales Order Header level .
and let me know in which include program is that ??
Thank You.
Regards
Madhu
Edited by: madhu tatikonda on Feb 12, 2008 8:58 PMYou can check move_field_to_vbak or in USEREXIT_SAVE_DOCUMENT_PREPARE
in include: MV45AFZZ -
Hi,
what are the user exits available for the payment terms in standard SAP.
CHEERSHi,
Following function modules are available.
FI_BASELINEDATE_SET
FI_CHANGE_PAYMENT_CONDITIONS New Entry for Terms of Payment: Interpretation, Check
FI_FIND_PAYMENT_CONDITIONS Determine cash discount using ZTERM and document, posting, CPU, base
FI_TERMS_OF_PAYMENT_CHECKING
Warm Regards -
PO user exit for payment terms release strategy
Hi friends,
My requirement is to any changes to Payement terms in PO should trigger the re-release of the po....
Plz. explain... How to proceed...
which user exit i have to use........
Thanks in advance,
Navin.....My requirement is after changing of payment terms my release strategy is not changing for released po... i want to reset it for re-release after changes made to po changes....... which user exit i should should......or any other alternative....
Rgds,
Navin -
How to allow a user to change Payment terms on A/R documents
Hi All,
I want to allow one of my user to change payment terms on A/R documents. I could'nt found it where to authorize a user for this purpose. Can anybody help me out with this?
BRDear Naveed,
To enable users to change the Payment Terms in A/R, please give the user Full Authorization for Price Lists (Inventory -> Price Lists -> Price Lists).
Hope this helps.
Regards,
Lorna -
Payment terms field display at MIRO screen
Hi,
How can I make Payment terms field "Display" at MIRO screen??
Regards,
SattujHi,
The fields on MIRO are not configurable as with other transactions.
You have no config control of these fields.
You should not really block the field, because what happens if you ever need to change it (believe me this WILL happen).
Steve B -
BADI or user exit in payment proposal
hi experts,
i need to call a workflow after the payment details are saved. Is there a <b>BADI</b> which is executed after saving the transaction. I would also like to know the user exits for the same.Hello,
As i mentioned starting point is finding BOR object - i am not able to find exact business object from BOR but i have following which may be usefull otherwise you have to create your own BAPI which API release to trigger work flow but check with your business consultant regarding this transaction coz it is quite popular.
BUS5540 CashFlowTransaction
BUS2042 Financial Transaction
Once you find Business object
1) create a work flow task.
2) trigger when do u want to trigger.
3) go to work flow builder and define steps you want.
***********Poorna********** -
User exit for Payment EXIT_SAPLIEDP_902
Hi All,
I have implemented user exit 'EXIT_SAPLIEDP_902' to change some IDOC data
for outgoing payment from F110. Payment is sending through IDOC when run
the payment run program with payment medium.
<b>Question</b>: As i said i have implemented user exit, attached to the Project
and activated, Ran F110 (Payment run program) But the exit is not triggering.
even though i tried many exits for F110 (payment run program) but no one is
triggered at all.. I am wondering why it is not triggering exit from F110.
If any one know why it is not triggering and is there any other way to do user exit
for F110 (Payment run medium)..
Its urgent.. points rewarded..
thxTry to run the report RFFOEDI1 manually and debug it...
First select the variant you are using in F110,
then select your run identification...
Put break points where the FM is being called.
See wheather it has been called or not?
Regards,
Naimesh Patel -
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 -
Payment Terms field Blank in MIRO Document
Dear All,
I am working oN SAP 4.6C.
When I am doing MIRO, the system is proposing me the terms of payment . But when I save this document and see this in display mode after saving, the terms of payment field is blank. Somewhere in background , system is clearing the terms of payemnt field.
I tried to find user exit, but I could not find any exit with terms of payemnt field or document header as exporting parameter. please help me if somebody has earlier encountered this problem.
Thanks and Regards
Gurpreet Singh.Hi
I am little bit confuse with you question
MIRO is a tcode for the Incoming Invoice butyou have mention the terms of payment.
If you r doing the recording the data in which field it is giving you the error after saving.
1-Basic Data
2-Payment
3-Details
4-Tax
Plz give me the clear idea about your problem,I hope i can help you more.
Thanks
Mrutyunjaya Tripathy -
USER EXIT or BADI for Vendor field in MIRO
Hi Experts,
In MIRO transaction vendor field gets defaulted from Purchase Order. So my requirement is to changes that vendor with alternate payee.
To <u>replace the vendor with alternate payee</u> I need the <b>USER EXIT or BADI</b>, kindly help me on this will be useful for us.
Thanks in Advance.
SAP ConsultantTransaction Code - MIGO Goods Movement
Exit Name Description
MBCF0002 Customer function exit: Segment text in material do
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Ma
No of Exits: 8
BAPI-step by step procedure
http://www.sapgenie.com/abap/bapi/example.htm
list of all BAPI's
http://www.planetsap.com/LIST_ALL_BAPIs.htm
Rewards if useful.................
Minal -
Payment terms display in transaction MIRO
Dear all,
When we use transaction MIRO we have the correct display from the payment terms and the display is correct.
When we use the transaction MIR4 in ordre to see the invoice the value of the payment term (0000, 0060...) has disapear but the number of days are correctly indicated.
How can we still having the value of the payment terms (0000, 0060...) in MIR4?
Thanks!
DavidHi,
Please refer this link:
value in payment terms field not dispalyed in invoice after saving MIRO
Regards,
Pramitha. -
User exit for manually calculating exchange rate in MIRO
Dear All,
i want to change, exchange rate in MIRO transaction.
for that i have used user exit MRMH0003 (Logistics Invoice Verification: Revaluation/RAP), but unfortunately it doesn’t work.
so, can you please suggest, the better way to do this.
thanks and regards,
KaushikI,
Please take a look at BADI AC_DOCUMENT -
Prob. in Implement User Exit for wrong calculation of Surcharge during MIRO
Dear All,
In our system the calculation of Surcharge is wrong during MIRO.
So i write this issue to the SAP, the below solution is provided by them :
Use the user exit 'J_1I7_USEREXIT_PROCESS_TKOMV' to redetermine
the additional VAT condition type value. This user exit will be
called after the FM 'J_1I4A_TAX_CONDITIONS', where the
redetermination of the VAT will take place on the basis of
the changed excise duties.
So, userexit can be implemented by CMOD and SMOD, but this userexit actually a Function Module.
But now the problem is how can i implement the 'J_1I7_USEREXIT_PROCESS_TKOMV' function Module.
Regards,
Nitin GargDear,
Thanks. I already make a enhacement in this function Module and write the below code:
ENHANCEMENT 1 ZMIRO. "active version
DATA : WA_XKOMV TYPE KOMV.
DATA : WA_KBETR TYPE KOMV-KBETR,
IDX TYPE SY-TABIX.
LOOP AT XKOMV WHERE KSCHL = 'ZSUR'.
IDX = SY-TABIX.
WA_KBETR = XKOMV-KBETR / 10.
READ TABLE XKOMV INTO WA_XKOMV WITH KEY KSCHL = 'JVRD'.
XKOMV-KWERT = WA_XKOMV-KWERT * WA_KBETR / 100.
MODIFY XKOMV INDEX IDX TRANSPORTING KWERT.
ENDLOOP.
ENDENHANCEMENT.
ZSUR is a custom surcharge condition type. But still surcharge is wrong calculated.
Nitin Garg.
Maybe you are looking for
-
My iPod Nano 5th G. Won't turn on off the charger!?
I recently just found my iPod since it's been lost, I can't understand why it won't turn on when it's not on the charger? It comes on when I put the charger in, thats fine, an I can listen to music and all, it even shows the bolt on the battery and t
-
I have a MBP 5.1 and I get the following kernel panics:
MBP 2,4 GHz Intel Core 2 Duo, 8 GB 1333 MHz DDR3 ram and I am running Maveriks and eversince I have upgraded to Maveriks I have kernel panics. I have deleted a few apps that cause some of the panics and it seemed to solve it for a day or two. But I a
-
IPhoto 9.6, can update only 1 out of 6 old libraries
I have upgraded from OSX 10.9 to Yosemite (10.10.1) and then from my previous version of iPhoto (don't remember the exact version) to iPhoto 9.6. At the first opening, iPhoto asked to update the default library to work properly with the new version.
-
HI experts, i have an internal table.. example : customer number I Invoice no I amount 100 I 001 I 100 100 I 002 I 200 100 I I 300 200 I 003 I 111 200 I 004 I 222 200 I I 333 if customer is changing i need to do the subtotal , i have d
-
Condition type not flown(not determined) into the sales order
Hello Experts, There is one discount condition type which is having proper condition records, validity date.However, it is not getting determined properly and is not flown into the sales order. the user wants to know why this may happen.I tried to re