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

Sapscript Question

Former Member
0 Likes
811

how to find out the print program for user defined sapscript please held me

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
756

Hi,

1. Check in database tables TNAPR and TTXFP.

2. Goto SPRO there you can found easily:

For Example if its a MM related form SPRO -> SAP Reference IMG -> Materail Management -> Messages -> Forms

hope this will help you

6 REPLIES 6
Read only

amit_khare
Active Contributor
0 Likes
756

Welcome To SDN.

Refer the link -

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
756

Try with this report -;)


*&---------------------------------------------------------------------*
*& Report  Z_DUMMY_ATG
*&---------------------------------------------------------------------*

REPORT  Z_DUMMY_ATG NO STANDARD PAGE HEADING.

*======================================================================
* Tablas
*======================================================================
TABLES: TTXFP.

*======================================================================
* Tablas Internas
*======================================================================
DATA: T_TTXFP TYPE STANDARD TABLE OF TTXFP WITH HEADER LINE.

*======================================================================
* Selection-Screen
*======================================================================
SELECTION-SCREEN BEGIN OF BLOCK SCRIPT WITH FRAME.
SELECT-OPTIONS:
              PRINTNAM FOR TTXFP-PRINT_NAME,
              TDFORM   FOR TTXFP-TDFORM.
SELECTION-SCREEN END OF BLOCK SCRIPT.

*======================================================================
* Start-of-selection
*======================================================================
START-OF-SELECTION.

  PERFORM SELECT_DATA.
  PERFORM PRINT_DATA.

*&--------------------------------------------------------------------*
*&      Form  SELECT_DATA
*&--------------------------------------------------------------------*
FORM SELECT_DATA.
  SELECT TDFORM PRINT_NAME LAST_PROG
  INTO TABLE T_TTXFP
  FROM TTXFP
  WHERE PRINT_NAME IN PRINTNAM
    AND TDFORM IN TDFORM
  ORDER BY TDFORM.
ENDFORM.                    "SELECT_DATA

*&--------------------------------------------------------------------*
*&      Form  PRINT_DATA
*&--------------------------------------------------------------------*
FORM PRINT_DATA.

  FORMAT COLOR 3.
  WRITE: 'Programa', 18 'Formulario', 50 'Flag de Ultimo programa'.
  FORMAT COLOR OFF.

  SKIP 1.

  IF NOT T_TTXFP[] IS INITIAL.
  SORT T_TTXFP BY PRINT_NAME.
    LOOP AT T_TTXFP.
      IF T_TTXFP-LAST_PROG EQ 'X'.
      FORMAT COLOR 4.
      WRITE:/ T_TTXFP-PRINT_NAME, 18 T_TTXFP-TDFORM, 60 T_TTXFP-LAST_PROG.
      FORMAT COLOR OFF.
      ELSE.
      WRITE:/ T_TTXFP-PRINT_NAME, 18 T_TTXFP-TDFORM, 60 T_TTXFP-LAST_PROG.
      ENDIF.
    ENDLOOP.
  ENDIF.

ENDFORM.                    "PRINT_DATA

Greetings,

Blag.

Read only

Former Member
0 Likes
757

Hi,

1. Check in database tables TNAPR and TTXFP.

2. Goto SPRO there you can found easily:

For Example if its a MM related form SPRO -> SAP Reference IMG -> Materail Management -> Messages -> Forms

hope this will help you

Read only

Former Member
0 Likes
756

Hi,

The following method will work for all programs:-

Go To SE71->Give your form name & go in Change mode


>go inside any one window say Main window>Then follow the path Insert -
>Symbols
---->Program Symbols Then it will display all Programs using this form. I hope this helps,

Regards

Raju Chitale

Read only

Former Member
0 Likes
756

hi

good

go to se71

give the sapscript name

open the program

select system->status

it ll give you details about that program.

thanks

mrutun^

Read only

Former Member
0 Likes
756

HI,

You can use table TTXFP to get the print program name.

Reward if useful.

Regards

Sayee