SAP ABAP Expert has Published 141 Articles

System goes out of memory on establishing connection in a SAP-Delphi integrated project

SAP ABAP Expert

SAP ABAP Expert

Updated on 12-Dec-2019 09:01:04

86 Views

When you are trying to release the object, make sure that you set the query object to null. When you set it to null, it will release the memory for sure. But the scope also plays a role, so make sure it is local to the procedure.Example   Please find a ... Read More

Fetch max date and other field from the same row of a table grouped by other fields in SAP HANA

SAP ABAP Expert

SAP ABAP Expert

Updated on 12-Dec-2019 08:59:54

981 Views

You have done partially correct but just missed one step further to get the desired result. The case where after grouping you need to pick one of the rows from the results, use rank number or rank function.You need to partition your data based on your requirement, then order them ... Read More

Modification not working for both internal table and control table in SAP ABAP

SAP ABAP Expert

SAP ABAP Expert

Updated on 12-Dec-2019 08:22:29

410 Views

There seems to some mistake in your update modle. PFB the updated oneExampleMODULE update INPUT.       MODIFY snctab INDEX ctrl-current_line.     IF sy-subrc 0.        APPEND snctab.     ENDIF.  ENDMODULE.

Is Pivot available in SAP HANA

SAP ABAP Expert

SAP ABAP Expert

Updated on 12-Dec-2019 08:20:20

873 Views

As per my understanding, for requirement #1 you can do something as below:SELECT    Prod.Product_ID, JOB.Job_ID, SUM(J.Time) FROM    TABLE_1 Prod  INNER JOIN TABLE_2 Job ON Prod.Job_Id = Job.Job_ID GROUP BY     Prod.Product_ID, Job.Job_IDSAP HANA does not support Pivot built-in as done by SQL but majorly it looks as ... Read More

Identify SQVI queries formed by a user in SAP project

SAP ABAP Expert

SAP ABAP Expert

Updated on 06-Dec-2019 06:33:17

199 Views

You need to use the function RSAQ_REMOTE_QUERY_CALL_CATALOG for fetching the list of SQVI queries for a user.

Error in JavaServer Faces JSF application in SAP NWDS

SAP ABAP Expert

SAP ABAP Expert

Updated on 04-Dec-2019 09:32:49

59 Views

I think I got what the problem is. Try updating below code line:

Connecting SAP system from C# application via .NET Connector 3.0

SAP ABAP Expert

SAP ABAP Expert

Updated on 04-Dec-2019 09:30:37

663 Views

You can try using below code:                                                                

Error while posting a sales order in SAP from .net application

SAP ABAP Expert

SAP ABAP Expert

Updated on 04-Dec-2019 09:29:37

84 Views

Note that sold to party and ship to party are mandate fields. You need to add the created structures and tables to the function as shown in below code:RfcRepository repo = destination.Repository; IRfcFunction salesDoc = repo.CreateFunction("BAPI_SALESORDER_CREATEFROMDAT1"); IRfcStructure salesHeader = salesDoc.GetStructure("ORDER_HEADER_IN"); salesHeader.SetValue("DOC_TYPE", "ZDLR"); salesDoc.SetStructure(salesHeader); salesDoc.Invoke(destination);For more details you can check BAPI_SALESORDER_CREATEFROMDAT1 ... Read More

Using Switch Ownership option in SAP HANA

SAP ABAP Expert

SAP ABAP Expert

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

737 Views

With use of switch ownership you can take single or multiple inactive objects from other users. Multiple Information views can be created in HANA system and all these views remains inactive until they are activated in HANA Studio. With use of Switch Ownership option, one user can take ownership of ... Read More

Switch ownership option under SAP HANA Perspective

SAP ABAP Expert

SAP ABAP Expert

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

228 Views

Switch Ownership option is available under SAP HANA Modeler Perspective. IF you don’t see it under Modeler perspective, try to reset from top.

Advertisements