04-27-2009 9:50 AM
hi experts,
i want to validate and modify the trading partner field (bseg-vbund) during FB01 transaction.
please sugget the suiteable method.
i have checked the BTE,user-exits and BADI.i am not getting solutions.
Moderator message - Duplicate post locked
Edited by: Rob Burbank on Apr 30, 2009 9:04 AM
04-27-2009 9:56 AM
Go to se24.and provide Class name as CL_EXITHANDLER >click on display > select method GET_INSTANCE > Put preak point on function module cl_exithandler
Now go to FB01 excute that transaction with valid inputs ,Then you can able to find all suitable BADI's.
i am not sure For validations means i thnik you have to search for suitable Check badi.
Hope it will help ful
04-27-2009 9:55 AM
04-27-2009 9:56 AM
Go to se24.and provide Class name as CL_EXITHANDLER >click on display > select method GET_INSTANCE > Put preak point on function module cl_exithandler
Now go to FB01 excute that transaction with valid inputs ,Then you can able to find all suitable BADI's.
i am not sure For validations means i thnik you have to search for suitable Check badi.
Hope it will help ful
04-27-2009 10:10 AM
hi, thanks for reply
i want to write my own logic to find out the trading partner (bseg-vbund), for the entered document type and with certain conditions. for this i need suiteable method to write my own coding like user exit.
04-27-2009 10:21 AM
Hi,
You can check the suitable one from the available exits and BADI's as below.
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
FEDI0001 Function Exits for EDI in FI
FARC0002 Additional Checks for Archiving MM Vendor Master Data
F180A001 Balance Sheet Adjustment
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
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_AUTHORITY_ITEM Extended Authorization Check for Document Display (FB03)
FI_DOC_DISP_LI Diversion to Document Items (FB03)
FI_FB08_SUBST_BUDAT FB08: Check Posting Date for Reversal of FI Doc. with FB08
FI_GET_INV_PYMT_AMT BAdI for determining the payment amount for an invoice
FI_HEADER_SUB_1300 Screen Enhancement for Document Header SAPMF05A
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
F107_RUN Enhance Valuation Run for Open Items
ADJUST_NET_DAYS Change to Net Due Date
BADI_ENJ_ALT_ADR Go to alternative vendor/customer data
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)
RFESR000_BADI_001 BAdI for Own Processing of POR Item
BADI_MIRO_SPLT_ADD Append additional fields of ACCVS to ACCIT
BADI_PRKNG_NO_UPDATE BAdI for Deactivating Update of Parked Documents
FVFZ Replacement for Function Modules of Function Group FVFZ
INVOIC_FI_INBOUND BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)
AC_QUANTITY_GET Transfer of Quantities to Accounting - Customer Exit
Regards,
Santhosh
04-27-2009 10:23 AM
In FI validation and substitution you may call Forms in an include report where you will be able to write your own logic.
Look at the SPRO documentation, Financial Accounting / Financial Accounting Global Settings / Document / Line Item / Define Validations for Posting or at [Creating a Validation|http://help.sap.com/erp2005_ehp_04/helpdata/EN/5b/d231e143c611d182b30000e829fbfe/frameset.htm] , [Creating a Substitution|http://help.sap.com/erp2005_ehp_04/helpdata/EN/5b/d2325b43c611d182b30000e829fbfe/frameset.htm] and [User Exits in Validations/Substitutions/Rules|http://help.sap.com/erp2005_ehp_04/helpdata/EN/5b/d231a843c611d182b30000e829fbfe/frameset.htm] at help.sap.com)
NB: Search also sdn with keywords like [FI substitution validation|https://www.sdn.sap.com/irj/scn/advancedsearch?query=fisubstitutionvalidation&cat=sdn_all]
Regards
04-28-2009 12:43 PM
hi experts,
i searched with substitution method , the field vbund is not available in the substitution fields.
can you explain ' ONLY EXIT' option in the substitution field.
thanks in advance
04-28-2009 12:53 PM
This mean that the "job" will be done in an user-exit. (Look for "only exit" at [Creating a Substitution|http://help.sap.com/erp2005_ehp_04/helpdata/EN/b7/c5753824a34f47e10000009b38f8cf/frameset.htm])
Look also at the samples provided by SAP in include RGGBS0TR. (exit form pool)
Regards
04-28-2009 12:57 PM
Hi Mohan,
Try using BAPI : ACC_DOCUMENT( 4.7 onwards)
or you can use validation rules using OBBH transaction
For BTE you can try 1025.