2018 Feb 26 4:01 AM
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
2018 Feb 26 4: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
2018 Feb 26 4: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
2018 Feb 26 6:22 AM
Just think a little about CDS and answer the question yourself.
2018 Feb 26 7: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.
2018 Mar 22 1:10 PM
2018 Feb 26 8: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.
2018 Jun 14 4:39 PM
HI can we do looping in CDS view or can we call the class and methods in CDS view?
2018 Jun 15 1:56 PM
Can we do complex calculations in CDS view, if yes please provide sample logic or links.
2018 Jun 15 2:55 PM