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

An Urgent Help

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.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jun 07, 2012 at 01:29 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      But i am not finding the way to remove the error. The documentation for the function module doesnt mention any specific rules for structure . if there is so please enlighten me.

      Does the structure have to be of a certain type ?

  • Posted on Jun 08, 2012 at 05:23 AM

    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

    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.