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

Not able to map data type in function Module.

hi.

This is my error at Se38

The data type zonone1 can be enhanced in anyway. After a structure enhancement this assignment ro

parameter mgiht be syntatically incorrect


I am fetching some data 3 fields from the t001 table by using Function Module.


plz have a look on below 1,2,3 images.


1) i open se11 and under data type i create some components


2) i create one function module,under export above se11 data type name i was given.


3) i create one program name at se38 ...

but above error is comming.


PARAMETER PR_BUKRS TYPE T001-BUKRS.

DATA WA_T001 LIKE ZONEONE1.

CALL FUNCTION 'ZCOMPANYCODE'

EXPORTING

P_BUKRS = PR_BUKRS

importING

WA = wa_t001

EXCEPTIONS

NO_DATA = 1

OTHERS = 2

.

IF SY-SUBRC <> 0.

WRITE: 'INVALID DATA'.

ELSE.

WRITE:/ wa_t001-bukrs, wa_t001-butxt, wa_t001-ort01.

ENDIF.

Any solutions plz give me.

what i have done the mistake..







3.png (141.4 kB)
2.png (147.4 kB)
1.png (159.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2014 at 08:47 PM

    Hi $riniva$,

    The message isn't an error, it is a warning. It says that your structure can be enhanced, and if it get enhanced in the future, the FM can't support it anymore without being changed.

    To supress this message you can do the following:

    SE11 --> <set your structure> --> Extras --> Enhancement Category

    In the enhancement category you can set it as "cannot be enhanced". Notice that this option depends on what you have planned for this structure.

    I never have seen this error before, even when i have done similar steps with FM as you did. If you discover something about it, share with us.

    Regards,

    Renan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2014 at 03:22 PM

    Hi,

    Renan is correct.

    it is regarding the enhancement category of structure

    Regards,

    Nitin

    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.