LSMW - Error BDC_INSERT, Transaction code .. is invalid

Dear all.
    I follow all the Steps in the LSWM, but when executed the step “Create Batch Input” this error message appears “BDC_INSERT, Transaction code .. is invalid”.  I have already created a Batch Input Section, but after created this Section and when i’m creating a new one the error message appears.
Best Regards
Pedro Miguel Rodrigues

Hi.
I have done the following Steps:
     1 - Maintain Object Attributes. Chose the Object type Batch Recording, then created a Record  using the name (CLI_PMR). And created the Batch record and then assign the fields name.
     2 - Maintain Source Structures – Created the Struture (CLI_PMR1)
     3 - Maintain Source Fields – Assign the fields name and length that I used in my program. (CLI_PMR1).
     4 -  Maintain Structure Relations – Assign the Struture (CLI_PMR1 to CLI_PMR)
     5 - Maintain Field Mapping and Conversion Rules – The normal thing in this point.
     6 - Specify Files - Specified the Legacy Data, path for the file.
     7 - Generate Read Program – Generated the Program.
     8 – Read Data – Executed this Step and every thing is correct
     9 - Generate Conversion Program – Generated the program
     10 - Convert Data – Convert data
     11 - Display Converted Data – Every thing is fine, with no errors
     12 - Create Batch Input Session- At this time, the message error appears
Best Regards
Pedro Miguel Rodrigues

