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

Attaching ZSAPScript To ZProgram

Former Member
0 Likes
754

Hi All The ABAP Gurus,

I have copied the Program SAPMFCHK from se80 into ZSAPMFCHK. Also I have copied the Sapscript ZINFI_CHEQ_PRINT to ZINFI_CHEQ_NEW with the following method:- SE71->Utilities->Copy From Client and the entering the reuired details like source program,target program etc. Also I have attached a TCODE as ZFBZ5 to the program ZSAPMFCHK

My requirement is that I want to attach or call the SAPScript ZINFI_CHEQ_NEW into the program ZSAPMFCHK so that when I execute the TCODE ZFBZ5 I should get the output of SAPScript ZINFI_CHEQ_NEW .

Thanks In Advance,

Regards,

Bharti Jain

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
717

Hi, ABAP Gurus.

First of all heartly thanks for replying.

As I have mentioned I have copied the SAPScript ZINFI_CHEQ_PRINT following the steps Utilities-> ....

I will now explain in detail. I have copied the SAPScript from DEVELOPMENT in one Client say 310 and had done changes in the copied one ZINFI_CHEQ_NEW. Then Saved And Activated(FORM->ACTIVATE).Also Activation Message is returned as ZINFI_CHEQ_NEW is activated.

Now in the same Server in another client say 320(Available For Display Mode) when in SE71, I entered the SAPScript name ZINFI_CHEQ_NEW then it is giving message 'Form ZINFI_CHEQ_NEW language EN is not available in client 320' and due to it I am unable to execute the program.

I have copied the standard program & SAPScript in Z and made changes in ZProgram to call the SAPScript ZINFI_CHEQ_NEW

Have I left something in this matter? T

Thanks In Advance

Regards,

Bharti Jain

Hi, ABAP Gurus.

First of all heartly thanks for replying.

As I have mentioned I have copied the SAPScript ZINFI_CHEQ_PRINT following the steps Utilities-> ....

I will now explain in detail. I have copied the SAPScript from DEVELOPMENT in one Client say 310 and had done changes in the copied one ZINFI_CHEQ_NEW. Then Saved And Activated(FORM->ACTIVATE).Also Activation Message is returned as ZINFI_CHEQ_NEW is activated.

Now in the same Server in another client say 320(Available For Display Mode) when in SE71, I entered the SAPScript name ZINFI_CHEQ_NEW then it is giving message 'Form ZINFI_CHEQ_NEW language EN is not available in client 320' and due to it I am unable to execute the program.

I have copied the standard program & SAPScript in Z and made changes in ZProgram to call the SAPScript ZINFI_CHEQ_NEW

Have I left something in this matter? T

Thanks In Advance

Regards,

Bharti Jain

4 REPLIES 4
Read only

Former Member
0 Likes
717

You can call the script using function module OPEN_FORM in your report and passing the sap script name.

Read only

Former Member
0 Likes
718

Hi, ABAP Gurus.

First of all heartly thanks for replying.

As I have mentioned I have copied the SAPScript ZINFI_CHEQ_PRINT following the steps Utilities-> ....

I will now explain in detail. I have copied the SAPScript from DEVELOPMENT in one Client say 310 and had done changes in the copied one ZINFI_CHEQ_NEW. Then Saved And Activated(FORM->ACTIVATE).Also Activation Message is returned as ZINFI_CHEQ_NEW is activated.

Now in the same Server in another client say 320(Available For Display Mode) when in SE71, I entered the SAPScript name ZINFI_CHEQ_NEW then it is giving message 'Form ZINFI_CHEQ_NEW language EN is not available in client 320' and due to it I am unable to execute the program.

I have copied the standard program & SAPScript in Z and made changes in ZProgram to call the SAPScript ZINFI_CHEQ_NEW

Have I left something in this matter? T

Thanks In Advance

Regards,

Bharti Jain

Read only

0 Likes
717

Hi,

SAP Script is client dependent.

If you create a script in one client say 200 , and you want to test in 220 (same server) , this will not be available.

You need to transport the script to 220 . Use Transaction SCC1 to transport the request to 220.

Regards,

Srini.

Read only

Former Member
0 Likes
717

Thanks All,

Issue Solved.

Regards,

Bharti Jain