Skip to Content
-1

Using SAP Standard program in ABAP CDS View

Hi,

Is it possible to call a standard SAP program from ABAP CDS view? Could anyone please advise how that can be done if possible?

Regards,

Tejaswini

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Feb 26 at 04:07 AM

    Hi Tejaswini,

    Its not possible to access ABAP reports from CDS views. We had also come across such situations where we wanted to use ABAP function modules in our CDS. However, since it is not possible, we ended up decoding the FM logic and implementing it in a table function and used it in our CDS view.

    Thanks,

    Ajith

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 26 at 07:08 AM

    NO you can not call another program from inside a CDS. It is meant for building complex data calculation and consumption views with added features extended via the annotations as in case of CDS based Fiori app development but calling a program like we do in normal ABAP with CALL Tx or SUBMIT are not it's intention.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 26 at 08:22 AM

    Understand that in basic terms, ABAP CDS view is just a SELECT Query with few advance functions and not the actual editor for writing complex logic hence it cannot be used to call anything.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 14 at 03:39 PM
    -1

    HI can we do looping in CDS view or can we call the class and methods in CDS view?

    Add comment
    10|10000 characters needed characters exceeded