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

Modify std tcode!!

rnb86
Participant
0 Likes
851

Hi friends,

i tried to modify VA01. i copied the standard program of VA01 to a Z - program. Inorder to execute it, i created a Z - transaction for the z - program. I am unable to run the new z - tcode.

1. What are the changes i need to make before i can get the functionality of VA01 in my Z - tcode.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
825

whts the error you are getting ...?

7 REPLIES 7
Read only

Former Member
0 Likes
826

whts the error you are getting ...?

Read only

0 Likes
825

The program is activated succesfully. But when i tried to run it, i cant see any output or any screens. Nothing is happening. I tried to create a transaction code but still i could not get the output.

Read only

0 Likes
825

Hi!

The main program of VA01 is the SAPMV45A. You copied it to ZSAPMV45A when I understood you well.

It is better that you check this function group first in the transaction SE80. Choose function groups and enter V45A as its name. You'll see all attached function modules, includes, dynpros, etc to this function group.

Regards

Tamá

Read only

Former Member
0 Likes
825

Hi Raghu,

It is a good practice to make use of User-exits that are provided by SAP to make enhancements to standard programs instead of changing the standard code.

Did none of the user-exits met your requirement?

Regards,

Sailaja.

Read only

0 Likes
825

Hi Sailaja,

I know that user exits are the best way. i just wanted to see if the Z-program of VA01 works or not and what additional changes that i need to make for it to work. i am trying to figure out what actually is needed for the Z-program to work.

Read only

0 Likes
825

Many of the function modules, code, subscreen assignment, etc inside the VA01 program might be coded to look explicitly IF tcode = VA01 or such. These will be the ones that cause the problem.

In addition, all config will also apply only to VA01/VA02/VA03. These will not work for your custom program. It is going to be a difficult task to get everything to work exactly as VA01 for a custom transaction.

Sudha

Message was edited by:

Sudha Mohan

Read only

0 Likes
825

Hi Sudha,

well, i agree with your answer. You are right. It was actually silly on my part to assume that just by copying the standard VA01 program to a Z - program, i will get the functionality of VA01 in my Z - program.

Thanks everyone who responded to my query. I am awarding points to all of you.

Thanks & Regards,

Raghu.