Application Development and Automation 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: 
Read only

FUNCTION MODULE ERROR

Former Member
0 Likes
1,235

Hi experts,

this is the data i have given....

any error in that one .....

error message: type of calling function module is giving me the error....

CALL FUNCTION 'RS_FUNCTIONMODULE_INSERT'

EXPORTING

FUNCNAME = P_FUNCNM

FUNCTION_POOL = 'SUNI'

INTERFACE_GLOBAL = 'X'

REMOTE_CALL = 'X'

SHORT_TEXT = 'SERRR'

SUPPRESS_CORR_CHECK = 'X'

UPDATE_TASK = ' '

CORRNUM = 'CORRNUM_E'

NAMESPACE = ' '

SUPPRESS_LANGUAGE_CHECK = 'X'

AUTHORITY_CHECK = 'X'

SAVE_ACTIVE = 'X'

NEW_SOURCE = 'X'

EXCEPTION_CLASS = 'X'

  • IMPORTING

  • FUNCTION_INCLUDE = INCLNAME

  • CORRNUM_E = CORRNUM_E

TABLES

IMPORT_PARAMETER = I_IMP

EXPORT_PARAMETER = I_EXP

TABLES_PARAMETER = I_TBL

CHANGING_PARAMETER = I_CHA

EXCEPTION_LIST = I_EXC

  • PARAMETER_DOCU = I_

SOURCE = I_CODE

EXCEPTIONS

DOUBLE_TASK = 1

ERROR_MESSAGE = 2

FUNCTION_ALREADY_EXISTS = 3

INVALID_FUNCTION_POOL = 4

INVALID_NAME = 5

TOO_MANY_FUNCTIONS = 6

NO_MODIFY_PERMISSION = 7

NO_SHOW_PERMISSION = 8

ENQUEUE_SYSTEM_FAILURE = 9

CANCELED_IN_CORR = 10

OTHERS = 11

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

ENDFORM. " CREATE_FUNCTIONMODULE

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
778

HI Das

Please do not open duplicate posts for the same topic.

Close this thread and continue with the other. Also post that declarations of the variables and tables that you are passing to the FM.

Kind Regards

Eswar

5 REPLIES 5
Read only

Former Member
0 Likes
779

HI Das

Please do not open duplicate posts for the same topic.

Close this thread and continue with the other. Also post that declarations of the variables and tables that you are passing to the FM.

Kind Regards

Eswar

Read only

0 Likes
778

sorry for this one......

but see the neew post which is containg the syntax error.

through this iam not able to open the se37 transaction....

Message was edited by:

dasr r

Read only

Former Member
0 Likes
778

HI

REMOTE_CALL = 'X'

this value is not x but it is space as this is a RFC call u need not to include the value removeit, it will work

Read only

Former Member
0 Likes
778

Hi,

Plz check the table parameters such as I_IMP I_EXP variables defined as tabel type. I hope this might be problem. Can u give full detail of the program.

Regards

Bhupal Reddy

Read only

0 Likes
778

yah here iam going to create a functiom module with the downloaded parameters from a function module........

i uploaded the the all import,export,change,table,exception and source code parameters details to internal tables defined .

iam uploading the files to respective itabs thru gui_upload...

then iam passing the these itabs thru rs_functiommodule_insert to create a functiom module.....

now this problem what i posted was over iam executing this one......

but new problem was there can u see my next question.... just posted now only.....