Skip to Content
author's profile photo Former Member
Former Member

How to find the application type fora Script based on Form name?

Hi Guys,

can anybody tell me how to find the Application Type and output type based on Form name and print program name?

I am having form name as: ZINVENT (INVENT is the actual) and program name as RM07IDRU.How can i find the Appliction ntype and OutType for entering into the NACE tr code.

i tried thru TNAPR table but i was not able to find the Entry in the TNAPR with form Name and printprogram name

Th Script is about Phsical inventory Documents.

Thanks,

Gopi.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2008 at 04:07 PM

    You can use this...

    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
    *&--------------------------------------------------------------------*
    *       Seleccionamos los datos del reporte.
    *---------------------------------------------------------------------*
    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
    *&--------------------------------------------------------------------*
    *       Imprimimos el resultado del reporte.
    *---------------------------------------------------------------------*
    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Alvaro,

      I copied the program and entered the program name and form name,but i didnot got any o/p.I dont know what's the problem.The Form is there in SE71 tr code also and the progran is also ther in SE38 but its a report program i dont know whether its print program or not.My functional guy gave me and he dont know more about scripts.So may be name of the print program is wrong i think.

      Do u have any alternatoive to find the print Program name if suppose its wrong or if it's correct then why it's not displaying.?

      I tried with form name as Zinvent and INVENt also with print program name RM07iDRU.

      Thanks,

      Gopi.

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.