cancel
Showing results for 
Search instead for 
Did you mean: 

Directly go to notification Tab from custom program without BDC

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

peter_atkin
Active Contributor
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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?

Former Member
0 Kudos

Hi

Our requirements is that with a click of a button user should go to Iw21 and skip first screen for notification type M1.

Second requirement is that from a ALV cockpit user selects one or more than one notifications and click on a custom buttom to take him directly to item /problem Tab of the notification . In background that means calling Iw22 and going to problem details.

However notification screen does not have get set parameter in the screen layout hence facing a problem. We don't want to use BDC.

An alternate way is needed.

Thanks

Manu

Former Member
0 Kudos

We tried updating Problem details through BAPI, however it did look complicated as we have to use ADD bapi while creating problem details and change BAPI for modifying details. Also with various combinations of modifying one item details such as object (code group and code) and creating another such create activity ( code group and code) , various combination of create and modify BAPI were coming.

Hence we decided that with a click let user go to the standard screen directly in the item details tab. Let me know if you know a easy way.

Manu

Former Member
0 Kudos

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.