How to UNLOCK  queues when data is migrated from legacy system to SAP syste

Hi  All,
I need some help regarding queues (SMQ2). XI is been used to migrate data from legacy system to SAP system. Sometimes the queue is getting locked. Once the queue is unlocked then the message is processed correctly. So, the incoming queues must be "unlocked" routinely so that they can process through the system. There is a standard report RSQIWKEX available that can be scheduled in SAP system to automatically unlock the queues. Before using the standard report RSDIWKEX, we made sure that we have added parameter MONITOR QRFC_RESTART_ALLOWED set to "1" in Integration Engine specific configuration (TCODE SXMB_ADM).We are unable to analyze the reason for locking of queues and how to avoid it. If the locking of the queues can not be avoided, is there any way to unlock the queues? We tried executing this report but were not successful in unlocking the queues. Please guide us in solving this issue. It would be really helpful if you can give us a direction in solving this problem.
Thanks in Advance,
Shwetha.

Hi,
Just check if the Queues are registered in Transaction SMQR.
If its not, then register the Queue by pressing 'Register' Button
Sharif.

Similar Messages

  • Data migration from legacy system to SAP

    hi all,
      could you please post some docs on migration from legacy system to SAP system., also the problems faced while migration and best practices in data migration
    regards
    sridharan

    Hi ,
    I require few details from you.
    1. What ETL tool you are using, If Informatica, it already have PowerConnect to connect to SAP. So you can create source and Target Structure and also you can use RFC's to send data to R/3. Else, for other ETL tools, can you prepare RFC's or any other way to send data to R/3. let me know the tool.
    2. Does R/3 contains the master data tables? If yes, then try to use LSMW for Mass upload of data to tables.
    If your client don't want to use either of these options please elaborate, what is the case.
    Regards
    Aashish Sinha

  • How to find out when data was deleted from table in oracle and Who deleted that

    HI Experts,
    Help me for below query:
    how to find out when data was deleted from table in oracle and Who deleted that ?
    I did that to fidn out some data from dba_tab_modifications, but I m not sure that what timestamp shows, wether it shows for update,insert or delete time ?
    SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES,TIMESTAMP,DROP_SEGMENTS,TRUNCATED from dba_tab_modifications where TABLE_NAME='F9001';
    TABLE_OWNER                    TABLE_NAME                        INSERTS    UPDATES    DELETES     TIMESTAMP         DROP_SEGMENTS TRU
    PRODCTL                        F9001                                                     1683         46       2171            11-12-13 18:23:39             0                   NO
    Audit is enable in my enviroment?
    customer is facing the issue and data missing in the table and I told him that yes there is a delete at 11-12-13 18:23:39 in table after seeing the DELETS column and timestamp in dba_tab_modifications, but not sure I am right or not
    SQL> show parameter audit
    NAME                                 TYPE        VALUE
    audit_file_dest                      string      /oracle/admin/pbowe/adump
    audit_sys_operations                 boolean     TRUE
    audit_syslog_level                   string
    audit_trail                          string      DB, EXTENDED
    please help
    Thanks
    Sam

    LOGMiner --> Using LogMiner to Analyze Redo Log Files
    AUDIT --> Configuring and Administering Auditing

  • How to transfer Cats data from legacy system to SAP System

    Hi,
    I need to export data to CATS from Legacy system.What is the procedure for that?
    How do I define field?
    Please help it is urgent.
    Thanks,
    Kavita

    Hi Kavita,
      Check the link below.
       http://sap-img.com/sap-data-migration.htm
      Reward points if it helps.
    Regards
    Karan

  • Upload data from legacy system to SAP through ALE IDOC

    Hello All,
    I have a requirement where i need to upload the data from legacy system to SAP. So i am using ALE IDOC.
    In my requirement i need to extend the Standard IDOC. I have extended the IDOC and even found the exit for the updation of the extended fields to SAP. My data would be be placed in the application server.
    Can anybody tell me how to retrieve the data and update in the tables for the extended fields.
    Could you please provide a sample program for retrieving data for IDOC.
    Thanks

    Hi,
    You can find the sample code in the following link.
    Re: calling idoc_input_creditor
    Regards
    Sajid

  • Sales order migration from legacy system

    Hi,
    What are the strategies/precautions/steps to be followed for migrating sales orders or quotations from legacy system to SAP?
    Thanks

    Hi,
    Sample Code for Sales Order (VA01):
    Input File Layout:
    Sales Document Type, Sales Organisation, Distribution Channel, Division, Sold To Party, Ship To Party, Customer purchase order number, Customer purchase order date, Payment Terms(custom field), incoterms1, incoterms2, Order reason (reason for the business transaction), Material, Cumulative order quantity in sales units,.
    DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
    DATA : w_auart(4) TYPE c,
    w_vkorg(4) TYPE c,
    w_vtweg(2) TYPE c,
    w_spart(2) TYPE c,
    w_kunnr(10) TYPE c,
    w_kunrg(10) TYPE c,
    w_bstkd(35) TYPE c,
    w_bstdk(10) TYPE c,
    w_kwmeng(18) TYPE c,
    w_zterm(4) TYPE c,
    w_inco1(3) TYPE c,
    w_inco2(28) TYPE c,
    w_augru(3) TYPE c.
    DATA : var1 TYPE string,
    var2 TYPE c VALUE '(',
    var3 TYPE c VALUE ')',
    num(2) TYPE c,
    flag(1) TYPE c.
    DATA : BEGIN OF it_order, " Internal table Structure
    auart(4) TYPE c, " Sales Order Type
    vkorg(4) TYPE c, " Sales Organization
    vtweg(2) TYPE c, " Distribution Channel
    spart(2) TYPE c, " Division
    kunnr(10) TYPE c, " Sold-to-Party
    kunrg(10) TYPE c, " Ship-to-Party
    bstkd(35) TYPE c, " Purchase Order No
    bstdk(10) TYPE c, " Purchase Order Date
    zterm(4) TYPE c, " Payment Terms
    inco1(3) TYPE c, " Inco Terms1
    inco2(20) TYPE c, " Inco Terms2
    augru(3) TYPE c, " Order Reason
    mabnr(18) TYPE c, " Material No
    kwmeng(18) TYPE c, " Quantity
    END OF it_order,
    itab LIKE STANDARD TABLE OF it_order WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETER filename LIKE rlgrap-filename.
    PARAMETER session LIKE apqi-groupid.
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR filename.
    Get the file path
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    def_filename = filename
    def_path = ' '
    mask = ',.,..'
    mode = 'O'
    title = 'Select File'
    IMPORTING
    filename = filename
    EXCEPTIONS
    selection_cancel = 1.
    CHECK sy-subrc = 0.
    START-OF-SELECTION.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    codepage = ' '
    filename = filename
    filetype = 'ASC'
    headlen = ' '
    line_exit = ' '
    trunclen = ' '
    user_form = ' '
    user_prog = ' '
    dat_d_format = ' '
    IMPORTING
    FILELENGTH =
    TABLES
    data_tab = itab
    EXCEPTIONS
    conversion_error = 1
    file_open_error = 2
    file_read_error = 3
    invalid_type = 4
    no_batch = 5
    unknown_error = 6
    invalid_table_width = 7
    gui_refuse_filetransfer = 8
    customer_error = 9
    OTHERS = 10.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    PERFORM open_group.
    LOOP AT itab.
    CLEAR : w_auart,w_vkorg,w_vtweg,w_spart,w_kunnr,w_kunrg,
    w_bstkd,w_bstdk,w_zterm,w_inco1,w_inco2,w_augru.
    w_auart = itab-auart.
    w_vkorg = itab-vkorg.
    w_vtweg = itab-vtweg.
    w_spart = itab-spart.
    w_kunnr = itab-kunnr.
    w_kunrg = itab-kunrg.
    w_bstkd = itab-bstkd.
    w_bstdk = itab-bstdk.
    w_zterm = itab-zterm.
    w_inco1 = itab-inco1.
    w_inco2 = itab-inco2.
    w_augru = itab-augru.
    ON CHANGE OF itab-kunnr OR itab-kunrg OR itab-bstkd .
    flag = 0.
    num = 1.
    PERFORM bdc_dynpro USING 'SAPMV45A' '0101'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'VBAK-AUART'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'VBAK-AUART' " Order Type
    itab-auart.
    PERFORM bdc_field USING 'VBAK-VKORG' " Sales Organization
    itab-vkorg.
    PERFORM bdc_field USING 'VBAK-VTWEG' " Distribution Channel
    itab-vtweg.
    PERFORM bdc_field USING 'VBAK-SPART' " Division
    itab-spart.
    PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'VBKD-BSTKD' " PO Number
    itab-bstkd.
    PERFORM bdc_field USING 'VBKD-BSTDK' " PO Date
    itab-bstdk.
    PERFORM bdc_field USING 'KUAGV-KUNNR' " Sold to Party
    itab-kunnr.
    PERFORM bdc_field USING 'KUWEV-KUNNR' " Ship to Party
    itab-kunrg.
    PERFORM bdc_field USING 'VBKD-ZTERM' " Payment Terms
    itab-zterm.
    PERFORM bdc_field USING 'VBKD-INCO1' " Inco Terms1
    itab-inco1.
    PERFORM bdc_field USING 'VBKD-INCO2' " Inco Terms2
    itab-inco2.
    PERFORM bdc_field USING 'VBAK-AUGRU' " Order Reason
    itab-augru.
    ENDON.
    IF flag = 0.
    LOOP AT itab WHERE bstkd = itab-bstkd AND kunnr = itab-kunnr .
    var1 = 'RV45A-MABNR'.
    CONCATENATE var1 var2 num var3 INTO var1.
    PERFORM bdc_field USING var1
    itab-mabnr.
    var1 = 'RV45A-KWMENG'.
    CONCATENATE var1 var2 num var3 INTO var1.
    PERFORM bdc_field USING var1
    itab-kwmeng.
    PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    num = 2.
    ENDLOOP.
    ELSE.
    CONTINUE.
    ENDIF.
    flag = 1.
    PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=SICH'.
    PERFORM bdc_transaction USING 'VA01'.
    ENDLOOP.
    PERFORM close_group.
    WRITE : / 'Session',session, 'was Created'.
    FORM open_group.
    CALL FUNCTION 'BDC_OPEN_GROUP'
    EXPORTING
    client = sy-mandt
    group = session
    user = sy-uname
    keep = 'X'.
    ENDFORM.
    FORM close_group.
    CALL FUNCTION 'BDC_CLOSE_GROUP'.
    ENDFORM.
    FORM bdc_transaction USING tcode.
    CALL FUNCTION 'BDC_INSERT'
    EXPORTING
    tcode = tcode
    TABLES
    dynprotab = bdcdata.
    ENDFORM.
    FORM bdc_dynpro USING program dynpro.
    CLEAR bdcdata.
    bdcdata-program = program.
    bdcdata-dynpro = dynpro.
    bdcdata-dynbegin = 'X'.
    APPEND bdcdata.
    ENDFORM.
    FORM bdc_field USING fnam fval.
    IF fval <> ' '.
    CLEAR bdcdata.
    bdcdata-fnam = fnam.
    bdcdata-fval = fval.
    APPEND bdcdata.
    ENDIF.
    ENDFORM.
    Regards,
    Naveen.

  • BO DI for extracting data from legacy system to SAP BW 7.0

    Hi,
    Has anyone worked on scenario where BO Data Integrator is being used as ETL tool for extracting data from legacy systems to SAP BW 7.0 ?
    Please share your experience on such a landscpae or related documents any of you had come across.
    Regards,
    Pritesh

    There are couple of them - Lawson ERP, Kalido, AS/400.  ECC 5.0 might be there as well.
    Regards,
    Pritesh.
    Edited by: pritesh prakash on Jun 14, 2010 2:00 PM

  • Uploading data from Legacy System to SAP (In PS Module)

    While Implementing Project system Module, Whether LSMW is applicable for uploading data from Legacy sytem. If not, then what is the method used for uploading the data from Legacy sytsem to SAP

    For creating/uploading the master data from legacy system to SAP we either use below options
    1. BDC (recording)
    2. BAPI
    3. ALE iDoc.
    I would sugguest you to use BAPI and there's already this post which explains few details about the BAPI:
    Problems with BAPI_PROJECT_MAINTAIN
    Regards
    Sreenivas

  • Data Migration from Legacy system to ECC systems via ETL through SAP PI

    Hi All,
    I wanted to know if we can migrate the data from Legacy systems to ECC systems via PI.
    What I understand is there is ETL tool is used to extract the data from legacy system, and what client is looking to load that data via PI?
    Can we do that ? I am concerned because this will involve mass data?
    If I have to use PI , I see option of  PROXY / IDOC /FILE as receiver in ECC system (take the data from ETL)?
    Can somebody has done this earlier , please share the approach.
    Thanks,
    Pushkar Patel

    Hi ,
    I require few details from you.
    1. What ETL tool you are using, If Informatica, it already have PowerConnect to connect to SAP. So you can create source and Target Structure and also you can use RFC's to send data to R/3. Else, for other ETL tools, can you prepare RFC's or any other way to send data to R/3. let me know the tool.
    2. Does R/3 contains the master data tables? If yes, then try to use LSMW for Mass upload of data to tables.
    If your client don't want to use either of these options please elaborate, what is the case.
    Regards
    Aashish Sinha

  • How to transfer data from legacy system  to SAP

    Hi Friends,
    I would like to know the process and the steps followed to transfer data from my legacy system to SAP.
    Suppose if i have all the data in the form of Excel sheet or doc type. How can i transfer this data into SAP.
    Please explain the steps followed.
    Appreciate your help
    Anil

    Hi ,
    Conversion of legacy data into SAP can be uploaded using a standard SAP Tool called LSMW ( TCode:LSMW).
    the below link gives a brief explanation of the LSMW tool
    http://tutorialsap.com/abap/sap-lsmw-tutorial-with-steps-to-create.html
    There are various methods to upload data within LSMW. If the number of records are very high like Article Master or  Conditions for Retail the IDOC method must be used.
    Standard IDocs
    1. Article Master - ARTMAS
    2. Conditions - COND_A
    3. Source list - SRCLST
    4. Customer Master or WRF3/WRF6 tables - DEBMAS
    5. Vendor master- CREMAS
    Etc. Use transaction code WE60 to see the structure of each of the idocs. New enhancements can be done for the idocs if the required field is not available.
    Regards
    Prabhu

  • How to extract non-sap data (A/R Invoices from Legacy system) into SAP ICR

    Hi
    We are trying to bring A/R invoices from a legacy system into SAP ICR special ledger so that ICR tool can be used these items for intercompany reconcilliation. Could you please let's know the way to load these legacy AR invoice items into ICR data base using any function moduels.
    Regards,
    Eswar.

    Hello Eswar,
    In what form do you have these "external" open items? If they are contained in a file you should simply import the file in ICR during data selection using the File Upload functionality. There is no need to store them in a special purpose ledger first. Actually you would have to create a BADI implementation to extract the data from that special purpose ledger during data selection. Please consider using File Upload standard functionality.
    If for some reason this cannot be used you could implement a logic calling RFC enabled function module FB_ICRC_ADD_DATA_RFC which will take the open items you are supplying in your logic and push them into the ICR database. This strategy could be used to include these external open items without them being processed during data selection.
    Best regards,
    Ralph

  • Grantor Objects Migration from Legacy System

    Hi All,
    I have a scenario in which I will be requried to migrate Grantor objects (Programs, Application, Claim, Change Request, billing documents) from legacy system.
    I checked the busines objects for Application but could not find the Create Method as we have for Sales Order or Activities.
    Can we migrate these objects from Legacy System using lsmw or BAPI's?
    Thanks in advance.

    Hi All,
    I have a scenario in which I will be requried to migrate Grantor objects (Programs, Application, Claim, Change Request, billing documents) from legacy system.
    I checked the busines objects for Application but could not find the Create Method as we have for Sales Order or Activities.
    Can we migrate these objects from Legacy System using lsmw or BAPI's?
    Thanks in advance.

  • Data to be fetched from legacy system to SAP and doc needs to bee posted

    Hi Experts,
    I have a requirement where my client is using some application in Legacy system(Fuel Software) which receives fuel(Petrol, Deasel, CNG) in system and issue the same to company owned vehicles and wants that sap should be integrated and document also needs to be posted in sap for all the receivings and isssuences against their vehicles.
    Process Designed is:
    1. Required Data file will be picked from legacy system with some date stamp and will be placed in sap directory.
    2. There will be batch job which will check for new file based on date stamp.
    3. Will pick record n will pass to Goods_mvt_create bapi and then will post the document.
    4. We have created Vehicles as Internal orders in sap and whenever any issue will be there internal order no will be captured.
    5. By this way we are receiving and issuing in sap.
    Now my problem is i am stuck in designing step 1 and rest 2,3,4,5 steps have already been designed and working fine. Need your help in step 1. Else you may suggest some better way-out but again want to mention rest steps are already mapped
    Thanks in advance..

    Hi Ashutosh,
    You can use functions:
    FTP_CLIENT_TO_R3
    FTP_COMMAND
    FTP_COMMAND_LIST
    FTP_CONNECT
    FTP_COPY
    FTP_DISCONNECT
    FTP_R3_TO_CLIENT
    FTP_R3_TO_SERVER
    FTP_SERVER_TO_R3
    FTP_START_REG_SERVER
    FTP_START_SAPFTP
    FTP_STOP_REG_SERVER
    FTP_VERSION
    which allow you to connect from SAP ERP to any FTP server (if the legacy has it). You can validate the sample program RSFTP007.
    Regards,
    Juan

  • Data Migration from Legacy System in CRM

    Hi All,
    We are going to Implement a new CRM project, I have a problem with LSMW(Legacy System Migration Workbench ), I have some Conversion Objects of CRM and I need to know whether Data Migration is possible or not, please tell me how to find these Objects and how to know Data Migration is possible or not.
    Objects are like.,
    1. Accounts
    2. Actuate Reports
    3. Active Campaigns/Campaign Content/Dispositions
    4. Contacts
    5. Contracts
    6. Opportunities
    7. Payment Arrangement History
    8. Payments
    9. Premises
    10. Rate Changes
    11. Security Deposits
    12. Business Partner Relationships
    13. Web self-service information
    14. Usage that has been used for quotes
    15. Tax history information, including AXCIS
    17. Service Requests
    18. Service Order History
    19. Security Deposits
    20. Reference Values
    21. Rate Changes
    Can anybody please tell any transaction code in CRM where can I find the Data migration for the above objects is possible or not.
    Thanks in Advance,
    Sai.

    Hello,
    for migration into CRM I would suggest the 'XIF-Interfaces'; these are interfaces provided in CRM for connection to external systems. I'm not sure if this will cover all objects mentioned above, but at least some of them should exist.
    Some information about existing interfaces can be found in the integration repository under http://ifr.sap.com/index.html; from the start screen first select 'Enter the repository' and then have a look under 'generic components' and 'SAP CRM'.
    Regards, Katja Ohliger

  • Data Migration from Legacy System in IS-U

    Hi All,
    We are going to Implement a new IS-U project,  I have a problem with LSMW(Legacy System Migration Workbench ),  I have some Conversion Objects of IS-U and I need to know whether Data Migration is possible or not, please tell me how to find these Objects and how to know Data Migration is possible or not.
    Objects are like.,
    1. Accounts
    2. Actuate Reports
    3. Business Partner Relationships
    4. Active Campaigns/Campaign Content/Dispositions
    5. Connection Object
    6. Contacts
    7. Contracts
    8. Opportunities
    9. Payment Arrangement History
    10. Payments
    11. Premises
    12. Rate Changes
    13. Security Deposits
    these are few and there are some more..,
    Thanks in Advance,
    Sai.

    Hi Ram,
    Use Transaction Code EMIGALL. It will ask for company code. By default Company Code is SAP. If you entered with the SAP you will get all the objects.Then goto menu IS-U Migration-->User Handbook. It will give you details Idea.
    Also Check the following Procedure
    You can find detailed documentation of EMIGALL in SAP itself. Use Transaction EQ81 to display it. It provides all the concepts and procedures to work with EMIGALL.
    Here are some points about EMIGALL :
    1. It Migrates data Business Object wise
    2. It uses Direct Input Technique
    3. It has more than 100 objects of IS-U
    and the steps for implementation goes like this:
    1)You have to create a user specially for migration which will have all the authorizations related to migration workbench, BASIS and IS-U
    2)You have to create your own company in EMIGALL. There is a default company called SAP.
    3)Company SAP contains all the Business Objects
    4)You have to figure out what business objects u need and then u have to copy those business objects to ur company from Standard Company SAP
    5)Each objects contains more than one structure and each structure can contain more than one fields. The relation goes like this
    Object ---> Structure ---> Field
    6)You have to define field rules for each required field of the object. You have to mark "Not required" for fields u don't need
    7)After field rules for a given object is set u have to generate load report i.e. actual Direct Input Program which will migrate data. This program is generated on basis of field rules set by u.
    8)After the load report is generated u have to prepare an input file (import File) for migration. The import file should be according to structure provided by SAP and must be in binary format. SAP Provides the structure of file according to your configurations. You have to write ur own Data conversion program(in any language) for this task.
    9)You take import file as input and migrate the data using generated load program
    10)Finally u can check the Migration Statistics and Error Log
    Thanks and Regards,
    Jyotishankar Dutta
    Message was edited by:
            Jyotishankar Dutta
    Message was edited by:
            Jyotishankar Dutta

Maybe you are looking for

  • A quicker way to create a materialized view?

    Hi, I'm new to replication and have been reading doco on it. Basically I want to set up read-only materialized views in oracle 11g. So on the replicated database I created a db link that points to the master db. Then I created a materialized view tha

  • Problem with Greek Fonts

    We are a team of Mathematicians from Greece and we are beginners of Authorware 7. Our goal is to develop math Quizzes for high school students. When I select the <Quiz> for the startup menu and the Wizard starts, I cannot type Greek fonts (the questi

  • How to embed more than 393 chars in form fields

    how to embed more than 1000 character in the field. I have written a xsl template which is about 2 pages in length. How do I embed it in the word template fields.

  • Error:Convers. foreign curr. - local curr.0.0000000000000000E+00 not found

    Hi Gurus When I am loding data from ODS to cube i am getting 'Error:Convers. foreign curr. -> local curr.0.0000000000000000E+00 not found'. Request was failed. Can any one help me in this issue.Up to Ods data loaded successfully. Thanks in advance Sr

  • FAR and AWAY going into  bogie nights title - and speed

    I am making an intro to a video I am making for my wife's 40th birthday. In video I am starting with scrolling titles either far and away or the other one at scrolls. I want to have running copy on the screen that moves slow enough for people to read