View Valid Values of Profit Center Groups in SAP ABAP

Anil SAP Gupta
Updated on 17-Feb-2020 12:31:53

313 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.

Rows with No Data Visible After Search in SAP UI5 Grid

Anil SAP Gupta
Updated on 17-Feb-2020 10:56:18

459 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()); }

Count All Sub-Sequences Having Product K - Recursive Approach in C++

Ayush Gupta
Updated on 17-Feb-2020 10:49:05

232 Views

In this tutorial, we will be discussing a program to find the number of sub-sequences having product k) {       discard_count += power(2, n - i);       return;    }    if (i == n)       return;       float rem = prefix[n - 1] - prefix[i];    if (sum + a[i] + rem > k)       solve(i + 1, n, sum + a[i], k, a, prefix);    if (sum + rem > k)       solve(i + 1, n, sum, k, a, prefix); } int countSubsequences(const int* arr, ... Read More

Count All Possible Walks with Exactly K Edges in C++

Ayush Gupta
Updated on 17-Feb-2020 10:45:04

155 Views

In this tutorial, we will be discussing a program to find the number of walks from a source to a destination with exactly k edges.For this we will be provided with a graph and the values of source and destination. Our task is to find all the possible paths starting from the source to the destination having exactly k edges.Example Live Demo#include using namespace std; #define V 4 //counting walks using recursion int countwalks(int graph[][V], int u, int v, int k){    if (k == 0 && u == v)       return 1;    if (k == 1 && graph[u][v])       return 1;    if (k

Count Prefixes of Binary Array Divisible by X in C++

Ayush Gupta
Updated on 17-Feb-2020 10:40:52

118 Views

In this tutorial, we will be discussing a program to find the number of prefixes of the binary array which are divisible by x.For this we will be provided with binary array and a value x. Our task is to find the number of elements whose prefixes are divisible by given value x.Example Live Demo#include using namespace std; //counting the elements with prefixes //divisible by x int count_divx(int arr[], int n, int x){    int number = 0;    int count = 0;    for (int i = 0; i < n; i++) {       number = number ... Read More

Use of PWDCHGDATE, BCDA1, PWDLGNDATE, and TRDAT in USR02 Table in SAP

Anil SAP Gupta
Updated on 17-Feb-2020 10:39:32

392 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

Count Quadruples from Four Arrays Where XOR Equals X in C++

Ayush Gupta
Updated on 17-Feb-2020 10:39:07

234 Views

In this tutorial, we will be discussing a program to find the number of quadruples from four arrays such that their XOR equals to x.For this we will be provided with four arrays and a value x. Our task is to count all the quadruples whose XOR is equal to the given value x.Example Live Demo#include using namespace std; //counting quadruples with XOR equal to x int count_quad(int a[], int b[], int c[], int d[], int x, int n){    int count = 0;    for (int i = 0 ; i < n ; i++)       for (int ... Read More

Load for Encryption in SAP Secure Network Connection

Anil SAP Gupta
Updated on 17-Feb-2020 10:37:51

129 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

Upgrade Using SAP .NET Connector

Anil SAP Gupta
Updated on 17-Feb-2020 10:36:46

385 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

Count All Prime Length Palindromic Substrings in C++

Ayush Gupta
Updated on 17-Feb-2020 10:36:09

190 Views

In this tutorial, we will be discussing a program to find the number of prime length palindromic strings.For this we will be provided with a string. Our task is to count all the sub strings which are palindromes and have prime lengths.Example Live Demo#include using namespace std; //checking for a palindrome bool if_palin(string str, int i, int j){    while (i < j) {       if (str[i] != str[j])          return false;       i++;       j--;    }    return true; } //counting palindrome with prime length int count_prime(string str, int ... Read More

Advertisements