2006 Jan 17 1:09 PM
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
2006 Jan 17 1:18 PM
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
2006 Jan 19 8:08 AM
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
2008 Nov 20 5:30 AM
I have similar requirement. Can you please tell me how you coded this?
Thanks,
Manjula.S
2012 Dec 18 9:06 AM
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
2012 Dec 18 10:07 AM
Hi manjula,
u had done this can u please tell me the solution....