SAP ABAP Expert

SAP ABAP Expert

115 Articles Published

Articles by SAP ABAP Expert

Page 9 of 12

Using database view in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 21-Feb-2020 995 Views

A view in a database is defined as Virtual table which derives its data from one or more columns of one table or multiple tables. A view can be created using tables of one or more database and is stored in database where it is created.You can find views in SAP HANA Studio under schema name −

Read More

Automating SAP Purchase Request via Eclipse with use of QTP10

SAP ABAP Expert
SAP ABAP Expert
Updated on 17-Feb-2020 225 Views

Note that Eclipse UI is JAVA based so you can automate Eclipse using QTP Java add-ins.To perform QTP Java add-in, Go to Control Panel → Add or Remove Programs and select Quickest Professional from the list. Click on Change button.To perform add-in installation, click on small black down arrow next to the cross button for Java Add-in. Clicking on it would show a small menu with 3 options as shown in the below image.

Read More

Triggering outbound shipment IDoc on change data in SAP

SAP ABAP Expert
SAP ABAP Expert
Updated on 17-Feb-2020 2K+ Views

You need to ensure that Output Type has got "Multiple issuing" checkbox ticked in T-code: V/82. This is available in “General data" section of your message type.It seems to be a configuration issue. You should try checking this:Go to SPRO → Logistic execution → Transportation → Basic Transportation Functions → Output control → Maintain Output determination for shipments → Maintain Output Determination procedure.You can refer this SAP Thread for more details:SAP ThreadRefreshing list viewer data selectively in SAP ABAP

Read More

Executing SAP RFC creates an error: "The current application triggered a termination with a short dump

SAP ABAP Expert
SAP ABAP Expert
Updated on 12-Dec-2019 2K+ Views

This is very generic error and it could be due to any reason: code error, inconsistency in data, or some other issue. You can use T-Code: ST22 to check short dump message in SAP system.This is used to check ABAP Runtime errors- All Client. You need to pass the filter condition, and click on Start

Read More

How to send MATMAS and DEBMAS idoc to other SAP system

SAP
SAP ABAP Expert
SAP ABAP Expert
Updated on 12-Dec-2019 2K+ Views

I would suggest you to use T-code: BD12 to send the complete IDoc of DEBMAS.

Read More

How to avoid memory leakage in SAP B1 DI API

SAP ABAP Expert
SAP ABAP Expert
Updated on 12-Dec-2019 617 Views

The thumb rule goes like this, if you instantiate a DI API object, you have to release it. if you don't release it explicitly, it will result in memory leaks.You can use a ReleaseComObject method to release the object memory. In case if you try to release a null object, it will throw an exception.So, it will be better to have a null check before you try to release the object.Sample snippet:if (obj != null) System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);

Read More

Using SAP ABAP, how can I read content of CSV files in a directory to an internal table?

SAP ABAP Expert
SAP ABAP Expert
Updated on 12-Dec-2019 4K+ Views

There are many functions that can be used to read csv however many are broken and read part of content. You need to go through each file and then process the file content. I would prefer to perform this manually.You can use the READ DATASET to read data from a file on the application server. Below is the syntax:READ DATASET INTO [LENGTH ].Below is SAP documentation link that you can use to know more about reading data from files:SAP DocumentationExampleIncase you are using binary mode, you can use LENGTH to find the length of data transferred to . ...

Read More

In SAP system, auto filling of NAME_1 while entering client number

SAP
SAP ABAP Expert
SAP ABAP Expert
Updated on 12-Dec-2019 285 Views

You should use maintenance view to display name corresponding to customer number. With use of Maintenance view, you can maintain related data in several tables. Check out this link to know more about Maintenance view:SAP LinkTo perform a check for the mandatory, edit the generated screen and in screen flow logic you should add a module to check if the required fields are filled or not. You can also set the field possible to mandatory in the screen field options, however this is not recommended as it will show it as mandatory even for empty lines.SAP Link

Read More

In SAP Crystal Reports, Putting 2 pages of data into a single report

SAP ABAP Expert
SAP ABAP Expert
Updated on 12-Dec-2019 877 Views

You can do this by adding a group based on participant Id as primary key. Then you have to add ran description in group footer.In your group footer settings, check the "New page before" option

Read More

How to map output of a function to an internal table in SAP ABAP using Gateway service

SAP ABAP Expert
SAP ABAP Expert
Updated on 12-Dec-2019 380 Views

You need to just import the function so that it can be used. First, you need to have a ABAP structure which should map the structure of the output parameters.Exampledefine structure zza_enqtstat {     entries_total  : abap.int4;     entries_peak   : abap.int4;     entries_actual : abap.int4; }Then map this newly created structure to a new entity in the gateway project. Now for the function ‘ENQUEUEGETSTAT’’ create a function import. Next step for you will be to redefine the method in DPC_EXT. Save you changes and it should work.

Read More
Showing 81–90 of 115 articles
Advertisements