Skip to Content

How to call a report program in an user exit program?

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,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Posted on Dec 02, 2014 at 12:21 PM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 02, 2014 at 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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 02, 2014 at 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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 05, 2014 at 05:36 AM

    Hi Taseer,

    Try with below Function Module;

    POPUP_WITH_TABLE_DISPLAY

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2014 at 09:17 AM

    hii Taseer

    you can call small screen containing fileds equipment ans description after selcting them in internal table with logic u have.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 09, 2014 at 05: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.