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

Copy SAPScript

Former Member
0 Likes
814

Dear all,

I had copied the SAPScript by RSTXSCRP and all its related print program manually from one server to another. I found that the output does same as the original one. What is the possible cause of problem??

Regards,

Kit

8 REPLIES 8
Read only

Former Member
0 Likes
793

What is the exact problem? Can you explain in detail what your requirement is and what problem are you facing?

Read only

0 Likes
793

Hi Ashish,

I just want to do some testing in the sandbox system. Since, there is no transport routing between the development and sandbox. So, i copy the form and program manually. The problem is the output in the sandbox system does not same as development.

Regards,

Kit

Read only

0 Likes
793

I believe it is a custom layout and custom program which you are trying to execute. How does this get triggered? Is it via a print program or via Sales Order Create / PO Create ? Delivery Create?

If it's not via Print program, it means it gets triggered by any of the transactions. In that case, you also need to make Output type settings in your sandbox.

Please let me know if you have any questions

Read only

0 Likes
793

Hi Ashish,

Thanks for your reply. The print program will trigger when the user execute the LT31. I have already made the proper output type in the SPRO.

Regards,

Kit

Read only

0 Likes
793

For the layout, we have associated STYLES present in respective systems. Have you copied those too?

What exactly is different in these 2 systems?

Read only

0 Likes
793

I have one more finding that i forgot to post. When i go to SE71 -> Perform Form -> Check -> Text. Then select the print program (e.g. SAPLZXXXX) and click ok. After i print the TO in the LT31 with my form and go back to check the setting. An addional print program was added in the list. Why the print program setting changed??

Message was edited by:

Chun Kit Chan

Read only

0 Likes
793

Why it is changed, that i am not sure. But i need to ask you if oyu have correctly assigned your print program?

Can you check in debug by placing breakpoint in program RSNAST00 line

PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE

US_SCREEN

Check value of TNAPR-FONAM - which should be your layout

and TNAPR-PGNAM should be your print program name.

You can also change values in debug mode for these parameters.

Please check it once.

Read only

0 Likes
793

I have placed a break-point in RSNAST00 and execute /h in LT31. But, the debugger does not stop at that line. Does it mean the RSNAST00 not be executed??