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

Copying a transction

Former Member
0 Likes
1,020

Hi Friends,

I have a requirement to Copy a standard transaction MFBF to ZMFBF and make changes to the custom one ZMFBF.

Are there any shortcuts where i can copy all the screens and everything at the same time or do I have to copy each and everyscreen individually associated with it.

Also after I copy it the changes would be,

when the user enters dat in MFBF and saves it, what happens the fields are blank, however they want the previous data in some of the input fields.

so where would I change the code for this...

Any suggestions,

Shejal.

Hi Friends,

I have a requirement to Copy a standard transaction MFBF to ZMFBF and make changes to the custom one ZMFBF.

Are there any shortcuts where i can copy all the screens and everything at the same time or do I have to copy each and everyscreen individually associated with it.

Also after I copy it the changes would be,

when the user enters dat in MFBF and saves it, what happens the fields are blank, however they want the previous data in some of the input fields.

so where would I change the code for this...

Any suggestions,

Shejal.

7 REPLIES 7
Read only

Former Member
0 Likes
985

Hi Shejal,

Fowllow the below steps ,

1) Execute the Tcode MFBF .

2) click on system-status,

3) click on the program name SAPLBARM (ill take you to se38 editor) .

4) click on Display object list( whcih will display all the object list assigned that program) .

5) Right clcik on Program name and click copy(assign new name) .

6) Goto SE93 ,create new Tcode and assign the ZSAPLBARM .

Regards,

Siva .

Read only

0 Likes
985

Thanks Siva for yoyr suggestions.

Shejal.

Read only

0 Likes
985

Siva,

when you say excute tcode MFBF, I dont see anything for execution, I can save it.

ANy ideas?

Shejal.

Read only

0 Likes
985

MFBF is the transaction that you want to execute, right?

So execute MFBF to figure out the program name.

Or you can go to SE93, and find the program name underlying for MFBF.

Go to SE80, put that program name and you can see all the objects under that.

Now, you can copy the top most object in hierarchy by right click and will prompt you to copy the rest as well.

Regards,

Ravi

Read only

0 Likes
985

Thanks Ravi.

Will try out.

Shejal.

Read only

Former Member
0 Likes
985

Hi,

GOTO SE80, Choose Function Group, give name as BARM, Press enter, u get a list below, Right click on the top most text(BARM) and select copy, give a Zxx name in the target field, continue, it again ask to enter the target fields for different programs and includes, always give Z attached with the program name(ZSAPLBARM), after the copying process is over, goto tcode SE93 give ZMFBF and say create , select the first radio button, give short description and in the next screen give Program name as ZSAPLBARM and screen number as 800 and SAVE the transaction. now run ZMFBF, it works fine. Hope is issue is resolved, Please close the thread by marking usefull answers.

Cheers...

Santosh

Read only

Former Member
0 Likes
985

After you do all this, you may find that the copied program won't work correctly. Many SAP transacions behave differently depending on which program is calling it. This looks like one of those. If you feel confident about it, you could make mods to the SAP code. It should just be a matter of assigning new parameter ids to the fields you want to keep the data for.

On the other hand, talk to your functional people. There may be a way to do this through configuration.

Rob