BAPI or USER EXIT for MIRO: Change PO reference amount (on-line)
Hi, I need to find a BAPI or USER EXIT for TX MIRO to change/modify the PO reference amount for the selected positions (using the given checkbox) just after selecting them (when pressing ENTER). Any ideas? Thanks.
Hello Suman,
Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
Steps.
1. Goto the Tcode
2. System-> Status.
3. Copy the program name, find the package for the program.
4. Go to SMOD (tccode) press F4 -> Click on "Information System" Push Button->
Enter the Package name-> and press the enter button.
5. Now you get the list of Userexits. Need to select one by looking into its short description.
Hope this solves your issue,
Cheers,
Suvendu
Similar Messages
-
User Exit for MIRO versio ECC 5.0
Business Process u2013
STAGE 1: PO creation and release
STAGE 2: GRN
Material comes in Quality inspection stock
STAGE 3: Quality test and approval - Material shifts to Unrestricted use
Quality test and Rejection - Material shifts to Blocked stock.
STAGE 4: MIRO
regards
syamahi
here it is
STAGE 1: PO creation and release
PPCO0001 Application development: PP orders
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
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 measu
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determin
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 link
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.
STAGE 4: MIRO
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
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Po
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 Verifica
Cheers
Snehi -
User-exits for MIRO :: for terms of payment & baseline date
Hi all,
is thr any user exit for terms of payment (zterm) & baseline date (zfbdt) for transaction MIRO.
Regards,
Nileshhi Nilesh,
try this exit: LMR1M001
hope this helps
ec -
User exit for block changes in PO if movement 101 occured
Hi,
Does anyone knows if there is a user-exit to block changes in the items of a PO, if there was a GR (mov 101) for that item (and considering that didn't was a mov 102 for the same item)?
Thanks,
Pedro MarianoHi
Try to Use me Badi ME_PROCESS_PO_CUST
surya -
User exit for MIGO - Change on Posting A/C Code Upon Saving.
Hi,
I have a requirement to to split the GR/IR clearing account during the posting of goods receipt in MIGO by filled in BSEG-HKONT with specify a/c code (hard coded).
I'm not able to find any user exit to change the value in BSEG-HKONT
while click on save.
Is there any suggestion on it?
Thanks.Hi ,
Try with the following User Exits for MIGO.
MB_CF001 Customer Function Exit in the Case of Updating a Mat. D
MBCF0002 Customer function exit: Segment text in material doc. i
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_CREA
MBCF0011 Read from RESB and RKPF for print list in MB26
Thanks,
SVREDDY -
User exit for MIRO after pressing ENTER
Hello,
Is there a user exit in MIRO after entering PO, Invoice date and Reference and pressing ENTER?
I want to popup a message that relates to vendor data that does not appear in the screen
Thanks,
MosheHi,
BADI
class_name CL_EX_PPA_CUST_BADI
exit_name PPA_CUST_BADI
class_name CL_EX_FAGL_PERIOD_CHECK
exit_name FAGL_PERIOD_CHECK
class_name CL_EX_MRM_VARIANCE_TYPE
exit_name MRM_VARIANCE_TYPE
class_name CL_EX_MRM_HEADER_CHECK
exit_name MRM_HEADER_CHECK
Check which one is best.
Regards,
Clemens -
User exit during MIRO with PO reference data
I have maintained dates Validity Star and End dates in Purchase order header data. My client wants that during MIRO system will throw error message if the posting date of IV crosses the Validity end date maintained in PO.
Is there any user exit for this so that during giving PO reference system will look for this data in PO and throw message or during simulate or post.
Regards,
SumanHello Suman,
Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
Steps.
1. Goto the Tcode
2. System-> Status.
3. Copy the program name, find the package for the program.
4. Go to SMOD (tccode) press F4 -> Click on "Information System" Push Button->
Enter the Package name-> and press the enter button.
5. Now you get the list of Userexits. Need to select one by looking into its short description.
Hope this solves your issue,
Cheers,
Suvendu -
Hello All,
Our requirement is to change line item data in the MIRO before save. It would be a great help if you can provide any BAdI or User Exits.
Thanks
AnuragHave a look at below code
http://www.erpgenie.com/sap/abap/code/abap26.htm
which gives the list of exits for a tcode.
Also have a look at below code which lists the BADI for particular tcode.
*& Report ZNEGI16 *
REPORT ZNEGI16 .
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA wa_tadir type tadir.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
endcase.
I hope this helps.
Best Regards,
Vibha
*Please mark all the helpful answers -
User-Exit for document changes (status)
Hi!
I'm looking for an user-exit where I can check if the status of the document has been changed. Therefore I found the exit "EXIT_SAPLCV110_004" with the include "ZXCV110U04" which is triggered when a document (transaction CV02N) is saved. The problem is that there is no structure of the document provided so I cannot check the status of it! The interface if this exit is just
FUNCTION EXIT_SAPLCV110_004.
""Lokale Schnittstelle:
*" CHANGING
*" REFERENCE(PFX_OKCODE) TYPE SY-UCOMM
INCLUDE ZXCV110U04 .
ENDFUNCTION.
Is there another exit or how can I check if the status has changed for each document?
Thanks,
KonradYou can code in EXIT_SAPLCV00_001. Write your code in the program ZXCV001U01. This has DRAW structure valeus and also DRAZ Item details.
FUNCTION EXIT_SAPLCV00_001.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_DRAW) LIKE DRAW STRUCTURE DRAW OPTIONAL
*" VALUE(I_OK_CODE) OPTIONAL
*" VALUE(SOURCEPATH) LIKE DRAW-FILEP OPTIONAL
*" VALUE(SOURCEFILE) LIKE DRAW-FILEP OPTIONAL
*" VALUE(TARGETPATH) LIKE DRAW-FILEP OPTIONAL
*" VALUE(TARGETFILE) LIKE DRAW-FILEP OPTIONAL
*" TABLES
*" I_INTDRAZ1 STRUCTURE DRAZ OPTIONAL
*" I_INTDRAZ2 STRUCTURE DRAZ OPTIONAL
*" EXCEPTIONS
*" ERROR
INCLUDE ZXCV001U01 .
ENDFUNCTION.
Hope this will help you to check the conditions. -
BADI/USER EXIT for MIRO.
Hi All
I have added a new field (GST) on MIRO screen using GUI XT.
The requirement is such that I need to populate this field after I have entered the purchase order no (It needs to take the vendor from the PO and then its subsequent VAT no from the vendor master). I am not sure where to do this part of the coding.
i have tried to implement BADIs
BADI_ENJ_ALT_ADR
INVOICE_UPDATE
BADI_FDCB_SUBBAS01
but it doesn't help.
Is there any other BADI/User Exit that I can try.
Thanks in advance.
HarshHi,
Bellow are the exit names for MIRO.
<Irrelevant enhancement list removed by moderator>
Regards,
Goutam Kolluru.
Edited by: Vinod Kumar on Feb 3, 2012 9:34 AM -
Hello Friends,
I'm looking for a User exit/BADi which I can use to change the quantity of PO while posting the Goods Receipt from MIGO. If you know one, could you please let me know.Thanks a lot in advance.
Regards,
SatyaSatya,
BADI MB_DOCUMENT_BADI_SAP will do that.
Both the Methods,
MB_DOCUMENT_UPDATE - Creation of a Material Document. In 'Update Task'
MB_DOCUMENT_CHANGE- Changing of a Material Document. In 'Update Task'
Have access to structures MKPF and MSEG.
You shud be good.
Le'me your proceeds.
Hope this helps
Vinodh Balakrishnan -
Hi friends
My requirement is to do some validation in MIRO when user will press the save button. For this I am using EXIT_SAPLMRMP_010 fm exit in LMR1M001enhancement. But the problem is when I am trying to validate that and show some messages it is not showing my error message and processing is still going on. Please suggest me how to show that message and stop the processing on that point. I am using ECC 5.0 version and already checked the BADI INVOICE_UPDATE but it is also not working.
regards
shiba duttaHi,
Put the breakpoint in each of the userexit that are provided and check whether processing is going at that step.
If it is so then put the logic in that userexit.
Exit Name Description
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
Regards,
Sonika -
EXIT_SAPLMRMP_010 - User Exit for MIRO
Hi,
I'm trying to call this User Exit EXIT_SAPLMRMP_010, in the MIRO transaction, but it is not triggered at all. And so after troubleshooting, in one table TFDIR, for this function module, the MAND field is blank.
Whereas the program expects character 'C' in the MAND field.
I do not understand from where this C is coming.
I executed another User Exit EXIT_SAPLMEREQ_005, which is having MAND = C and it is executing correctly.
Please help me on this.
ThanksHi,
I thought because of this MAND = C the PR user Exit is triggering, but its not due to that.
Actually i wanted to do one validation in the MIRO using this Function module, but my validation is not getting triggered at all. For testing, i just gave one message, to be prompted, to test whether working or not. but still doesn't work.
So anyone can tell me, how to trigger this FM.
Thanks. -
BAPI/FM/User exit for F-27
Hi All,
I am looking for a either a BAPI/FM or a user exit which is similar to tcode F-27. The reason being is i want to run this tcode in background.
I have been looking around in SDN but did not find any helpful posts for F-27. Anyone out there has any idea or workaround that would really be helpful. Or is it possible for me to create a custom function module to achieve the same?
Thanks in advance,
Karuna.Hi,
Thank you very much. I am trying to use it. this is how i am using:
DATA: ZFISCAL_PERIOD TYPE BAPI0002_4-FISCAL_PERIOD.
data: obj_type like bapiache02-obj_type,
obj_key like bapiache02-obj_key,
obj_sys like bapiache02-obj_sys,
documentheader like bapiache09,
accountgl like bapiacgl09 occurs 0 with header line,
currencyamount like bapiaccr09 occurs 0 with header line,
return like bapiret2 occurs 0 with header line,
extension1 like bapiextc occurs 0 with header line.
documentheader-username = sy-uname.
documentheader-header_txt = 'Test using BAPI'.
documentheader-comp_code = '0010'.
documentheader-doc_date = sy-datum.
documentheader-pstng_date = sy-datum.
documentheader-doc_type = 'DG'.
documentheader-ref_doc_no = 'Test using BAPI'.
documentheader-BUS_ACT = 'RFBU'.
documentheader-FISC_YEAR = '2009'.
documentheader-FIS_PERIOD = ZFISCAL_PERIOD.
currencyamount-itemno_acc = '1'.
currencyamount-currency = 'USD'.
currencyamount-amt_doccur = '101.00'.
append currencyamount.
currencyamount-itemno_acc = '2'.
currencyamount-currency = 'USD'.
currencyamount-amt_doccur = '-101.00'.
append currencyamount.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
DOCUMENTHEADER = documentheader
CUSTOMERCPD =
CONTRACTHEADER =
IMPORTING
OBJ_TYPE =
OBJ_KEY =
OBJ_SYS =
TABLES
ACCOUNTGL = accountgl
ACCOUNTRECEIVABLE =
ACCOUNTPAYABLE =
ACCOUNTTAX =
CURRENCYAMOUNT = currencyamount
CRITERIA =
VALUEFIELD =
EXTENSION1 =
RETURN = return
PAYMENTCARD =
CONTRACTITEM =
EXTENSION2 =
REALESTATE =
ACCOUNTWT =
if sy-subrc = 0.
WRITE 'SUCESS'.
else.
write 'NOT SUCCESS'.
endif.
When i am executing this i am getting 2 errors in RETURN:
1. Error in document: BKPFF $ ESRCLNT200
2. FI/CO interface: Inconsistent FI/CO document header data for updating
Can you please help me, if i am missing anything?
Thanks,
Karuna. -
Plant Maintenance Order - BADi/user exit for operation change
I need to send a mail on plant maintenance order (IW32) save event if there is any change in operation - requirement assignment person. Means if the operation is assigned to a person then notify that person on order save event.
Can anybody help me on this in finding some BADi or user exit?
Thanks in advance.Hi,
User Exits:-
IWO10009 Customer Check for 'Save' Event
BAdI:-
ALM_ME_001_ORDER Order/Operation Data
ALM_ME_ORDER_OPER MAM 1.0 Order Operations
IBAPI_ALM_OPR_GETDET BADI for Reading Fields for BAPI_ALM_OPERATION_GET_DETAIL
Check with these User Exits & BAdI's.
regards,
Venkatesan Anandan
Maybe you are looking for
-
Error while creating partition table
Hi frnds i am getting error while i am trying to create a partition table using range getting error ORA-00906: missing left parenthesis.I used the following statement to create partition table CREATE TABLE SAMPLE_ORDERS (ORDER_NUMBER NUMBER, ORDER_DA
-
From which table check 'cost element' and its corresponding GL account?
Hi, May i know from which could i check the cost element field and its corresponding GL account field?? Questions: "the getting cost element should check the corresponding GL account, but I canu2019t find the corresponding table which include these t
-
How can i display data from mysql (cant do it using netbeans)
im confused with changing ResultSet-->List->Array; i already done displaying a data table from mysql but im lost on how to display mysql rows to ComboBoxes and JLists... im new here. how does the setModel() work? i hate this GUI stuff.. = ( thanks...
-
View cluster table child table calling problem!
Hi All, I have created a cluster table with one table as header and one as item... Header table : ZRAJ1 ITEM TABLE : ZRAJ2 ZRAJ1 : ZPRODUCT ZPROD_DESC ZSTATUS ZUSER ZRAJ2: ZPRODUCT ZLABEL This clearly shows that zraj2 is depending on ZRAJ1. Created a
-
I have an I Pod Nano and would get messages to update my software. In my I Tunes I have 1,900 songs but after the updates it will only sync 933 songs. My current software version is 1.0.2. What am I doing wrong or is it something in the software.