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

Newbie...recreate transaction code with all programs

Former Member
0 Likes
2,258

Hi all,

I have a Z transaction in R3P that was created by someone directly in that environment (never created in R3D or R3Q)...

I have been asked to recreate it in R3D and then transport it through the landscape.

I have never written an ABAP program or create a transaction code before (I'm a BW guy). Can someone give me detailed step-by-step or point me to an online resource...?

Thanks

18 REPLIES 18
Read only

Former Member
0 Likes
2,187

Go to SE93 for create new Tcode.

Steps :

1)Goto SE93

2)Enter ur Tcode name Which is starts with z or y.

3)Click --> create

4)Assign ur Program name for this tcode

5)Save and Activate

Thanks & Regards

ilesh 24x7

Read only

0 Likes
2,187

step-by-step....?

I need to know how to find out what programs are run the the existing transaction code and how to copy all of them to the other environment...

please give me a bit more detail

Read only

0 Likes
2,187

Open the T-Code in SE93, you will come to know the program name attached with it. Then create another T-Code as required in SE91 for the program.

Read only

0 Likes
2,187

Sorry, the T-Code to create transaction is SE93 not SE91.

Read only

0 Likes
2,187

HI William

goto ur production system and goto se93 tcode give name and click display it shows program name.

for creating in devlopment , goto se93 give name of tcode click on create button it asks short desc and select the radio button program and selection screen (beacuse it is for report program) then give program name varaint name then save assign a package

it creates tcode

any further doubts welcome

Regards

sandhya

Read only

0 Likes
2,187

Ok that helps me with getting the transaction code however...

I guess there's a long chain of programs which are executed by the transaction code...How can I follow this chain in R3P to copy all of the programs to R3D?

1) What screen is used for display and creation of programs?

2) How do I know within a program what other programs are referenced?

Read only

0 Likes
2,187

HI

I think u have to create only one tcode rite then if u go for dispaly of that code u will be knowing what is the program there with that tcode ,otherwise run the tcode in production and in that screen tak path system-> status shows pgm name.

Regards

sandhya

Read only

0 Likes
2,187

i guess you wrote that before reading my questions above #1 and #2

Read only

0 Likes
2,187

Hi William

It is not required here to see the reference programs from the main ptrogram.u can create tcode for main program.

Regards

sandhya

Read only

0 Likes
2,187

yes but the programs are all Z programs. I need to create all of them 1st right? The only thing I know is the name of the Z transaction so I need to 1st understand the entire chain of programs so that I can create them in the other environment.

So I need to know how to view a program, create a program, and find program references within a program.

please advise

Read only

0 Likes
2,187

HI William

u have ztransaction go to production and see what program is there for that tcode and use the same program when creating in devlopment dont worry about references and

u can view the program in se38 tcode.

Regards

sandhya

Read only

0 Likes
2,187

I think you are not understanding...

If I create a new transaction in R3D with reference to a program called ZBWR_00011 and then I execute this new transaction it will DO NOTHING since the program ZBWR_00011 does not exist!!

I need to create all of the Z programs before the transaction will run. I guess each program calls other programs so I need to make sure that all are recreated...maybe there are 10 or more

Please explain how to view a program in R3P and then copy and paste the code for this program into a new program in R3D.

Thanks

Read only

Former Member
0 Likes
2,187

Hi William,

You do not have to worry @ the chain of programs being called from the TCODE.

Goto SE93 in <b>Production client</b>

Enter the TCode

Click on Display

It will list the name of program & screen no. along with variant(if any).

Create a new session in <b>Development client</b>

Execute transaction SE93

Type the Tcode

Click Create

Enter the package & transport description

Enter the program name & screen no. along with Variant(if there was any)

Click on Save

Thats it.

The program which you have mentioned in SE93 will take care of calling subsequent program.

1) What screen is used for display and creation of programs?

<b>For report program its 1000. For other programs, you can check the screen no. from SE93 in production client</b>

2) How do I know within a program what other programs are referenced?

<b>This is not required. SAP will take care of calling subsequent programs</b>

Best regards,

Prashant

Read only

Former Member
0 Likes
2,187

Hi William,

I was under the impression that you only want to create Tcode & programs are already available in Development landscape.

If not so, then you have to go through the program in Production client to check whether it has called ny other programs.

Check for BDC, SUBMIT statements, JOB_SUBMIT etc

There is no direct way to find out the programs involved.

Once you identify the objects, download them into a Notepad file & then copy paste the same in Development.

Best regards,

Prashant

Read only

0 Likes
2,187

do I also have to create tables?

How can I identify tables that are required?

Read only

Former Member
0 Likes
2,187

Hi William,

You will have to go through the code & identify what all objects you need to create.

SImply check the objects in Development client to ensure whether they already exist.

Look for Function Modules, Tables, Data elements, Domains, User Exits etc.

<b>Recommended:</b>

Include all the objects in a transport in Production environment.

Provide the transport number to BASIS consultant & ask him to create the files out of this transport.

The files created can be used to import in Development client. IN that case you do not have to code anything..simply import the files created by BASIS consultant.

So the only job which you have to do is.. identify the objects & include them in transport.

Best regards,

Prashant

Read only

0 Likes
2,187

There's over 18 programs and at least 3 custom tables. Do I need to go line by line through the code and look for objects that are required. Can you be more specific regarding this line:

Look for Function Modules, Tables, Data elements, Domains, User Exits etc.

How can I identify each of these items? What other things should I look for (the "etc")?

How do I create a custom table in R/3?

Read only

0 Likes
2,187

any help?