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

BADI: MB_DOCUMENT_BADI, and Method MB_DOCUMENT_UPDATE

Former Member
0 Likes
2,348

Hi All,

I want to understand Standard SAP Code,from where we are calling BADI method "MB_DOCUMENT_UPDATE". I want to but break point just above the method call.

I am trying to find in MB01, but could not find one.

Thanks in advance.

5 REPLIES 5
Read only

Former Member
0 Likes
1,363

Hi

May this code will help u i think

REPORT BADI .

DATA EXIT TYPE REF TO IF_EX_BADI.

DATA WORD(15) TYPE C.

CALL METHOD CL_EXITHANDLER=>GET_INSTANCE CHANGING INSTANCE = EXIT.

START-OF-SELECTION.

WRITE:/ 'Please click here'.

AT LINE-SELECTION.

NEW-PAGE.

WORD = 'Business add in'.

WRITE:/ 'Original word: ', WORD.

CALL METHOD EXIT->METHODE

CHANGING

PARAMETER = WORT.

WRITE:/ 'Changed word: ', WORD.

Read only

0 Likes
1,363

Thanks for your reply, i am looking for standard SAP transaction code. where i can see CALL method.

Read only

Former Member
0 Likes
1,363

Hi,

Check in the FM MB_POST_DOCUMENT for the BADI..

It will be called in update task..Have the Update debugging on..

Thanks

Naren

Read only

Former Member
0 Likes
1,363

Hi,

Please check my reply..

Thanks

Naren

Read only

0 Likes
1,363

Hi Naren,

You gave me FM, and when i used where used list on Prog. it is showing me none. I need Standard SAP prog code, where we are calling BADI method.

Thanks