Found 1039 Articles for SAP

In ABAP, How to select all the data into my internal table using loops?

usharani
Updated on 10-Dec-2019 08:35:38

387 Views

There are different ways that you can use to check the performance of your program. As per my understanding, you can join all tables like this:SELECT t11~orgeh t11~msty t11~mshort t12~position t13~job t14~job_grade t14~scheme    INTO gt_my_combined_table    FROM zgerpt_rnk_min as t11    JOIN hrp1001 as t12    ON t11~orgeh = t12~objid    JOIN hrp1001 as t13    ON t12~position = t13~objid    JOIN hrp9003    ON t13~job = t14~objid WHERE t12~otype = 'O' AND    T12~sclas = 'S' AND    T12~begda LE p_keydt AND    T12~endda GE p_keydt AND    T12~plvar ='01' AND    T12~istat = '1' AND    T12~objid ... Read More

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

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

220 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

Adding a text plus and text written from a parameter type C in ABAP

varun
Updated on 10-Dec-2019 08:38:36

260 Views

This can be achieved by using String Expressions or by using CONCATENATE keyword. With the use of “Concatenate” operator && you can do this.To use String Expressions, you should check online documentation and sample programs by using T-code: ABAPDOCU as shown above.You can also refer to below link for ABAP documentation:https://help.sap.com/doc/abapdocu_731_index_htm/7.31/en-US/index.htm

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

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

428 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.

Using table parameter in SAP RFC Function module

Sharon Christine
Updated on 30-Jul-2019 22:30:20

2K+ Views

RFC enabled function modules, you should use a structure as line type for the table.  You should declare a dictionary structure Z_MY_PARTS_DATA with a single field DESCRIPTION TYPE CGPL_TEXT2.Declare a data dictionary table type Z_MY_PARTS_TABLE using this structure.Next is to use the table type in Function module.

While using SAPJco 3.0.11 with Maven, I can’t rename original archive sapjco3.jar

Manikanth Mani
Updated on 30-Jul-2019 22:30:20

411 Views

If you need a standalone application, you can use maven-assembly-plugin that can handle JAR with renaming in resulting artifacts.Also, this problem is with 3.0.11 and older versions like 3.0.6 don’t have the same problem.You can also refer this SAP blog for more details:https://blogs.sap.com/2013/04/05/using-jco-without-nwds/

Using SAP JCO to connect SAP server to JAVA application

Prabhas
Updated on 25-Jun-2020 21:09:32

2K+ Views

I would suggest you to use below instead of JCO_AHOST and JCO_SYSNR:Use JCO_R3NAME with system ID of the target hostUse JCO_MSHOST with message server host name or IP addressUse JCO_MSSERV with message server port numberUse JCO_GROUP with the name of the logon groupYou can refer to below link to check a working example:https://sourceforge.net/p/rcer/git/ci/master/tree/net.sf.rcer.conn

Checking table existence using Class and it’s method in SE11 without using FM in ABAP

seetha
Updated on 10-Dec-2019 07:19:00

656 Views

To perform this without using Function module, you can use class- “cl_rebf_ddic_tabl”. Note that Class methods are almost similar to function modules. They are defined as code blocks to perform specific functionality.ExampleTry using below code: CALL METHOD cl_rebf_ddic_tabl=>exists EXPORTING    id_name = [table name]    id_tabclass = 'TRANSP' " For table    * if_noview = ABAP_FALSE       receiving       rf_exists = yes   . This will return “X” if the table exists in Transaction SE11.CALL METHOD CL_REBF_DDIC_TABL=>methodname EXPORTING/IMPORTING GET_TEXTTAB - Supplies the Corresponding Text Table GET_COMPLETE - Supplies All Technical Information GET_DETAIL_X - Supplies Extended Header Data GET_FIELD_LIST - ... Read More

Displaying Records with maximum event number for each group in SAP Crystal Reports

Lakshmi Srinivas
Updated on 11-Dec-2019 07:40:46

463 Views

I would suggest using this logic to suppress details if the current record is not the record with the maximum amount for the group.//Suppress Details if the current record is not the record with the maximum amount for the group {Event.Event_no}maximum({Event.Event_no},{Deal_NO})This will suppress each record except records with the maximum amount each group.

Finding the table from which data is fetched in SAP

Giri Raju
Updated on 13-Feb-2020 12:49:48

1K+ Views

You can get the data if it is displayed in a transaction. Here are the steps you need to follow.a) First point the cursor on the field for which you want to get the data.b) Press F1 for help. This will open a dialog with heading “Performance assistant”c) Click on the “Technical information” button. This will open up another dialog boxd) You will be able to find “Table name” and “Field name”Generally, this will tell you the table in the database .If you are not able to get the required information, run a trace using ST05. In SAP system, SQL trace ... Read More

Advertisements