Johar Ali

Johar Ali

31 Articles Published

Articles by Johar Ali

Page 3 of 4

Binding model to sap.ui.core in SAP UI5 application

Johar Ali
Johar Ali
Updated on 14-Feb-2020 324 Views

Please try below where you need to prefix propertyBinding with models name −var oItemTemplate = new sap.m.ActionListItem({    title : "{checks>title}",    ... });

Read More

Parsing SAP Logon ticket with .NET

Johar Ali
Johar Ali
Updated on 14-Feb-2020 326 Views

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 More

In SAP database, Importing table columns with /'s in the name

Johar Ali
Johar Ali
Updated on 28-Jan-2020 209 Views

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 More

Running a SQL query from specific month in SAP DB

Johar Ali
Johar Ali
Updated on 28-Jan-2020 381 Views

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 More

Writing a material on SAP system via .NET Connector

Johar Ali
Johar Ali
Updated on 11-Dec-2019 446 Views

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 More

Finding items in SAP Tree using Function

SAP
Johar Ali
Johar Ali
Updated on 10-Dec-2019 226 Views

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 More

Extending SAP ABAP 30 characters long limit

Johar Ali
Johar Ali
Updated on 30-Jul-2019 2K+ Views

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 More

In SAP ABAP, mapping two database table fields

Johar Ali
Johar Ali
Updated on 30-Jul-2019 625 Views

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 More

How to take Backup in SAP system.

SAP
Johar Ali
Johar Ali
Updated on 30-Jul-2019 776 Views

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 More

What are tokens in Java?

Johar Ali
Johar Ali
Updated on 30-Jul-2019 2K+ Views

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
Showing 21–30 of 31 articles
Advertisements