\How to pass dynamic values on the fly to CDS in SAP ABAP\

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

880 Views

I don’t think that there exists a way where you can pass dynamic values to the CDS.In order for DCL to do its assigned activity you need to declare and define the authority object.  Let’s say you cannot do this. Then you can get all the results and then filter the results at Gateway layer using ABAP.

How do I write constants names in Java?

vanithasree
Updated on 30-Jul-2019 22:30:20

570 Views

While writing the name of the constants it is suggested to write all the letters in upper case. If constant contains more than one word they should be separated by underscore (_). Example Live Demo public class ConstantsTest { public static final int MIN_VALUE = 22; public static final int MAX_VALUE = 222; public static void main(String args[]) { System.out.println("Value of the constant MIN_VALUE: "+MIN_VALUE); System.out.println("Value of the constant MAX_VALUE: "+MAX_VALUE); } } Output Value of the constant MIN_VALUE: 22 Value of the constant MAX_VALUE: 222

What is the difference between method overloading and method hiding in Java?

varun
Updated on 30-Jul-2019 22:30:20

783 Views

method hiding − When super class and the sub class contains same methods including parameters, and if they are static and, when called, the super class method is hidden by the method of the sub class this is known as method hiding. Example Live Demo class Demo{ public static void demoMethod() { System.out.println("method of super class"); } } public class Sample extends Demo{ public static void demoMethod() { System.out.println("method of sub class"); } ... Read More

Accessing an SAP endpoint in apex code

Ali
Ali
Updated on 30-Jul-2019 22:30:20

132 Views

I faced a similar issue earlier but it was because of a bug in JAVA security package (refer link for more details)http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7044060I just got updated myself to latest OpenJDK7 and it solved my issue. I think you can try the same and check if it helps.

How to store details in SAP-MDG?

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

559 Views

If you don’t want to create a custom table then you can for creating a data model with the help of reuse method. You can then save this newly created data model in staging MDG. Other option that you have is Z-table. You can create a Z-table to persist the data.Hope this helps!

What does the native in Java stand for?

seetha
Updated on 30-Jul-2019 22:30:20

171 Views

A native method in Java is a method whose implementation is written in other languages such as c and c++.The ‘native’ keyword is used as a method to indicate that it is implemented in another language.

What is a namespace in Python?

Rajendra Dharmkar
Updated on 30-Jul-2019 22:30:20

2K+ Views

Namespace is a way to implement scope. In Python, each package, module, class, function and method function owns a "namespace" in which variable names are resolved. When a function,  module or package is evaluated (that is, starts execution), a namespace is created. Think of it as an "evaluation context". When a function, etc., finishes execution, the namespace is dropped. The variables are dropped. Plus there's a global namespace that's used if the name isn't in the local namespace.Each variable name is checked in the local namespace (the body of the function, the module, etc.), and then checked in the global ... Read More

Can I use Custom Error pages in SAP HANA?

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

97 Views

You are correct as XSA supports the custom error pages but classic does not support custom error messages.In case you need to do in any way, then what you can try out is you need to parse all requests through a load balancer or a proxy and then show custom error message. And it is not a easy and maintainable approach.

Are ‘this’ and ‘super’ keywords in Java?

Prabhas
Updated on 30-Jul-2019 22:30:20

326 Views

Yes, this and super are keywords in Java. Where ‘this’ is used as a reference of the current object and, ‘super’ is used as a reference to the superclass object.

Where to define an associated type in SAP function module?

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

613 Views

The parameter that you are using seems to be a import type and it will require an associated type in order to be of any use.You can define the table parameters for this. You can find them within the tables tab. Once you have defined them then you can use them for either export or import.Hope it works for you!

Advertisements