Similar Messages

  • LSMW - Error BDC_INSERT, Transaction code .. is invalid XD01

    Dear all.
    I have done the following Steps:
    1 - Maintain Object Attributes. Chose the Object type Batch Recording, then created a Record using the name (CLI_PMR). And created the Batch record and then assign the fields name.
    2 - Maintain Source Structures – Created the Struture (CLI_PMR1)
    3 - Maintain Source Fields – Assign the fields name and length that I used in my program. (CLI_PMR1).
    4 - Maintain Structure Relations – Assign the Struture (CLI_PMR1 to CLI_PMR)
    5 - Maintain Field Mapping and Conversion Rules – The normal thing in this point.
    6 - Specify Files - Specified the Legacy Data, path for the file.
    7 - Generate Read Program – Generated the Program.
    8 – Read Data – Executed this Step and every thing is correct
    9 - Generate Conversion Program – Generated the program
    10 - Convert Data – Convert data
    11 - Display Converted Data – Every thing is fine, with no errors
    12 - Create Batch Input Session- At this the error message appears Error BDC_INSERT, Transaction code .. is invalid  time.
    At the time we have created other LSMW programs for this T-Code and every thing is OK.
    I'm using the T-CODE=XD01
    Best Regards
    Pedro Miguel Rodrigues

    Hi, I had the same problem in LSMW when generating a batch input for trx IE01. The cause was that there were tab/newline-characters in my text file (some descriptions contained tab-characters). Since I used a tab delimited file, these tabs/newlines in the fields messed up my file.
    The excel file contained multiple lines per cell in some description fields. When this was exported to tab delimited text, it contained additional tabs. After checking the contents and removing the tabs/newlines from Excel and performed a new export to txt-file, it was solved.
    Best regards,
    Jan-Peter Molenaar
    SAP EAM Consultant

  • BDC_INSERT, Transaction code .  Ma. is invalid

    Hi All,
    I am developing LSMW through Batch Onput. I have created the recording and completed the steps upto Batch Seesion Creation. When I try to create a Batch Input seesion systom throws the following error message and directly goes out of LSMW.
    BDC_INSERT, Transaction code .  Ma. is invalid
    Please guide me.
    Regards
    Sam

    hi....
    this moght happen due to nonexitance of the t code...
    plz check in table TSTC whether tcode is there or or not....if it exist then use it.
    and furthur tcodes should be in caps and shold be given in like 'SE38'.
    regards

  • Error in transaction code MB01

    Hi,
    While doing th goods receipt for a Purchase order in MB01 transaction code ,  I am getting error message as "Inconsistency between a document field and profitability segment number "
    Here account assignment category of PO is - All aux.acct.assgts.
             Item category is : Third party.
    Please help me in this issue.
    Thanks,
    Usha.

    Hi Can you please explain me how to check this inconsistency for G/L account.
    I found the G/L account for that perticular company code and valuation area.
    Please explain me .
    Thanks ,
    Usha.

  • Error in transaction code S_ALR_87013611

    Hi All
    while running the transaction code S_ALR_87013611  
                                      For  -  Cost Centers: Actual/Plan/Variance
       Its not running and flashing a ERROR Message   - Library 1VK does not exist.
    Please Help

    Hi Jitendra,
    There is quite possibility that the some library might have deleted.
    To retrive the same you can search OSS, there are many notes available related to Report writer reports.
    Reward points if useful.
    Regards,
    Atish

  • Error in Transaction code PRCCE

    Hi,
    I am facing a problem in ruuning the transaction code PRCCE.In that transaction code in the Field "Card Compamy" I put MC which is defined in the system and exected it and  Click on new entries to add missing transactions into the table. This will then allow the generation of a properly formatted Credit Card transaction file which may be uploaded to SAP T&E. and fill up the details like Personal number , coporate Credit Card , transaction category (other).
    Transaction category "Other" is defined in the table T702B that I have checked.
    But when I put the card Number MC5533865000135989 the system throws an error message "Card type does not Exist"
    can any one tell me why the system is throwing an error message?
    With regards,
    Sudipto

    Hi Kiron
    Thanks for your early response,
    I have checked as u suggested. Even I checked the Table T702B where all the necessary data are maintained.
    This problem is occuring for one personal number and I have seen other personal numbers are entered with other Credit Card number with same Card Type. For this particular personal number I am trying to execute PRCCE for the first time.
    suggest me further
    With Regards,
    Sudipto

  • Error in transaction code F-04, table T043G

    Hi experts,
    In executing transaction code F-04, I receive the following error:  "Entry for Company XXXX not defined in table T043G"
    I have checked table T043G and the company is not listed.  What config steps are necessary to correct this?
    Thanks for you assistance

    Hi
    That table stands for Customer/Vendor Tolerance
    Go SM30 and put V_T043G table and press maintain. Then Copy 0001 and change the Company code & currency - SAVE
    Hope your problem will solve
    Regards
    Tanmoy

  • BDC Error in transaction code IHC1IP

    HI Experts,
    I have a requirment to  Park/Post multiple Payment orders via transaction code IHC1IP .So proceeded with BDC but  in the screen of IHC1IP there a long text called Payment Notes which i am unable capture by recording. Please suggest if anyone has faced the same problem. As per as my understanding because of container is used for payment notes .
    So is it because of container its not captured by BDC or is there any problem. Please sugggest me the way to proceed further.
    Regards,
    Krishna Prasad.K

    Hi Krishna,
    If you have got the answer for the above query, please share with me. As I am stuck at the same place.
    Thanks in advance!!!
    Regards,
    Roli

  • LSMW ERROR IN FOLLOWING CODE SHOWING ERROR  AT LINE NO 79

    ALL GURUs,
    I AM CREATING A NEW LSMW (RECORDING TYPE), FOR MOVEMENT TYPE 309,BUT AT THE 11TH LEVEL IN (CONVERT DATA) DUMP IS COMING SHOWING THE ERROR
    in the Include "/1CADMC/SAP_LSMW_CONV_00000124 " in line 79:
    "For type "C", a length specification from 1 to 65535 is allowed.
    PL. HELP ITS VERY URGENT.
    PONTS WILL BE REWARDED FOR CORRECT SOLUTION
    LSM Workbench: Data Conversion Program
    Program:      /1CADMC/SAP_LSMW_CONV_00000124
    Date:         11.02.2008
    Time:       19:07:03
    User:          VMDM_SUNITA
    Project:       CUTOVER
    Subproject:   BALANCES
    Object:        TRIAL
    report /1CADMC/SAP_LSMW_CONV_00000124
      message-id /sapdmc/lsmw.
    Global data definitions and table declarations
    include:
      /SAPDMC/SAP_LSMW_INC_GLOBALS.
    Additional data definitions and table declarations
    include:
      /sapdmc/sap_lsmw_conv_data.
    Target structure definitions
    data:
      begin of TRANSFERPO occurs 0,
        TABNAME(000030) type C,
        TCODE(000020) type C,
        TRANSACTION_TYPE(000003) type C,
        REFERANCE(000003) type C,
        MOVEMENT_TYPE(000003) type C,
        DOC_DATE(000010) type C,
        POSTING_DATE(000010) type C,
        OUTPUT(000001) type C,
        LINE(000004) type C,
        SOURCE_ITEM(000040) type C,
        DEST_ITEM(000040) type C,
        SOURCE_PLANT(000030) type C,
        DEST_PLANT(000030) type C,
        SOURCE_SLOC(000016) type C,
        DEST_SLOC(000016) type C,
        QUANTITY(000017) type C,
      end of TRANSFERPO .
    data:
      init_TRANSFERPO like TRANSFERPO,
      prev_TRANSFERPO like TRANSFERPO.
    Source structure definitions
    data:
      begin of LSMW_TP309,
        DOC_DATE(008) type C,
        POSTING_DATE(008) type C,
        LINE(004) type C,
        SOURCE_ITEM(018) type C,
        DEST_ITEM(018) type C,
        SOURCE_PLANT(004) type C,
        DEST_PLANT(004) type C,
        SOURCE_SLOC(004) type C,
        DEST_SLOC(004) type C,
        QUANTITY(010) type C,
      end of LSMW_TP309.
    data:
      begin of TP309 occurs 0.
            include structure LSMW_TP309.
    data:   recnr_000001 type i.
    data:
      end of TP309.
    Counters
    data:
      g_cnt_TP309  type i.
    Counter ct_xxxxxxxxxx: number of transferred records
    data:
      ct_TRANSFERPO  type i,
      cs_TRANSFERPO  type i.
    Fixedvalues
    data:
      fv_309TRF(000000) type C.
    parameters:
      p_filept no-display,
      p_trfcpt no-display,
      p_packge(5) type n no-display.
    Select-option for wildcard value in file names
    selection-screen begin of block selopts3
                     with frame title text-003.
    select-options:
      so_wldcd for /sapdmc/lsofiw-wildcardvalue no-display.
    selection-screen end of block selopts3.
    initialization.
    Object identifer
      g_project = 'CUTOVER        '.
      g_subproj = 'BALANCES       '.
      g_object = 'TRIAL          '.
      g_objecttype = '02'.
    start-of-selection.
    Initializations
      perform initializations.
    Reset counters and flags
      perform reset_counters_and_flags.
    Reset tables
      perform reset_tables.
    Create initial structures with nodata characters
      perform create_initial_structures.
    Assign values to fixedvalues
      read table gt_lsratt with key
                 ruletype = con_rule_fixedvalue
                 rulename = '309TRF'.
      if sy-subrc = 0.
        if gt_lsratt-fixedvalue is initial.
          write: / text-019, '309TRF                        '.
        else.
          fv_309TRF = gt_lsratt-fixedvalue.
        endif.
      endif.
    Execute data conversion.
      perform execute_data_conversion.
    Final message
      perform final_message.
    Close files
      perform close_files.
    Write protocol.
      perform write_protocol.
    End program
      exit.
    Form Routines
      include:
        /sapdmc/sap_lsmw_conv_forms,
        /sapdmc/sap_lsmw_conv_prot.
    *&      Form  execute_data_conversion
          text
    form execute_data_conversion.
      data: struc_length type i.
      do.
        perform read_next_record.
        if g_flg_end_of_file = yes. exit. endif.
        case g_record.
          when 'TP309'.
            if g_flg_convert_transaction = yes.
              perform convert_transaction.
              perform clear_source_tables.
            else.
              g_flg_convert_transaction = yes.
            endif.
            assign gs_buffer-data to <g_buffer_to_struc>
                   casting like lsmw_TP309.
            move-corresponding <g_buffer_to_struc> to TP309.
            TP309-recnr_000001 = g_cnt_records_read.
            append TP309.
            add 1 to g_cnt_TP309.
            add 1 to g_cnt_transactions_read.
          when others.
    perform insert_message using ... .
        endcase.
        if ( so_tcntr-option = 'BT' and
             g_cnt_transactions_read > so_tcntr-high ) or
           ( so_tcntr-option = 'EQ' and
             g_cnt_transactions_read > so_tcntr-low ).
          exit.
        endif.
      enddo.
    Process last transaction.
      perform convert_transaction.
      perform clear_source_tables.
    endform.                    "execute_data_conversion
    *&      Form  convert_transaction
          text
    form convert_transaction.
      check so_tcntr.
      loop at TP309.
        perform convert_0001. " TRANSFERPO
      ENDLOOP.
    End of transaction
      transfer_transaction.
    endform.                    "convert_transaction
    *&      Form  clear_source_tables
          text
    form clear_source_tables.
      clear TP309[].
    endform.                    "clear_source_tables
    *&      Form  create_initial_structures
          text
    form create_initial_structures.
      perform initialize_with_nodata using
              'TRANSFERPO' init_TRANSFERPO.
    endform.                    "create_initial_structures
    *&      Form  convert_0001
          text
    form convert_0001. " TRANSFERPO
      check g_skip_transaction = no.
      g_skip_record = no.
      g_record = 'TRANSFERPO'.
    --- __BEGIN_OF_RECORD__
      TRANSFERPO = INIT_TRANSFERPO.
    --- TRANSFERPO-TABNAME
      TRANSFERPO-TABNAME = 'TRANSFERPO'.
    --- TRANSFERPO-TCODE
      TRANSFERPO-TCODE = 'MIGO'.
    --- TRANSFERPO-TRANSACTION_TYPE
      TRANSFERPO-TRANSACTION_TYPE = 'A08'.
    --- TRANSFERPO-REFERANCE
      TRANSFERPO-REFERANCE = 'R10'.
    --- TRANSFERPO-MOVEMENT_TYPE
      TRANSFERPO-MOVEMENT_TYPE = '309'.
    --- TRANSFERPO-DOC_DATE
      TRANSFERPO-DOC_DATE = TP309-DOC_DATE.
    --- TRANSFERPO-POSTING_DATE
      TRANSFERPO-POSTING_DATE = TP309-POSTING_DATE.
    --- TRANSFERPO-OUTPUT
      TRANSFERPO-OUTPUT = '2'.
    --- TRANSFERPO-LINE
      TRANSFERPO-LINE = TP309-LINE.
    --- TRANSFERPO-SOURCE_ITEM
      TRANSFERPO-SOURCE_ITEM = TP309-SOURCE_ITEM.
    --- TRANSFERPO-DEST_ITEM
      TRANSFERPO-DEST_ITEM = TP309-DEST_ITEM.
    --- TRANSFERPO-SOURCE_PLANT
      TRANSFERPO-SOURCE_PLANT = TP309-SOURCE_PLANT.
    --- TRANSFERPO-DEST_PLANT
      TRANSFERPO-DEST_PLANT = TP309-DEST_PLANT.
    --- TRANSFERPO-SOURCE_SLOC
      TRANSFERPO-SOURCE_SLOC = TP309-SOURCE_SLOC.
    --- TRANSFERPO-DEST_SLOC
      TRANSFERPO-DEST_SLOC = TP309-DEST_SLOC.
    --- TRANSFERPO-QUANTITY
      TRANSFERPO-QUANTITY = TP309-QUANTITY.
    --- __END_OF_RECORD__
      transfer_record.
      g_skip_record = no.
    endform.                    "convert_0001

    the bad guy is
    data:
    fv_309TRF(000000) type C.
    check the definition of this fixed value in step 6, especially whether output length is > 0.
    Then generate the conversion program and try again.
    Cheers
    Thomas

  • Style Sheet error in Transaction code ME21N

    After executing the Transaction ME21N.If we press "Help push button" the system should open help on the left side of the system. But in our case it is displaying only one line.                          
    <style type="text/css"><
    It seems to that some style sheet are missing. We have just upgraded the R/3 support pack from 39 to 48. Before support it was working fine.    
    we have the same problem with transaction ME51N.Please suggest.                                                          
    Thanks and Regard
    Amandeep Singh

    Hi
    That table stands for Customer/Vendor Tolerance
    Go SM30 and put V_T043G table and press maintain. Then Copy 0001 and change the Company code & currency - SAVE
    Hope your problem will solve
    Regards
    Tanmoy

  • Error in Transaction code MC62

    User is getting error while trying to execute the report MC62. Error is " Planning level does not exit". The messoge number is MA 282. Main programm name is SAPMMCP3. Include programm name is MMCP3FEO.
                    In the line number 506 & 588, this message will come. THe condition to throw this error is
         IF PLOB<>ANLEGEN AND KZ_EXIT <> TRUE
    Then system will  give error message MA282.
      OR
           IF KZ_EXIT<>TRUE
        Then system will give  error message MA282.
    ANLEGEN is a German word. Which means Creation.
    PLOB is status of planning object.
    So according to programm If status of planning object is not Creation then system will throw this message no MA282.
    So my Question is where we can see the status of planning object.
             Please reply me soon. As I need to close my ticket by EOD.

    HI
    Do you mean transaction MC62? if so then I would ask the question in the SAP - PP Forum instead of here as that transaction is an ERP one not an APO one.
    Regards
    Ian

  • Error in transaction code SOST for sending PO by EDI

    Hi All,
    While using SOST the mail is not getting triggered & I am getting the foloowing error. Could anyone help me out.
    Message cannot be transferred to node SMTP due to connection error (final)
    Message no. XS816
    Diagnosis
    Due to a technical fault, the system could not set up a connection to the RFC destination Check port and mail server for SMTP nodes. Therefore, the message could not be transferred to node SMTP.
    System Response
    The system was unable to transfer the message.
    Additional information of the node used (in the system language of the node):
    Procedure
    Check the connection from SAP system to node SMTP. Perhaps the node is not assigned to the correct RFC destination. If so, correct this in Customizing.
    Otherwise use RFC destination management to check the RFC connection to destination Check port and mail server for SMTP nodes.
    If R/3 is in productive operation, it is advisable to reroute provisionally to another node.
    You should therefore notify your system administrator.
    Thanks,
    Nandan.

    Hi Nandan,
    Did you find the solution to the error.
    I am facing the same error.
    Please share the resolution if you found.

  • Error in transaction code ABAON asset asales without customer

    Dear all,
    my user gets an error while he is running ABAON tc,
    its an ABAP runtime error GETWA_NOT_ASSIGNED
    Pls kindly assist me

    Check if ur asset APC acct is a recon acct. looks like you have some parameters which are not getting filled and so ur program is crashing and giving a short dump. An ABAP'er might be able to assist u in this case.
    also, look at Note 862548 - GETWA_NOT_ASSIGNED if it helps.
    Search on this forum with ur error message, u will see lots of posts on it.

  • Error in transaction code ABAON

    Dear all,
    my user gets an error while he is running ABAON tc,
    its an ABAP runtime error GETWA_NOT_ASSIGNED
    Pls kindly assist me

    Check if ur asset APC acct is a recon acct. looks like you have some parameters which are not getting filled and so ur program is crashing and giving a short dump. An ABAP'er might be able to assist u in this case.
    also, look at Note 862548 - GETWA_NOT_ASSIGNED if it helps.
    Search on this forum with ur error message, u will see lots of posts on it.

  • Error on Transaction Code for Query

    Hello, Masters
    I have a problem with a transaction for query, I hope that you can help me.
    On transaction SE93 I create transaction ZRH11,
    I choose transaction with parameters.
    On Transaction field the value is  START_REPORT
    The checkbox skip initial screen is marked
    The checkbox for SAP GUI for html, java and windows are marked
    Parameter D_SREPOVARI-REPORTTYPE = 'AQ'.
    Parameter D_SREPOVARI-REPORT     = 'RHCYA' is the users group this group is global
    Parameter D_SREPOVARI-EXTDREPORT = 'ZIT0015' is the query
    Parameter D_SREPOVARI-VARIANT    = 'STANDARD'
    R/3 says that the transaction is consistent, but at the time that I want to run send the message "User group RHCYA has not yet been created"
    The user group is created, what's wrong???
    Thanks
    Omar

    Hi Omar,
    Please try to Use the User group as "RHCYA1". For some reason, it doesn't take the user group as it is and we need to append some character to the user group at the end. Not sure why it does so. Please use RHCYA1 and see if it works. Hope this helps. Thanks
    Hari

