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

Output error in SmartForm

Former Member
0 Likes
1,813

I have a SAPScript that I converted to a SmartForm. I used the print program from the SAPScript and modified it for the SmartForm. When I run the Tcode (VL70) I am getting the following error: "<b>WRITE_FORM is invalid, OPEN_FORM is missing</b>.

Could this be because I am using the output type that I used for the SAPScript? If so do I need to create a new output type?

Regards,

Davis

I have a SAPScript that I converted to a SmartForm. I used the print program from the SAPScript and modified it for the SmartForm. When I run the Tcode (VL70) I am getting the following error: "<b>WRITE_FORM is invalid, OPEN_FORM is missing</b>.

Could this be because I am using the output type that I used for the SAPScript? If so do I need to create a new output type?

Regards,

Davis

15 REPLIES 15
Read only

Former Member
0 Likes
1,719

hi... Davis..

print prog for script n Smartform r different.

we can not use print prg of script into sform..

only we can migrate script to form not print program...

Read only

0 Likes
1,719

So I can't use the same program name and change the actual program?

Regards,

Davis

Read only

0 Likes
1,719

You need to change your logic of print program to suit for your smartform

Thanks

Pavan Kothapalli

Read only

0 Likes
1,719

u can but the process of print program in form is different from print prg in script.

Read only

Former Member
0 Likes
1,719

Hi Davis,

After converting SAP Script to smartform

You need to modify your output type in NACE transaction.

Now you can remove your form name in "Processing routines" and give smartform name and save it. Then try executing your transaction.

Hope it will resolve your problem

Thanks

Pavan Kothapalli

Read only

0 Likes
1,719

Thanks Pavan, I'll give that a try.

Regards,

Davis

Read only

0 Likes
1,719

Pavan, I can't figure out where in NACE I change the information for the SmartForm. Can you guide me towards it?

Regards,

Davis

Read only

0 Likes
1,719

Davis,

Open NACE

Select your application and Click on "Output types" and then select one outputtype from the list shown below and then double click on "Processing routines". here it will show the details then you can remove the sap script name from "Form" column and give the new smartform name in "Smartform" section.

Thanks

Pavan

Read only

0 Likes
1,719

Pavan, thanks for the reply. I assumed that was how I needed to do it but no output types show up. We are currently refreshing our system so that may be the reason. I'll have to check into that.

Thanks again,

Davis

Read only

0 Likes
1,719

Pavan, I have figured out that I can't see the output type because it is in application area V4 and V4 is hidden in NACE. Do you know of a way for me to modify the output type?

Regards,

Davis

Read only

Former Member
0 Likes
1,719

u need to call Fm which u get by activating Smartform...

.. in print program.. not open form..closeform r start form...

Read only

0 Likes
1,719

Thanks geetas, and everybody else, but I did take out the open_form and I have the print program syntactically correct for SmartForms.

Regards,

Davis

Read only

0 Likes
1,719

u means u need to use open form in smartform print program?

Read only

0 Likes
1,719

Geetas, no, Open_Form is not used in SmartForms.

Read only

Former Member
0 Likes
1,719

If anybody is still looking at this question, I have found where I can modify EK00 but I can't figure out what to do in order for it to work.

I have the program as the print program (ZRVADEK01) Form routine as (SMARTFORM_PRINT) and the form as the form name (ZPCC_PICKLST_STD)

I also put the function module for the smart form in the spot for the Layout Module (/1BCDWB/SF00000017 and under the heading SmartForm I put the name of the form in there (ZPCC_PICKLST_STD).

Regards,

Davis