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: 

Details required on Events in table maintenance generator

chethankyadav
Explorer
0 Kudos

Hi Experts,

I have a question as when a user after maintaining the records in SM30, after clicking on SAVE button it should trigger an event like "create a TR". how can it be acheived.

I have tried by selecting an event as "before saving" and in form how to call TR.

Thanks in advance,

Chethan.

1 ACCEPTED SOLUTION

former_member400468
Active Participant

Hi!

Why not to use standard processing? It will ask you for storing your changes into the TR and from open window you can create a TR.

Evgeny

6 REPLIES 6

former_member400468
Active Participant

Hi!

Why not to use standard processing? It will ask you for storing your changes into the TR and from open window you can create a TR.

Evgeny

0 Kudos

Hi Ev,

Thanks for the reply and it works. But if in case if we want to write code. say suppose in events if we select trigger "Before saving data into database" in the form routine i have to trigger that TR pop-up. how do we acheive this.

0 Kudos

May be you can try to replicate the standard logic, smth like subroutine check_transp_objs_for_maint in include LSVIMF1Y.

0 Kudos

What are you trying to achieve exactly? It sounds weird to display the TR popup in the "before save" event, as it will be displayed again right after the event.

former_member182550
Active Contributor

Or set your table class as a configuration table.

AnslemArnolda
Participant
0 Kudos

HI,

This requirement is achievable.

When you're Creating/Changing the maintenance view, select the standard record routing radio button.

Then when you enter records in the maintenance view using SM30, the system will ask you for a transport request. Hope this answers your question.