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: 

Modify a sapform or sapscript

former_member205645
Participant
0 Kudos

Hello Gurus, i need to modify an existing sapform or sapscript, i don`t know witch one is it. I am beginner to sapforms and sapscript, i only used smartforms.

I have to modify the output design in program "/CEECV/RO_RFBILA00", and i can`t find this sapform or sapscript. I found a call to a function OPEN_FORM that has the parameter

form = scr_form,

i tryed to open the form with se71 .....

when i double clicked the name "scr_form" it took me to an include that had only parameters, and there is no START_FORM function call; i can`t find anything, please help.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

To findout SAP Form use se38---->RSTXDBUG & F8.

Now run your pgm via se38 or via tran code. Since the SAP Script debugger is ON it will wait, there you can see the Sap Script Form name on the screen.

I hope this helps,

Regards

Raju Chitale

3 REPLIES 3

Former Member
0 Kudos

copy the standard program of rvinoive into zscript from the 000 client.

then u get the standard invoice layout.

in that layout whatever the requiremnts to u. that to be modified and resizing of windows, logo uploads, tax details, total, subtotals comments and all to be done, and creating a new window in the layout all these to be done. while we r writng rhe driver program of that assign the window names correctly otherwise it shows error.

please reward points.

Former Member
0 Kudos

Hi,

To findout SAP Form use se38---->RSTXDBUG & F8.

Now run your pgm via se38 or via tran code. Since the SAP Script debugger is ON it will wait, there you can see the Sap Script Form name on the screen.

I hope this helps,

Regards

Raju Chitale

Former Member
0 Kudos

Modifying SAP Forms

If you want to modify SAP forms, set up your development environment as follows:

Make sure that no SAP-standard forms are stored as client-specific copies in your development client.

Such forms should be held only in client 000, the SAP development and installation client. If you access an SAP-standard form from another client, then the central copy in client 000 is used.

If you need to remove SAP-standard objects from your development client, see Notes 10388 and 3355 in the SAP Online Service System (OSS). These notes explain the procedure for saving modified forms and then deleting all forms.

To modify SAP standard forms,

– Copy the forms you need from client 000 to your development client.

– Rename the forms using a name from the customer name reserve (names starting with Y or Z).

– Copy the forms to one of your own Y or Z development classes.

Renaming the SAP standard object makes it possible to manage and transport your changes with the SAP workbench organizer. The organizer is not activated for SAP-standard objects that are modified in clients other than 000.

To put your modifications into effect, you must also modify the ABAP print program used to print documents that use this form. You should rename such print programs and store them in your own Y or Z development classes.

You can use the SAP Customizing System to replace the SAP print program with your modified print program in the affected applications.

Forms: Concepts

Forms are used to control the page layout and also the text formatting in your documents. Before formatting a document for output to the screen or to a printer, you must assign a form to it. If you do not specify a form for a document, then the SYSTEM form is assigned to the document by default.

Application-specific forms are used in SAP applications to specify the page layout for such special documents as invoice or checks. These forms specify the structure of the information on the page(s) of such a document. They define, for example, the address header, item lines, the footer, and so on.

There are two ways to format texts with forms:

In the standard SAPscript text processing (Tools ® Word processing ® Standard text), you can select a form for a document. You can then type text into the main window of the form and output the document in the format defined in the form.

For example, you can select a form for a letter. You can then type the body text of the letter in the main window. When you print the letter, the default text elements in the other windows of the form (heading, footer, and so on) are printed with the body text.

A document can be generated by a print program in one of the SAP applications. The print program uses a form to generate the document. Most correspondence and document generation in the SAP System are handled by way of print programs.

A print program selects the text elements that are to be printed in the windows of a form. It may also collect information from the user or ask the user to input text directly, as in some correspondence functions. The print program may also provide data for variables defined in the form.

Finally, the print program uses the form to format the document for display or printing.

Check this link...

http://help.sap.com/saphelp_erp2005/helpdata/en/d1/802d7d454211d189710000e8322d00/frameset.htm

Reward Points if useful.