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

SAP Script

Former Member
0 Likes
584

Hi All,

From which table i can find form and respective print program?

What are standard text? From where can i read about them?

Thanks,

Megha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
550

Thanks to all of you for your instant reply.

Can you suggest me some material from where i can read more about standard text.

Thanks,

Megha

6 REPLIES 6
Read only

Former Member
0 Likes
550

Hi,

You can find the form name and respective print program in table : TNAPR .

Starndard text T.code is : SO10.

Thanks,

Read only

Former Member
0 Likes
550

Hi,

Please check table TNAPR for Layout sets and Driver programs.

USe T/code So10 for standard text.

Lanka

Read only

Former Member
0 Likes
550

Hi Megha

you can find them in TNAPR table

PGNAM - Program name

FONAM - Form name

RONAM - Name of routine to be called up in the processing program

When you run the script actually the program "RSNAST00" is run intenally and during this program run the system cross checks the program nameand the form name.. you can see this by placing a break point in this program at line number 936.

Regarding the Standard Texts may be the following info would be helpful

_________________________________________________________

1.<i><b>Uploading the label file to SAPscript</b></i>Load the label file using the standard editor (Transaction SO10) to SAPscript. SO10 is only

used here as a “buffer” for the file before you add the ITF file into a form window. Create a new

standard text with any name. In the editor, load the XXXXXXXX.ITF file you just created using

the function “Text->Upload”. Select “ITF” as the format. Store the label file as a standard text.

2.<i><b>Adjusting the SAPscript form</b></i>

To print the label, you must adjust the SAPscript form to be used by using the SAPscript form

maintenance (Transaction SE71):

The MAIN window must extend over the entire page format (for example, DINA4) that means

there may be no upper and left border between MAIN and the border of the page.

You should delete all the windows except for the MAIN. If not deleted, then these windows

should at least not contain any more data to be output (you may need to deactivate texts).

The MAIN window should only contain a text element that includes the label file just created.

The name of this text element depends on the application program used by R/3. You can add

the label file into this text element by copying the entire text from SO10 into the form window. If

additional text elements that are called from the print program are to be defined in MAIN, then

deactivate their contents. The first page of the form should refer to itself as the next page

because the label file in the MAIN window may be quite large particularly if graphics have been

included.

_________________________________________________________

Regards

Santosh

Message was edited by: Santosh Tumbalam Gutti

Read only

Former Member
0 Likes
550

Hi Megha,

Use TNAPR for finding the Form & print program ,If you know the Output Type or the Application.\

<b>Regarding Standard Text.</b>

Standard texts is predefined texts that can be used in more than one form. Standard texts are can be created, changed and displayed using transaction SO10.

To include a stadard text in a form, use the INCLUDE command:

Example:

/: INCLUDE <Standard text name> OBJECT <TEXT> ID <ID type>.

You can read the Text name,Object & ID from the Standard text thru GOTO--->Header & pass them in the include.

Read only

Former Member
0 Likes
551

Thanks to all of you for your instant reply.

Can you suggest me some material from where i can read more about standard text.

Thanks,

Megha

Read only

0 Likes
550

Hi Megha,

Please read this link this will help im both SAP script and Standard text.

http://www.sappoint.com/abap/sscript.pdf

Lanka