Doubts on t-code SMQ1

Hey guys ,
I have  many doubts regarding tcode SMQ1.
1.Is it correct that in SMQ1 ,we see all the queues which are stuck ?
2.If yes, How do we release them or correct them ?
3.Whats the use of various options in the transactions , eg :
<b>lock</b> icon ,<b> unlock</b> icon, <b>lock immediately</b> icon, <b>unlock without activation</b> icon.
Please help.
Thanks
SS

thanks Animesh ..
Your answer helped , I also wen through this help topic .It really cleared many of my doubts ..
http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm
I am closing this topic .
SS

Similar Messages

  • Error message in trans code SMQ1(backend) for material replication

    Hi All,
    I am wandering if someone can help me with this query. I have basically followed all the customisation steps requried to replicate replicate material masters from R/3 to SRM. I had infact closley followed the advise posted on the blog: How to replicate material master from R/3 to SRM
    However, once I start the initial load in SRM with trans code R3AS and thebn goto trans code SMQ1(in R/3 backend), the load has failed with the 'status' or SYSFAIL. When I double click on this message, I get the error:
    "Exception condition" EBCDIC_PROBLEM__OSSNOTE_33300 8" raised.
    I have looked at note 333008 but cannot find any clues as to what is causing the load to fail. In trans code R3AM1, the job's status only remains as 'Running' and does not change.
    Any pointers as to the cause and required workaound would be appreciated!
    Thanks
    SW.

    Hi Muthu,
    Thank you for your feedback. I have just this moment implemented the note you recommended, but this does not appear to have resolved the error message, even though the consumer has been changed from CRM to SRM in r/3 and srm.
    I basically undertook the initial load for object 'dnl_cust_basis3' only with trans code R3AS, but the system still shows the following error message in the outbound que list (trans code SMQ1) in the sender R/3 backend system:
    ""Exception condition "EBCDIC_PROBLEM__OSSNOTE_33300
    8" raised""
    I am reluctant to implement the note number (333008) within the error message as the note heavily describes the CRM 2.0 component only and shows little relevance to SRM 5.0.
    Any feedback would be appreciated. I have pasted the note contents below.
    Thanks
    SW.
    Note 333008 - XML in R/3 Adapter
    Summary
    Symptom
    For the Plugin PI 2000.1 (R/3 OLTP) and the CRM 2.0B Support Package 08, the R/3 Adapter was enhanced by an XML support.As of CRM 2.0B Support Package 7, SAP recommends to use R3A XML as a standardAs of CRM 2.0C, XML is automatically the standard setting in the server, only in the OLTP PlugIn, you have to maintain a setting.
    Additional key words
    CRM, R/3 Adapter, XML, CRM_SEND_XML, BAPIMTCS, IBM, AS/400 OS/400 S/390, DBIF_RSQL_SQL_ERROR, SQL error -302 accessing table SMOAUSP
    Cause and prerequisites
    System requirement:Plugin PI 2000.1 with at least PlugIn patch 03 or higher and CRM 2.0B Support Package 08 or CRM 2.0C on the server.(XML is possible with CRM 2.0B Support Package 07, however, Support Package 08 is recommended:if you only use Support Package 07, parameter CRM_CONVERT_ENDIAN has to be maintained even if this has no effect - see Note 207264.)
    Solution
    Introduction
    To eliminate or minimize problems that occur during the data transfer between different operating and computer systems, an XML interface was implemented in the R/3 Adapter in addition to the binary transport, which has been used so far.
    This XML interface consists of an XML generating program on the OLTP-Plugin and an XML parser on the CRM.
    The generating program generates an XML document from the data stream to be sent to the CRM System and the XML parser converts this back into the original data stream. Except for the initial configuration, the mechanism is transparent and does not require further user activities.
    Activation
    To use XML in CRM 2.0B in the initial download, you have to enter the following new parameter in table SMOFPARSFA (Transaction SM30 or R3AC6) on the CRM server:
                 Key:             R3A_COMMON
                 Parameter name:  CRM_SEND_XML
                 Parameter value: 'X'
    In CRM 2.0C, table SMOFPARSFA does not have to be maintained since XML is automatically the standard setting.
    For the data transfer with XML in delta download you must do the following
    Maintain parameter table CRMPAROLTP in PlugIn Release PI 2000.1, patch 03:Newly enter parameter name CRM_SEND_XML_FOR_DEFAULT_DEST with parameter value 'X'.
    Maintain parameter table CRMRFCPAR as of PlugIn Release PI 2000.2:Transaction SM30, set field SEND_XML of CRMRFCPAR to value 'X' for the corresponding entries
    Advantage
    The data transport in the XML format solves both the endian problem (see Note 207264) and the code page problem which existed during a data transport from or to an IBM mainframe (AS/400, S/390) to or from an ASCII-based system (NT, UNIX).
    Deactivation
    Regarding the performance, the XML format has the disadvantage that the XML parser needs CPU time (which can be processed in parallel because no database access is made).If you want to do without the XML conversion in a specially defined system landscape, then set parameter CRM_SEND_XML to blank in the CRM System, and set table CRMPAROLTP (PI 2000.1) or CRMRFCPAR (PI 2000.2) without XML in the R/3 OLTP.In addition, parameter CRM_CONVERT_ENDIAN must be maintained correctly in the CRM System (see Note 0207264).
    You can do without the XML conversion under the following conditions.
    1. The OLTP system infrastructure and the CRM system infrastructure mustbe homogeneous. Example: all OLTP application servers UNIX and all CRMapplication servers NT.
    2. You must also make sure that no application servers with different operating systems are used in future.
    3. The OLTP system infrastructure must be homogeneous.In the CRM System it is possible to limit the application servers permitted for the processing of the queues by setting a specific server group.The application servers of these group servers must be homogeneous.However, the setting is valid for all inbound queues and cannot be restricted to specific queue names.
                  You can set up a server group with Transaction RZ12, and in Transaction SMQR you can set up the server group used for the processing via menu option 'Edit' -> 'Change AS group'. For details on this, see Note 369007.
    As SAP cannot check the customer's system landscape,this option is to be classified on project basis where the responsibility is the customer's and not SAP's.
    If homogeneous system infrastructures do not exist, the time required for saving data and documents can nevertheless be significantly reduced by carrying out the XML conversion in one asynchronous step.For this, you must maintain parameter CRM_XML_BACKGROUND_PROCESSING_ON in table CRMPAROLTP. For this purpose, refer to Note 350176.
    Notice
    Since the IPC is currently not able to process the XML document of the R/3 Adapter, XML must not be activated for IPC targets in CRMRFCPAR!
    Since, in addition to the existing data mapping and data transport, the XML generation and the XML parsing is included in the sequence of operations, you must expect a download runtime which might be twice as long as usual!
    Due to performance reasons, only the '&', '<' and '>' characters are converted into XML escape sequences at present.Therefore, other special characters in text fields might cause problems and might not be output correctly on the target system.
    The XML conversion does not solve problems with multi-byte texts, for example the data exchange between a Japanese and an English codepage is not supported.
    Source code corrections
    Header Data
    Release Status: Released for Customer
    Released on: 25.07.2001  22:00:00
    Priority: Recommendations/additional info
    Category: Special development
    Primary Component: CRM-MW-ADP Middleware Adapter
    Secondary Components: CRM-MW Middleware
    Affected Releases
    Software
    Component Release From
    Release To
    Release And
    subsequent
    MDM 200 200 200  
    COM_CRMMDM 40 4.0 4.0  
    UIFRW 40 4.0 4.0  
    CGVMIC 10 100 100  
    BBPCRM 2.0 20B 20C X
    BBPCRM 3.0 300 300 X
    BBPCRM 3.1 310 310 X
    BBPCRM 3.5 350 350 X
    BBPCRM 4.0 400 400 X
    Correction delivered in Support Package
    Support
    Packages Release Package
    Name
    BBPCRM 20C

  • Doubt in T-code ZIMS

    Hi All,
    Currently I am able to upload a file to ZIMS forder by giving path /IMS/DOWNLOAD/........ My doubt is, if the file contains more (in my case 35 fields) columns, then it splits and displays in 2 or 3 lines. From here If I try to download to excel, excel file aslo looks same as ZIMS file.
    Is ther any way that we can increase the size of the ZIMS forlder, complete heare in single row and each line items in single row under respective  header.
    Ex: The file should looks like ALV output or how the file looks after download ALV output data in excel file.
    I hope u all undersata my quastions, Please provide your suggestions.
    Thanks in advance,
    Best regards,

    I entered the correct quantity and posted in t code MI10
    is this fine..
    Edited by: sudhir krishna kumar singh on Nov 8, 2011 2:03 PM

  • Doubt in t-code MB1A

    Hi all experts,
    I am very new to ABAP.I need to copy item data from reservation document to goods issue transaction item data using t-code MB1A. Apart from that i need the movement type to be default from reservation document. Further i need to process the GI transaction data.
    Please help me know how can i do it. Thanks in advance
    Biya.

    I don't think this can be causes of the behavior in MB1A. What about other server (like development or quality) ?
    Can you please check the screen painter for the program SAPLKACB and screen 1001 from SE80.
    Can you see the field COBL-KOSTL as input = "Possible" ? (look into the blog post for more details A brief interpretation about field selection and screen layout used in MM)

  • Doubt on byte code?

    Hi , does the byte code generated by 64 bit compiler runs on 32 bit machine? is byte code dependent on bit length of the machine?

    jtahlborn wrote:
    Muralidhar wrote:
    I know this is not relevant here but why does tomcat , Eclipse releases have separate zip files for 32 bit windows and 64 bit windows. They also contain some exe fiies. I think they are developed on java and why they have releases specific to plat farm?don't use eclipse myself, but i believe it uses a custom gui toolkit (swt), which is a thin wrapper on the native ui toolkit for the relevant platform. as such, this toolkit most likely requires some native code, which must be compiled appropriately for the platform.Right you are. It stems from the awt days and is very similar to it - im rusty but i believe the biggest difference was that swt is single threaded.
    The main executable thing in eclipse is the bootstrapper eclipse.exe however. There are also plugins that require natives. Those are the things that are influenced by the cpu architecture, although you can just safely default to the 32 bits version and not think about it. Some plugins even work better then.

  • Doubt in this code can any one clarify this

    this is a code in program generated by sap query
    SELECT VBRKBUKRS VBRKBZIRK VBRKFKDAT VBRKKUNAG VBRK~SPART
           VBRKVBELN VBRKVKORG VBRKVTWEG VBRKXBLNR VBRP~FKIMG
           VBRPMATKL VBRPMATNR VBRPPOSNR VBRPVBELN VBRP~VKBUR
           VBRPVKGRP VBRPVRKME VBFAERDAT VBFAMEINS VBFA~POSNN
           VBFAPOSNV VBFARFMNG VBFAVBELN VBFAVBELV VBFA~VBTYP_N
           VBFA~VBTYP_V
    INTO (VBRK-BUKRS , VBRK-BZIRK , VBRK-FKDAT , VBRK-KUNAG , VBRK-SPART
         , VBRK-VBELN , VBRK-VKORG , VBRK-VTWEG , VBRK-XBLNR , VBRP-FKIMG
         , VBRP-MATKL , VBRP-MATNR , VBRP-POSNR , VBRP-VBELN , VBRP-VKBUR
         , VBRP-VKGRP , VBRP-VRKME , VBFA-ERDAT , VBFA-MEINS , VBFA-POSNN
         , VBFA-POSNV , VBFA-RFMNG , VBFA-VBELN , VBFA-VBELV , VBFA-VBTYP_N
         , VBFA-VBTYP_V )
    FROM ( VBRK
           INNER JOIN VBRP
           ON VBRPVBELN = VBRKVBELN
           INNER JOIN VBFA
           ON VBFAPOSNV = VBRPPOSNR
           AND VBFAVBELV = VBRPVBELN )
           WHERE VBRK~BUKRS IN SP$00009
             AND VBRK~BZIRK IN SP$00012
             AND VBRK~FKDAT IN SP$00002
             AND VBRK~KUNAG IN SP$00003
             AND VBRK~SPART IN SP$00013
             AND VBRK~VBELN IN SP$00001
             AND VBRK~VKORG IN SP$00010
             AND VBRK~VTWEG IN SP$00011
             AND VBRP~MATKL IN SP$00008
             AND VBRP~VKBUR IN SP$00015
             AND VBRP~VKGRP IN SP$00014
             AND VBFA~VBTYP_N IN SP$00004
             AND VBFA~VBTYP_V IN SP$00005.
      %DBACC = %DBACC - 1.
      IF %DBACC = 0.
        STOP.
      ENDIF.
      CHECK SP$00004.
      CHECK SP$00005.
      CHECK SP$00009.
      CHECK SP$00012.
      CHECK SP$00002.
      CHECK SP$00003.
      CHECK SP$00013.
      CHECK SP$00001.
      CHECK SP$00010.
      CHECK SP$00011.
      CHECK SP$00008.
      CHECK SP$00015.
      CHECK SP$00014.
      CHECK SP$00006.
      PERFORM TEXTFIELD_REFRESH(RSAQEXCE).
      PERFORM TEXTFIELD_CONTEXT(RSAQEXCE) USING 'VBRK' VBRK.
      PERFORM TEXTFIELD_CONTEXT(RSAQEXCE) USING 'VBRP' VBRP.
      PERFORM TEXTFIELD_CONTEXT(RSAQEXCE) USING 'VBFA' VBFA.
      PERFORM TEXTFIELD_CALL(RSAQEXCE) USING VBRP 'VBRP' 'MATKL'
              TEXT_VBRP_MATKL.
      PERFORM TEXTFIELD_CALL(RSAQEXCE) USING VBFA 'VBFA' 'VBTYP_N'
              TEXT_VBFA_VBTYP_N.
      PERFORM TEXTFIELD_CALL(RSAQEXCE) USING VBFA 'VBFA' 'VBTYP_V'
              TEXT_VBFA_VBTYP_V.
      ADD 1 TO %COUNT-VBRK.
      %LINR-VBRK = '01'.
      EXTRACT %FG01.
      %LINR-VBRK = '02'.
      EXTRACT %FG02.
      %EXT-VBRP02 = 'X'.
        EXTRACT %FGWRVBRP02.
      %LINR-VBRK = '03'.
      EXTRACT %FG03.
      %LINR-VBRK = '04'.
      EXTRACT %FG04.
      %EXT-VBFA04 = 'X'.
        EXTRACT %FGWRVBFA04.
      %LINR-VBRK = '05'.
      EXTRACT %FG05.
    ENDSELECT.
    in this code what check statement does

    Hi Avinash kodarapu,
                    The use of check statement is ...
    Terminating a Loop Pass Conditionally
    To terminate a single loop pass conditionally, use the
    CHECK <condition> statement in the statement block of
    the loop.
    If the condition is not true, any remaining statements
    in the current statement block after the CHECK statement
    are ignored, and the next loop pass starts. <condition>
    can be any logical expression.
    DO 4 TIMES.
      CHECK SY-INDEX BETWEEN 2 and 3.
      WRITE SY-INDEX.
    ENDDO.
    The output is:
             2          3
    The first and fourth loop passes are terminated without
    the WRITE statement being processed, because SY-INDEX is
    not between 2 and 3.
    So what the check statement does is that it checks if
    SPXXXXX values are null or not. If SPXXXXX values are
    null the current loop terminates and starts with next
    value for the select statement.
    Hope this helps you.
    Regards,
    Maheswaran.B

  • Doubt in Abap code

    What is the meaning of the below statement
    lo_desc ?= <ls_descriptor>-descriptor.

    Hi,
    Like class references, you can assign interface references to different reference variables. You can also make assignments between class reference variables and interface reference variables. When you use the MOVE statement or the assignment operator (=) to assign reference variables, the system must be able to recognize in the syntax check whether an assignment is possible.
    Suppose we have a class reference <cref> and interface references <iref>, <iref1>, and <iref2>. The following assignments with interface references can be checked statically:
    <iref1> = <iref2>
    Both interface references must refer to the same interface, or the interface of <iref1> must contain the interface <iref2> as a component.
    <iref> = <cref>
    The class of the class reference <cref> must implement the interface of the interface reference <iref>.
    <cref> = <iref>
    The class of <cref> must be the predefined empty class OBJECT.
    In all other cases, you would have to work with the statement MOVE ...? TO or the casting operator (?=). The casting operator replaces the assignment operator (=). In the MOVE... ? TO statement, or when you use the casting operator, there is no static type check. Instead, the system checks at runtime whether the object reference in the source variable points to an object to which the object reference in the target variable can also point. If the assignment is possible, the system makes it, otherwise, the catchable runtime error MOVE_CAST_ERROR occurs.
    You must always use casting for assigning an interface reference to a class reference if <cref> does not refer to the predefined empty class OBJECT:
    <cref> ?= <iref>
    For the casting to be successful, the object to which <iref> points must be an object of the same class as the type of the class variable <cref>.

  • Doubts on t-code F.05

    Hi
    When you execute F.05, the trasaction valuates the line items or balance (according to the selection). Now if you donot run the batch input session, will the program still store the last revaluation for that line item. Will it update any tables with the last revaluated amount for that line item or balane or will it only store the last relvauted amount for each item if the postings are carried out.?
    thanks

    Hi Benson,
    Until the batch input session was processed for revaluation, revaution will not takes place for those line items. It stores the last reveluated amounts for each item i.e. tables will be updated only when the batch input session was processed.
    Thanks,
    Regards,
    Ramnath.

  • Middleware issue: can see the object queue in SRM on T Code - SMQ1

    Hi Jennifer,
    Can you double click on the SYSFAIL queue entry and update the detailed error?
    Regards,
    Nikhil

    Hi Jennifer,
    This is a very generic dump which could have occured due to multiple reasons.
    Can you check if you face the same issues while replicating other queues too (PROD0/PROD1 etc)
    Regards,
    Nikhil

  • Doubts about transaction code V_V2

    I got one issue from clien, they said they want to sort one material reschduling by date.
    so they set V_V2 first screen as document category = 0, delivery priority = 0, date = 1, document number = 2, document item = 3. and in second screen display as first sort by customer number, and in each customer number, it is sort by date(or maybe by document number).
    where I can see the result after execute V_V2? how can I set it sort by date.

    Hi,
    The sort order section, gives you option to sort by date of creation or earliest schedule line date.
    The output from V_V2 will be a screen which will show you sales orders with material, qty, date information. This screen will also show you dates which have got better delivery dates compared to original schedule dates or dates which have been postponed into future due to rescheduling. You then can choose the orders you want the system to process.
    suggestion would be to run with one material and one plant for you to get better idea of what the system proposes when you execute this transaction. Also you may use simulation option to check results of run. This does not save the results of rescheduling.
    regards,
    Vaibhav

  • Doubt in RSRT regarding generate query.

    Hi All,
    I have a doubt in transaction code RSRT (Query monitor). Under the tab environment, there are 2 options.
    1) Generate queries.
    2) Gen.Queries directly as shown below.
    i.e in RSRT> Environment> Generate Query
    and   RSRT> Environment> Gen. Query directly.
    I would like to know what the functions of these two options are and what they do?
    And also would like to know how these 2 are different from generate report.
    I know generate report means regeneration of query, but what does regeneration of query actually do?

    1) generate queries = generate the query @ next call.
    This means it does not gets generated unless the query is called by a workbook, web template,...
    2) Directly: generates the selected queries directly.
    Generation of a query:  a query is in fact an ABAP program.  This program is created by the BI system.
    To generate a query is to 'create' the ABAP program for the query.
    You can also delete the old ABAP's (old versions):
    environment -> delete old ABAPs

  • Failed to open the connection: Error Code 17

    Here's an odd one.
    Environment:
    VB.NET Winform
    Visual Studio 2008
    .NET framework 2.0
    Crystal Reports 2008
    ODBC connection
    I have three reports, living in the same directory. They are essentially identical, except for the grouping. All three run successfully within Crystal reports.
    From a report viewer Winform in VS, two of the three run. As I am dealing with a small data set, the reports render quickly. On the third report, There is a long pause when the report viewer form opens, then I finally get an error:
    "Failed to open the connection.
    Details: [Database Vendor Code: 17]
    Failed to open the connection.
    CallReportByExtension 58F5C135-7BA3-4215-898A-DADA6C7DAD9C.rpt
    Details:[Database Vendor Code: 17]
    I was initially getting similar errors on all three reports, before changing the datasource location to my ODBC connection. I have double-checked the location, verified the database, etc.
    What am I doing wrong? I can provide the VB code if requested, but since the other two reports work properly, I doubt it's code. I do know that I am passing the report name and path correctly to the report viewer form.
    As I am about to kick my monitor through the window and become a street denizen, I would greatly appreciate any help that would be offered.
    Thanks,
    Mike Beckner

    Thanks for the reply. This code works...two of the three reports work.
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class frmReportViewer
        Dim m_datStartDate As Date
        Dim m_datEndDate As Date
        Dim m_strReportPath As String
        Dim m_strReportName As String
        Dim m_strStaticPath As String = "c:\Program Files\CallReportViewer\Reports\"
        Dim crConnectionInfo As New ConnectionInfo
       *****Omitting property declarations--I assign the report name and path via these properties. *****
        Private Sub frmReportViewer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            LoadReport()
        End Sub
        Public Sub LoadReport()
            Dim crReportDocument As New ReportDocument
            Dim crTableLogonInfo As New TableLogOnInfo
            Dim crTables As Tables
            Dim crTable As Table
            Try
                With crConnectionInfo
                    .ServerName = "CallWhereData"
                    .DatabaseName = "CallWhereData"
                    .UserID = "MyID"
                    .Password = "MyPassword"
                End With
                Me.Text = m_strReportName
                crReportDocument.Load(m_strStaticPath & m_strReportPath)
                crReportDocument.SetParameterValue("1StartDate", m_datStartDate)
                crReportDocument.SetParameterValue("2EndDate", m_datEndDate)
                crTables = crReportDocument.Database.Tables
                For Each crTable In crTables
                    crTableLogonInfo = crTable.LogOnInfo
                    crTableLogonInfo.ConnectionInfo = crConnectionInfo
                    crTable.ApplyLogOnInfo(crTableLogonInfo)
                Next
                CrystalReportViewer1.Dock = DockStyle.Fill
                CrystalReportViewer1.ReportSource = crReportDocument
            Catch ex As Exception
                MessageBox.Show(Err.Description)
            End Try
        End Sub
    End Class

  • SMQ1,SMQ2 display restriction

    dear experts
    In SRM i would like to restict transactions SMQ1,SMQ2 to display only,i have searched in su24,one object common to both is S_ADMI_FCD with field S_ADMI_FCD and value NADM(Network administration using trans. SM54, SM55, and SM58),what values shall i provide to restrict to display

    >
    Nishant Sourabh wrote:
    > Add t-code SMQ1 and SMQ2 ..but make S_ADMI_FCD with value NADM inactive and check. As you make the S_ADMI_FCD object inactive, you will not see the delete icon.
    this is correct and works.

  • Code Dilemma

    Hello everyone,
                              In ABAP, how do I check to see if a field is null and if it is then fill it in with some value.  I have the following statement however, I am pretty sure this not correct because it seems to overwrite all my dates with current system date.  So If this code runs today it will put in system date for all the records coming in but if I run this code tomorrow it will replace the date with tomorrow's date which is useless.
    Select * from /BI0/MProfit_Ctr into table lt_profit_Ctr.
    Read table lt_profit_Ctr with key PROFIT_CTR = /BI0/MPROFIT_CTR.
    if sy-subrc <> 0 or lt_profit_Ctr-CALDAY IS INITIAL.
    RESULT = SY-DATUM.
    ENDIF
    If a record for a profit center is there but the date is not there it is supposed to put in a current system date for that record but if a profit center is there with a date it MUST not do anything and move on and if profit center is not there then add it with a date.
    Please let me know your ideas,
    Syed.

    sorry actually the statement goes like this
    update /BI0/MProfit_Ctr with wa_profit_Ctr transporting calday.
    what this statement will do is that when calday is initial for the particular record u have retrieved it will assign the system date to the work area of the retrieved record but then u need to update ur database table back with this data so we use update statement.
    but again i'm not sure why are u using read instead of loop at if only one record is getting retrieved use select single.
    and
    this is the code u posted above
    Select * from /BI0/MProfit_Ctr into table lt_profit_Ctr.
    Read table lt_profit_Ctr with key PROFIT_CTR = /BI0/MPROFIT_CTR.
    if sy-subrc 0 or lt_profit_Ctr-CALDAY IS INITIAL.
    RESULT = SY-DATUM.
    ENDIF
    i have some doubts in this code, please clarify those
    Read table lt_profit_Ctr with key PROFIT_CTR = /BI0/MPROFIT_CTR.
    whats the thing i have marked in red, i see that its the same as ur table name what condition u r trying to check in read table.
    i think it shud go like this.
    Select * from /BI0/MProfit_Ctr into table lt_profit_Ctr
    where PROFIT_CTR = <some variable having ur profit_ctr>
    now loop at and rest of the code is same as above discussion
    if u r sure that only one record is going to get retrived then
    use
    select single * from /BI0/MProfit_Ctr into wa_profit_Ctr
    where PROFIT_CTR = <some variable having ur profit_ctr>
    then update /BI0/MProfit_Ctr with wa_profit_Ctr.
    if i'm wrong then please explain ur requirement for us to help u better.
    regards,
    kartik
    Edited by: kartik tarla on Dec 20, 2008 9:23 AM

  • Tax Code and Condtion Record

    HI,
    I know the tax procedure of TAXINN, but i have small doubt about Tax Code and Conditon Record.
    If we maintain the Tax Percentage i n the Tax Code and Condtion Record also.  What is the use maintain the Tax Percentage in two menctioned placess.  
    Thanks,

    Dear,
    If you are using tax procedure TAXINN then maintain percentage in FV11, there is no need to maintain the same at Tax code level.
    Br,Vivek

Maybe you are looking for