8.5.11

SAP Note 25586 - Why is a field suppressed during posting?

Symptom:

A field is suppressed during posting or when displaying a document without any obvious reason.

Solution

Shown in an example of field BSEG-KURSR (hedged exchange rate):

    1. SE17-TMODU

FAUNA (1st field): SKB1-FAUS1
Table name : BSEG
Field name : KURSR
Execute -> in "Group" column you will find the field selection item
(here: 032).
(If you know the screen which contains the field, you can also see this from modification 1 of the field attributes.)

    2. SE17-TMODO

FAUNA : SKB1-FAUS1
Group1 : 032
Group
Select all - Execute
-> "1ALLG" group

    3. SE17-TMODG

Language : (for example) E
FAUNA : SKB1-FAUS1
Group : 1ALLG
Name
Select all - Execute
-> "General data" description

    4. SE17-TMODP

Language : (for example) E
FAUNA : SKB1-FAUS1
Group1 : 032
Select all - Execute
-> "Hedging" description

    5. FS03: Determine the field status group of the G/L account in question (for customer/vendor: the reconciliation account).
    "GR01" for example.
    6. Within Customizing, choose the path Business transactions - Base

parameters - Control - Field status definition (Transaction OB14) and the entry Field status variant - Field status group (determine, for example, field status variant from T001 using SE17) and "Edit field status"

You can now use the path determined above:

    • Select "General data"
    • Then select the "Hedging" subgroup: Is "Suppress" selected for the subgroup? You may want to select the optional entry.
    7. In addition, a field can be suppressed using the posting key (Business transactions - Base parameters - Control - Posting keys, Transaction OB41).
    Proceed as specified under 6.
    8. A field can also be suppressed due to internal rules. Therefore, you must determine modification group 2 of the field (see point 1) (thus, you have to know a screen that contains the field).
    In the example, you can see on screen SAPMF05A/0332 that BSEG-KURSR has modification group 2 "010".
    Now search for a statement in program SAPFF001 using FIND 010 in routine DYNPRO_MODIF_INT which begins with

WHEN 010.
and you will find, for example, IF BKPF-WAERS EQ T001-WAERS
OR RFOPT-XNOWA NE SPACE.
D01_RC = 4.
ENDIF.and you can draw your conclusions.
(D01_RC = 4 means: Field is suppressed
D01_RC = 8 means: Field is displayed but not ready for input).

    9. A field can also be suppressed due to other internal rules. Therefore, you must determine modification group 3 of the field (thus, you have to know a screen that contains the field).

In the example, you can see on screen SAPMF05A/0312 that group 3 = "001" for the business area in the tax items.
Now search for a statement in program MF05AO00 using GROUP3 in module DYNPRO_MODIFIZIEREN and analyze the source code.

You can use the following overview to find certain fields on screens:

Acct type Data screen Other data screens
--------- ----------- ------------------
D 301 331
K 302 332
S 300 330
A 305 335
Tax screen 312

Additional key words

Field selection string, SAPMF05A, SAPMF05L, screen modification FB01, FB03, OBC4, OBC5, T004F, TBSL

No comments:

Post a Comment