User exit VA41 at save document
Hi Freinds,
Im using VA41 tcode to create contract. Before saving the contract, i want to do some validation. Is there any user exit for VA41 at save document.
Thanx
RR
Hi Rajiv,
you can use the user exit USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ(use se38 to access this) to do your validation
All VBAP details are available in XVBAP
and all VBAK details are available in XVBAK
Reward if helpful
Regards
Byju
Similar Messages
-
User Exit regarding SD billing Document
Hi Experts,
I want several user exits of SD billing document. The one is used to update Item condition when Billing document created, and the second is used to save to my add-on table before document saved. Could you have any suggestions?
Thanks.[User exits in sales document processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm]
-
How to find the ME29N 'USER EXIT' when our save the release PO after.
How to find the ME29N 'USER EXIT' when our save the release PO after.
which user exit will be used?
thanks.
alex.Hi,
process :
go to tranx code : ME29N ,
System---->Status , here copy the program name (SAPLMEGUI),
go to abap editor and specify the program name SAPLMEGUI and find the package "ME".
tranx code : CMOD , Utilites--->Sap Enanchement,
specify the package name : ME
and execute, displays a list of exits ,
and find out our suitable exit based on requirement.
check these : EXIT_SAPMM06E_021
reg
Siva -
Is there any user exit in IW54 before document saving?
Dear experts,
Is there any user exit in IW54 before document saving? I want to check some data before saving.
thanks
LanceOr BADI NOTIF_EVENT_SAVE (Change When Saving Notification)
PeteA -
User-Exit for changing Sales Document Number - Urgent
Hi Experts ,
Please suggest me the <b>User Exit for changing Sales Document Number.</b>
thanks,
Jayesh<b></b>hi jayesh,
chech this exit-----EXIT_SAPFV45S_002.
this exit's description says " Change Sales Document Using Configuration".
Other available exits are
SDAPO001 Activating Sourcing Subitem Quantity Propagation
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Enter these exits name in SMOD transaction and select components. u can find all the user exits available for this exit name.
Reward me if useful..........
Harimanjesh AN -
User exit for Reversing the Document
Hi,
Is there any User exit for reversing the document for FBRA?
ThanksHi,
Execute this report you will get the list of user exist for particular transaction,The inpur parameter for this report is transaction code , the output you will be getting is the list of user exists available for this trransaction.
If find my answer suitable pelase reward me suitable points.
REPORT Z_USEREXIT .
TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
TABLES : 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 OBLIGATORY.
SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
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 = '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.
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.
Regards,
Irfan Hussain -
User Exit on the save of Billing document (VF01)
Hello All,
I have a requirement where in during the creation of a billing document of a particular type i need to put in a block to prevent the creation of a accounting document and call a workflow to remove the block in the Invoice.
My requirement is that I require a user exit which is triggered on the save of the invoice document so that a call to the workflow can be done where in the runtime information of the document would be available in the workflow for further processing .
Helpful answers would be rewarded.
Thanks in Advance,
Sowmya.Hi,
USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy).
USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
Printing the item line of a billing document can be supplemented or changed.
USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
Printing the header line of a billing document can be supplemented or changed.
Refer the help
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm
Regards
Kiran Sure -
How Do everyone.
I have written some code within the user exit for VA41
within the FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
It bascially asks for some user input. If the user
answers 'Y' I carry on as normal with the document save.
However, if the user answers 'N' how can I force the
system to reject everything the user has entered? So
that he/she can start again.Hi Andy,
The user answer 'N' will itself cancels the user inputs, and will not save anything.
If you have access to OSS , read consulting notes 7688 /
582767 / 313440 .
Check OSS 178328 It will answer all your queries
XV*** structure will hold the current values of the Sales Order.
YV*** structure will hold the previous values of the Sales Order.
For Example,
Sales Order is created with two line items say 10 and 20.
During the sales order change an item is added say 30.
XVBAP holds all the three line items(10, 20 and 30).
YVBAP holds only 10 and 20.
All the values in XV*** will be updated to the tables V*** repectively during COMMIT.
Using XV*** and YV*** you can determine the changes made for the sales order while change is processed.
Regards,
Raj -
BADI/EXIT for FB60 Save document
Hi All,
I need to perform certain custom checks and save custom date in FB60 transaction.
Please let me know the BADI/EXIT for header check and save document badis in FB60 transaction.
Thanks and Regards,
VijayHi,
Could any of these exits be useful for you..??
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
Thanks -
USER EXIT / BADI on save VF01
Hi,
Do you know any user exit or BADI which triggers after save VF01 (Billing document), actually I need to modify the payment terms field in the VF01 while save.
Used program RV60AFZC to modify payment terms field but it does triggers before save.
<removed by moderator>
Thanks,
Srini
Edited by: Thomas Zloch on Mar 2, 2011 3:24 PM - no promises, pleaseHi,
There is an enhancement point in FM RV_INVOICE_DOCUMENT_ADD.
"ENHANCEMENT-POINT rv_invoice_document_add_15 SPOTS es_saplv60a"
You can check it once.
You can try with BADI SD_CIN_LV60AU02.
Thanks
Arbind -
FB70: User exit when the save button (for posting) has been click
Hi ABAP Gurus,
With regard to FB70, can anyone provide me the name of the user exit that will be triggered when the save button (for posting) has been clicked?
Thanks!
<b>
Best Regards.
Brando</b>Hello Brando,
With FB70 I recommend you implement the user-exit via the Business Add-In (BADI) way and avoid SMOD exits if possible.
The list below are the BADIs that are called by the <b>ECC6.0</b> system after you click the <b>Save</b> button to post a document. <u>They are listed in the order which they are called before the actual post</u>. You'll have to find the right one as per your requirement - you can view their definition via transaction SE18 then after you find the right one you need to use that definition to create an implementation via SE19. Here again, you'll have to choose the right method that suits your requirement. You'll find the method and class documentation in some cases with examples on how to implement, you need to write the code between the Method..EndMethod statement using the parameters provided by the Method.
1. PPA_CUST_BADI
2. FI_RES_ITEM_CURRENCY
3. AC_QUANTITY_GET
4. BADI_PRKNG_NO_UPDATE
5. FM_POP_CORE
6. FMRI
7. FMRE_BUS_PROCESS
8. FAGL_SET_SEGMENT
9. EXIT_XFMPR1_001
10. BUAVC_CHECK_RESTRICT
11. UKM_R3_ACTIVATE
12. CO_DOCUMENT_INFO
I spent a bit of time debugging FB70 to find this info for you, please appreciate by rewarding points (or else
Good luck.
Cheers,
Sougata. -
User exit trigerred after billing document is generated
The objective is to set the Sales Order Item Level System Status. Using a line item that is created in VA01, I have to create a reference item in VA02. For both the line items created I have to generate billing document in VF01. After the billing document is created (when I give save in VF01), using the billing document number I have to set the Billing and delivery system status to completed.
The functional specification provided me with a user exit USEREXIT_NUMBER_RANGE in RV60AFZZ. But the exit is getting triggered before the billing document number is generated. So I am unable to set the status. Can you suggest me a user exit that would be triggered after the billing document is generated?if your invoice is relevant for accounting posting - you may use one of SD/FI exits (check RV_ACCOUNTING_DOCUMENT_CREATE and search for call customer-function).
OR you may define new output type for your invoice and put your logic there, nast-objkey will have invoice number. -
USER EXIT ON Posting RMCA documents FI-CA Interface
Hi all,
I have to fill some custom fields in RMCA documents during the FI-CA interface.
I used the events 61, 4000, (transaction FQEVENTS) but there isn't any billing information (VBRK).
That's all.
Thanks for your help.
Bye EnzoHi Enzo,
do you have debug your user-exit and check if in a calling program you have this information ?
if yes, you can access this information with a little tip&trick.
Rgd
Frédéric -
User exit for check/save/hold in Purchase order
>The client requirement is like this :-
>The client has development a Order Approval Form process and want the user to create all the purchase orders having value all inclusive value of Purchase order above Rs. 300000/-.
>The user should not be able to save/hold/modify any purchase order above Rs. 300000/- in normal SAP through tcodes ME21N, ME22N, ME23N.
>For this we need to use a user exit and flash an error message that PO value is above Rs. 300000/-, hence please process the purchase order in OAF.
>Can any one please provide details of which user exit to use for the above scenario.
>Thanks in advance
>AJBADi:ME_PROCESS_PO
Method: PROCESS_HEADER
PROCESS_ITEM
Or
BADi:ME_PROCESS_PO_CUST
Method: PROCESS_HEADER
PROCESS_ITEM
Call your ABAPer to do the same. -
User-Exit to Modify Accounting Document of Incoming Invoice
Hello,
My requirement is to add two new Line Items (One Debit One Credit - with net value 0) in the Accounting Document of the Incoming Invoice.
Is there any User-Exit available for modification of the Accounting Document?
P.S. - The Incoming Invoice is being Posted using BAPI - BAPI_INCOMINGINVOICE_CREATE
Thanks & Regards,
AbhishekHi Abhishek,
Try this exits. You go through the flow and put a break point on the selected exits, and check it whether it triggering or not?
I too not aware of this invoice flow, so I am listing all the relevant exits. I think this may help you.
Enhancement
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
Business Add-in
INVOICE_UPDATE Business Add-In: Logistics Invoice Verification
Reward points if it helps you.
Cheers,
Swamy Kunche
Maybe you are looking for
-
My husband plugged his iPod Touch into the USB port on the computer and, once it charged some, iTunes didn't recognize it as his iPod (calling it an "iPhone" rather than "Ed's iPod"). It said that iTunes had detected an iPhone in recovery mode and th
-
Which LKM is to be used for data from oracle to file
Hi All I am new to ODI. Please help me in understanding this tool. I want to know Which LKM is to be used for moving data from oracle to a comma seperated file etc.
-
How to assign Vendor balance Confirmation form to F.18
Hi All, I have customized the vendor balance confirmation form and program. Is it possible to assign this to Transaction code : F.18, if yes where to specify this. Thanks and Regards Parthi.
-
PLEASE Help with HTML code for email background image...
Hi there! i have a background image that I want to pop into an html email widget for the email's background... here is the web link I created in Photoshop: file:///C:/Users/Rachel/Desktop/iMuse%20Clients/LeadMachine360/Email%20Signatures/tileabl e-m
-
How to run tests in Firefox when running script using runScript.bat
I am trying to run OATS script from commandline without opening Openscript IDE(eclipse). I use the following command to execute my script: runScript "<scriptpath>/<scriptName>.jwg"The script starts to execute and launches IE. I wanted to run my test