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
456

How do u link or transfer data from table to sapscript ? any driver program is used? what is the name of driver program?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
431

Hi Vennila,

You can write the code in se38(print program) and you will link the SAP Script with Some Function Modules Like,

Open_form,

Start_form,

End Form,

Close Form.

Thanks.

4 REPLIES 4
Read only

Former Member
0 Likes
431

Hi

For each Application in SAP There will be an OUTPUT type, Driver(print) program and the Script will be there(sometimes smartform is also used instead of script)

these 3 are linked in the NACE transaction. the same entries can be seen in TNAPR table and NAST table also.

NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).

You should know the Application of a document first Like:

for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.

so first select the Application type (ex: EF) for PO and press OUtput types

then a list will come in that you should know the related output type for PO.

in this case it is NEU,

select that and click on the processing Routines button on the left side

it will display the Medium, Driver Program and the Script form or smartform related to that document..

For Pu Order

<b>MEDRUCK</b> is the Script attached to Program <b>SAPMF06P</b> for an output type <b>NEU</b>.

similarly you find for Order, Delivery, Invoice in SD module.

Reward points if useful

Regards

Anji

Message was edited by:

Anji Reddy Vangala

Read only

Former Member
0 Likes
431

Hi,

Driver's programs are used to drive other programs e.g. for Dialog Programs, Module pool reports are written and the underlying programs are excuted only using the dialog screens. They can't be executed directly. Like the same way, driver's program are used in SAP Scripts and Printing related programs.

you have to fid it out which SAP Scripts it is refering to or which print program is it referring to and execute tht vey script.

Basically to know the driver program and the script associated with it, go to table TNAPR.

Regards,

Padmam.

Read only

Former Member
0 Likes
432

Hi Vennila,

You can write the code in se38(print program) and you will link the SAP Script with Some Function Modules Like,

Open_form,

Start_form,

End Form,

Close Form.

Thanks.

Read only

Former Member
0 Likes
431

answered