Maybe you are looking for

  • How do I make ACR 4.6 start saving edits to PSDs again?

    When I develop an image in ACR 4.6 and save it to a psd, the psd looks like the original dng, not the processed image -- no edits are saved even though I use Save Image or Open Image.  It's been working fine for years.  I have the same versions of dn

  • How can I get my old firmware back again?

    With firmware version 2.17 I used to have some problems with my system hanging now and then. With firmware 2.30 all my problems were solved and I was happy. Stupidly enough I upgraded to firmware verison 2.50 because MSI mentioned better support for

  • Sender Soap Adapter communication channel  error

    Dear Experts, When i see Sender soap adapter status in Communication channel monitoring.I am getting the status as: "Processing Errors in the Last 50 Minutes" Thanx in advance

  • Viewing Pictures inserted into Eudora from iPhoto '08

    I tried inserting (NOT attaching), by dragging-and-dropping, a photo I'd exported from iPhoto '08 into the text of an e-mail I was composing on Eudora v. 6.2.4. Cc's of the message to Hotmail and Yahoo addresses displayed the picture correctly, but a

  • Acrobat retina display?

    Hi there, I'm using the Adobe CC versions of InDesign, Illustrator, Photoshop and Acrobat on my brand new MacBook Pro with retina display. Everything looks fine except for Acrobat, where it's all horribly pixellated. Is there anything I can download