13.12.10

SAP Note 13131 - Line items: New field for Display, Find, ...

Symptom:

Program : RFEPOS00 FBL1 FBL2 FBL3 FBL4 FBL5 FBL6
A field is to be included for the various functions within the line
item display.
Key word: FAKP, field selection, display format

Solution

General: there is an explanation in the long text of message F4624
as to the tables from which the fields can come.

    1. Line layout variants: ALL fields within a document are possible (tables: BKPF, BSEG, BSEC, BSED). The fields from structure RFPOS are the best supported ones.
    A variant which only contains RFPOS fields is called a "standard variant", otherwise it is a "special variant". All the functions such as find, sort, total and additional field are possible for standard fields without any restrictions. The following applies for special fields:
      a) As of Release 2.2A, you can determine which special fields are to count as RFPOS fields by selecting Line item display -> Special fields within display format customizing (FAKP) (the table with the RFPOS structure is then extended internally by these fields).
      Find, sort, total and additional field are possible for these special fields. Select is not possible. (These special fields are in table T021S.)
      When importing the data, document data must also be read afterwards - each additional list output is then, however, exactly as fast as a standard variant.
      b) As of Release 2.1A, it is also, by implication, possible to find, total and sort for the first special field when calling up the line item display as long as this field is of the CHARACTER type and has a maximum length of 35. It is not possible to include it in the totals variants.
      c) The functions mentioned for special fields are not possible before Release 2.1A.
    2. If you want to make a special field into a standard field, then you have to do the following:
      a) The field is contained in BSID/BSAD (or BSIK/BSAK or BSIS/BSAS), but is missing in RFPOS:
      The RFPOS structure can then be supplemented by the missing field using SE11 (add after the field) and RFPOS saved and activated.
      This modification is relatively uncritical. The new field can also be appended without modification in an APPEND structure. It should be done in the evening since the line item display notes all standard fields once a day and does not note this change.
      The field can then be included as a standard field in a line layout variant within customizing the next day.
      b) If the field is not contained in BSID/BSAD, it is ALSO necessary to include the field in BSID/BSAD (or BSIK/BSAK, BSIS/BSAS) when including the field in RFPOS. This can also be done without modification using an APPEND structure.
      c) If a special field which becomes a standard field was already used in Transaction FAKP, then the field must be deleted for the display variants etc. in each case and then reentered as otherwise the incorrect table name is saved internally.
      d) Additionally, the field declared to be the standard field has to be deleted from the table for the special fields (Table T021S). This does not happen automatically, but must be carried out manually (maintain the table with Transaction O7R3).

Warning:
Make sure that fields that were newly appended to BSID/BSAD (or BSIK/BSAK, BSIS/BSAS) are correctly updated in the database! Only with a field which is already contained in Table BKPF or BSEG, this is generally done automatically without requiring further modifications.

In case of doubt, this enhancement should be made by an experienced SAP consultant!

    3. Find, sort, total, additional field: all fields from RFPOS can be used.
    Special fields can be used (see 1a). Select:
    All fields from RFPOS can be used.
    Special fields cannot be used (see 1a).
    4. What do you do in the case of a new document field?
    The new field is available straight away for line layout variants, the existing variants become special variants. This way the display becomes slower since the document line has to be read for each line item.

Warning:
If you require all of the functions, you must include the field in the index tables BSID/BSAD or BSIK/BSAK or BSIS/BSAS and in table RFPOS. The restrictions listed under 2.d) apply. In particular, it is not sufficient to just add the new field to RFPOS.

NOTE: Possible modifications to Tables BKPF, BSEG, BSID/BSAD, BSIK/BSAK, and BSIS/BSAS should only be carried out together with an SAP consultant.

Key word: Line items

No comments:

Post a Comment