on 06-07-2012 1:10 PM
Hi,
I have a very urgent question to be answered.
I am using the HR_FEATURE_BACKFIELD Function Module.
I have a customized feature as well as structure which i am passing to the above FM.
Feature = ZCNCR
Structure = zzth_feature_zcncr
This is a customized structure made up of BUKRS , MOLGA
And the design tree of the feature is classified as Molga->Bukrs
and it returns a key used to identify some unique row in another table.
But it is giving me a runtime error which is as follows on running :-
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE',
not caught in
procedure "HR_FEATURE_BACKFIELD" "(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:
The field which is supposed to receive a structured parameter is
shorter than the structure of the parameter. This is not supported.
This is parameter no. 3 of the FORM "CALL_549B" in program
"/1PAPA/FEAT100ZCNCR".
The actual parameter is 12 bytes long, the formal parameter 58 bytes.
I am populating the structure with values.
All i could say is that feature type should be T549B-NAMEN and your custom field ZCNCR should also be of type T549B-NAMEN.
cross check with other importing parameter type as well.
regards
uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandran,
Check the function module import and export parameters and their type. You are getting this error because of Structure missmatch.
"
This is parameter no. 3 of the FORM "CALL_549B" in program
"/1PAPA/FEAT100ZCNCR".
The actual parameter is 12 bytes long, the formal parameter 58 bytes.
I am populating the structure with values.
"
Hope it helps.
Regards
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.