Articles on Trending Technologies

Technical articles with clear explanations and examples

OnInit method is not getting called again when navigating back and forth from a view in SAPUI5

Anil SAP Gupta
Anil SAP Gupta
Updated on 17-Feb-2020 880 Views

You have identified the correct use case as it is by design as you have navigated back and forth, it renders the last version rendered and OnInit() does not gets called. But if you want to override this behavior, SAP lets you do it.You can delegate to the patternMatched event of router, so that wheever the view is rendered the OnInit() method is invoked.this.getOwnerComponent().getRouter().getRoute("").attachPatternMatched(, this);You need to attach the even handler to the router in the init method of the controller. Hope it helps and sorts out your requirement.

Read More

How to hide and show a column of a row in SAP Detail window

SAP
Anil SAP Gupta
Anil SAP Gupta
Updated on 17-Feb-2020 716 Views

You just need to set the expression which binds to the visibility propert. Go to Data window and select your desired column which you need to show/hide. Then go to properties and look out for the “Visible” checkbox and click on the highlighted button.Now write the expression which should drive its visibility. Hope it helps.

Read More

How to show only one view at a time in Wizard in SAP UI5?

Anil SAP Gupta
Anil SAP Gupta
Updated on 17-Feb-2020 447 Views

I will say not it is not a big out of box requirement. You can easily get it done. What you need to do is to hook up your requirement in the complete event of the wizard which gets invoked on each step completion. You just need to hide the completed view and show the next view. So you will be viewing only one view at a time.onComplete: function(oEvent) { var wdStep = oEvent.getSource(); wdStep.setVisible(false); }

Read More

Not able to call another function within initialize method of controller in SAP UI5.

Anil SAP Gupta
Anil SAP Gupta
Updated on 17-Feb-2020 597 Views

Yes, you are absolutely correct. It is very basic thing, you just need to use this operator for making the function call.onInit: function() { //Your logic this.CustomFunction(); } CustomFunction : function () { // some logic }

Read More

How can I refer a certain class/interface/ by enclosing it with its namespace SAP.NET

Anil SAP Gupta
Anil SAP Gupta
Updated on 17-Feb-2020 125 Views

Note that you have to ensure that you are using .NET framework and not .NET 4.0 client. Refer this link and you would get an idea:SAP Discussion

Read More

View the valid values of profit center groups in SAP ABAP

Anil SAP Gupta
Anil SAP Gupta
Updated on 17-Feb-2020 382 Views

You need to select SETNAME from table SETLEAF with SETCLASS value 0106. To reduce number of values in search you can pass a Controlling area in field SUBCLASS or value of Profit center in VALFROM field.For more details, refer this SAP discussion: How to find profit center group for any profit centerSAP DiscussionOpen the Table SETLEAF, and follow below steps:Pass in field SETCLASS as '0106'.Pass in field SUBCLASS with controlling area.Pass Profit center in Field VALFROM.You will get Group name in Field SETNAME.

Read More

Rows with no data are visible after applying search in grid SAP UI5

Anil SAP Gupta
Anil SAP Gupta
Updated on 17-Feb-2020 518 Views

The “No Data” rows are being shown in the grid irrespective of having no data is because of the “VisibleRowCount” attribute of the control. It controls the number of visible rows. So, once you are binding the table again after applying the filters, you need to update it dynamically to the number of rows in the matched result.Something similar to this −onBindingChange: function(oEvent) { this.getView().byId("").setVisibleRowCount(oEvent.getSource().getLength()); }

Read More

Use of fields PWDCHGDATE and BCDA1; PWDLGNDATE and TRDAT table USR02 in SAP

SAP
Anil SAP Gupta
Anil SAP Gupta
Updated on 17-Feb-2020 510 Views

You can use RSUSR200 program, to perform a check on the fields: BCDA1 and PWDCHGDATE for the last password change. Earlier only BCDA1 was only used for this however there is difference now.You can use RSUSR200 report directly to find out the users according to the logon date and last password change.For those users for whom the password-based logon is deactivated, incorrect logons that occurred prior to deactivation are used as selection criterion and are incorrectly issued in the results list.If the login/disable_password_login profile parameter is used to deactivate the password-based logon, the password status is not correctly displayed.The influence ...

Read More

Load placed on server to perform encryption in SAP Secure Network Connection

SAP
Anil SAP Gupta
Anil SAP Gupta
Updated on 17-Feb-2020 176 Views

When you use encryption, primary load is during initial handshake between client and server. At the time of initial handshake, keys are exchanged. Load of Secure Network Connection SNC using DIAG to HTTPS is different and can’t be compared.With use of F5 servers, it can be used for software and hardware acceleration of HTTPS and not for DIAG protocol.https://f5.com/You can also refer SNC guide for more information if you have SAP Partner ID.SAP Link

Read More

With use of SAP .NET Connector to perform an upgrade

Anil SAP Gupta
Anil SAP Gupta
Updated on 17-Feb-2020 449 Views

You have SAP Portal Development Kit PDK for .NET that can be used to connect SAP to Visual Studio 2003, 2005, 2008. SAP Portal Development Kit PDK for Microsoft.NET (PDK for .NET) is a set of tools that enables .NET developers to build portal content for SAP NetWeaver Portal. Using PDK for .NET allows organizations to leverage their existing investments in the Microsoft .NET technology and developer skills, as well as to take advantage of the SAP NetWeaver technology.SAP Portal Development Kit PDK for .NET package contains below components −PDK contains a Portal Add-in for Visual Studio VSIt also has ...

Read More
Showing 54951–54960 of 61,297 articles
Advertisements