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

script data transfer to form

Former Member
0 Likes
648

I have developed new print program (from scratch) and form ( script).

In driver program i got the data into final internal table and used open_form,write_form and close_form. I have mentioned all the text elements in the corresponding function modules(write_form).

In script windows i have included all the text elements correspondingly.

My question is how to pass the data from final internal table of driver program to script(form). Weather we need to maintain "form name" and "driver program" and output types in NACE transaction code as the whole was developed from scratch and not copied from standard program.

Pl advice me.

Regards

Badari

<b>would suitably rewarded.</b>

4 REPLIES 4
Read only

sathish_perumal
Active Participant
0 Likes
556

Hi Badri,

Yes we have to make entries in NACE transaction. For each and every record of your internal some window will be called many times (usually main window ). So put your write_form in a loop of your internal table ans you should be able to use the data with in your window in the script.

Regards,

Sathish

Note: Reward Useful Answers

Read only

Former Member
0 Likes
556

hi Badari,

If your script is for a standard transaction like Sales order , Purchase order,Invoice etc, you need to configure output type and attach your driver program and SAPScript name in the NACE transaction.

If your SAPScript is a standalone one, and not related to any SAP Standard transaction, you can run your driver program using se38 transaction - No need for NACE configuration in that case.

Hope this helps.

BR,

Preema

*Reward points for helpful answers

Read only

sathish_perumal
Active Participant
0 Likes
556

Hi,

If the SAP Script is for transactional use say for example that the print program to be triggered on saving some document, in that case NACE configuration is required. If it is a report executed to display data using a sap script then it is not required to configure in NACE.

Regards,

Sathish

Read only

Former Member
0 Likes
556

hi badari,

if ur issue solved,

kindly close the thread after marking apporopriate points to helpful answers.

Regards,

Preema