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

Inbound Idoc Issue

Former Member
0 Likes
854

Hi,

My Outbound is working fine. But, when i am trying to execute bd87 at inbound side its displaying following run time error.

Incorrect parameter with CALL FUNCTION.

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was

not caught in

procedure "IDOCS_PASS_TO_APPLICATION" "(FORM)", 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:

When calling the function module "ZIDOC_INPUT_ZIDOCMSGTYP1", one of the

parameters

needed according to the interface description was not specified.

This parameter was "IDOC_CONTROL".

idocprocess = idoc_process_inbound

  • PORTTYP = ' '

EXCEPTIONS

insert_error = 1

OTHERS = 2

.

IF sy-subrc <> 0. "XLP031298

MESSAGE s639 WITH 'IDOC_INPUT'(tx1). "XLP031298

  • Problem mit CCMS-Laufzeitmonitoring: Funktion &.

ENDIF. "XLP031298

  • ADM

CALL FUNCTION 'EDADM_FUNC_DEB'

IMPORTING

debug_on = adm_check.

IF adm_check = c_true.

adm_call-bustyp = pxt_idoc_control-mestyp.

adm_call-sndprn = pxt_idoc_control-sndprn.

adm_call-sndprt = pxt_idoc_control-sndprt.

adm_call-sndpfc = pxt_idoc_control-sndpfc.

adm_call-sndpor = pxt_idoc_control-sndpor.

CALL FUNCTION 'EDADM_DEBUG_HOLD'

EXPORTING

controlentry = adm_call.

ENDIF.

  • Call the application function.......................................

IF pi_input_method EQ ' '. "batch input

CALL FUNCTION pif_event_info-funcname

EXPORTING

input_method = pi_input_method

mass_processing = pi_mass_processing

TING

workflow_result = pe_workflow_result

application_variable = pe_application_var

in_update_task = pe_in_update_task

call_transaction_done = pe_call_transactio

S

idoc_contrl = pxt_idoc_control

idoc_data = pxt_idoc_data

idoc_status = t_appl_idoc_status

return_variables = pet_return_variabl

serialization_info = t_serialization_in

TIONS

wrong_function_called = 1

error_message = 2

OTHERS = 3.

"dialog input

Thanks in advance

Hi,

My Outbound is working fine. But, when i am trying to execute bd87 at inbound side its displaying following run time error.

Incorrect parameter with CALL FUNCTION.

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was

not caught in

procedure "IDOCS_PASS_TO_APPLICATION" "(FORM)", 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:

When calling the function module "ZIDOC_INPUT_ZIDOCMSGTYP1", one of the

parameters

needed according to the interface description was not specified.

This parameter was "IDOC_CONTROL".

idocprocess = idoc_process_inbound

  • PORTTYP = ' '

EXCEPTIONS

insert_error = 1

OTHERS = 2

.

IF sy-subrc <> 0. "XLP031298

MESSAGE s639 WITH 'IDOC_INPUT'(tx1). "XLP031298

  • Problem mit CCMS-Laufzeitmonitoring: Funktion &.

ENDIF. "XLP031298

  • ADM

CALL FUNCTION 'EDADM_FUNC_DEB'

IMPORTING

debug_on = adm_check.

IF adm_check = c_true.

adm_call-bustyp = pxt_idoc_control-mestyp.

adm_call-sndprn = pxt_idoc_control-sndprn.

adm_call-sndprt = pxt_idoc_control-sndprt.

adm_call-sndpfc = pxt_idoc_control-sndpfc.

adm_call-sndpor = pxt_idoc_control-sndpor.

CALL FUNCTION 'EDADM_DEBUG_HOLD'

EXPORTING

controlentry = adm_call.

ENDIF.

  • Call the application function.......................................

IF pi_input_method EQ ' '. "batch input

CALL FUNCTION pif_event_info-funcname

EXPORTING

input_method = pi_input_method

mass_processing = pi_mass_processing

TING

workflow_result = pe_workflow_result

application_variable = pe_application_var

in_update_task = pe_in_update_task

call_transaction_done = pe_call_transactio

S

idoc_contrl = pxt_idoc_control

idoc_data = pxt_idoc_data

idoc_status = t_appl_idoc_status

return_variables = pet_return_variabl

serialization_info = t_serialization_in

TIONS

wrong_function_called = 1

error_message = 2

OTHERS = 3.

"dialog input

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
699

As is almost always the case, SAP reported precisely what was wrong....

When calling the function module "ZIDOC_INPUT_ZIDOCMSGTYP1", one of the

parameters

needed according to the interface description was not specified.

This parameter was "IDOC_CONTROL".

Need to supply the parameter and value for IDOC_CONTROL in the call of the function module ZIDOC_INPUT_ZIDOCMSGTYP1

Read only

Harsh_Bansal
Contributor
0 Likes
699

Hi Arun,

You have declared parameter as Idoc_Control in the import tab of Inbound FM.

It should be Idoc_Contrl.

Regards,

Harsh Bansal