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

How to use Tables in Characteristics Created for DMS Module

Hi Experts

Please advice, how can I use Data from Tables as input to End user while creating a Characteristics.

II have tried using "Values - Other Values Check" Tab while creating characteristics, but everytime while choosing table, system is throwing an Error that "Check Table xxxxx has too may key fields".

I want to provide option of selecting Cost Centre and Profit Centre to end user. I have tried to use Table (m_PRCTN, M_KOSTN,CSKT). Please help !! .

Regards

Prashant

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Oct 17, 2011 at 02:57 PM

    Hi Prashant,

    You cannot assign check table to the characteristics which have multiple primary key. You can achieve your requirement by implementing the check using function module.

    Refer to the below link abouy how to include function module for value check.

    f4-help-for-characteristics

    Cheers

    Amit

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2011 at 12:31 PM

    Create the same function you created the check values but ad the following "_F4".

    Example: Z_CHECK_VALUE

    Z_CHECK_VALUE_F4 -> in this you can then call or create screen

    Phillip

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Philip

      thanks for the information.

      I have tried the same. Searched lots of codes even and tried with those one also.

      But everytime it gives ABAP Dump.

      Could you please help me and provide correct code for this.

      Regards

      Error Pasted below -

      Error analysis

      An exception occurred that is explained in detail below.

      The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was

      not caught in

      procedure "CTHE_FUNCTION_F4" "(FUNCTION)", nor was it propagated by a RAISING

      clause.

      Since the caller of the procedure could not have anticipated that the

      exception would occur, the current program is terminated.

      The reason for the exception is:

      When calling the function module "Z_GET_COST_CENTRE_F4", one of the parameters

      needed according to the interface description was not specified.

      This parameter was "RETURN_TAB".

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2011 at 04:52 AM

    Thanks, it works. Actually i was providing differnet varaible names in import and export parameters. SAP has provided some specific table and field names for these activities.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.