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

script

Former Member
0 Likes
411

Hi

I found print program to my script in NACE transaction. But I could not able to execute that program in se38 as it is module pool program. and i could not find any transaction aslo. Then how to run the script.

Any suggestions appreciated.

Regards

Raj

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
345

what is the appplication area of ur output and driver program in NACE Tcode ?

Regards

Peram

3 REPLIES 3
Read only

Former Member
0 Likes
346

what is the appplication area of ur output and driver program in NACE Tcode ?

Regards

Peram

Read only

Former Member
0 Likes
345

Hi,

Lets take an example of Sales order,

Goto NACE and select application type V1, Then press Output types, then Select any output and press procesing routines, then you will find the Driver program as well as the layout program ,

So here the Sales Order Driver program is RVADOR01, but we can not execute this Program directly, to execute this Program we need to goto Va02 or VA03

so goto VA02 or VA03 then give any sales order number, then from the Menu , press Sales Document --> Issue Output then you will get the Output.

This is the way we run the Scripts, if you put a break point in the Driver program then it will stop there

regards

Sudheer

Read only

Former Member
0 Likes
345

Use this single program to find out which programs use that FORM and which one is the active one -;)


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: 'Program', 18 'Form', 50 'Active program flag'.
  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.