2006 Dec 04 10:56 PM
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
2006 Dec 04 11:00 PM
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
2006 Dec 04 11:06 PM
Thank you so much for the quick response. But I cant take that decision alone. Thank you once again
2006 Dec 04 11:08 PM
Yes - it's the simplest solution, but many people won't touch SAP code. However, version management keeps track of your changes.
Rob
2006 Dec 04 11:15 PM
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
2006 Dec 04 11:19 PM
Yes - you definitely do not want to make major changes to the functionality of this one.
Rob
2006 Dec 05 6:38 PM
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.
2006 Dec 05 6:45 PM
I should have added that you should first look for a user exit or BADI before doing either.
Rob
2006 Dec 05 6:50 PM
Rob,
There are no userexits in this program and also I cant use the available BADIs for the requirement.
thanks,
Lakshmi.
2006 Dec 05 6:39 PM