‎2008 Sep 15 2:25 PM
Hi All,
Im developing a program to send a SMS when a PM order is released & saved. What i want is to get the generating order number in the user exit. only thing i get is AUFNR = 00000000001. How to get the number which is going to be saved in the user-exit.
Thanks..
Malinda
‎2008 Sep 15 2:31 PM
Hi,
In what transaction, or better Module/Function pool, you are looking for an User Exit. When you know the Module/Pool, open it via either SE80 or SE38, and find
CALL CUSTOMER-FUNCTION
.
You will find CALL CUSTOMER-FUNCTION '001', '002', .......
Each number is linked to an FM with the name EXIT_<Module/Function Pool>_001, 002, .....
Look at the IMPORTING and EXPORTING parameters and choose an FM which fits your needs best.
exit for iw32 transaction.
IWO10012 Maintenance order: Priority handling on central header
Thanks&Regards,
Naresh
‎2008 Sep 16 4:43 AM
Hi Naresh,
I have already found the user-exit for save event in IW32, what i want to know is there any way to find out the document number that is going to be generated, because before saving the number is displayed as '000000001'.
Thanks
Malinda
‎2008 Sep 16 11:57 AM
Hi,
You are getting a temporary order number, this is all that will be available in the exits until the order has gone through update mode and saved.
One option might be to prevent the order release from IW31, use exit IWO10009 to do this. That will force users to use IW32 to edit and release the order which will now have a proper order number. Same exit IWO10009 can then be used to generate a email.
Usually workflow functionality would be used to generate email a some event such as order save or release.
-Paul
Please use Enterprise Asset Management (EAM) forum for PM/CS specific topics
‎2023 Nov 20 1:32 PM
Hi,
Could you please share what solution you implement?
Now I was asked by the client to also perform such an action of sending an SMS while saving the message