Error - subroutine

Hi All,
Im getting this error " Different number of parameters in FORM and PERFORM (routine import_i, number of formal parameters:0, number of actual parameters:2)
This is the code.
  if not aa_ifil1 is initial.
    perform import_i_a using aa_ifil1   'A'.
  endif.
  if not aa_ifil2 is initial.
    perform import_i_b using aa_ifil2  'B'.
  endif.
  if not aa_ifil3 is initial.
    perform import_f_a using aa_ifil3  'A'.
  endif.
  if not aa_ifil4 is initial.
    perform import_f_b using aa_ifil4  'B'.
wat is teh issue.
regards
Ab
Edited by: AbUser on Apr 21, 2008 1:09 PM

hI ABU IN PERFOMR U ARE USING 2
perform import_i_a using aa_ifil1 'A'.M,IGHT BE U R NOT USIGN ANY HTING IN THE FORM STATMENT CHEKC THE code once and let me know for further..
regards..

Similar Messages

  • Subroutine error in Crystal Reports

    I am unable to view an updated image in Crystal Reports, keep receiving an error: subroutine: imagesection_format.
    Thanks.

    Hi Nicole,
    Are you using a BLOB image in the reports or any image field from the database?
    Regards,
    Abhijeet T.

  • [SOLVED]VIM errors

    When running VIM  i get those errors
    Subroutine new redefined at perl/TagsBase.vim line 36 (#1)
    (W redefine) You redefined a subroutine. To suppress this warning, say
    no warnings 'redefine';
    eval "sub name { ... }";
    Subroutine getBase redefined at perl/TagsBase.vim line 48 (#1)
    Subroutine sortBase redefined at perl/TagsBase.vim line 61 (#1)
    Subroutine pushTag redefined at perl/TagsBase.vim line 71 (#1)
    Subroutine getTag redefined at perl/TagsBase.vim line 82 (#1)
    Subroutine initBase redefined at perl/TagsBase.vim line 114 (#1)
    Subroutine new redefined at perl/TagsBase.vim line 124 (#1)
    Subroutine Line redefined at perl/TagsBase.vim line 129 (#1)
    Subroutine Name redefined at perl/TagsBase.vim line 135 (#1)
    Subroutine Type redefined at perl/TagsBase.vim line 141 (#1)
    Subroutine logFloorMenu redefined at perl/TagsBase.vim line 158 (#1)
    Subroutine ComputeMenu redefined at perl/TagsBase.vim line 166 (#1)
    Subroutine parseTags redefined at perl/TagsBase.vim line 238 (#1)
    Subroutine BuildBase redefined at perl/TagsBase.vim line 307 (#1)
    Subroutine GetTag redefined at perl/TagsBase.vim line 388 (#1)
    Subroutine GetTagType redefined at perl/TagsBase.vim line 400 (#1)
    Subroutine GetTagName redefined at perl/TagsBase.vim line 413 (#1)
    so, how to fix this?
    Last edited by lutherus (2012-02-11 11:24:57)

    Runiq wrote:
    lutherus wrote:Can an moderator mark this as solved?
    You can mark it yourself, just edit your first post and add a [Solved] in front of its title.
    OK, thx, didn`t know this.

  • Error while sending data to a subroutine in script

    Hi,
      While passing a currency field for calculation to a subroutine through perform statement iam getting runtime error saying "unable ti interpret 5000.00 as a number. 5000.00 is nothing but the first currency value which iam sending for calculation.in the code the error is raised on the bold line .
    rf140-wrshb has value 5000.00 .the code which i have written in subroutine is as follows.
    READ TABLE I_IN WITH KEY NAME = 'RF140-WRSHB'.
    MOVE I_IN-VALUE TO LV_SUM1. 
    CLEAR I_IN.
    DATA: SUM_C TYPE N.
      SUM1 = SUM1 + LV_SUM1.
      READ TABLE I_OUT WITH KEY NAME = 'LV_BALANCE'.
    MOVE SUM1 TO I_OUT-VALUE.
      MODIFY I_OUT TRANSPORTING VALUE WHERE NAME = 'LV_BALANCE'.
      CLEAR I_OUT.
    lv_balance is the one which receives the output value.
    can anyone tell me what is the mistake i have done nd how to rectify it.
    Thanks,
    Rose.

    Hi,
    I have done something similar so below is the code while passing currency fields to subroutines:
    Actually I was retrieving 2 fields from scripts and then substract them and then send back the result to the script. Hope it works out for you, try it out and REWARD POINTS IF HELPFUL!! (also for your prev post!!)
    FORM get_pay TABLES in_tab STRUCTURE itcsy out_tab STRUCTURE itcsy.
      DATA: lv_var(255)  TYPE c, "dmbtr,
            lv_var1(255) TYPE c, "qsshb,
            lv_var2(255) TYPE c, "dmbtr.
            var(20) TYPE c,
            var1(25) TYPE c,
            var2(25) TYPE c,
            var3(25) TYPE c,
            var4(25) TYPE c,
            var5(25) TYPE c,
            var6(25) TYPE c,
            vari TYPE ztemp,
            vari2 TYPE ztemp,
            vari3 TYPE ztemp.
      DATA: lv_var4 TYPE dmbtr,
            lv_var5 TYPE qsshb,
            lv_var6 TYPE dmbtr,
            len TYPE i,
            len1 TYPE i,
            dot TYPE c.
      READ TABLE in_tab WITH KEY 'REGUP-DMBTR'.
      IF sy-subrc EQ 0.
        lv_var = in_tab-value.
        len = STRLEN( lv_var ).
        len1 = len - 3.
        dot = lv_var+len1(1).
        IF dot = ','.
          SPLIT lv_var AT ',' INTO var1 var2.
          REPLACE '.' IN var1 WITH ','.
          CONCATENATE '.' var2 INTO var2.
          CONCATENATE var1 var2 INTO var.
          CONDENSE var.
          vari = var1.
          SHIFT vari LEFT DELETING LEADING '0'.
          CONCATENATE vari var2 INTO vari.
          lv_var4 = vari.
        ELSE.
          SPLIT lv_var AT '.' INTO var1 var2.
          REPLACE '.' IN var1 WITH ','.
          CONCATENATE '.' var2 INTO var2.
          CONCATENATE var1 var2 INTO var.
          CONDENSE var.
          vari = var1.
          SHIFT vari LEFT DELETING LEADING '0'.
          CONCATENATE vari var2 INTO vari.
          lv_var4 = vari.
        ENDIF.
        CLEAR: dot, len, len1.
      ENDIF.
      lv_var = vari.
      CALL FUNCTION 'CHAR_NUMC_CONVERSION'
        EXPORTING
          input   = lv_var
        IMPORTING
          numcstr = lv_var4.
      READ TABLE in_tab WITH KEY 'REGUP-QBSHB'.
      IF sy-subrc EQ 0.
        lv_var1 = in_tab-value.
        len = STRLEN( lv_var1 ).
        len1 = len - 3.
        dot = lv_var1+len1(1).
        IF dot = ','.
          SPLIT lv_var1 AT ',' INTO var3 var4.
          REPLACE '.' IN var3 WITH ','.
          CONCATENATE '.' var4 INTO var4.
          CONDENSE var.
          vari2 = var3.
          SHIFT vari2 LEFT DELETING LEADING '0'.
          CONCATENATE vari2 var4 INTO vari2.
          lv_var6 = vari2.
        ELSE.
          SPLIT lv_var1 AT '.' INTO var3 var4.
          REPLACE '.' IN var3 WITH ','.
          CONCATENATE '.' var4 INTO var4.
          CONDENSE var.
          vari2 = var3.
          SHIFT vari2 LEFT DELETING LEADING '0'.
          CONCATENATE vari2 var4 INTO vari2.
          lv_var6 = vari2.
        ENDIF.
        CLEAR: dot, len, len1.
      ENDIF.
      lv_var1 = vari2.
      CALL FUNCTION 'CHAR_NUMC_CONVERSION'
        EXPORTING
          input   = lv_var1
        IMPORTING
          numcstr = lv_var6.
      lv_var5 = lv_var4 - lv_var6.
      lv_var2 = lv_var5.
      var = lv_var5.
      WRITE lv_var5 TO var CURRENCY 'SG'.
      READ TABLE out_tab WITH KEY 'LV_PAY'.
      IF sy-subrc EQ 0.
        out_tab-value = var.
        MODIFY out_tab INDEX 1.
      ENDIF.
    ENDFORM.                    "get_PAY
    Regards,
    Narendra.

  • Error in subroutine READ_NAMTB

    Hi,
    While posting an idoc through the test tool WE19, we are encountering an error  'Error in subroutine READ_NAMTB for structure of infotype'. We are using the extended idoc type ZRMD_A06 with a custom segment containing the PERNR and some other details.
    Are we missing out on something?Please advise!
    Thanks in advance!
    Regards,
    Nejuma Iqbal

    Hello Neujuma Iqbal
    Have you already found a solution to this problem?
    If yes, could you please tell me?
    thanks + regards
    Paul Züllig
    mail: [email protected]

  • Installer LV7.1 - LabVIEW load error code 21: An external subroutine required for execution could not be found.

    Bonjour,
    Je cherche à créer un installer portatif utilisant les drivers NI-DAQmx 8.7.1 et NI-CAN 2.6.0.
    Je dispose d'un code LV 7.1 et j'ai installé l'application builder 7.1.
    Mais une fois l'application installé sur un PC vierge de Labview, j'obtiens le message suivant:
    load error code 21: An external subroutine required for execution could not be found.
    Ce message est répété plusieurs fois (pour différents VIs) puis le programme ne se lance pas.
    J'ai bien veillé à installer les drivers NI-CAN et NI-DAQmx correspondant au préalable sur la machine cible.
    En chercant sur le forum, plusieurs pistes m'ont été proposé:
    La version NI-DAQ
    L'intégration du Run time Engine
    Un problème de DLL
    J'ai vérifié ces 3 points mais cela n'a pas règlé mon problème.
    Résolu !
    Accéder à la solution.

    Bonjour,
    Merci de ta réponse.
    En fait, j'ai bien inclu le runtime engine de Labview qui était effectivement la source de l'erreur.
    L'installation de NI-DAQmx v 8.7.1 provoque la mise à jour de la version du runtime engine (passage de 7.1 à 7.1.1).
    J'ai donc désinstallé Le runtime engine 7.1.1 (ce qui a provoqué la désinstallation de labview et NI-DAQ).
    Puis je suis passé par une version plus ancienne de NI-DAQ (7.2) que j'ai adapté (inclusions de DLL et de VIs).
    Les messages d'erreurs ont alors tout simplement disparus!

  • Syntax Error after creating enhancements for subroutine

    Problem:
    Creating enhancement sections gives a syntax error when creating enhancement options and implementations for a subroutine and then ceating enhancement options and implementations for the call to that same subroutine.
    <p>
    Syntax Error:
    "Different number of parameters in FORM and PERFORM (routine: SET_LAYOUT, number of formal parameters: 2, number of actual parameters: 1)
    </p>
    <p>
    Here's the following scenario:
    </p>
    <p>
    A subroutine is defined in a program.
    The subroutine is called within the same program.
    </p>
    <p>
    I then executed these steps:
    <br>     1. Defined an enhancement section around the subroutine definition
    <br>     2. Defined an enhancement section around the subroutine call.
    <br>     3. Implemented the enhancement section around the subroutine definition and add an additional parameter.
    </p>
    <p>
         Currently, this gives a syntax error as expected, since the call to the subroutine needs 1 more parameter.
    </p>
    <p>
         4. Implemented the enhancement section for the subroutine call.  I change the call in the implementation so it passes the new parameter.
    </p>
    <p>
    A syntax check to this gives an error.  The syntax checker is not only checking the new implementation, but also the original subroutine that should have been overwritten.
    </p>
    <p>
    The enhancement sections use the same enhancement spot, and the enhancement implementations use the same implementation.
    </p>
    <p>
    I tried various combinations of using different enhancement spots and/or implementations, but all give the same syntax error.  I tried separating the subroutine in a different include and  retried my testing, but it still gave the same syntax error.
    </p>
    <p>
    Here's the sample code I first created to try troubleshooting the problem:
    </p>
    <p>
    <pre>
    ENHANCEMENT-SECTION ZEP_Z_MICHAEL_02 SPOTS ZES_Z_MICHAEL .
         PERFORM set_layout
              CHANGING
              wa_layout.
    END-ENHANCEMENT-SECTION.
    $$-Start: ZEP_Z_MICHAEL_02----
    $$
    ENHANCEMENT 2  ZEI_TEST_SECTIONS.
         "inactive version
         PERFORM set_layout
         using 'X'
              CHANGING
              wa_layout.
    ENDENHANCEMENT.
    $$-End:   ZEP_Z_MICHAEL_02----
    $$
    ENHANCEMENT-SECTION ZEP_Z_MICHAEL_01 SPOTS ZES_Z_MICHAEL STATIC .
    FORM set_layout
    CHANGING p_wa_layout TYPE slis_layout_alv.
    p_wa_layout-zebra = 'X'.
    wa_layout-no_colhead = 'X'..
    p_wa_layout-colwidth_optimize ='X'.
    wa_layout-window_titlebar = 'Woot'.
    ENDFORM. "set_layout
    END-ENHANCEMENT-SECTION.
    $$-Start: ZEP_Z_MICHAEL_01----
    $$
    ENHANCEMENT 1  ZEI_TEST_SECTIONS.
         "inactive version
    FORM set_layout
    using p_test type boolean
    CHANGING p_wa_layout TYPE slis_layout_alv.
    p_wa_layout-zebra = 'X'.
    wa_layout-no_colhead = 'X'..
    p_wa_layout-colwidth_optimize ='X'.
    wa_layout-window_titlebar = 'Woot'.
    ENDFORM. "set_layout
    ENDENHANCEMENT.
    $$-End:   ZEP_Z_MICHAEL_01----
    $$
    </pre>
    </p>
    <p>
    Please let me know if you think I am doing something wrong. 
    </p>
    <p>
    Thanks, <br>
    Mike
    </p>
    Edited by: Michael Herman on Mar 8, 2010 8:11 PM

    Yes, Sandra.  That is what did and it worked with no syntax errors!
    I'm not sure if this is getting off topic or not, but the SAP documentation(taken from the SAP help after pressing F1 on the keyword static in ERP6) seems misleading:
    "The STATIC addition is intended for the enhancement of data declarations, while the statement ENHANCEMENT-POINT without the STATIC addition is designed for the enhancement of executable coding."
    I would think the enhancement section ZEP_Z_MICHAEL_02 would fall under the category of executable code, while the enhancement section ZEP_Z_MICHAEL_01 would fall under the category of declarative code.
    Unfortunately, all the SAP enhancement sections I come accross are dynamic.  The SAP help explains the reasoning for this:
    "In contrast to the statement ENHANCEMENT-POINT, the addition STATIC of the statement ENHANCEMENT-SECTION can only be used with maximum caution for changes of data declarations, because a replacement and no completion is carried out. Especially application development within SAP should not use the addition STATIC at all with ENHANCEMENT-SECTION as the change will be active in the entire customer system. "
    I do not know what the word "completion" means in the previous quote, so I can't determine why it would matter.  Regardless, if a developer wanted to change a standard subroutine declaration, they would also have to mod an enhancement section to change it to static.  This seems to defeat the purpose of using enhancements, but maybe this scenario is not what enhancements were intended for.

  • Crystal Reports Subroutine Error

    After restarting a 64 bit server (in a virtual environment) we get this error in the Crystal Reports subroutine (below):  This seems to be an error with 64 bit systems, other folks have reported this as well (http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/d3e45809-88ce-4349-8a21-a39e1721067a). The solution is to re-install crystal reports after every restart.
    Is there a workaround or fix for this?
    Environment: Windows Server 2003 R2 Standard in a VMWare environment.
    Event Type:     Error
    Event Source:     ASP.NET 2.0.50727.0
    Event Category:     None
    Event ID:     1334
    Date:          2/9/2009
    Time:          10:52:54 AM
    User:          N/A
    Computer:     TMD-DEN-WEB01D
    Description:
    An unhandled exception occurred and the process was terminated.
    Application ID: /LM/W3SVC/1/Root/TravisWebClinic
    Process ID: 1724
    Exception: System.TypeInitializationException
    Message: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    StackTrace:    at CrystalDecisions.CrystalReports.Engine.ReportDocument.Finalize()
    InnerException: System.Runtime.InteropServices.COMException
    Message: Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 800736b1.
    StackTrace:    at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Edited by: Royden on Jul 15, 2009 9:49 PM
    Edited by: Royden on Jul 15, 2009 10:06 PM

    The forums you referenced had some very good info regarding sacommlayer.dll. I did a quick test here and unregistered my sacommlayer.dll and I get the exact same error as you. Re-registering the COM file sacommlayer.dll resolved the issue.
    Have you tried registering the sacommlayer.dll with regsvr32?
    Hi,
    i do not know why, but to solve this problem (only with windows 2003 server) you have to do this:
    1. install Crystal Report redist package
    2. execute this command "regsvr32 /u C:\Program Files\Common Files\Business Objects\2.7\Bin\sacommlayer.dll"
    3. execute this command "regsvr32 C:\Program Files\Common Files\Business Objects\2.7\Bin\sacommlayer.dll"
    Now you can restart your server when you want.
    The bug is in dll file sacommlayer.dll in C:\Program Files\Common Files\Business Objects\2.7\Bin that appear to be not valid after a wondow 2003 restart.
    Bye
    mandu

  • Syntax error when adding parameter to Subroutine

    Hi .
      i have added one parameter to perform statement like below.
    PERFORM VBAP-POSNR_PRUEFEN(SAPFV45P). (this is previous statement)
    PERFORM VBAP-POSNR_PRUEFEN(SAPFV45P) USING SPACE.(thsi is new                                                                               
    statement which i added)
    (this is form)
    FORM VBAP-POSNR_PRUEFEN USING US_BAPI.
      DATA: DA_HIGH_POS LIKE VBAP-POSNR VALUE '900000',
            VP_MINPOSNR LIKE VBAP-POSNR VALUE '999999',
            VP_MAXPOSNR LIKE VBAP-POSNR.
    ENDFORM..
    when I trying to activate the fallowing error is giving. Please advise me how to do it.
    Function Module Z_SD_SALES_ITEM_MAINTAIN_CRS_1
    Parameter error with PERFORM VBAP-POSNR_PRUEFEN(SAPFV45P). The number
    of parameters (1) is not the same as the number of parameters in the
    first use of this form (0).

    Hi,
    The Perform statement syntax:
    PERFORM    <subr>
            |  <subr>(<prog>) [IF FOUND]
            |(<fsubr>)[IN PROGRAM (<fprog>)][IF FOUND]
            [USING  ... <pi>... ]
            [CHANGING... <pi>... ]
            [ON COMMIT].
    Calls an internal or external subroutine <subr> or the subroutine whose name occurs in the <fsubr> field. The external program is <prog> or the name contained in <fprog>. The IF FOUND addition prevents a runtime error from occurring if the subroutine does not exist. The USING and CHANGING additions fill the subroutine’s parameter interface. The ON COMMIT addition delays the execution of the subroutine until the next COMMIT WORK statement.
    Ex:
    PROGRAM DEMO.
    TABLES SBOOK.
    SBOOK-FLDATE = SY-DATUM.
    PERFORM FORM1(MYFORMS1).
    and two other programs:
    PROGRAM MYFORMS1.
    FORM FORM1.
    PERFORM FORM2(MYFORMS2).
    ENDFORM.
    and
    PROGRAM MYFORMS2.
    FORM FORM2.
    DATA NAME(20) VALUE 'SBOOK-FLDATE'.
    FIELD-SYMBOLS <FS>.
    ASSIGN (NAME) TO <FS>.
    IF SY-SUBRC EQ 0.
    WRITE / <FS>.
    ENDIF.
    ENDFORM.
    The output is:
    02.06.1998
    Regards,
    Bhaskar

  • Error in subroutine READ_NAMTB while transferring data from HCM to xRPM.

    Hi Guys,
    I am facing a problem while transferring data from HCM to xRPM via ALE.
    We are getting the error " Error in subroutine READ_NAMTB" during the Inbound Processing of Idocs in xRPM.
    We have used the standard message type HRMD_ABA and IDoc type HRMD_ABA04 without any modifications.
    Request you all to kindly let me know the solution to fix this issue asap.
    Thanks in advance,
    Punkuj..

    It was a bug in SP2, it is fixed in SP2 Patch 4.
    Cheers !!
    Zaheer

  • RVTBM-120: Subroutine rvtptcontrol() returned error

    Getting this Error : RVTBM-120: Subroutine rvtptcontrol() returned error
    Please find the log file:
    Purchasing: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    RVCTP module: Receiving Transaction Processor
    Current system time is 01-NOV-2010 17:20:04
    Concurrent program RVCTP returned error
    Cause: RVCTP encountered an internal error. Parameters: RVCTP,IMMEDIATE,203844,
    Action: Note both this error number and the actions you are trying to perform. Contact your system ad
    RVTBM-008: Subroutine rvtbm_immediate_mngr() returned error
    Cause: Subroutine rvtbm_immediate_mngr() returned an internal error.
    Action: Note this error number and the actions you are trying to perform. Contact your syste
    RVTBM-120: Subroutine rvtptcontrol() returned error
    Cause: Subroutine rvtptcontrol() returned an internal error.
    Action: Note this error number and the actions you are trying to perform. Contact your system administrator
    Concurrent Manager encountered an error while attempting to start your immediate concurrent program RVCTP. Routine &ROUTINE received a return code of failure.
    Contact your support representative.
    Current system time is 01-NOV-2010 17:20:06
    Executing request completion options...
    Output is not being printed because:
    The print option has been disabled for this report.
    Finished executing request completion options.
    Please Suggest...

    Getting this Error : RVTBM-120: Subroutine rvtptcontrol() returned error
    Please find the log file:
    Purchasing: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    RVCTP module: Receiving Transaction Processor
    Current system time is 01-NOV-2010 17:20:04
    Concurrent program RVCTP returned error
    Cause: RVCTP encountered an internal error. Parameters: RVCTP,IMMEDIATE,203844,
    Action: Note both this error number and the actions you are trying to perform. Contact your system ad
    RVTBM-008: Subroutine rvtbm_immediate_mngr() returned error
    Cause: Subroutine rvtbm_immediate_mngr() returned an internal error.
    Action: Note this error number and the actions you are trying to perform. Contact your syste
    RVTBM-120: Subroutine rvtptcontrol() returned error
    Cause: Subroutine rvtptcontrol() returned an internal error.
    Action: Note this error number and the actions you are trying to perform. Contact your system administrator
    Concurrent Manager encountered an error while attempting to start your immediate concurrent program RVCTP. Routine &ROUTINE received a return code of failure.
    Contact your support representative.
    Current system time is 01-NOV-2010 17:20:06
    Executing request completion options...
    Output is not being printed because:
    The print option has been disabled for this report.
    Finished executing request completion options.
    Please Suggest...

  • Error RVTSH-189: Subroutine rvtshiline() returned error

    Hi All,
    I am new using OM, using R12
    I am inserting record into rcv_headers_interface and rcv_transactions_interface and then running the Receiving Transaction Processor, i am getting the following error.
    Error RVTSH-189: Subroutine rvtshiline() returned error
    INSERT INTO rcv_transactions_interface
    (interface_transaction_id,
    header_interface_id,
    processing_status_code,
    transaction_date,
    GROUP_ID,
    last_update_date,
    last_updated_by,
    creation_date,
    created_by,
    transaction_type,
    processing_mode_code,
    transaction_status_code,
    quantity,
    to_organization_id,
    source_document_code,
    po_header_id,
    po_line_id,
    po_line_location_id,
    po_distribution_id,
    comments,
    org_id
    VALUES
    (rcv_transactions_interface_s.NEXTVAL,
    rcv_headers_interface_s.CURRVAL,
    'PENDING',
    SYSDATE,
    rcv_interface_groups_s.CURRVAL,
    SYSDATE,
    -1,
    SYSDATE,
    -1,
    'RECIEVE',
    'BATCH',
    'PENDING',
    20,--quantity
    83,
    'VENDOR',
    301,--po_header_id
    321,--po_line_id
    321,--po_line_location_id
    301,--po_distribution_id
    'TEST',
    83);
    update rcv_transactions_interface
    set processing_mode_code = 'BATCH',
    processing_status_code = 'PENDING',
    processing_request_id = null,
    transaction_status_code = 'PENDING',
    transaction_type = 'RECEIVE',
    source_document_code = 'INVENTORY',
    destination_type_code = 'INVENTORY',
    AUTO_TRANSACT_CODE = 'DELIVER',
    RECEIPT_SOURCE_CODE = 'INVENTORY',
    CHARGE_ACCOUNT_ID = 4037,
    UNIT_OF_MEASURE = 'Each',
    quantity =20
    am i missing some column that needs to be entered or updated?
    Any help on this would be appreciated.
    Regards

    Pl see if these MOS Docs can help
    1080050.6 - GET ERRORS RVTSH-140 RVTSH-189 when run Receiving Transaction Processor
    121907.1 - RVCTP: RVTSH-140 RVTSH-189 SUBROUTINE RVTSHILINE RETURNED ERROR
    369258.1 - Receipts Failing with RVTS-189 for Receiving Open Interface Transaction
    HTH
    Srini

  • RVTSH-189: Subroutine rvtshiline() returned error

    HI everyone,
    Iam trying to import reciept data from RCV_HEADERS_INTERFACE AND RCV_TRANSACTIONS_INTERFACE to base tables.
    But when iam running the concurrent program receiving transaction processor, it is completing successfully. But in the PO_INTERFACE_ERRORS iam getting the below error.
    RVTSH-189: Subroutine rvtshiline() returned error
    Cause: Subroutine rvtshiline() returned an internal error.
    Action: Note this error number and the actions you are trying to perform. Contact your system administrator for
    Any help regarding above would be helpful to me.
    PS:I have seen threads regarding this error but iam unable to find solution.

    HI sandeep..
    My problem has been solved. During inserting into RCV_TRANSACTIONS_INTERFACE, I haven't inserted the VALIDATION_FLAG column. After inserting the column the base tables are populated.
    Thank you
    with regards
    vijay
    Edited by: vi**** on Sep 14, 2011 11:11 PM

  • Error in subroutine read_namtb for structure of infotype

    We are trying to transfer HR Master data between ERP 5.0 and ECC 6.0 systems .
    The data transfer is successful in the development and Quality environments but fails in case of production environment.
    Details are given below
    Message type : HRMD_A
    Idoc type : HRMD_A06    ( Release 620 )
    When we try running PFAL using any evaluation path the idoc at the receiver ends up with an status 51 (error) .
    The error log gives the following error .
    u201CError in subroutine read_namtb for structure of infotypeu201D.
    I tried posting the received Idoc again at the receiving end using the transaction WE19 with the function module u201CIDOC_INPUT_HRMDu201D .
    The observations are given below.
    1.     While processing some of the records the infotype table name field becomes empty .
    2.     The subroutine read_namtb uses a FM u201CNAMETAB_GETu201D ,  which takes the input as the infotype table name and provides the output as all the fields of the table along with the attributes of the field.
    3.     As sometimes the table name is passed empty the function module returns an error which is mentioned above.
    Note : If we run PFAL without providing any evaluation path the idoc at receiver ends up with status 52 ( Application not posted completely).

    Hi Hadiman,
    I will activate those BADI's and check.
    But we solved the problem in a different way.
    Below is the analysis of the error.
    1.     The data was getting passed in an additional segment E1PAD007 in the production environment from the sender system.
    2.     During the inbound process the FM u201CRH_INFTY_OF_IDOCSEG_TYP_GETu201D is used to identify the respective infotype and the subtype
    for the segment name in the receiver system.
    3.     The function module searches for the tables T777D and table T77ar to fetch the infotype and the subtype.
    4.     The table T77ar does not contain the relevant entry .
    5.     The segment is related to a relationship u201C007u201D between jobs and positions.
    6.     As we do not need jobs in the target system, we removed the object type u2018Cu2019 from the model distribution.  This resolved the error.
    Note : The other way to resolve was to make an appropriate entry in the table T77AR .
    Thanks a lot Hadiman for the reply, will check with those BADI's too which you mentioned
    Regards,
    Santosh.

  • - RVTII-060: Subroutine inltpu() returned error - RVTII-060: Subroutine in

    Hi,
    I am getting " - RVTII-060: Subroutine inltpu() returned error - RVTII-060: Subroutine inltpu() returned error " error while processing receiving transaction.
    Can you please help
    Savita

    Some receiving txn errors can be fixed by bouncing the Receiving Transaction processor and if that does not work, by bouncing the d/b.

Maybe you are looking for