Skip to Content
avatar image
Former Member

Custom ABAP- "FORM2" does not exist

Hi All,

I am trying to use Custom ABAP Function , but while running, its giving me the below error:

Syntax error: <The FORM "FORM2" does not exist, but there is a FO>.

Here are the steps i followed:

1) Create Task with Custom ABAP Function
2) Create the output fields, ABAP File Name path
3) Set the backend DS Connection to Development Client & Choose Generate & Execute Mode
4) Run the Task against DS.

Let me know if am making any mistake in the above steps? How can i resolve this error to use Custom ABAP Function?..


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 05, 2018 at 05:46 PM

    Hello Uday,

    I'm not a ABAP expert. we faced similar issue.

    Option we used is, we developed a simple flow using a standard ABAP query with random table. This will generate a .abap file in the agent. we provided the abap file to our ABAP team and asked them to do custom coding within the existing syntax. this avoided unknown failure.

    please try this option. if you have the logic ready, you just need to copy the content inside the standard code.

    hope this helps you and saves some time.

    with regards,


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 06, 2018 at 04:57 PM

    Hi Uday,

    Can you confirm if the aba file was created with old abap editor so that it has only 72 chars length per line?

    It seems to have truncated your form name so might be it.


    Add comment
    10|10000 characters needed characters exceeded