Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by Johar Ali
Page 3 of 4
Binding model to sap.ui.core in SAP UI5 application
Please try below where you need to prefix propertyBinding with models name −var oItemTemplate = new sap.m.ActionListItem({ title : "{checks>title}", ... });
Read MoreParsing SAP Logon ticket with .NET
SAP provides SAP SSO EXT Lib for parsing SAP Logon ticket. SAP SSO EXT library supports SAP logon tickets as a part of the java based application.You can download SAP SSO EXT library from SAP service marketplace http://service.sap.com/swdc and then search here for SAPSSOEXT.
Read MoreIn SAP database, Importing table columns with /'s in the name
I would suggest you to use BCP utility to perform an import/export of data to a text file in SQL Server. When you run below command, it loads data to a text file.BCP Db.TN out "Location of the text file " -c -S ServerName –TNow if you want to load data to SQL Server from a flat file, you can use this:BCP Db.TN in "Location of the text file " -c -S ServerName –TYou can also try editing Mappings while loading data from a flat file.
Read MoreRunning a SQL query from specific month in SAP DB
When your T0.name is char filed, you should replace Order By as below −order by case when cast(left (T0.Name,2) as int)>=8 then cast(left (T0.Name,2) as int)-8 else cast(left (T0.Name,2) as int)+4 end
Read MoreWriting a material on SAP system via .NET Connector
Once you create material, you need to call BAPI- BAPI_TRANSACTION_COMMIT. “BAPI_TRANSACTION_COMMIT” is called to COMMIT a database operation. As COMITT statement can’t be called inside BAPI, we call this BAPI to complete COMMIT.Let us say you are editing some table fields in BAPI- as per failure or success, you can perform a COMMIT or ROLLBACK.To perform a COMMIT call BAPI_TRANSACTION_COMMIT. Below is sample COMITT:CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' * EXPORTING * wait = "bapita-wait IMPORTING return = "bapiret2 . " BAPI_TRANSACTION_COMMITYou can see full documentation about BAPI_TRANSACTION_COMMIT:FU BAPI_TRANSACTION_COMMIT____________________________________________________Short TextExecute external Commit when using BAPIsFunctionality:This method executes a COMMIT WORK ...
Read MoreFinding items in SAP Tree using Function
When you use string “1\1” in Java, it gives a valid path and returns the right key. You need the following code:SapTree tree = ...; // initialize somewhere String parentKey = tree.findNodeKeyByPath("1"); tree.expandNode(parentKey); String key = tree.findNodeKeyByPath("1\1");
Read MoreExtending SAP ABAP 30 characters long limit
For SAP ABAP tables, you can enter up to maximum 16 characters. There is a limit of up to 30 characters on use of ABAP Variables, Classes and Method.When you run SE11 you can press F1 and it will show you maximum permitted limit on SAP ABAP Table name.It is not possible to extend this limit as for this you need to make changes in Kernel.
Read MoreIn SAP ABAP, mapping two database table fields
I don’t think there is a way to perform this. The common way to do this is by extending original table and fill the new fields.T-Code: SPDD is somewhat relevant that can be used to compare all the dictionary objects- data elements, tables and structure with old system.T-Code: SPAU can also be used to compare objects –Reports, Programs, Screens, Messages, Notes, Function Modules etc. which have difference in the Latest SAP request and the previous ones. You can use SPAU just after SPDD or when SAP system upgrade is performed.Using SPDD and SPAU, you can view all the modified objects, ...
Read MoreHow to take Backup in SAP system.
Generally, it is not required to take the backup as SAP is very secure system and they keep the backup. But if you still want to take the backup, you would require creating a dummy destination, add the objects/your programs to transport and point it to that dummy destination and release it. Now you can keep the object s from dummy destination to any of your directory.
Read MoreWhat are tokens in Java?
Java tokens are smallest elements of a program which are identified by the compiler. Tokens in java include identifiers, keywords, literals, operators and, separators.
Read More