MRRL user exit--- Reference field updation
Hi ABAPers,
I have posted the following issue long time back.inspite of so many views from the ABAPers,I have not got even a single reply.
I just want to know whether my query is incorrect or data provided by me is insufficient?
While doing auto bill passing thru MRRL , I want to update the refernce field in MIRo with the delivery note maintained in MIGO.
Even though I have written the logic to change the field,still it is picking up the same MIRO document no as the refernce field.
I have tried the following enhancements:
EXIT_SAPLMRMP_010 (MR1M001)
EXIT_SAPLMRMH_001 Customer Exit: ERS - Change Header Field (MRMH0001).
Thanks&Reagards..
Murali.c
Edited by: murali ch on Oct 14, 2009 6:20 AM
Edited by: murali ch on Nov 9, 2009 10:25 AM
Edited by: murali ch on Nov 16, 2009 11:56 AM
Dear Murali,
I have the same requirement as above. also, wrote he code in the given exit. but could not get the correct result.
I have checked Import & export parameters and wrote below code....
select single xblnr INTO v_ref
from mkpf
where MBLNR = T_SELWENR-LFBNR.
MOVE v_ref TO E_RBKPV_ERS_CHANGE.
but it didnt work out.
can anyone please tell what sort of code should I write for correct output.
Many Thanks,
Similar Messages
-
User Exit / BAdI to update the External Patient ID.
Hello SAPients!
I've been searching everywhere and I can't find a BAdI or User Exit to automatically update the External Patient Identification Number (NPAT-EXTNR). I've just found BAdIs to validate the correctness of the field but not a way to automatically change it. Anyone has done this before?
Thanks!Solved on my own. I found the User Exit NEXTNR00.
-
BADI-User exit required for updating Purchase order header field -IHREZ
Hello All,
We have requirement in our business to update the purchase order header field "our reference" EKKO-IHREZ with some text field. We need a BADI/user exit that can be used for updating this field . We have checked the BADI ME_PROCESS_PO_CUST and unfortunately we are not able to use this BADI as it getting triggered in enjoy SAP transactions ME21N , ME22N etc. We are not creating the purchase order manually and we are using ME59N for creating Purchase order . Hence we are looking for some user exit/BADI that can be used in ME59N for updating the purchase order header field IHREZ.
Thanks in advance for your immediate response .
With regards,
Joseph Anand BTRY using the exist u2022 EXIT_SAPLME59_001
You can also later on add this field by BAPI_PO_CHANGE -
User exit/BADI for updating custom table in MB1B transaction-
Dear All,
When performing a material to material conversion in MB1B transaction for batch managed materials,system is creating a new batch by copying the characteristics of issuing material/batch.The details of the new batch created are updated in standard batch tables(MCH1,MCHA,MCHA).
The requirement is when the new batch is created,the batch details and characteristics has to be stamped in a custom table.
Kindly suggest a user exit/BAIi available for updating the same in the custom table.
Regards,
DeepakDeepak, Exits for MB1B are
MBCF0002 Customer function exit: Segment text in material doc. item
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_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc. -
Lockbox User Exit Selection Fields and Matching Open Items in CustomerAccts
Dear SAP Gurus,
I have an issue with lockbox process. The problem is selecting the customer open item for clearing. Our Client uses standard SAP USER EXIT (FEBLB001).
Our billing document number does not equal to the financial accounting document number all the time. We store our billing document number in the Assignment field some times, and so this is the number the customer will reference when remitting payment. I have not been able to find a way to make the SAP system to use the customer's reference number (e.g. Assignment field) to clear the open item.
I m not sure how to resolve this issue. As far as my knowledge, we have to add selection field ZUONR to USER EXIT apart from XBLNR, BELNR. Please help me with this problem by providing me some basic knowledge. I would greatly appreciate for help.
ThanksPlease Anybody,
I m waiting for anybody to give their expertize.
Thanks -
User exit/BADI for updating Purchase Order Item
I am would like to update the purchase order item - specifically field EKPO-REPOS in a user exit or BADI. I haven't been able to find one that allows you to update the purchase order item.
Any input would be appreciated.
DerickYou can use BADI ME_PROCESS_PO_CUST for you requirement
Method PROCESS_ITEM
* Retrieve item data.
CALL METHOD im_item->get_data
RECEIVING
re_data = v_data_item.
Do you validations and changes here
*update changes
CALL METHOD im_item->set_data( v_data_item ). -
User exit for field addition on standard SAP Screen
Hi,
I want to add one customer specific field on notification at header level. I have found one enhancement i.e. user exit QQMA0001, which says that this is to be used for adding the extra field on the notification header. Now my question is that
1. If I have to add the field, how user exit can help (I am aware that user exist consists of the function module, screen exit, programme and includes. Now do I need to use the screen exit for this or something else?)
2. Other question is that before going to screen exit in the above step, do in need to add the field in structure VIQMEL and the respective table QMEL or when the table QMEL is updated then the field in structure VIQMEL will get auto updated.
3. If the step 2 is only sufficient, then why is the need of step 1, I mean what is the point in considering the user exit i.e. we can simply update the QMEL data table and then this field will get autoavailable on the structure and after going to SE51, if we view the field added, then we can place it wherever we want on the screen of notification.
Request for the reply.Thanks Pete,
I am not a developer and a functional person and right now i am in very initial phase with no developer around.
I got most of the points you mentioned here
Creation of data elemnt
Append the data table
Create the new subscreen for the main programme and then assign this subscreen to the notification type in SPRO.
If i am rightly followed then my questions are
1. What is the role of user exit here?
2. Why functional module is required here?
3. SE51 transaction you mentioned is the screen painter, Is it possible to create sub screen there. If no then where the new sub screen will be created i.e. T code in ABAP.
And the fianl question is that -
I f i succeed in attaching the subscreen to the notification type and my sub screen is only for one field then is it possible for me to set it up as a header data and place it anywhere below the notification user status field because i dont want to display it as subscreen bu header level information.
Thanks -
BADI/User Exit/BTE for updating Bar code in FI Invoice posting
Hi,
We have a requirement to update the bar code value in the table BDS_BAR_IN, once the FI invoice is generated. This is an inbound. I tried, but didn't find any user exit/BADI/BTE to do the same.
Basically, I need to get any of these enhancement points where I can update bar code with the generated FI document number.
Would appreciate your help.
Thanks
Itishree.Hi,
Pls check if any of the following is good for ur scenario;
BBPIV001 User Exits EBP Invoice Verification
EBIA0019 IS-U: Customer-Specific Invoice Comparison
IDCP0001 Customer Data for Printing Prenumbered Invoices
J_1ASD06 User-exit invoice reference in billing document (SD)
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LMR1M001 User exits in Logistics Invoice Verification
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MCBR0001 INVCO: Statistics update from invoice verification, valuatn
MCP20009 Extrapolation of Invoiced Sales for OTB
MCS60001 SIS: Statistics update, invoices
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
NBILL003 IS-H: Case-Related Invoice Processing
NEBILL00 IS-H: Function Exits for Estimated Invoice
NPRI0001 IS-H: User exits for invoice printout
NPRISG01 IS-H: Function Exits for Invoice Print SG
OICM0001 Exit for IS-Oil Repricing at Invoice Verification
PCA00004 Check valuation for invoice verification with transfer price
PCA00005 Check valuation for invoice verification with transfer price
V54C0004 Shipment Costs Processing: Determine Loc. for Tax Invoice
BADIs
/CWM/DEFAULT_VAL_IV BAdI for Default Logic in Invoice Verification
/DSD/SL_FSR_INV_PROC DSD Final Settlement Run: Processing Invoice Data
/SAPDII/SPP_INV_XML XML file download for invoice details
/SPE/CRM_SUPPL_IV Supplier Invoice
BADI_INV_PRTDATA Customer Exit for Data Procurement for Invoice Printing
FI_GET_INV_PYMT_AMT BAdI for determining the payment amount for an invoice
FMFG_IMPROPER_PANEL Additional Processing of Improper Invoice Panel
ICL_INVOICE BAdI: Changes to Invoices or Collective Invoices
INVOIC_FI_INBOUND BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)
INVOICE_UPDATE Business Add-In: Logistics Invoice Verification
ISH_DOP_DEDUCTION IS-H: Deduct Down Payment From Invoice
ISH_FILL_RNF49 IS-H: Fill Form Structure RNF49 (Cllct. Invoice Cnc. Doc.)
ISH_FILL_RNFP2S IS-H: Fill Form Structure RNFP2SE (Collective Invoice Items)
ISH_INV_CANCEL_CHK_1 IS-H: Check Whether Invoice Can Be Canceled
ISH_INVOICE_CHECK IS-H: Check Invoice Creation
ISH_PRINT_INVOICE IS-H: Invoice Print
ISJP_ITEM Invoice Summary Items
MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
MR_CIN_MM08RFS0 BAdI for carrying excise duty to carry invoice verfication
MRM_RELEASE_CHECK BAdI for Additional Checks Before Invoices are Released
OIA_ERS_ENHANCEMENT Invoice split possibility
SS01_BADI Payment Statistical Sampling BAdI - Invoice Batching
VLC_INIV_EXECUTE Execute Action INIV (Create Incoming Invoice)
VLC_OUIV_EXECUTE Execute Action OUIV (Create Outgoing Invoice)
WB2_ALV_IV Change ALV Data from Invoice Verification Documents
WB2_SALES_INV_INPUT BADI to modify input data for sales invoice
WB2_SALES_INV_OUTPUT BADI to get data from created sales invoice
WOSCR_EXI SAP Retail Store: Vendor Invoice
Regards,
Renjith Michael. -
User Exit for Delivery Updating
Hi,
I am creating one user exit for delivery ,
My condition:
If XLIKP-UPDKZ (Update indicator) = Update (U).
Read table Deferred COGS Activity (Z1009) with key
Delivery Number eq LIKP-VBELN.
If sy-subrc <> 0
Exit.
Else.
If V50AGL-WARENAUSGANG=X (PGI is active)
Update table Z1009 with
WADAT_IST = XLIKP-WADAT_IST
PGI_ERNAM = SY-UNAME
PGI_ERDAT = SY-DATUM.
where Delivery Number (DL_NO) eq LIKP-VBELN.
If delivery updated successfully then no problem ,
if not updated then I need to through error message to log.
I need Function Module for this.
Can u help me.These ar all the User Exits used in VL01N.
Exit Name Description
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
You can also look at BADI: LE_SHP_DELIVERY_PROC. It has several implementations which could be useful to you. -
ABAP: SD user-exits - custom fields using from KNVV or VBAK
Hi all,
I have a technical question.
I've created some custom fields in table KNVV. The values of these custom fields have to be used during Sales Order creation/modification for determining materials or princing, in sales order user-exits.
My question is:
During the Sales Order creation/modification, in the userexits:
Is it preferable to get directly the values of the custom fields from KNVV?
OR
Is it preferable to transfer values of the custom fields from KNVV to VBAK (which was extended with the same custom fields like KNVV...) with transfer data, and then use only VBAK?
Thanks in advance for your answers.
Have a nice day!Anderton,
I would prefer moving them to VBAK and then using it. Why?
1. Once you have queried KNVV and moved it to VBAK you do not have to perform the select again.
2. During SO change, you already have the data in VBAK so you do not have to fetch again from KNVV.
3. Lets say the Z field was changed on KNVV after creation of SO and if your requirement is to use the Z field content when the SO was created, you cannot go back to KNVV since the data is changed. But if the same was stored in VBAK, you do not have that problem.
Thanks,
Vikram.M -
User exit for field BEDNR in transaction ME22N
Hi experts ,
i want to use a search help for the field BEDNR in transaction ME22N . Is there any user-exit or badi available .
This field is in the PO header table. if any more clarification required please inform meThanks for pointing me in the right direction.
I was able to put my code in EXIT_SAPMM06E_012 and retrieve the component data through (SAPLEINK)XMDPM[]
Below is the code I used to assign the data to be able to evaluate it.
FIELD-SYMBOLS: <z_mdpm_x> TYPE ANY.
DATA: i_mdpm_x TYPE STANDARD TABLE OF MDPM_X.
Fetching Component data
ASSIGN ('(SAPLEINK)XMDPM[]') to <z_mdpm_x>.
CHECK sy-subrc = 0.
Assigning data into an internal table
i_mdpm_x[] = <z_mdpm_x>.
CHECK i_mdpm_x[] IS NOT INITIAL.
David
Edited by: David Herrema on Oct 20, 2010 3:03 PM -
User exit on field Unplanned delivery cost - MIRO
Hello everybody,
I want to be able to put tolerences on the unplanned delivery cost, for example:
For Invoice amount = 1000
IF Unplanned delivery cost > 100 >>> Balance (Red) invoice blocked
Do you Kow some User exit for that ?
Thank youHello Jeyakanthan ,
I dont see any tax code field next to unplanned delivery cost in the MIR7 / MIRO .
I checked the screen layout , in that the field is there & is active . But it doesn't appear in MIRO / MIR7
what do i have to do in order activate the field ?
Regards
Anis -
QQMA0011 - Notification Task User Exit / Custom Fields - Dependencies
Dear All
Please refer to my initial question:
http://scn.sap.com/message/15149603
Jogeswara Rao Kavala had a very nice input on that question.Now the next question is about building relationships between the fields that are using this custom screen. Assume that I will have two fields:
Field 1 = Type of the Data
Possible entries which should be picked up from a pick list are - Equipment/Functional Location/Material etc.
Field 2= Data value - In this field, depending on the selection from field 1, I would like to select an equipment, FL, or a material. Therefore the search helps must work accordingly. And the data entry check must work accordingly too.
Is this possible? I know that similar cases was developed for the SAP Standard new Web Dynpro Applications. But I am not sure whether this is something doable by using a user-exit?
Regards
GAHi Goraj,
Except for Dynamic search helps, I feel your requirements can be easily met by ABAPers. (Coding the PBO and PAI modules). But this query in the present form might not have better responses . Some work has to go on this at your end and then in case of hurdles, ABAP forum can be consulted.
(Even dynamic search helps also possible, but through expert coding).
Regards
Jogeswara Rao K -
User Exit for COR6 Update required..
Dear Experts,
I am supposed to add a logic along with a pop up window in COR6 when the user clicks on "Partial Confirmation" Button in COR6. My problem is that field name for the "Partial Confirmation" Button in COR6 is CORUF-TEILR. And the value is 'X' when debugging.
But as soon as my cursor enters the User Exit this value of CORUF-TEILR becomes 0, and hence I am unable put the only for "Partial Confirmation" and now the POPUp is coming for all the radio buttons.
I hav tried all methods but unable to get the value of the CORUF-TEILR into my User Exit, plz help how can i get the CORUF-TEILR into my User Exit program...
Thanks in advanceThe following program is allowing you to find all the user-exit from a transaction.
I found it somewhere on the net some times ago.
REPORT zfind_userexit.
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
**& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE,
field1(30),
v_devclass LIKE tadir-devclass.
**& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
**& Start of main program
START-OF-SELECTION.
* Validate Transaction Code
SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
* Find Repository Objects for transaction code
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 = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
* find sap modifactions
SELECT * FROM tadir INTO TABLE jtab WHERE pgmid = 'R3TR'
AND object = 'SMOD'
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:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt WHERE sprsl = sy-langu
AND name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
* take the user to smod for the exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN. -
Editing PA30 and at the same time user exit is making update/delete...
Hi all,
I am doing a user exit for PA30.
First, i edit infotype 6 (at this point PA30 is lock) for an employee, then i click "Save". This save button will execute a user exit.
Second, this user exit i have programmed to do another delete and update done in BDC (background) for the same employee.
But this user exit does not work because the PA30 is locked in the first place before it reaches the user exit.
Please advice.
Thanks
William Wilstroth.
Please advice.Hi Amit,
Thanks for your prompt reply.
On the question 3, the reason i need to do such event is because we need to update infotype 6 subtype 90 whenever there is a create/change in that infotype 6 subtype 01.
That means subtype 90 will always be updated together with subtype 01.
I need to know whether is this feasible in my user exit that performs such above.
Please advice.
Thanks
Sincerely
William Wilstroth
Maybe you are looking for
-
RE: Apple iMac 27 Hard Disk Replacement Complaint
Dear Customer ServiceManager, RE: Apple iMac 27” Hard Disk Replacement Complaint On May 12, 2011, Ibought an iMac 27” for my daughter from your official Hong Kong website (www.apple.com/hk). I am writing tocomplain about my dissatisfaction of your p
-
Custom toJSON() method is not called for each property
I'm getting familiar with JSON in ActionScript 3 (FP 11), and experimenting with custom toJSON methods. The Developer's Guide section on Native JSON Support clearly states: JSON.stringify() calls toJSON(), if it exists, for each public property that
-
Hi Experts, If I have to create a FICO user, what roles (or profiles) should I attach to the user? Or, i other words, what are the standard roles (or profile) for FICO? Same questions for other modules also (SD,MM,PP..) I checked in transaction PFCG
-
Hellow. I created BW Reports using level up/down. It's appeared user ID and Password popup window when excel file opened after export as ms excel in the web reports. Thers is no problem without level up/down. Would you help how pass ID/password popup
-
Disable full screen mode on Google Chrome?
I know this has been a problme for many for a while now but I was wondering if they have finally fixed this very annoying problem?