Found 1044 Articles for SAP

RFC returns exception while using SAP RFC_READ_TABLE to output data to software

Swarali Sree
Updated on 30-Jul-2019 22:30:20

303 Views

You can check if there are any short dumps in SAP system using T-Code: ST22. When there are short dumps, it leaves ABAP Processor in an invalid state. This results in a failed call with an unspecified error message.

Connecting to SAP R/3 system via JCo client and JCo Server

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

570 Views

In JCo3.0, Java client JCO.Client is replaced by JCoDestinations. You can connect to SAP system via Inbound RFC Communication (Java calls ABAP) or via Outbound RFC Communication (ABAP calls Java).For inbound RFC communication, you need to use JCoDestination for executing a remote function module at ABAP side. To use inbound RFCs, you have to use “JCoDestination” which executes a Function module remotely at ABAP side and while using outbound RFCs, you have to configure a JCoServer at the SAP gateway that is responsible to receive incoming requests from ABAP side and process remote function module at Java side.To know more ... Read More

Taking schema wise backup in SAP HANA

vanithasree
Updated on 14-Feb-2020 08:11:37

357 Views

Data backup in any RDBMS system comes under Data Persistence layer. SAP HANA holds the bulk of its data in memory for maximum performance, but it still uses persistent storage to provide a fallback in case of failure.When you refer a schema in database, it refers to a namespace in the database. It is not possible to take backup schema wise as you do for complete database.However it is possible to export a schema using below command −EXPORT "MY_SCHEMA".* AS BINARY INTO '/tmp/my_schema' WITH REPLACE;SyntaxEXPORT AS INTO [WITH ] [ ]Note that you shouldn’t take schema ... Read More

Sorting an already sorted internal table in ABAP

radhakrishna
Updated on 14-Feb-2020 08:06:16

2K+ Views

If you leave 2nd sort, it would be quicker as itab will be there in right order.SORT itab by f1 f2 f3. READ TABLE itab WITH KEY f1 = 'A'    f2 = 'B'    f3 = 'C' BINARY SEARCH. READ TABLE itab WITH KEY f1 = 'A' BINARY SEARCH.When 2nd READ TABLE is by f2, you should leave the SORT and BINARY SEARCH as well. In best case scenario, SORT + BINARY SEARCH speed is n+log(n).Also note that worst case of sort is n log n.

Moving TABKEY from CDPOS table into field structure in ABAP

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

307 Views

I would suggest you make use of Function Module CHANGEDOCU_KEY_ANY2CHAR and other FM’s of function group SCD8. This function module performs the reverse function.Function Module: CHANGEDOCU_KEY_ANY2CHARFunction Group: SCD8Program Name: SAPLSCD8You can refer this SAP link to see all Function modules available and their description under this Function Group:https://help.sap.com/viewer/c14d25a8f471453590980dbb47a2aa0e/7.40.15/en-US/48d8fd10f63a3e49e10000000a421937.html

Retrieve list of linked documents in SAP

Sharon Christine
Updated on 10-Dec-2019 10:24:23

96 Views

There are lots of RFC present to fetch the list of documents. You can try any permutation and combination to identify which suits your requirementBAPI_MATERIAL_GETLISTBAPI_DOCUMENT_GETOBJECTDOCSBAPI_DOCUMENT_GETOBJECTLINKSBAPI_DOCUMENT_GETDETAIL I prefer that you better try with BAPI_DOCUMENT_GETOBJECTDOCS, I have used it to achieve something similar in the past.

Edit report generated from SAP Crystal Reports

Sai Subramanyam
Updated on 30-Jul-2019 22:30:20

261 Views

It does not seem to be feasible to edit the report once generated. You cannot add a constraint or logic to allow your report to be editable.But there does exist a work around, what you can do is: First export the report and then you can change the mode of the document toRestrict Change or Editing. You can write custom code to perform this operation.

Use existing authentication along with SAP BO

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

115 Views

It is one of the most common extension points in an existing ecosystem. With the latest release of BO, you can use active directory based logins mapped under windows server.

Generate Database diagram within SAP

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

653 Views

Generating the database diagram completely as generated in SQL server or other DBMS is not possible over here. But there are couples of ways that can be of small help in your case. Firstly, you can refer to Object Model guide present in the SAP market place. This guide will explain you the most common relations between the most popular and common business objects It does not cover each and every bit of the database but the most common bad highly usage one are covered. Secondly, if required you can generate diagram of a single table by displaying it in ABAP transaction ... Read More

Read a date filter as input in WEBI report in SAP BO

Prabhas
Updated on 14-Feb-2020 08:03:12

365 Views

Your requirement is one of its kinds but can be achieved. What you can try out is first create a brand new object in the context. Let's say you provided the date as first input and 5 as a weekly slice in the second input. [Date+5]=DATEADD(@prompt('Slice','X'{'Day','Month','Year'},mono,constrained,persistent),5,@prompt('Date','date',mono,free,persistent))Here X refers to your slice and date refers to the date input.Then you can just add another filter to the report using this.

Advertisements