Skip to Content
author's profile photo Former Member
Former Member

Values in Screen Field

Hi,

There is a screen (3140 function group CRM_TSRV_UI) which has got field one with 'CRMT_3140_TSRV_UI-OBJECTIVE' which is assigned to data element CRMT_OBJECTIVE. This data element 'CRMT_OBJECTIVE' has the length of 3 character and so does the domain 'CRM_OBJECTIVE' which is assigned to it.

In the domain there is a value table 'CRMC_ACT_OBJ' assigned to it which again has got the primary field 'objective' with length 3.

The table structure 'CRMC_ACT_OBJ' contains only two fields mandt and objective, but when you see the table contents it shows 3 fields, with one additional field 'description' coming from the another table which is maintained as a text table CRMC_ACT_OBJ_T

When I call this field on the screen 3140 (as a list box) it shows me the Description instead of Key, even when the length of the field is 3 characters.

what can be the explanation on how it is picking up the description and also not giving any error when the field length is 3 characters.

I have to restrict the value in this list and for that I tried using POV event (process on value-request) but when I try to input the description or any value with length more then 3 characters I got a error message.

Suggestions..!

Thanks in adv.

/Manik

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 01, 2006 at 03:22 PM

    Hi Manik,

    This is standard SAP functionality. It is picking up the description from the text table i.e. CRMC_ACT_OBJ_T for the objective code in the table CRMC_ACT_OBJ.

    SAP has internally linked both the tables to do so. Whenever you are refering to this field anywhere in your program just use code instead of the description and you won't get any error. SAP takes care of matching the code with the corresponiding description. You can check out this mapping in the SPRO transaction.

    <b>Reward points if it helps.</b>

    Message was edited by: Amit Mishra

    Add comment
    10|10000 characters needed characters exceeded