Application Development 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: 

config in NACE

Former Member
0 Kudos
1,217

Hi All!

I am trigerring a custom print program which will in turn call a custom smartform.This is for label printing through VL02N.I had done all the config in the NACE i.e. smartform name ,print program name and the subroutine name. when i execute the delivery note no. and browse through the Handling unit and output type and save the delivery order after giving all the required parameters for the print,

I am not getting any output .

I tried putting breakpoint on the first line of my print program and to my surprise my print program is not called.

Can anybody explain me if I did anything wrong.

Regards

Praneeth Kumar

1 ACCEPTED SOLUTION

vinod_gunaware2
Active Contributor
0 Kudos
324

Hi

U hv to select application(like SO)

then goto->output type

then select output type eg. NEU (u have to create before use)

then click on processing routine

u have to specify Medium

short text

program (form tringgering program)

Form routine

form (name of SAPSCRIPT form)

smart form(name of smart form)

regards

vinod

8 REPLIES 8

FredericGirod
Active Contributor
0 Kudos
324

Hi,

Go in VL03N, menu Delivery -> Display message

what appens ? do you have message ?

if no, you have to define message in VL02N ..

Rgd

Frédéric

Former Member
0 Kudos
324

Hi Praneeth,

Probably you have set the output type to print immediately, which means it will be printed in update task. Although you can debug in Update task as well this is a bit complicated. There is a easier solution: Set your output type to be printed with own transaction so a records gets created in table NAST. Then use transaction VL71 to print your label. Then it will stop at your break-point.

Regards,

John.

0 Kudos
324

can u defined procedures for perticular output type .....

vinod_gunaware2
Active Contributor
0 Kudos
325

Hi

U hv to select application(like SO)

then goto->output type

then select output type eg. NEU (u have to create before use)

then click on processing routine

u have to specify Medium

short text

program (form tringgering program)

Form routine

form (name of SAPSCRIPT form)

smart form(name of smart form)

regards

vinod

former_member181962
Active Contributor
0 Kudos
324

Hi Praneeth,

Go to the output screen of vl02n transaction and select your output type. Press further options button and select the dispatch time as Send periodically with background job.

then save the transaction.

Now, go to se38 and run the report, rsnast00.

GIve the object number as the Handling unit number or the delivery number based on your requirement.

Run the report.

YOu should keep a break point in your print program code before your run this report RSNAST00.

If you do not wantto debug and want only to see if your custom print program is working or not, then give the dispatch time option as "send immediately".

If you configure your output and you don't get a output, then you should see the status of that output by going into the output screen and see if the traffic lights signal is indeed yellow/red or green.

Regards,

Ravi

0 Kudos
324

Hi All!

I had executed all the suggestions made by you all.

Even then my print program is not called.Test data is available.If i execute through rsnast00 i am gettng an message saying '0 outputs were processed in total (0 successfully,0 incorrectly.

But my print program is not called when i place a break point on the first line.

Regards

Praneeth

0 Kudos
324

Hi Praneeth,

Put a break point at

PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING ...in the prog rsnast00 at line number 875 and see what is the value of the (TNAPR-RONAM) and (TNAPR-PGNAM).

0 Kudos
324

Hi Ravi!

My program is stopping at line 231 giving the message 0 output .Its not reaching the line 875.

What can be the reason.

Regards

Praneeth