Program which creates function module – ABAP

5 pts.
Tags:
ABAP
SAP ABAP
Hi, I wonder if there is a way to write an ABAP program, that will read predefined source code (e.g from file) and then creates a new function module, which will contain the source code. Thanks for the help, Sivan

Software/Hardware used:
ABAP
ASKED: September 13, 2009  11:24 AM
UPDATED: November 26, 2009  3:20 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi Sivanzo

Looks like what you are trying to do is reverse-engineering. Use an existing program or code and then convert to ABAP.

You can use the existing code as the base to get the functional details, then design and develop an ABAP program.

I would not blindly use an existing program to create a new one. There would not be much benefit in this.

This looks like the scenario where some organisations fall into the trap of implementing a SAP solution which just mirrors their existing processes and system. This does not help the company in the long run. If you read the best practices, you can see why this does not help.
When a new implementation is planned, you need to take the opportunity to revamp or streamline the existing business processes, then build the system to support the business processes.

Best of luck!

JG

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Venuraj
    function modules are blocks of code or programming lines. so, the code, which you have written ma be right or wrong and the system never knows what output you are expecting to be and moreover, in sap there are more than one FM's which fulfill a similar requirement so, it is you who need to decide which FM is to be used in your program
    105 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following