FB01 Save user exit
Hi,
Does anyone know of a user exit that gets activated when saving a document using transaction FB01. I need to exit to include structures containg all the information being posted in the financial document. Ive tried looking for enhancement in SMOD using package FBAS, but have not found anything suitable.
Many Thanks
Don
Transaction Code - FB01 Post Document
Enhancement/ Business Add-in Description
Enhancement
SAPLF051 Workflow for FI (pre-capture, release for payment)
RFKORIEX Automatic correspondence
RFEPOS00 Line item display: Checking of selection conditions
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
FARC0002 Additional Checks for Archiving MM Vendor Master Data
F180A001 Balance Sheet Adjustment
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
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
Business Add-in
F050S008 FIDCC1, FIDCC2 Inbound IDoc: Update Comparison Ledger
FBAS_CIN_LTAX1F02 Tax interface
FBAS_CIN_MF05AFA0 EWT - Downpayment Clearing - Tax transfer for CIN
FISPLIT Online Split: Cash Discount, Exchange Rate Differences
FI_PAYREF_BADI_010 BAdI: Payment Reference Number
FI_RES_ITEM_CURRENCY Document of Residual Item with Invoice Currency
FI_TRANS_DATE_DERIVE Derive BKPF-WWERT from Other Document Header Data
FVFZ Replacement for Function Modules of Function Group FVFZ
INVOIC_FI_INBOUND BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)
RFESR000_BADI_001 BAdI for Own Processing of POR Item
FI_FB08_SUBST_BUDAT FB08: Check Posting Date for Reversal of FI Doc. with FB08
FI_HEADER_SUB_1300 Screen Enhancement for Document Header SAPMF05A
FI_DOC_DISP_LI Diversion to Document Items (FB03)
BADI_BRNCH_TO_BUDAT Deriving BUDAT based on BRNCH (ENJOY)
BADI_ENJ_ALT_ADR Go to alternative vendor/customer data
FI_AUTHORITY_ITEM Extended Authorization Check for Document Display (FB03)
FI_GET_INV_PYMT_AMT BAdI for determining the payment amount for an invoice
AC_QUANTITY_GET Transfer of Quantities to Accounting - Customer Exit
ADJUST_NET_DAYS Change to Net Due Date
BADI_F040_SCREEN_600 Screen Enhancement on F040 0600 Document Header
BADI_FDCB_SUBBAS01 Screen Enhancement 1 on FDCB Basic Data Screen (010, 510)
BADI_FDCB_SUBBAS02 Screen Enhancement 2 on FDCB Basic Data Screen (010, 510)
BADI_FDCB_SUBBAS03 Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)
BADI_FDCB_SUBBAS04 Screen Enhancement 4 on FDCB Basic Data Screen (010, 510)
BADI_FDCB_SUBBAS05 Screen Enhancement 5 on FDCB Basic Data Screen (010, 510)
BADI_PRKNG_NO_UPDATE BAdI for Deactivating Update of Parked Documents
No.of Exits: 13
No.of BADis: 26
Similar Messages
-
How to read header texts in the on save user exit of VA01
Hi Experts,
I have a requirement to read the header texts in the on save user exit.
I have to check whether departmental code in header text is not initial or not.
Can any one please pour in some points of how it can be done......
Thanks in Advance.
PremHi
U can use fm READ_TEXT:
DATA: THEAD LIKE THEAD,
TLINES LIKE STANDARD TABLE OF TLINE WITH HEADER LINE.
THEAD-TDID = <text id>.
THEAD-TDSPRAD = <language>.
THEAD-TDOBJECT = 'VBBK'.
THEAD-TDNAME = VBAK-VBELN.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = THEAD-TDID
LANGUAGE = THEAD-TDSPRAD
NAME = THEAD-TDNAME
OBJECT = THEAD-TDOBJECT
TABLES
LINES = TLINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
U can use it in all situations ( inserting and updating) because that fm returns the buffered text.
Max -
Query on Billig Save User-exit
Hello Folks,
This question is related to SD (Billing Area).
We have a requirment, In the Billing Save User-exit 'RV60AFZZ', we need check for the VAT Reg No of the Sales Org in a Z-table, if its not configured in it then we need to stop the Billing creation.
i.e, when sy-subrc ne 0, stop the Billing generation.
We tried with the commands 'check' and 'Exit', these did not work. The control exits from RV60AFZZ but the billing is still created. Then we tried command 'STOP'. This works good in online mode (VF01), however in batch mode there is an issue. The billing for the particular document (when sy-subrc ne 0) is stopped, however the job skips all the docs for billing generation. But the Job does not abort.
I know that the copy control routines are the perfect choices for implementing this kind of logic. However due to the other requirements we had to put the logic in the Billing save User-exit,
Can someone help me here.
I need to stop the billing generation( in batch mode )for a particular doc based a check (if sy-subrc ne 0) and the batch job should invoice the rest of the docs which it picks from the Billing due list.
Regards,
Mohan KrishnaHi
U can use fm READ_TEXT:
DATA: THEAD LIKE THEAD,
TLINES LIKE STANDARD TABLE OF TLINE WITH HEADER LINE.
THEAD-TDID = <text id>.
THEAD-TDSPRAD = <language>.
THEAD-TDOBJECT = 'VBBK'.
THEAD-TDNAME = VBAK-VBELN.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = THEAD-TDID
LANGUAGE = THEAD-TDSPRAD
NAME = THEAD-TDNAME
OBJECT = THEAD-TDOBJECT
TABLES
LINES = TLINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
U can use it in all situations ( inserting and updating) because that fm returns the buffered text.
Max -
How to delete Remittance Advice through FB01 - which User exit or BADI?
I have created a BDC program for transaction FB01 to create an FI posting. During this BDC session, i need to delete the associated remittance advice using the function REMADV_DELETE.
Is there a user exit or BADI that i can use to call REMADV_DELETE once the FI posting is successful?
Thanks,
JayJay,
In BTE there are two types of exit - Publish and Subscribe (P&S) and Process. Generally P&S give access to read data from a transaction and trigger your own processing as a result, while Process give access to change parts of the data in the SAP transaction. For what you want, P&S probably gives the functionality you need.
You need to copy the sample function to a Z function in a Z function Group. Put in your code, and activate the function and function group. As an initial test just a break-point in the code is useful to see when the exit executes and what data is available.
Then in transaction FIBF you need to insert customising to link in and activate the exit.
In the FIBF transaction, go to menu option Settings>Products>Of a Customer. Select New Entries and create a Z... entry with appropriate text. Leave other fields at this time and save.
Go to Settings>P/S Modules>Of a Customer. Select New Entries and create an entry for the relevant event number with the Z product you just created and add your function module name. Country and Appl can be filled or left blank for "All". Save the entry.
Go back to the Settings>Products>Of a Customer entry and selct the activate check box and save the entry.
Your function should now get executed at the relevant point. Remember this will get executed in all posting transactions, so include appropriate checks for your transaction code, document type, etc.
One note. Transaction FB01 performs some of its updates using "IN UPDATE TASK" so some records may not be created at the time some exits are executed. In the old style debugger a commit is performed when you debug so the update is triggered, but then when you run without the debugging things work differently. The new style debugger lets you debug these exits without the commit and thus gives a better picture of what will really happen.
Andrew -
Availability check run requirement in the Sales order Save user Exit.
Hi Gurus,
As per the requirment we are using a user exit SAVE SALE ORDER PREPARE for BOM purpose to reconfirm the confirmation qty.
Now we need to add one more logic in the same user exit, which will run the availabilty check run for each of the line items of the BOM and consider latest confirmation qty from it. So my concern is it possible that we can call the availabilty check run event with in the user exit SAVE SALE ORDER PREPARE or this not advisable?
Please let me know..
Regards,
BabsHI Venkat,
Thanks for your reply.Yes you are right availability check runs automatically at sub item level.
But please note the customer requirment iteself is is little different from std BOM configuration.
Currently the availabilty check is activated both at header and sub item level. They are maintaining the stock for header and sub item level.Also the these sub items are some time being sold as invidual materials. hence there exist a mismatch in the stock value between header and sub items.
when a sales order is created both header and sub items will have confirmation with different value between each and the same mismatched values are being passed in to delivery. But the deliveries can not be processed for PGI because of the mismatched confirmation qty between header and item level.
I guess now you the rrequirment.
So we are using the SAVE SALE ORDER exit which will re check the confirmed qty between header and item and takes lowest confirmed qty and change the confirmed quantities from all the line items to lowest one, so that confirmation qty among all the line items are same. This is the first logic we are planning.
Further there is one more additional process BOP need to be run for this header and sub items, which will change the confirmed qty based on the latest stock for individual line item. even in this case also the user exit SAVE Sale order is being called but we need to run the availability check run additionally because of which our requirment will be taken care.
Regards,
Babs -
How to trigger Availability check in Sales Order 'save' user exit.
I have requirements which dictate that I change item categories of most of the line items in a user exit. If I do that the line items no longer confirm. I know that the availability check happens in 'move_Field_to_vbap' user exit. Is there any way I can re-trigger it on save. These orders will be coming through a bapi. Thanks in advance.
Hi!
Search the way (via menu) in VA01 to trigger the availability check manually. Then have a look, with routines are called.
Then call this (these) routines in the exit. If you see something like 'perform okcode_...', then this should work. Be careful not to trigger recursive loops by this way. Maybe the prepare_save-exit is a better place to do this.
Regards,
Christian -
Production order save: user-exit EXIT_SAPLCOZV_001
Hi
I have not done user-exits.
How do I call program RCCLORD which creates idocs. I've created include zxco1u06 . How will i get the Production order number. Should i get it from memory?Hi
When i debug the saving of an production order, it calls program RCCLORD. RCCLORD use a logical database IOC, how do i populate the data to the selection screen of the LDB?
tables: aufk.
ranges r_order for aufk-aufnr.
r_order-low = HEADER_IMP-AUFNR.
r_order-sign = 'I'.
r_order-option = 'EQ'.
append r_order.
SUBMIT RCCLORD WITH OPT_SYS EQ 'SAPBC' "Logical system
WITH MESTYP EQ 'LOIPRO' "MESTYP
with AUFNR eq r_order AND RETURN.
Message was edited by: Giovanni Baumann -
Hello Friends,
I need to update some ztable while saving the material count for a physical inventory document using MI04 transaction. I want to know what is the user exit name so that I can insert my code while saving the document.
Thanks in advance.
Thanks,
ShreekantHi Shreekant,
For your transaction below mentioned enhancement are available:
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
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
Regards,
Tutun -
FB01/FB02 user exit/BADI
Hi,
When document via fb01/fb02 is created field (XREF1_HD) in header is created by custom.
I checked substitution but I could find ther this rule which filled this field.
I checked BADI: FAGL_SEGMENT_BS_ACC but it wasn't implemented.
Could you indicate me where this field can be set?
Thanks in advance,
ZHI
try these exits for FB01----
Exit Name Description
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)
try these exits for FB02----
Exit Name Description
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)
regards
Prashant -
Hi All,
I need to make some changes to Accounting Document line items just before they are saved. Basically i have to consolidate the FI line items so that they do not exceed 999. I tried some BTE but SAP is over writing my changes after the BTE is called.
I cannot do this consolidation from OBCY transaction as i want to restrict this for only one company code. Can someone please help me with this.
Regards,
JayantRe: FB01/FB02 user exit/BADI
Re: Searching User- / Customer-Exit for Transaction FB01 -
User exit for change PO (me22n) for save header and item text.
Hi Experts,
I have a requirement to read the header texts/item text at run time .
please tell me is there any save user exit for tc me22n .
Thanks in Advance.
PareshTransaction Code - ME21N Create Purchase Order
Exit Name Description
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
AMPL0001 User subscreen for additional data on AMPL
No of Exits: 35
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
User Exit for Updating Delivery Plant at Item Level in Sales Order
Hello Experts
There is a requirement to determine the delivery plant for each item level and than update the items with newly determined plant. There is a user exit MV45AFZZ routine FORM USEREXIT_MOVE_FIELD_TO_VBAP. to update the item level entries in Sales Order in VA01 or VA02. Is this the right place to do this?, if yes , do i need to perform any other standard logic (like re determine Shipping points , schedule lines ) for newly determined plant? If not , can you please suggest any other place , BADI or user exit to change the delivery plant of sales order.
Thanks a lot....
-HarkamalBest place is MV45AFZZ-USEREXIT_SAVE_DOCUMENT_PREPARE. Populates the values just before saving the document. You can have your own deriving logic. Make sure that peice of code is trigger only for Sales Order create or change (VA01/VA02).
Are you kidding??? You do realize that this is AFTER all validations against configuration, ATP, pricing, etc. have been performed??!!! Never, ever change a critical value like plant in the SAVE user exits... -
User exit or badi for the iw32 for the subnetwrk/portn
Hi All,
I got one requirement in PM Module, after making the changes in the PM work order using the transaction code IW 32 and clicking on u201CSAVEu201D button, then we need to fetch the u201CSettlement Receiveru201D values from Settlement Rule related to Account assignment category NTA and NTW. The fetched values from the Settlement Rule should be placed in u201CAdditional Datau201D tab in the field u201CSubnetwrk of/Oprtnu201D.
Could you please any one let me know we can achieve this by using the USER EXIT or BADI or any other.Jaya Sankar,
Have a look at IWO10009 (at save user-exit) and try entering this code to extract the settlement data:
lv_text1 = '(SAPLKOBS)GT_COBRB_BUF[]'.
ASSIGN (lv_text1) TO <fs_gt_cobrb_buf>.
If you get no values, then it means that the user has not entered the settlement screens. You therefore need to select the data from the database.
Then try using this code to update the header data:
* NOTE: Be very careful when using this method - it is not recommended by SAP
* get order header data (or use user-exit import data)
call function 'CO_IH_GET_HEADER'
importing
caufvd_imp = lv_caufvd.
* do your own processing here
* set order header data
call function 'CO_IH_SET_HEADER'
exporting
caufvd_imp = lv_caufvd.
perform caufv_upd(saplcobh) using lv_caufvd.
PeteA -
Notification User-Exit not triggered
Hi all,
We have configured the system to automatically create a notification when creating an order (Define Notification and Order Integration)
However, when saving the order (without accessing the notification) we find that the Notification save user-exit (QQMA0014) is not triggered.
Has anyone found a work-around for this?
Also posted [here|http://www.sapfans.com/forums/viewtopic.php?f=7&t=328408]
PeteAPete,
It is a common issue. The logic of not calling this exit being that it can prevent notification save and that is not desirable when created in conjunction with the order.
No specific workaround that I know. Depending on what you exit does it might be possible to duplicate the logic into one of the order exits/Badis. Alternatively into a notification exits that is called - generally at create rather than at save - QQMA0025 for example.
-Paul -
User exit to modify a service order (IW32)
Hi
I require a user exit to modify a service order (IW32) that is generated via the repair procedure functionality linked to a Sales order.
I need to change at the operation level:
1- Add an operation with the service material from the sales order. Get the purchasing group data from the material master.
2- Change the first operation - replace the default purchasing group
THanksSid,
[PM/CS User-Exits etc|http://pjatkin.users.btopenworld.com/documents/PMCSUserExits.pdf]
Might be possible by using IWO10009 (at save user-exit) with function modules:
CO_BP_AFVG_BT_FETCH
CO_BT_AFVG_UPDATE
PeteA
[www.pjas.com]
Maybe you are looking for
-
Color error message when opening a photoshop file in Illustrator
I have a photo of the airport, with blue sky etc. I would like to make it all one color as a background image. I want the background of the photo to be light orange wit the building to be darker orange. Is there a way to do that in Illustrator? T
-
Download Itunes 10 64bit with Windows 7 "Freezes"
I have attempted downloading Itunes 10 64bit on my new ASUS PC with Windows 7. It starts to download then "Freezes" at about 20-25mbs. I am using agood broadband connection. Is the software available on anyother media ie: CD rom?
-
Could somebody tell me the different between save XML in CLOB and BFILE, addition to generic different between CLOB and BFILE, is there a performance issue? Thanks
-
Urgent- Jdbc configuration settings (mysql)
Hi, I do want to do a scenario like File to jdbc. I have installed mysql in my laptop. can anybody tell me how do I configure the driver settings prior to the doing the same. And also let me know, how do I find the driver and connection parameters fo
-
Has anybody else noticed, after using Alex's OS X TopicDesk tutorial, issues w/ the Apple-installed ClamAV and the updated ClamAV competing? I have set the Apple-installed version not to launch via the command: launchctl unload -w /System/Library/Lau