Application Development and Automation 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: 
Read only

Regarding Tool bars

Former Member
0 Likes
466

Hi ,

i copied a program to another name and checked the copy variants, included documentaion and all

so the program is copied and i activated it but the problem is in the copied version there is no standard tool bar and application tool bar which is there in the original version .i activated all the includes as well.

even i went to the pf-status standard01 and activated it as well .

when i executed the copied report along with the output iam getting the folowing message

status STANDARD01 of the user interface SAPLKKBL missing.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
437

Hi Revanth,

I Used one time similar requirement,


  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_CALLBACK_PROGRAM          = SY-REPID
      IS_LAYOUT                   = LAYOUT
      IT_FIELDCAT                 = FIELDCAT
      I_CALLBACK_USER_COMMAND     = 'USER_COMMAND'
      I_CALLBACK_PF_STATUS_SET    = *'PF_STATUS_SET'*
    TABLES
      T_OUTTAB                    = L_AFKO.



FORM PF_STATUS_SET USING UT_EXTAB TYPE SLIS_T_EXTAB.        "#EC CALLED

  DELETE UT_EXTAB WHERE FCODE = GC_REFRESH.

  SET PF-STATUS 'STANDARD_FULLSCREEN' OF PROGRAM 'SAPLKKBL'
      EXCLUDING UT_EXTAB.

ENDFORM.                    "pf_status_set

3 REPLIES 3
Read only

venkat_o
Active Contributor
0 Likes
437

Hi Revanth, It is simple. Just follow the steps. 1. Normally when you copy the programs , pf-status is not copied. 2. Search with SET PF-STATUS in the copied program, If you find the statement like below

SET PF-STATUS 'XYZ'.
3. Take that satus XYZ. 4. Go to SE41 and give Original program name as Program. 5. Click on COPY STATUS button in Application toolbars(CTRL+F6). 6. Once status is copied from original program, Activate Copied program status by giving program and status in the SE41 transaction code. I hope that you will solve the problem. Thanks Venkat

Read only

Former Member
0 Likes
438

Hi Revanth,

I Used one time similar requirement,


  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_CALLBACK_PROGRAM          = SY-REPID
      IS_LAYOUT                   = LAYOUT
      IT_FIELDCAT                 = FIELDCAT
      I_CALLBACK_USER_COMMAND     = 'USER_COMMAND'
      I_CALLBACK_PF_STATUS_SET    = *'PF_STATUS_SET'*
    TABLES
      T_OUTTAB                    = L_AFKO.



FORM PF_STATUS_SET USING UT_EXTAB TYPE SLIS_T_EXTAB.        "#EC CALLED

  DELETE UT_EXTAB WHERE FCODE = GC_REFRESH.

  SET PF-STATUS 'STANDARD_FULLSCREEN' OF PROGRAM 'SAPLKKBL'
      EXCLUDING UT_EXTAB.

ENDFORM.                    "pf_status_set

Read only

0 Likes
437

yeah i changed the program name now in the call back program and it is working fine now