We got all needed functions, so I'll give you an example how to call the methods correctly to get characteristics update window like this: Program bellow is reading firstly the info about stored ...
Our characteristics update screen was displayed, data was changes so we need to read the reference data and put the values into BAPI structures in order to be able to save the values to database. I will ...
Now we're ready to build the data for screen output, call the update screen and then move the data back from screen to reference data. We will use here: COC1_FEATURE_CHECK to get characteristic ID ...
In previous article I've shown how to move characteristics from reference data to screen values table, this method is doing opposite way from screen values table to reference data structure. Importing: ...
Before we can call the screen with the characteristic value to change we need to convert data from our reference data structure to table of type TT_API_VALI. Following method shows how to do it. Importing: ...
... with previously filled data by CTMS_DDB_SET_VALUE_INTERNAL then for multiple value characteristic I was always receiving one additional line to these which was passed by me in export parameters. The funny ...
... update some characteristic values from ALV grid, this would be not a problem at all if the characteristics would be defined from the begriming, but they weren't. In that case I couldn't just add ...
... with any desired characteristic, for example, in report to list materials with all master data from client, plant and sales organization level, you could use the origin of the columns as a group factor. ...
This field allows us to set (or change) the header text of the column. It can consist up to 55 characters in lowercase mode. When you use data dictionary reference ( REF_FIELD, REF_TABLE ) it is populated ...
The changes of this parameter are only visible in edit mode and makes sense only for character or string fields. If it is set to ABAP_TRUE (‘X’), then the ALV grid stores in internal table the value in ...
... not bother yourself about it. But if you do, then take into consideration following information:
Length is in Bytes, so remember that it doesn’t mean, that one character takes one Byte
In display ...
... no more and no less than a function modules that helps to represent the internal values into understandable or more readable values. An basic example is field MATNR which is 18 characters long in ECC and ...
... have a field that have maximum length of few characters but the description of the column is long. In such case with OUTPUTLEN you can decide if you want to adjust the column width to the width of the ...
... grid
‘X’ – you use standard emphasize (default colour)
‘Cxyz’ – where:
‘C’ is a character that notifies ALV grid that you will use specific colours
x – contains one of the following colour ...
... of field catalog as well.
Using Conversion-Exit, for example ‘==ALPHA’, where ‘==’ sings represents the information that we’re using conversion-exit, and the next 5 characters are reserved for the ...
... modifications there.
I've changed the definition of displayed field to character field instead of decimal field.
I used CHAR8 type as this had the same length as the previous ...
...
* iv_contents_bin = iv_contents_bin " Main Document, First Body Part (Binary)
iv_doctype = 'htm' " Document Category
* iv_codepage = iv_codepage " Character Set of a Document ...
... If you're thinking about it's restrictions to keep only 40 characters from screen parameters then please check your system as for some of the new versions this FM contains a table parameter of ...
... native language.
You can look on the example bellow or importi it to your SAP system from .nugg file. report zab_ssdemo1.
"parameter without any typing (1 character)
parameters: p_name. ...
... of it. But before I'll prepare program I need to have classification with some characteristics and an object to which I will add classification. So lets start with CL01 to create our test classification. ...
In previous article ( Classifications - Part 2 - Get Object Details ) I've created a method to get characteristics values for an object to our dynamic structure, in this part I will show how to use ...
In the first part I show how to create a structure on a base of class characteristics, now I will describe how to get the characteristics values for a object and how to fill the structure we've created ...
Today I'll start to show you how you can prepare some methods to be able to read classification data without carrying each time about the kind of characteristics. If you follow my suggestions then ...