cancel
Showing results for 
Search instead for 
Did you mean: 

NACE?

Former Member
0 Kudos

Hi all,

What is the perpuse off ROUTINE which has been confihured in NACE along with PRINT PROG and FORM NAME?

what is the use of that routine.

Kishi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kishor,

Suppose the requirement is when a particular output type is triggered the control should go to a particular subroutine of a print program and from that subroutine other subroutines are called. For that purpose the ROUTINE option is there is NACE to mention the subroutine name where you want the control to go after the output type has been triggered.

This also ensures that the print program cannot be executed from any other source other than triggering the output type.

Award points if found useful.

Regards

Indrajit.

Former Member
0 Kudos

HI indrajit,

Thanks for the reply.

In case we need to create a new print prog..that time which routinw we have to configure in NACE.

waiting for ur reply...

Kishi.

Former Member
0 Kudos

Hi Kishore,

It depends on your application. Normally you put your data declaration in your report in a top include and have a routine say ENTRY containing the first non declarative statement of your print program. You can put that routine in NACE.

From ENTRY you can then call other subroutines accordingly to modularise your code and make it more readable.

Award points if found useful.

Regards

Indrajit.

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

the use of ROUTINE is to know the print program name and form name and also u can know about the perticular output type is assigned to processing routines like print out,fax,external send,EDI etc.

u can find all the information of the output type in the ROUTINE only.

Thanks,

Madhukar

Former Member
0 Kudos

hi,

the use of ROUTINE is to know the print program name and form name and also u can know about the perticular output type is assigned to processing routines like print out,fax,external send,EDI etc.

u can find all the information of the output type in the ROUTINE only.

Thanks,

Madhukar

Former Member
0 Kudos

Hi Kishor,

The print program and the form are linked together with output type.

The routine play a very important role. It acts as an entry point in the print program. The print program usually have lot of routines. The routine name configured in the NACE transaction tell about the entry point. In this entry routine the other routines are called in a step by step manner as per the requirement.

Check out the V2- Shipping

Output type -ALB0

Goto the Program-RSNASTED and check out the routine ALE_PROCESSING.

You will find that this is the entry-point used from program RSNASTED for medium 'A'.

Hope this helps.

Regards,

Richa.