cancel
Showing results for 
Search instead for 
Did you mean: 

Reg standard SAP Script error

former_member186491
Contributor
0 Kudos

Hi,

I'm trying to use one standard SAP Script named as F_DUZI_01. Now, I made a copy of that as ZF_DUZI_01 and run that. But, it displays following error --

Element 0031 window INFO is not defined for form

F_DUZI_01

Yes, one point is it is Cancel Popup.

Why that error is being generated? One more thing, when I changed that Script into Smartforms, it is running fine.

Thanks.

Kumar Saurav.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182371
Active Contributor
0 Kudos

Hi,

within the driver program there must be something like:

CALL FUNCTION 'WRITE_FORM'

EXPORTING

window = 'INFO'

element = '0031'.

check if this is true.

If this is the case just add an element 0031 in window INFO of your zsapscript.

Best regards.

former_member186491
Contributor
0 Kudos

Hi Pablo,

Thanks for suggestion.

I did follow that. Now, following error comes up --

Element 0032 Window INFO is not defined for Form 'zsapscript-forma-name'

Although, I've an idea, this script is standard one named F_DUZI_01 and its Driver Program Name is RFDUZI00. Can you please check in your system and guide? Because, there is not like the following --

within the driver program there must be something like:

CALL FUNCTION 'WRITE_FORM'

EXPORTING

window = 'INFO'

element = '0031'.

Thanks.

Kumar Saurav.

former_member182371
Active Contributor
0 Kudos

Hi,

first of all check if there is a copy of the driver program .e.g. ZRFDUZI00

In my system there is neither call to element 0031 in driver program RFDUZI00

nor element 0031 in sapscript F_DUZI_01.

Best regards.

former_member186491
Contributor
0 Kudos

Hi,

Thanks again.

That's true, even in my system it is not there as I've informed you in my previous response --

Because, there is not like the following --

But, as you were suggesting, so I did gave it (defining 0031) a try.

Here, my problem is -- why that standard script and its driver program is catching an error?

Is there any other way to use that script?

Please guide me further.

Thanks.

Kumar Saurav.

former_member182371
Active Contributor
0 Kudos

Hi,

could you please answer this question?

is there is a copy of the driver program .e.g. ZRFDUZI00?

Best regards.

former_member186491
Contributor
0 Kudos

Hi,

No, I've not made that. One more thing I'm trying same F_DUZI_01, even then error is coming up.

If it is due to the fact that I've not copied driver program for the sapscript?

Kumar Saurav.

former_member182371
Active Contributor
0 Kudos

Hi,

1.- How do you execute the program RFDUZI00?

via se38?

via a transaction?

2.- in selection screen of program RFDUZI00,

2.1.- in output control tab,

do you fill in field Form name?

2.2.- go to system->status

what´s the value in Program?

Best regards.

former_member186491
Contributor
0 Kudos

Hi,

Ans 1.--

1.- How do you execute the program RFDUZI00?

via se38?

via a transaction?

I've tried both way but, same error is coming up.

Ans 2.--

2.- in selection screen of program RFDUZI00,

2.1.- in output control tab,

do you fill in field Form name?

No. It is not prompting to fill in Form's name. Actually, it is Configuration Step.

Even if I mention standard Form Name in that field, the error persists.

2.2.- go to system->status

what´s the value in Program?

Program Name is -RFDUZI00.

Thanks for continued support.

Kumar Saurav.

Edited by: Kumar Saurav on Mar 5, 2010 7:42 AM

former_member186491
Contributor
0 Kudos

Hi Pablo,

Thanks for sharing your valued time with me. Now, issue has been resolved.

Thanks again.

Kumar Saurav.