12-02-2014 12:00 PM
Hello Experts,
My apologies if this question has been asked before, but I've searched for a few hours today and haven't found anything directly related to my question. Thank you in advance for any help you may be able to provide!
I have created a user exit for Tcode IW32 (service order change) in which if the user click on 'save' button if the warranty is expired for particular equipments then it should show a error like
"warranty is expired". this error i am able to achieve. But, the exact requirement is like it should show list of all the equipments which are out of warranty in a separate screen if any expired equipment is exist in that particular service order.
pls help me how to acheive this.
Thanks,
12-02-2014 12:12 PM
Hi,
When SAVE validate data and for error Try to implement screen by filling all your requirements(Messages) and call that screen when vlidatiob(error) fails.
Thanks
Sudhir
12-02-2014 12:21 PM
12-02-2014 12:22 PM
Do not use a SUBMIT report, as you will (meanwhile) left the current internal session (and get back to it if AND RETURN is used)
So better do your coding in the customer-exit FM, you can add a dynpro to the Xxxx function group, just use customer range 9000-9999. Insure you don't get triggered too late (e.g. already in update-task or such case where an inplicit DB commit triggered by the dynpro display could cause some mess in database...)
NB: If you use a BAdI, so you could wrap the screen in one customer FM to display your screen (or use a docking container so no need of dynpro...)
Regards,
Raymond
12-05-2014 5:36 AM
Hi Taseer,
Try with below Function Module;
POPUP_WITH_TABLE_DISPLAY
12-08-2014 9:17 AM
hii Taseer
you can call small screen containing fileds equipment ans description after selcting them in internal table with logic u have.
12-09-2014 5:57 AM
Hi
After validation you can gather all the equipment which are out of warranty into an internal table and a function module in you exit should be called with screen displaying the internal table.
Regards,
Sidhant Acharya