Radhakrishna has Published 85 Articles

How to specify whether the form-data should be encoded while submitting to the server with HTML?

radhakrishna

radhakrishna

Updated on 03-Mar-2020 05:34:29

215 Views

Use enctype attribute in HTML to set whether the form-data should be encoded while submitting to the server.ExampleYou can try to run the following code to implement enctype attribute −           Which sports do you like?                 Football           Cricket           Hockey                    

How to specify the number of columns a table cell should span in HTML?

radhakrishna

radhakrishna

Updated on 03-Mar-2020 05:27:24

840 Views

Use the colspan attribute to set the number of columns a table cell should span. You can try to run the following code to implement colspan attribute −                    table, th, td {             border: 1px solid black;          }                     Total Marks                Subject          Marks                       Maths             300                                 Java             450                                 Total Marks: 750                    

how to initialize a dynamic array in java?

radhakrishna

radhakrishna

Updated on 24-Feb-2020 11:16:20

575 Views

Following program shows how to initialize an array declared earlier.Examplepublic class Tester {    int a[];    public static void main(String[] args) {       Tester tester = new Tester();       tester.initialize();    }    private void initialize() {       a = new int[3];       a[0] = 0;       a[1] = 1;       a[2] = 2;       for(int i=0; i< a.length ; i++) {          System.out.print(a[i] +" ");       }    } }Output0 1 2

Loop through an array in Java

radhakrishna

radhakrishna

Updated on 24-Feb-2020 10:19:29

275 Views

Following example shows how to loop through an array using a foreach loop.public class Tester {    public static void main(String[] args) {       int[] dataArray = {1, 2, 3, 4};       for(int i: dataArray) {          System.out.println(i);       }    } }

Sorting an already sorted internal table in ABAP

radhakrishna

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 ... Read More

How to join tables in SAP system

radhakrishna

radhakrishna

Updated on 14-Feb-2020 07:58:44

1K+ Views

If you want to check the relation between different tables, you need to have a minimum read-only access to SAP system.Below is the link to refer information about dictionary structure −https://help.sap.com/saphelp_46c/helpdata/en/ea/e9a3bb4c7211d189520000e829fbbd/frameset.htm

Distinguish SAP ABAP code between clients

radhakrishna

radhakrishna

Updated on 14-Feb-2020 07:57:10

287 Views

You can use field “sy-mandt” to identify the client and then accomplish your requirement by doing something like below −IF sy-mandt = '002'. *do something for Client one ELSE. * do something for client two ENDIFThis field is included in almost all the tables which are client dependent so you ... Read More

Finding where-used list of SAP standard programs

radhakrishna

radhakrishna

Updated on 13-Feb-2020 12:48:11

1K+ Views

You would need to SAPRSEUB. This will enable you to use the where-used functionality of standard SAP programs and provide you with indices of the programs. Please note that this program runs for a long time and require some disk space.SAPRSEUB is a standard Executable ABAP Report available within your ... Read More

Best option for locking bulk user accounts in SAP

radhakrishna

radhakrishna

Updated on 13-Feb-2020 12:30:43

4K+ Views

As you need to do mass maintenance involving user locking and unlocking, you can opt for using SU10 transaction.You can also access this from SAP Menu by navigating to this path −Tools → Administration → User Maintenance → User mass maintenance. In SAP system, you have different transactions under User ... Read More

Changed SAP password not working while resetting using BAPI

radhakrishna

radhakrishna

Updated on 13-Feb-2020 11:30:52

394 Views

You are using the structure Password for resetting the password. It is of type “BAPIPWD” and comprises of a field which is again named as “BAPIPWD”When you need to reset the password, you need to specify the correct field name instead of password.JCO.Structure structPassword = userChangeInput.getStructure("PASSWORD"); sPassword.setValue(nPassword, "BAPIPWD");Read More

Advertisements