Found 594 Articles for SAP Basis

Copying ALV layout from one client to another in SAP if they are not user specific

Ramu Prasad
Updated on 30-Jul-2019 22:30:20

499 Views

You can transport your ALV layouts to other system if they are not user specific. This can be performed in Layout Administration by raising a customizing request.Navigate to this path for Layout Administration:Main Menu -> Settings -> Layout -> Administration

Adding rows in an internal table with header line in SAP ABAP

karthikeya Boyini
Updated on 13-Mar-2020 05:12:12

1K+ Views

Note that you shouldn’t use headers with internal tables. As you are using it, and header of in_table2 is empty. Use the loop to print it as below −LOOP AT in_table2.   "here in_table2 means table (an internal table)   WRITE / in_table2. "here in_table2 means the header of the table (a structure) ENDLOOP.When you have headers with internal tables, you shouldn’t use it in the same way. You should use field symbols for looping and append like this −FIELD-SYMBOLS: LIKE LINE OF in_table2[]. LOOP AT in_table2[] ASSIGNING .   WRITE / . ENDLOOP.

How to join tables in SAP system

radhakrishna
Updated on 14-Feb-2020 07:58:44

812 Views

If you want to check the relation between different tables, you need to have a minimum read-only access to SAP system.Below is the link to refer information about dictionary structure −https://help.sap.com/saphelp_46c/helpdata/en/ea/e9a3bb4c7211d189520000e829fbbd/frameset.htm

Adding items to table using function in SAP

mkotla
Updated on 14-Feb-2020 07:56:32

108 Views

Try replacing below statement with other mentioned −IRfcStructure articol = repo.GetStructureMetadata("Z_ITEMS") as IRfcStructure;You need to replace this by −

Converting date type SYDATUM in a format like MM/DD/YY in SAP ABAP

Alankritha Ammu
Updated on 13-Feb-2020 10:53:43

4K+ Views

It depends if you want to write it to a list screen or you want to convert it to a text variable. To write it to a list screen, you can use below code −WRITE I_my_dateMM/DD/YYYYTo convert it to a text variable, you can use below command −WRITE l_my_dateTO l_my_text MM/DD/YYYYIf you want to set the date in SAPscript form, you can use SET DATE MASK command. You can specify date fields to be printed in specified format −/: SET DATE MASK= 'date_mask'In the date mask, you can use the following codes −DD: day (two digits) DDD: day name - ... Read More

Creating a Function module in ABAP to take any table and write it to the screen

Manikanth Mani
Updated on 12-Jun-2020 13:49:01

1K+ Views

SAP List Viewer is used to add an ALV component and provides a flexible environment to display lists and tabular structure. A standard output consists of header, toolbar, and an output table. The user can adjust the settings to add column display, aggregations, and sorting options using additional dialog boxes.You can use following code to display any table:DATA: go_alv TYPE REF TO cl_salv_table.    CALL METHODcl_salv_table=>factory    IMPORTING       r_salv_table = go_alv    CHANGING       t_table     = itab.  go_alv->display( ).Another Dynamic Way to Output Any Internal Table is by using field-symbol, this is a ... Read More

Fetching list of products from SAP: connecting SAP database from .net application

Monica Mona
Updated on 12-Dec-2019 06:53:34

162 Views

You can troubleshoot by trying a telnet to SAP system.Open a command prompt on the system you are running your .net application and try to telnet server having SAP system installed.Telnet 127.0.0.1 3300If you using a local system, try using a hostname instead of loopback IP address and make an entry in host file of the system.How to find host file in the system?Press the Windows key.Type Notepad in the search field.In the search results, right-click Notepad and select Run as administrator.From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts.Make the necessary changes to the file. Click File -> Save to save your ... Read More

ABAP dump while creating an entry in SAP system using SAP JCO

Ayyan
Updated on 14-Feb-2020 05:43:45

314 Views

This seems to be a problem at ABAP side and not Java side. This is an ABAP dump and you need to useTransaction code: ST22 on ABAP backend to check functional module inSAP system.Once you get the exact details of ABAP dump you are getting, you need to edit the calling method to create an entry.

Finding where-used list of SAP standard programs

radhakrishna
Updated on 13-Feb-2020 12:48:11

756 Views

You would need to SAPRSEUB. This will enable you to use the where-used functionality of standard SAP programs and provide you with indices of the programs. Please note that this program runs for a long time and require some disk space.SAPRSEUB is a standard Executable ABAP Report available within your SAP system.SAPRSEUT Update Object Lists after TransportSAPRSEUB Generate Where-Used List (For All Programs)SAPRSLOG Refresh Navigation Indexes and Object ListsNote −Note that this report needs around 10 GB space in the DB and takes about 2 days to complete.

Benefits of Transaction SE83- SAP reuse library

mkotla
Updated on 13-Feb-2020 12:46:56

280 Views

Reuse library is basically a repository for various function and classes that can be used. One of the main benefits is that it has a number of source code examples for these functions present. These examples are quite useful as these could be used as a base code and you don’t have to start from scratch. I don’t think that it is used for documentation of internal functions, although it varies from user to user and can be used for keeping the documentation.There are no regular updates scheduled with various releases.Menu Path for transaction SE83 −SAP Menu→Tools→ABAP Workbench→Overview→Reuse LibraryTransaction Description: ... Read More

Advertisements