Found 1044 Articles for SAP

Existing RFC to load table data, and to get list of tables and list of BAPI’s in SAP

Akshaya Akki
Updated on 16-Mar-2020 06:57:46

843 Views

I am not sure that there exists a BAPI to see list of all BAPI’s in SAP system. You can use the Function module RFC_FUNCTION_SEARCH to search for function modules starting with BAPI*.ExampleYou can call Function Module-BAPI_MONITOR_GETLIST to get list of all available BAPI’s.CALL FUNCTION'BAPI_MONITOR_GETLIST' EXPORTING OBJECTTYPE = p_ojtpe SHOW_RELEASE = p_rel BAPIS_POTENTIAL = p_poten BAPIS_NEW = p_new_pabi BAPIS_OLD = p_old_bapi RELEASED_BAPI = p_rel_bapi RELEASED_FUNC = p_released_func IMPORTING RETURN = d_ret TABLES COMPONENTS2SELECT = int_cs SYSTEMS2SELECT = int_sss BAPILIST = int_bapilistThere exists a Function module - RFC_READ_TABLE, this can be used for external access to SAP R/3 system via RFC.Using ... Read More

Using ABAP Function module RSAQ_REMOTE_QUERY_CALL, NO_DATA_SELECTED exception using selection parameters

Manikanth Mani
Updated on 14-Feb-2020 05:44:59

314 Views

As SAP provides flexible options that allow selection parameters easy to use. As you are using multiple parameters please note the following:Set KIND to “s” only for using select option. If you are using parameters, it should be “P”Instead of using EN, try using internal language “E”RSAQ_REMOTE_QUERY_FIELDLIST- this function module can be used to find the types as below −Use T-code SE37 and enter the FM name → Display

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

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

236 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

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

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

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

171 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

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.

Using table parameter in SAP RFC Function module

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

1K+ 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

300 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

418 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

Advertisements