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

Enhance Function Module CHANGE_POINTERS_CREATE

Former Member
0 Likes
645

Dear Gurus,

As per our requirement I need to update function module CHANGE_POINTERS_CREATE and update an event table.

I had created an implicit enhancement and written a piece of code to update event table.

Case 1 : When I create/ change material master and push the idoc through transaction BD10, I am expecting the code to trigger under implicit enhancement in function module CHANGE_POINTERS_CREATE. But it is not updating the event table.

Case 2 : When I debug the function module seperately in SE37, the cursors points to implicit enhancement and the table is getting updated.

But the same result is not expected in case 1.

Kindly let me know your suggestions.

Thanks

Shanthi

1 REPLY 1
Read only

Former Member
0 Likes
440

Hi,

Put sy- subrc check after modifying Z table and write commit work code.

If sy-subrc EQ 0.

Commit work.

Endif.