cancel
Showing results for 
Search instead for 
Did you mean: 

'START_FORM' returns sy-subrc = 1 even though form layout exists in SE71

Former Member
0 Kudos

Hello Experts,

Need your help.

I am trying to print a layout in the existing OPEN_FORM -


CLOSE_FORM layout.....

SO I am using START_FORM and END_FORM in existing OPEN_FORM -


CLOSE_FORM structure.

But the start_form returns subrc = 1 even though my layout form is created in SE71...

Am i missing anything?

Thanks.

Kumail

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Sy-subrc eq 1 in START_FORM means that "Form does not exist". So check whether the SAP form is active and also you have spelled the form name correctly while calling START_FORM.

Regards,

Harish

Former Member
0 Kudos

Hello Harish,

Yes the form is active and also the form name while passing is spelled correctly.

Former Member
0 Kudos

if you SAPScript copied to the correct client(s)? SAPScripts are client dependent...you must copy if there is more than one client...

Answers (1)

Answers (1)

Former Member
0 Kudos

Is the form name in upper case when you use it in all FMs?

Rob

Former Member
0 Kudos

Hi All,

Thanks for help.

It was because form had some errors when i checked it with my driver program so it was giving sy-subrc 1.

Thanks again.