Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to find field exit for SAPMV45A

Former Member
0 Kudos

How to find field exit for SAPMV45A .

Thanks,

Narayan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Narayanan,

Goto CMOD tcode

then type PRFB in the upper left hand corner textbox where you typed CMOD

here you can get all the field exits , search for program on the screen,

in my SAP system when i tried this i got one field exit for this program for VBELN, checkout in your system

5 REPLIES 5

Former Member
0 Kudos

Look at the documentation in the IMG.

Transaction SPRO

SALES AND DISTRIBUTION

SYSTEM MODIFICATIONS

USER EXITS

USER EXITS IN SALES

USER EXITS IN SALES DOCUMENT PROCESSING

Look at the documentation icon for the last item listed above.

Former Member
0 Kudos

Hi Narayan,

USING FOLLOWING CODE U CAN FIND USER-EXITS:-

Source Code to find User Exits 1

************************************************************************

  • REPORT YSMOD2

*

  • SELECTION TEXTS : INPUT1 ----> Enter search term for Trxn.

  • INPUT2 ----> Enter type of exit

************************************************************************

REPORT YSMOD2 .

TABLES: MODSAP, MODACT, TSTC.

PARAMETERS: INPUT1 LIKE TSTC-TCODE DEFAULT ' ',

INPUT2 LIKE MODSAP-TYP DEFAULT ' '.

DATA: SEARCH1(6),

SEARCH2(3),

SEARCH3 LIKE MODSAP-MEMBER.

DATA : FIRST_ROW VALUE 'Y'.

CONCATENATE: '%' INPUT1 '%' INTO SEARCH1,

'%' INPUT2 INTO SEARCH2.

SELECT * FROM TSTC WHERE TCODE LIKE SEARCH1.

FIRST_ROW = 'Y'.

CHECK TSTC-PGMNA NE SPACE.

CONCATENATE '%' TSTC-PGMNA '%' INTO SEARCH3.

SELECT * FROM MODSAP WHERE TYP LIKE SEARCH2

AND MEMBER LIKE SEARCH3.

SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.

IF FIRST_ROW EQ 'Y'.

WRITE: /0 TSTC-TCODE, 6 TSTC-PGMNA, 16 MODSAP-NAME, 32 MODSAP-TYP,

45 MODSAP-MEMBER, 70 MODACT-NAME.

FIRST_ROW = 'N'.

ELSE.

WRITE: /16 MODSAP-NAME, 32 MODSAP-TYP, 45 MODSAP-MEMBER, 70 MODACT-NAME.

ENDIF.

CLEAR : MODSAP, MODACT.

ENDSELECT.

IF SY-SUBRC NE 0.

WRITE : /0 TSTC-TCODE, 6 TSTC-PGMNA, 30 'No exits found'.

ENDIF.

CLEAR TSTC.

ENDSELECT.

END-OF-SELECTION.

CLEAR: SEARCH1, SEARCH2, SEARCH3.

Reward Points if helpful.

Regards.

srikanta.gope@tcs.com

Former Member
0 Kudos

check out this to learn about it.

http://www.sapgenie.com/abap/fieldexits.htm

Former Member
0 Kudos

Hi Narayanan,

Goto CMOD tcode

then type PRFB in the upper left hand corner textbox where you typed CMOD

here you can get all the field exits , search for program on the screen,

in my SAP system when i tried this i got one field exit for this program for VBELN, checkout in your system

Former Member
0 Kudos

All responses are very usefull.

Thanks to all.

-Narayan