Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Characteristic defined in trans CT04 / populated with a function Module

Former Member
0 Kudos

Hi everyone,

I have a Characteristic of a class defined in transaction CT04 with other Value check : Function Module

When the characteristic is accessed from transaction CL20N and a value is polulated in the interface table

VALUES LIKE RCTVALUES , the value is checked again with fm CTMS_DDB_SET_VALUE ( Main program SAPLCTMS , include LCTMSF0C ) and rejected with a message of class C1 message nr 853. What is wrong in this case ?

Best Regards

5 REPLIES 5

Former Member
0 Kudos

Hi,

when I take a look in the program, there are no error message but only success for c1 853

94 MESSAGE S853 WITH STRG-ATWRT. "Meldung machen

245 MESSAGE S853 WITH STRG-ATWRT. "Meldung machen

308 MESSAGE S853 WITH STRG-ATWRT. "Meldung machen

Do you have an idea ont he line where the message is generated!

In other case, set a breakpoint to these line and go in debug

0 Kudos

Hi Stephan,

The message occured in the second appearance of this message statement (line 245) .

Nevermind I have now found my mistake; Although I had created a function with _f4 suffix for an F4 help, I did not provide a function for checking the values, with same name without any suffix

eg we have FM

Z_PM_HELP_CHAR_NODE_NEW_F4

with interface

IMPORT

*" CHARACT_NO LIKE CABN-ATINN

*" CHARACT LIKE CABN-ATNAM

*" DISPLAY TYPE CHKBOX

*" ADDITIONAL_VALUES LIKE CABN-ATSON

*" MULTIPLE_VALUES LIKE RCTMV-ATLIS

*" LANGUAGE LIKE SY-LANGU

*" DISPLAY_WITH_LANGUAGE TYPE CHKBOX

TABLES

*" VALUES STRUCTURE RCTVALUES

*===============================

and we provide FM

Z_PM_HELP_CHAR_NODE_NEW

with interface

IMPORT

*" CHARACT LIKE CABN-ATNAM

*" CHARACT_NO LIKE CABN-ATINN

*" VALUE LIKE CAWN-ATWRT

EXPORT

*" VALUE_EX LIKE CAWN-ATWRT

EXCEPTIONS

*" NOT_FOUND

0 Kudos

I have similar requirement. Can you please tell me how you coded this?

Thanks,

Manjula.S

0 Kudos

created F4 function module with prefix _f4 but its not triggering my break point.

only assigned fm and _dc is triggering my fm...

what is the problem in my f4 fm?

FUNCTION zxxxx_f4.
*"----------------------------------------------------------------------
*"*"Local Interface:
*"  IMPORTING
*"     REFERENCE(CHARACT_NO) LIKE  CABN-ATINN
*"     REFERENCE(CHARACT) LIKE  CABN-ATNAM
*"     REFERENCE(DISPLAY) TYPE  CHKBOX
*"     REFERENCE(ADDITIONAL_VALUES) LIKE  CABN-ATSON
*"     REFERENCE(MULTIPLE_VALUES) TYPE  RCTMV-ATLIS
*"     REFERENCE(LANGUAGE) TYPE  SY-LANGU
*"     REFERENCE(DISPLAY_WITH_LANGUAGE) TYPE  CHKBOX
*"  TABLES
*"      VALUES STRUCTURE  RCTVALUES

0 Kudos

Hi manjula,

u had done this can u please tell me the solution....