Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Call transaction - Standard menu greyed out

Former Member
0 Kudos

Hi,

we use call transaction statement in our ABAP program like this:

set parameter id 'MPL' field wa_liste-warpl.
      call transaction 'IP03' and skip first screen.

The transaction IP03 is called correctly and the initial screen is skipped fine.

But some entries in the menu (like "change") are greyed out.

If we open IP03 manual this menu entries are not greyed out.

Is something wrong with our call transaction coding or how could we solve this?

Thank you

Kind regards

Manfred

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Due to the below mentioned piece of code in include LIWP3O1L, some entries in the menu are coming greyed out.


LIWP3O1L
*************
*--- If callmodus is active no navigation should be possible ---*
  IF NOT sy-calld IS INITIAL.
    PERFORM excl_navigation.
  ENDIF.

*... CUA-STATUS setzten
  SET PF-STATUS cua_status EXCLUDING t_mod_cua.


LIWP3FM0
*************
FORM excl_navigation.

* maintenance plan transactions
    MOVE wc_fcode_anpl TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP02 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP03 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP10 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP15 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP16 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP41 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP42 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP43 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP50 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.

* maintenance item transactions
    MOVE wc_fcode_anps TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP04 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP05 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP06 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP17 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP18 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.

ENDFORM.                    " excl_navigation

Regards,

Harish

7 REPLIES 7

GauthamV
Active Contributor
0 Kudos

IP03 is display maintenance plan.so you cannot have change option there.

You have to use IP02 to change maintenance plan.

Former Member
0 Kudos

Sorry if my question was not clear enough.

I mean in IP03 there is a menu in the top left corner of the screen. Here in standard the user will be able to switch to "change" = IP02.

This menu in IP03 is greyed out if IP03 is called using this "CALL TRANSACTION AND SKIP FIRST SCREEN".

Kind regards

Manfred.

Former Member
0 Kudos

Hi

As you are calling transaction 'IP03' which is for display, so it is not having change options in the menu. If you want to change use 'IP02' transaction.

Regards

Sudarsan

Former Member
0 Kudos

Hi,

Due to the below mentioned piece of code in include LIWP3O1L, some entries in the menu are coming greyed out.


LIWP3O1L
*************
*--- If callmodus is active no navigation should be possible ---*
  IF NOT sy-calld IS INITIAL.
    PERFORM excl_navigation.
  ENDIF.

*... CUA-STATUS setzten
  SET PF-STATUS cua_status EXCLUDING t_mod_cua.


LIWP3FM0
*************
FORM excl_navigation.

* maintenance plan transactions
    MOVE wc_fcode_anpl TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP02 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP03 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP10 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP15 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP16 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP41 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP42 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP43 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP50 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.

* maintenance item transactions
    MOVE wc_fcode_anps TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP04 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP05 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP06 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP17 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.
    MOVE wc_fcode_IP18 TO t_mod_cua-excl_cua.
    APPEND t_mod_cua.

ENDFORM.                    " excl_navigation

Regards,

Harish

0 Kudos

Thank you Harish for understanding my issue and for your answer.

Is there any way to call the transaction in ABAP and avoid this "greyed out menu" without modification?

Thank you.

Kind regards

Manfred

0 Kudos

Hi Manfred,

Sorry that at present I have no idea as to how we can overcome this issue without doing some modification.

Regards,

harish

Former Member
0 Kudos

Hi Manfred,

I did not have any maint plans in my ECC system, I tried VA03 using skip intial screen and I was able to go to the menu option 'CHANGE' to go VA02. Only the menu option of 'Display' is greyed out as we are already in the display transaction.

set parameter id 'AUN' field '3000172'.

call transaction 'VA03' and skip first screen.

In my 4.6 system, I checked with IP03 also and it worked fine there.

Please check.

Regards,

Shyam