Skip to Content
avatar image
Former Member

NACE?

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    May 23, 2007 at 08:28 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

  • avatar image
    Former Member
    May 23, 2007 at 10:00 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 23, 2007 at 07:24 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 23, 2007 at 10:01 AM

    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

    Add comment
    10|10000 characters needed characters exceeded