Skip to Content

Directly go to notification Tab from custom program without BDC

Hi

We are developing a custom program in which we will like to call IW21 transaction with a particular Notification Type (M1) and skip the first screen. However we are unable to use Get Set parameters in Iw21 transaction as it is not defined when checked in notification screen layout. Is this technically possible without get set parameter?

We also want to reach directly to Item data Tab with a click of a button, how can tha be achieved?

Can someone suggest what is the best alternative way to do this other than BDC?

Thanks

Manu

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Dec 18, 2012 at 08:20 AM

    I just created the following code and I can confirm that it doesn't work:

    authority-check object 'I_TCODE'
    id 'TCD' field 'IW21'.
    if sy-subrc = 0.
    set parameter id 'QMR' field 'M1'.
    call transaction 'IW21' and skip first screen.
    else.
    message s172(pg) with 'IW21'. " No authorization for transaction IE03
    endif.

    Your options are:

    • Write BDC code
    • Change the config as suggested above
    • Try a transaction variant to create a "Z" TCode to default the notification type
    • Create a Z TCode via SE93. Then configure this TCode as suggested above

    PeteA

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2012 at 03:43 AM

    If you are updating only specific fields in notification then use some bapi. In call transaction method system will go to initial screen of notification. What is your purpose/requirement?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Manu Kohli

      If I understand correctly... you are going to develop custom screen where you will provide one tab. If user press that tab system should directly go to specific screen of notification , for example say item tab.

      If yes.. then you can achieve this. Take a example of shopping cart on any web page. You get specific field (e.g item number ,quantity etc) and other process work in back ground.

      Same way we develop this for our client. We created separate screen and provided tab for notification /order/approve/ deny/PR/PO. When user click on notification tab we call up pop up to fill user specific data and when user click on submit button on pop up, system call bapi BAPI_ALM_NOTIF_CREATE. See if this concept work for you. It is huge development.

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2012 at 05:57 AM

    Please try assigning default Notification type to transaction in following menu.

    IMG - PM & CS - Maintenance & Service Processing - Maintenance & Service Notifications - Notification Creation - Notification Types - Define Transaction Start values

    Give your required notification type so that you can skip the first screen.

    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.