Skip to Content

Error GETWA_NOT_ASSIGNED in ZIDOC_INPUT_REMADV

Hello to all,

after an upgrade to ECC 6.0 I am receiving a dump that I do not understand.

We createdfunction module ZIDOC_INPUT_REMADV as a copy of IDOC_INPUT_REMADV

FUNCTION ZIDOC_INPUT_REMADV.

*"----


""Local Interface:

*" IMPORTING

*" VALUE(INPUT_METHOD) LIKE BDWFAP_PAR-INPUTMETHD

*" VALUE(MASS_PROCESSING) LIKE BDWFAP_PAR-MASS_PROC

*" EXPORTING

*" VALUE(WORKFLOW_RESULT) LIKE BDWFAP_PAR-RESULT

*" VALUE(APPLICATION_VARIABLE) LIKE BDWFAP_PAR-APPL_VAR

*" VALUE(IN_UPDATE_TASK) LIKE BDWFAP_PAR-UPDATETASK

*" VALUE(CALL_TRANSACTION_DONE) LIKE BDWFAP_PAR-CALLTRANS

*" TABLES

*" IDOC_CONTRL STRUCTURE EDIDC

*" IDOC_DATA STRUCTURE EDIDD

*" IDOC_STATUS STRUCTURE BDIDOCSTAT

*" RETURN_VARIABLES STRUCTURE BDWFRETVAR

*" SERIALIZATION_INFO STRUCTURE BDI_SER

*" EXCEPTIONS

*" WRONG_FUNCTION_CALLED

*"----


*{ INSERT TG1K925542 1

  • Initialisierungen..

CHECK SY-MANDT = '400'.

CLEAR: APPLICATION_VARIABLE,

IN_UPDATE_TASK, CALL_TRANSACTION_DONE.

REFRESH: RETURN_VARIABLES, SERIALIZATION_INFO.

WORKFLOW_RESULT = C_WF_RESULT_OK.

BATCH_INPUT_ONLY = 'X'.

  • Zwischenstrukturen zuordnen und evtl. umkodieren.

PERFORM ZZWISCHENSTRUK_ZUORDNEN_REMADV.

*} INSERT

ENDFUNCTION.

***************************************************************************************

The form ZZWISCHENSTRUK_ZUORDNEN_REMADV goes like this

***************************************************************************************

FORM zzwischenstruk_zuordnen_remadv..

  • Locale Variablen und Konstanten.

DATA: akt_belegzeile TYPE p, "Aktuelle Belegzeile

akt_unterposition TYPE p, "Aktuelle Unterpos

bk_vorhanden(1) TYPE c VALUE 'N', " N = NEIN

partner_vorhanden(1) TYPE c VALUE 'N', " N = NEIN

partner_kontonummer LIKE avik-konto,

partner_koart LIKE avik-koart,

sap_waehrung LIKE avik-waers,

idoc_bukrs LIKE avik-bukrs,

idoc_contrl_index LIKE sy-tabix,

idoc_data_index LIKE sy-tabix,

fehler_flag(1) TYPE c,

c_mem_idoc_in(20) TYPE c VALUE 'IDOC_NO_FI',

ls_exit_avik LIKE avik,

ls_exit_avip LIKE avip,

ls_exit_avir LIKE avir.

*>>>SAPAS--03.02.2009

DATA l_kunnr LIKE bsid-kunnr.

DATA l_belnr LIKE bsid-kunnr.

*<<<SAPAS--03.02.2009

*>INI

DATA v_aux_dif LIKE it_docs-nebtr.

*>FIN

CLEAR v_fecha_contab. "(INS) MAAC-161208

  • >>> 05/2008 mmg

CHECK sy-mandt = '400'.

CLEAR it_docs. REFRESH it_docs.

  • <<< 05/2008 mmg

LOOP AT idoc_contrl.

idoc_contrl_index = sy-tabix.

IF idoc_contrl-mestyp <> c_mestyp_remadv AND

idoc_contrl-mestyp <> c_mestyp_creadv AND

idoc_contrl-mestyp <> c_mestyp_creext AND

idoc_contrl-mestyp <> c_mestyp_debadv.

PERFORM statusfelder_fuellen

USING fehler_in_der_bearbeitung

**********************************************************************************************************************

the dump says that there is an error in form zzwischenstruk_zuordnen_remadv

IN statement LOOP AT IDOC_CONTRL the field "IDOC_CONTRL" is unknown, (??)

when double clicking on idoc_contrl the parameter does not seem to be declared in function module ZIDOC_INPUT_REMADV

Declaration Locations of Global Parameters IDOC_CONTRL

IDOC_INPUT_FINSTA

IDOC_INPUT_LOCKBX

IDOC_INPUT_REMADV

IDOC_INPUT_REMADV_CTR

To me the declaration of IDOC_CONTRL and the statement LOOP AT are directly copied from the standard modules.

Has anyone a clue what is happening?

Regards

Aude

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 13, 2009 at 06:10 PM

    Try in SE37--> change mode --> ZIDOC_INPUT_REMADV --> from the top menu > edit > interface--> make "globalize Parameters

    then save and activate

    PS Its very difficult to read your post

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 13, 2009 at 06:17 PM

    Moderator message - Cross post locked

    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.