08-20-2007 3:49 AM
Hi Experts,
I am working in version 4.0.
i need to comment out the validation for certain comp codes(bukrs) depending upon the reason code for payments(BSEG-RSTGR). This code is in the std SAP program SAPMF05A which is called during FB02. You can see the code by displaying SAPMF05A in SE38 and search for bseg-sgtxt in main program.
Can someone please help me with the underlying user exits available for this scenario (as explained above).
Thanks
08-20-2007 4:05 AM
Check this user exits.
Enhancement
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)
FEDI0001 Function exits for EDI in FI
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
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
Regards,
SaiRam
08-20-2007 4:05 AM
Check this user exits.
Enhancement
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)
FEDI0001 Function exits for EDI in FI
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
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
Regards,
SaiRam
08-20-2007 2:51 PM
Hi All,
But i am in vers 4.0 and how can i find the enhancements.
the usual program in se38 meant to find out enhancements is not working.
Can some one help me please?
thanks
Dany
08-20-2007 2:55 PM
Hi
For trx FB02 u should use the validition and/or substitutions: trx OB28 and OBBH
Max
08-20-2007 2:57 PM
Hi,
To find an enhancemnet search the code on sdn. You juet need to run the prog it will display all the enhancemnets.
Try below mentioned code:
REPORT Z_USER_EXIT_FIND.
----
TABLES DECLARATIONS *
----
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
----
DATA DECLARATIONS *
----
DATA : it_itab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
----
SELECTION-SCREEN DECLARATIONS *
----
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-SELECTION *
----
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.
*-----Code to find SAP Modifactions
SELECT *
FROM tadir
INTO TABLE it_itab
WHERE pgmid = 'R3TR' AND
object = 'SMOD' AND
devclass = v_devclass.
SELECT SINGLE *
FROM tstct
WHERE sprsl = sy-langu AND
tcode = p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT it_itab[] 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 it_itab.
SELECT SINGLE *
FROM modsapt
WHERE sprsl = sy-langu AND
name = it_itab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 it_itab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE it_itab.
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 *
----
*-----Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(7) EQ 'IT_ITAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Ashvender
08-20-2007 3:51 PM
Hi Max,
Can you please elaborate ? Why not the usual exits found out by the program above given by Ahsvinder?
Actually i need to modify the std code in include MF05AFA0 between the following routine:
form abzuege_buchen
endform
Thanks.
08-20-2007 5:40 AM
HI ,
Enhancement
F050S003 FIDCC2: Change IDoc/do not send
F050S002 FIDCC1: Change IDoc/do not send
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
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
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
FEDI0001 Function Exits for EDI in FI
Regards
08-20-2007 5:43 AM
Hi ,
Check this many useexit is possible with these tcode.
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
Rewards points if it is useful.