Skip to Content
author's profile photo Former Member
Former Member

How do I seperate code in BSP ?

Hi,

How do I seperate code in BSP ?

(I do not want to make classes or "external" FM.)

In abap I can use the form-statement.

form ShowConfirmedPO.

...

endform

//Martin

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Feb 17, 2005 at 08:37 AM

    Use classes. That is the brave new world of ABAP-OO. You can not fight this trend.

    You can still consider separation via MVC, which just boils do to separation via classes at the end of the day.

    Add a comment
    10|10000 characters needed characters exceeded

    • <i>Hi Brian,

      don't you like the brave new world of ABAP-OO :-)?</i>

      Love it. Did a lot of C++ work before. With ABAP you can do everything that you can do in C++ or Java and many other things as well. One just have to keep the eyes closed for a few silly, IMHO, constrains. For example, a space after bracket, no expressions in parameters, no chained method calls. But all in all, we have yet to find anything that the Java colleagues are doing that we can not also do, sometimes even better 😊.

  • Posted on Feb 17, 2005 at 08:49 AM

    Hi Martin,

    I am a little bit curious. Why you don't want to create any classes/FMs? Believe me if you want to write complex bsp applications which are easily maintainable, extendable and have a good testability you should always use MVC and MVC needs classes. You have all the cool tools available use them 😊

    And regarding your question I don't think there is another way to structure your code when you don't want to use classes.

    regards

    Thomas

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.