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

smartform

Former Member
0 Likes
1,113

hi all,

i have a program that call to a smartforms.

the program was castomize to transaction me22n.- in the customizing - in the form name we defined the first perform that in the program.

when i run the program through me22n it seems like it run through all the program but in the end it write : Processing routine ...in program ... does not exist

and it doesnt show me the form.

is anyone pls pls pls can tell me what maybe the problem?

thanks,

dana.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,070

Hi,

Go to transaction ME22N, and click on pushbutton Messages, it will show screen with table control Output,

Give your output type name,

and try to see print privew now.

9 REPLIES 9
Read only

Former Member
0 Likes
1,070

Hi,

Goto RSNAST00 program go to line number 875

put break point on the below statement

PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE

US_SCREEN

IF FOUND.

Goto ME22N and try to print form it will stop there,

and look at what is the program calling as driver program for your form, and what is the subroutine calling for your form and what is the form calling for your printout you can identify.

and you can go back to program and check whether routine exits there or not

Read only

Former Member
0 Likes
1,070

You will have to debg the program/form to find out what is the issue.

Look at TNAPR table to find out the driver program name.

Go to that program, Place a break point and execute ME22n. The execution will stop at the driver program. Now, execute it step by step and find out where it is erroring out and why.

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

Former Member
0 Likes
1,070

Hi,

goto tcode NACE

select EF

click on OUTPUT types

select NEU or anything related to printout whichever is applicable

and select processing routine and check if your smartform name is there or not.

if not there include it.

regards,

pankaj singh.

      • reward if helpful

Read only

Former Member
0 Likes
1,070

i debug the program and changed my program and now it give me the error message:

No output request open. Document processing not possible.

is anyone know what it say?

Read only

0 Likes
1,070

Start ME22n again and make sure you have a fresh message output to be processed in the MESSAGES screen. Then SAVE it and debug the program again.

Regards,

Ravi

<b>Note - Please mark all the helpful answers</b>

Read only

Former Member
0 Likes
1,071

Hi,

Go to transaction ME22N, and click on pushbutton Messages, it will show screen with table control Output,

Give your output type name,

and try to see print privew now.

Read only

0 Likes
1,070

In the program, where do i give the output type name?

Read only

0 Likes
1,070

U need to give output type in the 'ME22n' transaction.

In me22n transaction click the 'Messages' button .

U will get 1 sceeen

In that screen u need to enter the 'Output Type'.

Read only

0 Likes
1,070

thank you all for response me, but now i have a new problem:

the print preview is work great but now the <u>print</u> not working.

when i click on print preview i have a popup window with 2 options: print preview and print.

when i click on print it popup the same window again with this 2 options.

is anyone can help me?

thanks,

dana.