We have all needed methods and implicit enhancement is also created so we can create a program to call MB51. We have to create a structure for ALV and include in it type t_list from our class which I've ...
... SAP function modules provides proper checks inside them, but in many cases developer should take care about them inside the coding. The code I will provide below will scan program for AUTHORITY-CHECK statement ...
... mind that showing indicator too often can slower your program. Both of the methods will make that the counter for application runtime will be reset, but be careful this can make you application run really ...
... some hours on that I gave up. But it returned someday I just simply saw FM 'RS_PROGRAM_INDEX' and that was enough to create fast a method to free all global data for me. So let's start with ...
... a demo program (ZDEMO_AIN_CL46) to show you, how the COL_ID is changing on a base of COL_POS. On the selection screen you can find two radio-buttons.
Figure 120 ZDEMO_AIN_CL46 Selection ...
... then this setting of field catalog has no impact on display.
For my demo program ZDEMO_AIN_CL43, I’ve created a field catalog with REF_TABLE filled for all fields, so it is easier to understand ...
... deep dive into topic, to understand how we can use this interface and for which purpose.
Seems that, using this interface, you can call from ALV grid an BW Query, SAP Query, ABAP Report Program or ...
... Data Type
Table 2 Possible data types in NW 7.52 SP04
In the sample program, you can play with the settings of this field, but as mention before, the noticed changes will not be ...
... the demo program I’ve used data element S_CONN_ID to show you how does it work.
Figure 85 ZDEMO_AIN_CL35 Selection Screen
On the first sight you can notice that if you’ll use ROLLNAME, ...
... Conversion Exits
In the example program ZDEMO_AIN_CL32 I’ve setup column CONNID to use conversion exit NUMCV. As you see you don’t put the full name of the FM into the CONVEXIT field, it only assumes ...
... only see selected fields and nothing more.
When you’ll run the ZDEMO_AIN_CL26 program, you can see the behaviour of the FIX_COLUMN field. If you have wide screen, please resize the SAP GUI window, ...
... layouts, so then the grid looks always the same for them. Personally I leave this almost always empty, but if needed just simply use INTEGER values to setup correct sorting. The demo program that can be ...
... use ZDEMO_AIN_CL08 program with USD currency then as you seen in Figure 18, the value shown is equal to 422,94. Both outputs are correct as long as the currency of the corresponding line is the same as ...
... should place its name here. The output of the cell will be then based on a currency key kept in the same row of the internal table, in the corresponding field.
In the sample program ZDEMO_AIN_CL09 ...
... SE16
Now to see the differences, please run program ZDEMO_AIN_CL10 using following units: PMR, DEG, M & empty.
Figure 22 displays the values with three decimal places as PMR is setup to be displayed ...
... changed.
Figure 29 ZDEMO_AIN_CL12 Results using 0 as P_ROUND value
Now the same program is run with 3 that is inserted into ROUND. You can notice that instead of 2 571,25 you can see ...
... the base of that information, data can be displayed differently in each row, as in comparison to QUANTITY the unit is not set for the whole column. In program ZDEMO_AIN_CL11 I’ve setup column DISTID to ...
... into internal table, but in productive programs, you’ll probably do this during the loop over internal table, as probably you’ll want to setup different icons for a row, depending on the content of other ...
... the distance of the flight in the demo program by multiplying it by -1.
Figure 46 ZDEMO_AIN_CL21 Select
Figure 47 ZDEMO_AIN_CL21 Without NO_SIGN option
...
... are placed here. ALV Grid field catalog should have type LVC_T_FCAT. Of course as it’s not mandatory parameter you can also omit during the displaying on grid (like I did for example in program ZDEMO_AIN_CL01), ...
... you don’t have to do that. You can create it also before calling the screen, like in the simple example of using CL_GUI_CUSTOM_CONTAINER that you can find in Figure 1 and in demo program ZDEMO_AIN_CL01. ...
... programs. This is of course OK for the start but later on it happens very often that our customers (internal or external) want to have some additional functionalities of the grid and due to restrictions ...
... more extensions on the same system.
Please check following test program which shows how to extend ZCL_CMD_CUSTOMER with local class.
parameters: p_custom type kna1-kunnr,
...
... on the first event). Additionally for some strange persons like me, that don't eat pizza, I've ordered some salads.
If you eat, you also need drinks, especially for the programmers who changes the coffee ...
... used by program or not.
To make long story short - I was correcting one day an old-style written code to include two additional function keys on selection-screen, which were "Favorite variants" ...
... can deserialize JSON and also it can generate a dynamic structure from JSON file but at the end to make programming easier you need to create local or global structure that will be matching the structure ...
... I've not used them at work.
You can check the abaulable symbols on your system, but I doubt they vary between old and new releases.
Here you can find the sample program to display ...
... that is not my main programming language, or better said an a language which I don't use if I don't have to.
Thomas gave me some really good starting points by giving links to the blogs from SCN. Additionally ...
... wrong value if the print program was called for the second time.
The first output was OK, 8,00 % as value.
But when I directly show again the preview of the same invoice ...