2008 Jul 31 12:10 PM
I need to change a layout of script,i just know its program name,plz tell me how to reach to form,so that i can do the change.
plz tell its urgent.
regards
Vipin,
run RSTXDBUG in se38 and give printout you will come in debugger here you can see the form name exactly which is getting called.
Amit.
2008 Jul 31 12:12 PM
hi
use table
TNAPR
here u give ur program nae and then F8 u will get all the info u need
hope it solved ur problem
Cheers
Snehi
Edited by: snehi chouhan on Jul 31, 2008 1:13 PM
2008 Jul 31 12:12 PM
search for start_form in the report.
there u can find the form name.
this will help u.
Regards
Anbu
2008 Jul 31 12:12 PM
hi,
Check Your Program.
In START_FORM method you will find the name of the SAP SCRIPT form name.
Regards
Sumit Agarwal
2008 Jul 31 12:13 PM
hi,
In the function module 'OPEN MODULE', YOU WILL GET THE NAME OF THE FORM IN FORM field
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'z_FORM1'
LANGUAGE = SY-LANGU
OPTIONS =
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 12
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Then go to SE71 and put the name of the form.
You will get the layout.
Regards,
Anirban
2008 Jul 31 12:13 PM
Vipin,
run RSTXDBUG in se38 and give printout you will come in debugger here you can see the form name exactly which is getting called.
Amit.
2008 Jul 31 12:18 PM
Hi,
FORM print_data .
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
dialog = ' '
form = 'ZMM_INVENTORY'
language = sy-langu
OPTIONS =
EXCEPTIONS
canceled = 1
device = 2
form = 3
OPTIONS = 4
unclosed = 5
mail_options = 6
archive_error = 7
invalid_fax_number = 8
more_params_needed_in_batch = 9
spool_error = 10
codepage = 11
OTHERS = 12.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
you find out form name of SAPSCRIPTS from OPEN_FORM or
START_FORM
Regards
bhupal
2008 Jul 31 12:50 PM
there is an test in my script at the below:RAW Material
than i want to put few blank line below it.
please tell how to do so.
2008 Jul 31 1:02 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |