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

problem in Module pool

Former Member
0 Kudos
546

I have a typical problem in module pool. I have copied the program SAPMF05A to make some changes for the purpose of Incoming payments f-28 and created the Ztransaction .While running the Z transaction, the program is calling the standard program SAPDF05X , but it is returning back to the standard program SAPMF05A instead of returning to the Z program and after executing some source code in Standard program, the next screen onwards it is executing from the Z program. Due to the memory lost while returning to the standard program to Z program, I am not geting the proper result.

Can you please anyone help me? how to solve this problem?

Thanks in Advance.

lakshmi

9 REPLIES 9
Read only

Former Member
0 Kudos
504

The simplest thing would be to make a mod to the SAP code. This is a very complex transaction and trying to copy all of the objects (and all of the customizing) will take a great deal of effort.

Rob

Read only

0 Kudos
504

Thank you so much for the quick response. But I cant take that decision alone. Thank you once again

Read only

Former Member
0 Kudos
504

Yes - it's the simplest solution, but many people won't touch SAP code. However, version management keeps track of your changes.

Rob

Read only

Former Member
0 Kudos
504

Hi

The SAPMF05A is the heart of the accounting, many transactions call it. So you can't only copy and change the program for your porpose, but you have to change all abap code where the transaction code is checked and probably you should enter a correct record in tables like T020.

Max

Read only

0 Kudos
504

Yes - you definitely do not want to make major changes to the functionality of this one.

Rob

Read only

0 Kudos
504

Hi All,

thank you all , the problem is solved, I have added some source code and it is working now. Creating the Z program is manager level decision Which I should follow. thank you all .

Lakshmi.

Read only

0 Kudos
504

I should have added that you should first look for a user exit or BADI before doing either.

Rob

Read only

0 Kudos
504

Rob,

There are no userexits in this program and also I cant use the available BADIs for the requirement.

thanks,

Lakshmi.

Read only

Former Member
0 Kudos
504

The problem is answered.