05-17-2017 8:40 AM
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.
05-17-2017 9:22 AM
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
05-17-2017 9:22 AM
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
05-17-2017 10:10 AM
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.
05-17-2017 10:19 AM
May be you can try to replicate the standard logic, smth like subroutine check_transp_objs_for_maint in include LSVIMF1Y.
05-18-2017 7:10 AM
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.
05-17-2017 9:50 AM
09-01-2017 4:46 AM
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.