Application Development and Automation 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: 
Read only

adding fields to MM41

Former Member
0 Likes
1,500

Hai all,

I need to add fields for the standard transaction MM41(Article Master),i failed to find out any screen exit for that too.How i can make it??

Thanks In Advance

5 REPLIES 5
Read only

Former Member
0 Likes
1,039

Can you try finding Badi, i remember we have done screen exit in MM41 transaction. Unfortunately in my current system which is utilities not allowing me to get into MM41. Find Badi - SE80 - Class - Cl_exithandler -> get_instance. Put breakpoint and find all the badi which is useful for your requirement

Read only

Former Member
0 Likes
1,039

Hello,

follow the steps...

For User Exit's

goto to tcode->status->program name->double click on that,

then goto to-> attribute take the package name and

Goto SMOD tcode ->Utilities->give the package name and F8

then a list of exits will display for that tcode as well as that package.

u can check the table MODSAP

u can check the table MODACT

For BADI's,

1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE

keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'

then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.

2)Goto to tcode->status->program name->double click on that program will display's

then press crtl+F then cl_exithandler..

Thank u,

santhosh

Read only

0 Likes
1,039

Hi phanindra and santosh,

Thanks a lot for replying..

This is the badi for mm41 - BADI_SCREEN_LOGIC_RT

These are the methods in that BADI,

REDUCE_SCREEN_SELECTION

CHANGE_SCREEN_SEQUENCE

AREA_OF_VALIDITY_DIRECT

but my issue is still Pending,will you tell me is there any other way??

Edited by: sri on Feb 23, 2009 11:19 AM

Edited by: sri on Feb 23, 2009 11:20 AM

Read only

0 Likes
1,039

Hello,

try this aslo..........................

Start transaction ST05 (Performance Analysis).

Set flag field "Buffer trace"

Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)

Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.

Push the button "Deactivate Trace".

Push the button "Display Trace".

The popup screen "Set Restrictions for Displaying Trace" appears.

Now, filter the trace on Objects:

V_EXT_IMP and V_EXT_ACT

Push button "Multiple selections" button behind field Objects

Fill: V_EXT_IMP and V_EXT_ACT

All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.

So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA

Go to u201CMaintain Transactionu201D (TCODE- SE93).

Enter the Transaction VD02 for which you want to find BADI.

Click on the Display push buttons.

Get the Package Name. (Package VS in this case)

Go to TCode: SE84->Enhancements->Business Add-inns->Definition

Enter the Package Name and Execute.

Here you get a list of all the Enhancement BADIu2019s for the given package MB.

1 SXS_ATTRT - BAdi Definition list

2 V_EXT_ACT - Active implementations of an exit

3 V_EXT_ IMP - Implementation class for an interface+filter

4 V_EXT_M - BAdiu2019s with filters

Transaction related to BAdiu2019s

1SE18 - Business Add-in builder

2 SE19 u2013 Implementation of Badi

3 SE24 u2013 Class/Interface Builder

Thank u,

santhosh

Read only

Former Member
0 Likes
1,039

closed