ABAP Articles

Page 7 of 9

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

Generating SAP ABAP code/ script from XML coming from an external application

Ankitha Reddy
Ankitha Reddy
Updated on 30-Jul-2019 934 Views

Yes, this is feasible. You can create simple transformation for XML in ABAP. You can also use cl_proxy_xml_transform to transform data between XML and ABAP. Let us say that you have created ABAP proxy using T-Code: SPROXY or it is generated via WebService generation utility, you can use utility class “cl_proxy_xml_transform” to convert data of the ABAP to XML format or also from XML → ABAP.

Read More

Skipping mandatory fields in an ABAP screen

Ali
Ali
Updated on 30-Jul-2019 1K+ Views

You can make use of function code which is assigned to push button with “Exit” as function type and an event “AT SELECTION-SCREEN ON EXIT-COMMAND” to achieve this.A call is made to this event to validate the fields on the screen and you can implement all logic here.

Read More

Can we get same features in SAP ABAP as they are in VS?

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 136 Views

If you want to show all the occurrences of a variable in an ABAP program, you can use a shortcut- ctrl+shift+F3 or you can also make use of Yellow icon at the top.

Read More

How to use EXPORT / IMPORT to Memory ABAP – SAP?

Monica Mona
Monica Mona
Updated on 30-Jul-2019 1K+ Views

As per your requirement, you are utilizing ABAP memory to transfer data to background session from session of the user. It will not work as per the standard documentation.  RFC or updates module will run in different user sessions with different ABAP memory and hence it will not be possible.

Read More

Refreshing list viewer data selectively in SAP ABAP

SAP ABAP Expert
SAP ABAP Expert
Updated on 30-Jul-2019 187 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.

Read More

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

SAP ABAP Expert
SAP ABAP Expert
Updated on 30-Jul-2019 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

Read More

Getting error not assigned on running SAP ABAP program

SAP ABAP Expert
SAP ABAP Expert
Updated on 30-Jul-2019 926 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

Read More

How to switch between different views in ALV Grid in SAP ABAP?

Anil SAP Gupta
Anil SAP Gupta
Updated on 30-Jul-2019 801 Views

You can achieve something similar to your requirement. Firstly, you need to fetch the layout key information from the layout object. You can look for disvariant to get the key information if not able to find. Then use the key information to specify different handles for different data types. So basically you are having different layouts for different inputs or data types. As soon as you change the data type, the handle will do its job and display will change accordingly. Hope it helps!

Read More

Storing static attribute values in ABAP

Srinivas Gorla
Srinivas Gorla
Updated on 30-Jul-2019 465 Views

Static attributes of a class and the global variables of a function pool are dealt in a similar manner. In an abstract manner, you can consider static attributes as global variables. How global variables are reinitialized with a new internal session, static attributes do get reinitialized with the new internal session- this can be verified using a recursive function call.

Read More
Showing 61–70 of 84 articles
« Prev 1 5 6 7 8 9 Next »
Advertisements