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

form routine

Former Member
0 Likes
9,573

Reg. sapscripts, what is form routine? Can you tell me more about this and clarify me on this? What exactly is form routine and what happens here?

Thanks in advance.

2 REPLIES 2
Read only

former_member221770
Contributor
0 Likes
3,531

Krishen,

I am assuming you are looking at the SAPscript configuration screen. The PROGRAM is the name of the SAPscript Print Program, and the FORM Routine is the starting subroutine. eg. for Output Type BA00, the Program is "RVADOR01" and the FORM Routine is "ENTRY". This means that when the BA00 Output type is triggered, SAP will go to program "RVADOR01" and execute subroutine "ENTRY". It is within the ENTRY subroutine that the "OPEN_FORM", "WRITE_FORM", "CLOSE_FORM", etc Function Modules are called.

Hope this helps.

Cheers,

Pat.

Read only

Former Member
0 Likes
3,531

Hi,

In programs which give print output like sales order, when output is to be printed, there will be a corresponding output type. This output type is defined in NACE txn. WIth each o/p type, there will be a related print program and form routine and Sapscript formname. So when output type is triggered, print program will be called. In print program code, there will be routine 'ENTRY' which indicates that related SAPSCript form is to be called from that point.

Cheers,

Vikram

Pls reward for helpful replies!!