Application Development 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: 

Script

Former Member
0 Kudos

Hi,

I am working with customer statement for sap script.I copied standard print program RFKORD11 and standard form into "Z" program.I made the changes as per requirement.Form 'Z' is not assigning to my 'Z' program.I dont know what is the problem.When I am executing the program"z">I am getting output printview is standard form output not 'Z form'.

Please help me regarding this

Thanks

Nithin

15 REPLIES 15

Former Member
0 Kudos

Hi Nithin,

Check for the statements open_form or submit report ...check the form name being called in the debug mode....

Regards,

Vidya.

Former Member
0 Kudos

HI,

You need to configure this one. to do the config goto NACE transaction code, and select the appropiate Application and give your Z Form name and Z program name and the output type

Regards

Sudheer

0 Kudos

hi,

Check out this links.

Regards,

Richa

0 Kudos

Hi sudheer,

The config is done in spro.I got outputtype for this.

Thanks

0 Kudos

Hi richa,

The configuration is done in SPRO not in NACE.

I think assign form to print program is the problem.

Please suggest me how cna I solve this

Former Member
0 Kudos

HI Nitin,

If the configuration is correct, then

1) check your changes are Saved and activated, and Execute the program in the same client, Scripts are Client Dependent

2) Check in the Debugging mode

3) Check, is there any other way to Run the Script, some Scripts will be excuted from the Transaction codes ( like Purchase order,Sales Order) .

Regards

Sudheer

0 Kudos

Hi sudheer,

I have to execute from F.27 T.code.

How to debug the script.please explaing me clearly.I dont have much knoledge about it.

Thanks

0 Kudos

Search the Z program for string 'RFKORD11' and replace with your z program name and make sure Z prog and Z form exist in T001F table.

Regards

Sridhar

0 Kudos

Hi sridhar ,

I searched in T001F table.My form is attached to standard print program not for copied 'Z' program.

but when i try to execute the print program the default form set is with my 'z' program and 'z form'

I dont know what is the problem.problem with cofig or any?

regards

nithin

0 Kudos

Check the Z prog assigned to the correspondence type you are using in F.27 in table T048B. Ask youf functionl consultant to change the T001f entry to refer to Z program instead of standard program.

Regards

Sridhar

0 Kudos

In table T048B,the 'Z' program is assigned to output type with varient.

But in T001F with standard program I ll ask with function people.What should I do once I the entry changed in T001F.

thanks

0 Kudos

Change string 'RFKORD11' in the z program with your program name.

Check the variant used in the correspondence type, if the selection field 'Form set' is space, then T001F-EVENT should be space.

Regards

Sridhar

0 Kudos

Hi sridhar,

Yes,They changed the entry.space is there in Form set and t001e-event.I changed the program name with

'Z' program.still I am getting same error.

Thanks

0 Kudos

Set a breakpoint at 'PERFORM READ_T001F.' in ZRFKORD11 and check what form and program it's selecting from T001F.

REgards

Sridhar

Former Member
0 Kudos

Hi,

Go to Se71 transaction- give the form name and language then select utilites-activate debugger. This will help you to debug the form while eexecuting the transaction f.27.

Thanks and Regards,

Yamini.A