Error while using enter "!" on selection screen in SAP.

Samual Sam
Updated on 30-Jul-2019 22:30:20

238 Views

Note that “!” this character removes all characters in the field before data is transported. So you get error message cos of this.

Explain the difference between getColumnHeaders(), getColumnNames() and getColumnTitles() in SAP?

Sai Subramanyam
Updated on 30-Jul-2019 22:30:20

347 Views

getColumnHeaders() − This function is used to return all the columns which are theoretically available. getColumnNames() − This function is used to return a list of columns displayed in a tree getColumnTitles() − This function returns same number of columns as returned by getColumnHeaders()

Difference between the use of Type, Types and TYPE POOL in SAP ABAP programming.

Sai Subramanyam
Updated on 30-Jul-2019 22:30:20

1K+ Views

TYPE keyword is used for Data or FIELD Symbol declaration You use TYPES keyword for defining local types TYPE POOL is used for grouping local types so that you can use them without duplication TYPES: BEGIN OF z_t000, Name TYPE c Length 10. N_id TYPE i. TYPES END OF z_t000. One of the common examples of TYPE POOL is Type Group ABAP. Navigate to Transaction SE11 and select Type Group and type ABAP there then press F7. You will see the body of the type group which is defined by the keyword TYPE-POOL.

How to check a String for palindrome using arrays in java?

Ankitha Reddy
Updated on 30-Jul-2019 22:30:20

9K+ Views

To verify whether the given string is a palindrome (using arrays) Convert the given string into a character array using the toCharArray() method. Make a copy of this array. Reverse the array. Compare the original array and the reversed array. in case of match given string is a palindrome. Example import java.util.Arrays; import java.util.Scanner; public class Palindrome { public static void main(String args[]) { System.out.println("Enter a string "); Scanner sc = new Scanner(System.in); String s ... Read More

Refreshing list viewer data selectively in SAP ABAP

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

198 Views

Only refreshing the selected or the modified rows is compatible or supported in EDIT mode but not in the display mode.As you said, you are using the display mode so I doubt you can do anything. But in case you switch over to EDIT mode from DISPLAY mode, then you can go for and bind the function with the DATA_CHANGED event.You can use the suggested approach and it should work for you. Hope it helps.

How to write on selection screen after giving any user input in SAP ABAP

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

1K+ Views

You can use the WRITE to write on the selection screen. But still you have other options available to accomplish your task.You can choose to show your text in a message which is shown at the bottom of the screen. Also, you can try with a popup to show your required text.Sample snippet: Message 'Your text' TYPE S

Need to update MySQL and SAP database at the same time from a Form

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

259 Views

Yes, you can do that but if you are thinking of making the changes in the existing PHP script so that it takes care of both the tasks. Then it will be quite tough.But if you want to have two operations in parallel then you can have it.You can go for writing a web service which can do the DB update activity. You can also try using the SAP API to do the updates. SAP API has the most common and used methods to do the updates.So you might be able to find the ones for your requirement.You can also ... Read More

Getting error not assigned on running SAP ABAP program

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

939 Views

The error is in field symbol. In future if you encounter such issue you can go through the logs created by ST22. It will help you in detail to understand the issue and its root cause. The reason of your error is that the field symbol is not initialized and you are trying to use it. You should have a habit of checking the content before using.check is ASSIGNED

How to index a table in SAP?

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

1K+ Views

You need to use the transaction SE11. This transaction is used to create indexes on the tables.One main thing to keep in mind over here the way these indexes are moved to production. You need to use the transaction to create indexes in development environment. Once they are created, you need to transport them to the production environment.Once you have made the change, activate the table.

How to communicate from SAP to Message queue?

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

308 Views

Yes, you can do what you are aspiring for. But it depends upon your actual requirement. Let’s say you need to execute the some custom application or program in SAP, then you can opt for any available connector which reads a file or else. This connector then later establishes a connection to the queue and then sends a message.Let’s say you cannot keep polling for files availability, and then you need to use the remote function call methodology. RFC has a SDK available and its online support is tremendous. You can use it too for sending a message. Read More

Advertisements