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

Material document exit

Former Member
0 Likes
617

Hello.

I need a user exit that triggers when the material document is saved. I need this exit to be before the document save and i need it to bring the document number already filled. Is there any way to do this?

Thanks in advance

Nuno Silva

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
576

Hi,

This user exit will be called in UPDATE TASK..

Before saving..Press /h..

Then press save..

In the debugging screen..In the menu..choose..SETTINGS -> UPDATE DEBUGGING..

Then press F8..

All the update task function modules will be called..

Debug till the FM MB_POST_DOCUMENT is called..

Thanks,

Naren

3 REPLIES 3
Read only

Former Member
0 Likes
576

Hi,

Use the user exit EXIT_SAPLMBMB_001 which will be called in the update FM MB_POST_DOCUMENT

Thanks,

Naren

Read only

0 Likes
576

Hello.

I already tried that one, but it wont trigger.

Any idea why?

Thank you

Read only

Former Member
0 Likes
577

Hi,

This user exit will be called in UPDATE TASK..

Before saving..Press /h..

Then press save..

In the debugging screen..In the menu..choose..SETTINGS -> UPDATE DEBUGGING..

Then press F8..

All the update task function modules will be called..

Debug till the FM MB_POST_DOCUMENT is called..

Thanks,

Naren