Dynamically Creating Parameters from Table Entries in SAP System

Sai Subramanyam
Updated on 30-Jul-2019 22:30:20

478 Views

Note that parameter statement compiles into selection screen at compile team so it is not possible to declare dynamic parameters as proposed by you. Other approach would be that you could load dynpro and change the screen dynamically. You have to activate and then run the report that calls the changed screen. This same approach is used in T-code SE16 to generate a selection screen from a table.

Send IDoc Using SAP .NET Connector 3.0 from Non-SAP System

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

773 Views

As per my knowledge, SAP doesn’t offer any development library for NCo to deal with Idocs. .Net connector is primary used for development of RFC clients.One of a common method to submit idocs to the SAP system using NCo is by using function module “IDOC_INBOUND_ASYNCHRONOUS”. This function module includes multiple table parameters containing idoc data.Function Module: IDOC_INBOUND_ASYNCHRONOUS (IDoc inbound processing via tRFC)Function Group: EDINProgram Name: SAPLEDINFollowing are the parameters:Table IDOC_CONTROL_REC_40 contains the control record, IDOC_DATA_REC_40 contains the idoc data segments.IDOC_DATA_REC_40 contains a field called SDATA. That field contains an Idoc segment data as a single concatenated string with fixed field ... Read More

Using Rounding Formula in SAP

John SAP
Updated on 30-Jul-2019 22:30:20

475 Views

Try using below formula:Total = R(Quantity * Unit Price * (100 - Discount%) / 100)You need to take out rounding on each step and shouldn’t use Original Price-Discount

Forcing SAP Webi Report to Show Specific Data

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

248 Views

This can be done by creating a separate query that only shows priority. Then you need to replace column [Query1].[Priority] with the merged dimension [Priority].

Load Messages from Excel to SAP Table T100

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

519 Views

You can use built-in translation tool in SAP system that collects short text of message classes, export to an excel file and then you can reimport the translations.With the use of Transaction LXE_Master, you can import the translations of short texts and PDF forms that have previously been exported for offline translation. During import you can create proposals in the proposal pool.It is also possible to create application standards or system standards and you can assign a quality status to the proposals. Call T-Code: LXE_MASTERNavigate to Transport -> Externalization -> Import and this will open the Import Translation Objects screen.In the ... Read More

Scope of Private Access Modifier in Java

George John
Updated on 30-Jul-2019 22:30:20

1K+ Views

The scope of the private modifier lies with in the class. Members that are declared private cannot be accessed outside the class. Private access modifier is the most restrictive access level. Class and interfaces cannot be private. Variables that are declared private can be accessed outside the class, if public getter methods are present in the class. Using the private modifier is the main way that an object encapsulates itself and hides data from the outside world. Example The following class uses private access control public class Logger { private String format; ... Read More

Using Method dumpSetSet Get EntitySet in SAP FM

Giri Raju
Updated on 30-Jul-2019 22:30:20

209 Views

Note that you need to map GetEntitySet to a data source from SEGW - SAP Gateway Service Builder and you will be able to generate runtime objects.For more details you can refer to this link:https://blogs.sap.com/2012/10/26/step-by-step-guide-to-build-an-odata-service-based-on-rfcs-part-1/

Does a Constructor Have a Return Type in Java

Monica Mona
Updated on 30-Jul-2019 22:30:20

5K+ Views

No, constructor does not have any return type in Java. Constructor looks like method but it is not. It does not have a return type and its name is same as the class name. Mostly it is used to instantiate the instance variables of a class. If the programmer doesn’t write a constructor the compiler writes a constructors on his behalf. Example If you closely observe the declaration of the constructor in the following example it just have the name of the constructor which is similar to class and, the parameters. It does not have any return type. public ... Read More

Final, Abstract, Synchronized Non-Access Modifiers in Java

Jai Janardhan
Updated on 30-Jul-2019 22:30:20

483 Views

The abstract keyword is used to declare methods abstract methods and abstract classes. Once a method is declared abstract we should not specify body for those. And once a class is declared abstract it cannot be instantiated. Example Live Demo abstract class Employee { private String name; private String address; private int number; public Employee(String name, String address, int number) { System.out.println("Constructing an Employee"); this.name = name; ... Read More

Java Array Declaration as Static Field, Local Variable, or Method Parameter

Rahul Sharma
Updated on 30-Jul-2019 22:30:20

664 Views

We can declare an array as a local variable or method parameter but, an array cannot be static. Example public class Test{ public void sample(){ static int[] myArray = {20, 30}; System.out.println(); } public static void main(String args[]){ Test t = new Test(); t.sample(); } } Error C:\Sample>javac Test.java Test.java:3: error: illegal start of expression static int[] myArray = {20, 30}; ^ 1 error

Advertisements