Found 1044 Articles for SAP

While changing Partner number, VBA code keeps running while interacting with SAP system

Mohd Altamas
Updated on 30-Jul-2019 22:30:20

106 Views

The best possible solution to avoid this issue is by adding breakpoints to the best places. This issue is common with VBA and C# while debugging code includes COM libraries.

How to check if an element has a certain class name with jQuery?

Alex Onsman
Updated on 14-Feb-2020 05:06:17

246 Views

To check if an element has a certain class name with jQuery, use the hasClass() method. You can try to run the following code to check if an element has a certain class name i.e. 'myclass' in the following example:ExampleLive Demo                          $(document).ready(function(){              $("button").click(function(){                  alert($("h2").hasClass("myclass"));              });          });                      .myclass {            color: blue;          }                     Heading       This is demo text.       Check: The h2 element has 'myclass' class?    

Using constants in ABAP OO method

V Jyothi
Updated on 13-Feb-2020 10:08:34

198 Views

Your INCLUDE should only contain definitions of constants nothing else and then the answer is straightforward.Select Goto → Class - whichever local definition and then add an INCLUDE statement. This will expose all the constants “INCLUDE” in your implementation.

Accessing import parameters passed to a function module in SAP ABAP

Samual Sam
Updated on 30-Jul-2019 22:30:20

736 Views

ABAP has a function module named “RPY_FUNCTIONMODULE_READ” which lets you extract metadata about the function module. To be more precise, it lets you extract the parameter structure of function module and once you know the parameters then you can access them dynamically. But it comes at a cost, if you need to accomplish it, you should have S_DEVELOP authorizations permissions and it will be a performance intensive operation.Another way round will be to add tracing or logging to function parameters manually.In addition to this, ABAP has a utility class “CL_FB_FUNCTION_UTILITY” which has various methods. One of them is “METH_GET_INTERFACE” which ... Read More

Learning about SAP ABAP CDS views

Sravani S
Updated on 12-Jun-2020 12:38:57

2K+ Views

First thing, whether it is CDS or ABAP or anything pertaining to SAP, you can always find free courses on  https://open.sap.com/  referred as Open SAP. Besides this, there are lot of free help as well just Google it and the result list is huge.There are various self-learning tutorials site that provides free study material with use cases that can also be referred - https://www.tutorialspoint.com/sap_abap/

Converting a file into a byte array in SAP ABAP

Ramu Prasad
Updated on 05-Dec-2019 07:49:09

606 Views

Here is a code snippet to do the same.data: f_line type xstring.               // to get line by line content data: f_file type table of xstring.      // to get the final content data: f_filename type string value 'samplefile.txt'.   // store the filename of file data: f_len type i. open dataset f_filename for input in binary mode.   // read the binary read dataset f_filename into f_line length f_len.  // get the number of lines in the file while f_len > 0.               // ... Read More

I don’t want configuration information to be transferred with the database in SAP ABAP

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

83 Views

The straight answer to this is a big NO. This is one of the most common places of error in the SAP environment. When you create a clone of your production in the form of QA with most of the things as it is from production, you need to make sure that any action in QA after cloning doesn’t have any implication or effect on actual production.To handle such a use case, you need to rely on SAP transport and Change management. You need to use the provided transports to alter the existing configurations to QA.

Importing/Exporting ABAP packages to Presentation server

Ankitha Reddy
Updated on 30-Jul-2019 22:30:20

386 Views

You can either go for some tools like SAPlink in this case. SAPlink will let you export custom objects. In case if you want to package them, it is possible to use SAPlink, however, I doubt that it covers all types.Another way using basis is that you can configure to add the required objects to a Transport in SAP system, set the destination where you want the backup objects to be stored and then release them to apply the transport. You can programmatically (or manually) take the transported files and do whatever you want.

Properties of SAP ABAP Development Objects

Nikitha N
Updated on 05-Dec-2019 07:51:37

144 Views

Similar to reflection in JAVA we have RTTS in SAP. RTTS stands for runtime type services. It provides you with ways to retrieve the definitions of variables and lets you create a new variable during program execution. RTTS comprises of two sub-componentsRTTI – Run Time Type IdentificationRTTC – Run Time Type CreationAs the name suggests, RTTI is responsible for retrieving the definitions of variables and types Whereas RTTC is responsible for the creation of new variables with provided definition at run-time.

Comparing SAP ABAP Field symbols and data reference with Pointers in C

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

591 Views

Field symbol resembles pointer in C but there is one main difference: you can use Field Symbol only to access the values present in it but not the memory address. Similar to a pointer in actual, it stores the memory address of the variable that was assigned to it. You can see the data held by the variable but you cannot fetch the memory address. Similar to a pointer, in case if you make changes to data referenced by field symbol, it changes the value at the original place too. Data reference too resembles pointer at a high level. You ... Read More

Advertisements