Regarding ECC 6.0

Hi Experts,
Program is exeuting syntatically fine, but, when executing its show, time exceed error in ECC 6.0 , initially it is developed in 4.6c. Please, can any one suggest this same code to incorporate in Forall entries.
  SELECT abukrs aebeln bebelp aaedat alifnr aernam
         bknttp bbednr b~banfn
         cbelnr cwrbtr cgjahr cshkzg clfbnr clfgja
         dbldat dbudat d~kursf
         e~dir_indir
  INTO CORRESPONDING FIELDS OF TABLE it_output
  FROM ekko AS a
  JOIN ekpo AS b ON bebeln = aebeln
  JOIN rseg AS c ON cebeln = bebeln
                AND cebelp = bebelp
                AND cbukrs = abukrs
  JOIN rbkp AS d ON dbelnr = cbelnr
                AND dgjahr = cgjahr
  LEFT JOIN zpo_dirindir AS e ON eknttp = bknttp
  WHERE a~bukrs = p_bukrs
    AND a~lifnr IN s_vendor
    AND a~ebeln IN s_purcdo
    AND a~bsart IN s_doctyp
    AND a~ekorg IN s_purorg
    AND a~aedat IN s_credat
    AND b~knttp IN s_knttp
    AND b~werks IN s_plant
    AND b~bednr IN s_trcnum.

Hi Venu,
Let us have different internal tables,
1) T_PURC (with fields BUKRS, EBELN, AEDAT, LIFNR, ERNAM, EBELP, BELNR, BEDNR, BANFN in the same order).
2) T_RSEG (with fields EBELN, EBELP, BUKRS, BELNR, WRBTR, GJAHR, SHKZG, LFBNR, LFGJA).
3) T_RBKP (with fields BELNR, GJAHR, BLDAT, BUDAT, KURSF)
3) T_ZPO_DIRINDIR (with fields KNTTP, DIR_INDIR)
SELECT abukrs aebeln bebelp aaedat alifnr aernam
bknttp bbednr b~banfn
INTO TABLE T_PURC
FROM ekko AS a
JOIN ekpo AS b ON bebeln = aebeln
WHERE a~bukrs = p_bukrs
AND a~lifnr IN s_vendor
AND a~ebeln IN s_purcdo
AND a~bsart IN s_doctyp
AND a~ekorg IN s_purorg
AND a~aedat IN s_credat
AND b~knttp IN s_knttp
AND b~werks IN s_plant
AND b~bednr IN s_trcnum.
IF NOT T_PURC IS INITIAL.
  SELECT ebeln ebelp bukrs belnr wrbtr gjahr shkzg lfbnr lfgja
      INTO TABLE T_RSEG
      FROM RSEG
      FOR ALL ENTRIES OF T_PURC
      WHERE ebeln in T_PURC-ebeln
           AND ebelp in T_PURC-ebelp
           AND bukrs in T_PURC-bukrs.
      IF NOT T_RSEG IS INITIAL.
          SELECT belnr gjahr bldat budat kursf
               INTO TABLE T_RBKP
               FROM RBKP
               FOR ALL ENTRIES OF T_RSEG
               WHERE belnr in T_RSEG-belnr
                    AND gjahr in T_RSEG-gjahr.
       ENDIF.
    SELECT knttp dir_indir
         INTO TABLE T_ZPO_DIRINDIR
         FROM ZPO_DIRINDIR
         FOR ALL ENTRIES OF T_PURC
         WHERE knttp in T_PURC-knttp.
ENDIF.
Now if you require you can move all the fields of all these tables by reading them into a single internal table or else you can use them seperately.
<b>Saying thanks in SDN is by awarding points.</b>
Kiran

Similar Messages

  • DOCUMENTS REGARDING ECC 6.0

    Hi all,
    Can anyone send me some gud documents ( preferably a pdf file ) regarding the features of ECC 6.0 version.
    I am new to these version and i need to know all about it..Plz send it as soon as u can..
    Thanks in advance..
      Mohit

    hi,
    chk these..
    https://forums.sdn.sap.com/click.jspa?searchID=2762568&messageID=3303793
    https://forums.sdn.sap.com/click.jspa?searchID=2762568&messageID=3424058
    regards,
    priya.

  • Need info regarding ECC 6.0

    Hi All,
    Can you please provide me some good links regarding the addtional functional feature added in ECC 6.0 terms of FI & CO when compared to 4.7 version.

    hi
    please check the SAP solution browser

  • REGARDING ECC STOCK TO BE CONSIDER IN APO

    Dear Friends,
    I have a query on below issue:
    We have implemented the APO in our client & planning happening through APO only.  If we have stock at QUALITY INSPECTION STOCK in ECC, APO should consider this stock also while doing the planning.
    Lets say example: I have stock of 50 in unrestricted & 100 in Quality inspection stock in ECC.  While planning APO should consider the stock as 150 and should calculate the proposal quantity for remaining amount.
    Plz suggest how can i achieve this.
    Thanks & Regards,
    Arvind S

    Hi Aravind,
    I would agree with Debashis on this, you can control this from demand tab in product master in APO.
    What you need to do is to CIF storage location stock to APO and have this "Stock in quality inspection" ticked, which is part of standard setting.
    As per my knowledge this is applicable for CTM and PPDS only, not sure about Optimizer and Heuristics.
    For Optimizer and Heuristics to consider QI stock, i think below thread can help you there.
    How to consider 'Stock in quality inspection' in SNP
    Rgds
    Sourabh

  • Regarding ECC 6.0- CRM and BW. URGENT....Please help!!

    Dear All,
    I have a small query- Are CRM and BW an integral part of ECC 6.0? I mean, if I install ECC 6.0, will CRM and BW also get installed OR Do I need to explicitly install CRM and BW after installing ECC 6.0?
    If CRM and BW are an integral part of ECC 6.0, Do I need to carry out some additional steps/install add-on components(while installing ECC 6.0), to activate CRM and BW OR  will it be activated by default once I am through with the normal installation process of ECC 6.0?
    Thanks in anticipation!!

    CRM-Customer Relationship Management
    General Settings in CRM
    Use
    This section describes the general settings necessary for BW Integration in CRM.
    If CRM is not involved in your scenario skip this section.
    This step has to be carried out in the CRM system:
    Integration with Other mySAP Components &#61664; Data Transfer to the SAP Business Information Warehouse &#61664; Business Content DataSources &#61664; Transfer Application Component Hierarchy
    RSA9-Tcode
    Confirm the security check: Do you want the content application Transfer Component Hierarchy? with YES.
    If a dialog box appears requesting the user to enter a development class, enter a development class in the customers namespace and choose Save or choose Local object.
    If no error message is sent the application component hierarchy has been transferred successfully.
    Cross Connectivity:
    It describes all settings that are necessary to connect the components of the SAP.system landscape with each other. The settings for each combination of two components to be connected are described in a separate structure node. The separate section headings make it possible to identify the activities required to connect certain components with each other. The section headings for components that are not part of the installation can be skipped
    Connecting SAP BI with SAP ERP, SAP CRM
    Procedure
    To carry out the activity, choose one of the following navigation options in the SAP BI system:
    Transaction Code     RSA1
    SAP BI Menu     Modeling &#61664; Data Warehousing Workbench: Modeling
    Connecting SAP BI with SAP ERP, SAP CRM
    Procedure
    To carry out the activity, choose one of the following navigation options in the SAP BI system:
    Transaction Code     RSA1
    SAP BI Menu     Modeling &#61664; Data Warehousing Workbench: Modeling
    1.     Choose Modeling.
    2.     Choose Source Systems.
    3.     Select SAP in the window on the right.
    4.     Choose the Context menu (right mouse click).
    5.     Choose Create.
    6.     Make the following entries:
    Field     Entry
    Target computer (server)                            Server of the SAP ERP, SAP CRM or SAP SRM system
    System ID     System ID of the SAP ERP, SAP CRM or SAP SRM system
    System number     System number of the SAP ERP, SAP CRM or SAP SRM system
    Background user in source system     RFCUSER
    Password for source system     welcome
    Background user in BI     RFCUSER (can not be changed in this activity)
    Password for BI user     welcome
    9.     On the dialog box Please log on as an administrator in the following screen choose Continue.
    10.     Log on to the Source System with your administrator user. Choose the correct client.
    11.     On the dialog box New Source System Connection choose Continue.
    12.     On the Replicate Metadata dialog box, choose Only Activate.
    The building block CRM Lead Analysis describes the all the required activities to analyze the Marketing Lead Analysis data from SAP CRM in SAP Business Information Warehouse.
    The analysis is carried out with the following queries of the InfoCube 0MKTG_C01 CRM - Lead Management (SAP BW Business Content).
    The Lead Management InfoCube contains all the characteristics and data used for the administration of leads. This InfoCube enables you to execute the following standard queries available in SAP BW:
    1.     Channel Analysis: This query is used to determine the best channels by which business partners are contacted in the context of a marketing campaign. Following each marketing campaign, the lead manager can compare the success of a given channel to those of others.
    2.     Efficiency Reporting: This query is used to analyze the efficiency with which leads are qualified. By navigating to the sales organizations and the responsible employees for the leads, it is possible to assess how efficiently lead teams are working and to identify areas for improvement.
    3.     Historical Evaluation: Use to help analyze and compare leads over different intervals (comparison of different quarters or years for example) to see if general characteristics in the processing of leads can be identified for these periods.
    4.     Lost Leads: Provides an overview of the number of lost leads in a particular period and the reasons (implemented as a navigation characteristic) for the loss of the leads. This query is used to analyze the main reasons why leads might be lost, with a view to developing new strategies for overcoming these weaknesses.
    5.     Channel Mgmt.: Top-n Lost Leads (Current Year): In a Channel Manager Portal, this query provides an analysis of the leads lost by a Channel Manager over the past 12 months. Channel Managers can also view the leads lost by their Channel Partners. In a Partner Portal, this query shows the top-n unsuccessful leads distributed by a Channel Manager to a Channel Partner. Partner Manager can see the lost leads of the Partner Employees over the year. Partner Employee can view his lost leads over the year.
    InfoSources
    0CRM_LEAD_H - Lead Header (Transactional Data)
    0CRM_LEAD_I - Lead Item (Transactional Data)
    0CRM_MIG -  Mail GUID
    Before starting activities in this building block, you need to perform or check the following steps:
    1.     From the BW Connectivity building block the following activities have to be completed:
    a.     Local Settings è SAP CRM: all activities have to be completed.
    b.     Local Settings è SAP BW: all activities have to be completed.
    c.     Cross Connectivity è Connecting SAP BW with SAP R/3, SAP CRM, SAP SRM: Connect your CRM System.
    2.     From the General Settings for BW Integration building block the following activities have to be completed:
    a.     In section General Settings in CRM all activities have to be completed.
    b.     In section General Settings in SAP BW all activities have to be completed.

  • ECC 6.0 on Windows Cluster

    Hi Everybody !
    Regarding ECC 6.0 Installation on Windows MSCS, the ERP SR3 Guide says that :
    - Central Instance and Dialog Instance are not Single Point of Failures and they are installed locally ...
    So, the Q is what if the Central Instance Goes Down ? How do we assure that there is no downtime / minimum downtime ?
    'Cause, the CI is not in Cluster Fail Over Scope , there is no 'Standby Option ' for this C I and Dialog Instance .
    Can anybody pl. throw some ' Lights ' on this ? Appropriate Reward Points Guaranteed in addition to sincere appreciation of your
    time and inputs.
    Thanks a Lot  in Advance,
    Regards,
    - Ishan

    Not sure how much of the implementation I can talk about here, and I don't have a blog ... sorry.
    Basically, to get a CI on the MSCS is as easy as pie.
    First, the basics:
    0.  Create a SAP MSCS group.
    1.  Create a MSCS shared drive and put the CI bits there (the whole usr\sap directory).  Put this in the SAP MSCS group.
    2.  You will need a VIP (IP) and virtual name (Network Name) for the CI.  These two items should also be cluster resources.    Put these two items in the SAP MSCS group.
    3.  Check the user environment variable on the user that'd be running your SAP NT services.  Make sure SAPLOCALHOST and SAPLOCALHOSTFULL is set to the virtual name.
    4.  Check the start and instance profile, make sure that SAPLOCALHOST and SAPLOCALHOSTFULL is set to the virtual name.
    Now, create the SAP Cluster Resource type:
    1.  You need to do this on every node in your MSCS.
    2.  Go to cluster admin and right click.  See if you can create a cluster resource type "SAP Cluster Resource" or something that starts with "SAP".  If you see it, you are ok, skip this step.  If you don't see the SAP Cluster Resource type, on every kernel download, look for a folder called cluster.  Inside of this subfolder are 4 files you need:  insaprct.exe, SapClus.dll, Saprc.dll, Saprcex.dll.  Copy these files to the c:\windows\system32 folder and run insaprct.exe.  After this, you should see the SAP Cluster Resource type.  If you don't, check to see the kernel matches the O/S (32bit vs 64bit, etc.).
    Now create the SAP NT service
    1.  Failover the SAP MSCS group to node 1.
    2.  Run the sapstartsrv.exe on the shared drive to create the NT service (SAP<SID>_<SystemNumber>).
    3.  Manually create saposcol by runnning:  sc
    node1 create "SAPOSCOL" binPath= "shareddrive:\usr\sap\SID\...kernel\saposcol.exe service"
    4.  Change the SAPOSCOL NT service login credential to the same domain account running the SAPSID NT service.  Set to manual start.
    5.  Change SAPSID NT service to manual start.
    6.  Go to cluster admin and right click.  Create a generic NT service for the SAPOSCOL.  Create a SAP Cluster Resource for the SAPSID NT service.
    7.  Failover to each of the additional MSCS nodes and repeat steps 2, 3, 4, 5.  You don't need to repeat 6.
    As for SAP's support on this, I don't know actually.  We have actually not had to depend on SAP Basis support for a while.  But it's easy enough, just NT services controlled by Cluster Admin.  The more you do it the better you become

  • ECC Client for BI7

    Hello guys,
    I have couple of questions/confusion regarding ECC (source system) connection for New BI7 system.
    We used to BW3.5 system and the Source System/R3  Client we were using was lets say ABCLNT80.So that means there was no RFC connection issues between these systems. Now we have a new System also, BI7 , and it has been configured to connect with different Source Client/R3 ..XYZCLNT700.
    So, does this mean that i can no longer use my previous Source Client ABCLNT80 to send replicate DS to new BI7. do I have to access this new Source Client XYZCLNT700 as a Source system which has a RFC connected established already? if so , would I supposed to have new Configuration/log in information for this Source Client or i can use old ones? because it seems Client # with new one seems to be changed. I am really confused with this , please give me some hints on how these work.
    thanks
    dk

    Hi,
       I think you'll have to create a new RFC connection for the new system. This is a basis job. So contact your basis team,they should help you with this.
    Regards.

  • ECC patch level requirement for SNC 7.0 eph1

    We are running ECC SR3 (w/o ehp) now and want to implement SNC 7.0 eph1.
    Is there any official docuemnt to which I can refer regarding ECC hot package level requirement for SNC 7.0 eph1? We definately do NOT want to upgrade ECC patch level during SNC project.
    If we must switch back to a lower version, such as SNC 7.0, is there a similar document?
    Thanks in advance.
    James

    Dear James
    See the SAP SNC Master Guide on SAP Service Marketplace at service.sap.com/instguides @ SAP Business Suite Applications @ SAP SCM @ SAP SNC
    For SNC 7.01 go to using sap enhancment package for SAP SNC 7.0
    For SNC 7.0 go to using SAP SNC 7.0
    https://websmp101.sap-ag.de/support
    At the bottom of the page, you can find master guide,
    From page 27 section 2.3 Software Component Matrix, it is 90 page document
    User details are required plz create one
    You will find all the required information
    Now if you want to check, realize scenario wise
    In the same link, go to release & upgrade information-Product Availability Matrix and Realization Alternatives
    THis is very good link
    Notes
    1180861 & 1281192 talks about 7.0
    Best Regards
    Vinod

  • Default CVP ECC variables?

    I have a question regarding ECC variables that are required when installing CVP. I've been looking through the docs and it's been a long time since CVP was installed. I know there were several created such as user.microapp.media_server, etc. but we ran into an issue this past week. Basically a GS node stopped working, meaning 98% of the calls were aborting, not failing. Usually there are some that abort, TAC indicated that most likely these were callers just hangning up.
    After tracing come calls we noticed on the PIM that we were getting the error:
    NewCall from VRU referenced an unregistered ECC variable tag: 26
    This referenced user.cvp_server_info, don't think this was ever created and no idea why it just started breaking now. It was created and everything went back to normal and obviously currently researching this. TAC also indicated there were several other that were not configured but I'm assuming they are specific to the environment as one of them was user.microapp.cvpmovies_par and I'm guessing this would only be used with a video optin.
    My question: is there a list of ECC variables that need to be added in as a default or is it all based on unique configurations, h323, SIP, whether you will be doing certain transfers, etc. Looking at the SRND and Config guides (7.X) it seems to indicate in several sections specific ECCs that need to be configured if you are configuring a certain part of CVP.
    Thoughts or can someone point me to a link/doc? I don't see this referenceed in any 7.X docs so far.
    Thanks!

    To be honest I'm not so sure that you adding that ECC variable actually resolved the problem more than you restarting the whole thing. Those warnings have probably always been there. They'll show up any time the VRU attempts to use an ECC variable that's not defined on UCCE.
    The section 'Common Unified ICME/ICMH Configuration: Define Unified CVP ECC Variables' of the CVP 8.5 Configuration Guide at least indicates when an ECC variable is Required.
    Cheers,
    Kris

  • Find exact RFC Destination for Multiple backend Systems In SAP Gateway

    Hi Gateway developers,
    I have requirement,if gateway hub system has multiple backend systems( for example two backend systems: ECC and SRM ) then  how  hub system can get the suitable backend alias for exact entity collection..
    Here i have developed two entities one entity regards: ECC and second one regards SRM system..within this when I run the service it is always taking any of the same alias for both the collections..
    Can you please suggest me..
    Thanks
    Sreenivas Pachva

    Hi Srinivas,
    You can add the respective system Alias Name: Like logical system name in your URI also.
    Example:
    /sap/Service Name;mo=ECCCLNT210/zentity1?Customer1='0001'
    /sap/Service Name;mo=SRMCLNT400/zentity2?Customer2='ABCD'
    May this help you.
    Thanks,
    Saurabh Gupta

  • This is regarding CBMA in SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the mails to Business workplace inbox in ECC.

    This is regarding CBMA in single stack SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the alert mails to Business workplace inbox in ECC.
    So I need to set up PI to redirect mails to ECC Business workplace user inbox (sbwp). From here rules are set up & routed per distribution list.
    Please guide me how I can achieve this requirement.

    Hi,
    yes, it is a little bit different. This is the issue.....  
    But I am not sure if your links will help:
    1) /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
    is about a different solution. I do not need to count the number of lines of the source message.
    And the second variable is about concat line by line from unbound node to unbound node.
    My issue is:
    Souce:
    Message line (0...unbound) ! ! ! ! ! ! ! !
    .    ResultLine   (1..1)
    Mapping:
    =>   ResultLine1
           ResultLine2
           ResultLine........          => into UDF to an element  (1..1) in one mapping operation.
    So that all "ResultLine"s are included.
    The result is explained in the given link for Mail attachment with UDF.
    So I am not sure how to use this thread for my issue.
    In the comments of that blog Christoph Gerber writes that the new variable feature can only handle single values.
    So it is not suitable for my purposes as I have a list of values here that needs to be moved into the target message field.
    2) http://wiki.sdn.sap.com/wiki/display/Java/UsingEditJavaSectioninMessageMapping
    shows where to find the button "Java section" which is not available here in 7.1
    3) /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
    too is about the nice little button for Java Section that is no longer existing on PI 7.1 screen for mappings.  
    So my issue is: How to replace the Java section function with global variables in PI 7.1?
    Best regards
    Dirk

  • Regarding Bigger SGA in ECC 6.0

    Hi All,
    When installing SAP ECC 6.0/Oracle 10g on AIX 5.3, if i am modifing instance memory then installation giving me following error in catproc.sql running phase.
    ============ ERROR==== ========= ========= ========= =======
    ERROR 2006-12-20 09:44:38
    FCO-00011 The step runCatprocSql with step key
    |NW_Onehost| ind|ind|ind| ind|0|0|NW_ Onehost_System| ind|ind|ind| ind|1|0|NW_ CreateDBandLoad| ind|ind|ind| ind|9|0|NW_ CreateDB| ind|ind|ind| ind|0|0|NW_ OraDBCheck| ind|ind|ind| ind|0|0|NW_ OraDBMain| ind|ind|ind| ind|0|0|NW_ OraDBStd| ind|ind|ind| ind|3|0|NW_ OraDbBuild| ind|ind|ind| ind|5|0|runCatpr ocSql
    was executed with status ERROR .
    ERROR 2006-12-20 09:44:38
    CJS-00084 SQL statement or script
    failed.<br>DIAGNOSI S: Error message: ORA-29809: cannot
    drop an operator with dependent objects
    ============ ========= ========= ========= ========= =======
    if i am not modifing the instance RAM(if using default value) then installation is working fine,
    My Server RAM is 9 GB
    When i am installing SAP/Oracle occpy 50% of total RAM, if i am modifing 6 GB RAM then it is not working and giving me error at catproc.sql phase.
    My intention is that i want to create little bit bigger SGA greather then 1.7 GB.
    I have following doubts, kindly provide guidance.
    (1) Why should i cannot create more then 1.7 GB RAM?
    (2) If i want to Create more then 1.7 GB RAM's SGA
    then what should i have to do during installation?
    (3) Which SAP Parameters i have to change to utilise maximum Memroy.
    Waiting for your kind response.
    Thanks and Regards
    K R Singh

    Hi Karmesh,
    As a role of thumb, Oracle does not support any extended shared memory segments on IBM AIX. Please take a look OSS notes #105429, 123366.
    Additionally, I would like to suggest that you use dynamic SGA that has been mentioned in OSS note #105429.
    What kind of memory, you are talking about, in your last question? Oracle memory tuning or SAP memory tuning?
    Regards,
    Orkun Gedik
    Senior SAP R/3 Basis and Development Consultant
    ASTRON

  • Regarding types statement in ECC 6.0...plz reply..urgent

    Hi,
    I am copying a program which is in<b> 4.7 to ECC 6.0,</b>i am facing error regarding <b>structures with types<b>...
    The following code in<b> 4.7</b>
    <b>DATA:BEGIN OF W_BMM00.
            INCLUDE STRUCTURE BMM00.
    DATA:END OF W_BMM00.
    DATA:BEGIN OF W_BMMH1.
            INCLUDE STRUCTURE BMMH1.
    DATA:END OF W_BMMH1.
    DATA:BEGIN OF W_BMMH7.
            INCLUDE STRUCTURE BMMH7.
    DATA:END OF W_BMMH7.
    DATA : BEGIN OF TAB_TLINE OCCURS 0.
            INCLUDE STRUCTURE TLINE.
    DATA : END OF TAB_TLINE.</b>
    i have written the same in <b>ECC6.0</b> as below
    <b>TYPES:BEGIN OF tw_bmm00.
            INCLUDE STRUCTURE bmm00.
    TYPES:END OF tw_bmm00 ,
          tt_bmm00 TYPE STANDARD TABLE OF tw_bmm00.
    TYPES:BEGIN OF tw_bmmh1.
            INCLUDE STRUCTURE bmmh1.
    TYPES:END OF tw_bmmh1 ,
              tt_bmmh1 TYPE STANDARD TABLE OF tw_bmmh1.
    TYPES:BEGIN OF tw_bmmh7.
            INCLUDE STRUCTURE bmmh7.
    TYPES:END OF tw_bmmh7 ,
          tt_bmmh7  TYPE STANDARD TABLE OF tw_bmmh7.
    TYPES:BEGIN OF tw_TAB_TLINE.
            INCLUDE STRUCTURE TLINE.
    TYPES:END OF tw_TAB_TLINE,
          tt_tab_tline TYPE STANDARD TABLE OF tw_tab_tline.
    lw_bmm00 TYPE tw_bmm00,
          lt_bmm00 TYPE tt_bmm00,
          lw_bmmh1 TYPE tw_bmmh1,
          lt_bmmh1 TYPE tt_bmmh1,
          lw_bmmh7 TYPE tw_bmmh7,
          lt_bmmh7 TYPE tt_bmmh7,
          lw_tab_thead TYPE tw_tab_thead,
          lt_tab_thead TYPE tt_tab_thead,</b>....
    when i check SLIN errors i am getting the following errors<b>...plz resolve</b>..
    <b>The current ABAP command is obsolete
    <b>Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary
    types (not "LIKE" or "STRUCTURE").</b></b>
    <b></b>

    include strture not allowed.
    rules.
    ABAP Development under Unicode
    Prior to Unicode the length of a character was exactly one byte, allowing implicit typecasts or memory-layout oriented programming. With Unicode this situation has changed: One character is no longer one byte, so that additional specifications have to be added to define the unit of measure for implicit or explicit references to (the length of) characters.
    Character-like data in ABAP are always represented with the UTF-16 - standard (also used in Java or other development tools like Microsoft's Visual Basic); but this format is not related to the encoding of the underlying database.
    A Unicode-enabled ABAP program (UP) is a program in which all Unicode checks are effective. Such a program returns the same results in a non-Unicode system (NUS) as in a Unicode system (US). In order to perform the relevant syntax checks, you must activate the Unicode flag in the screens of the program and class attributes.
    In a US, you can only execute programs for which the Unicode flag is set. In future, the Unicode flag must be set for all SAP programs to enable them to run on a US. If the Unicode flag is set for a program, the syntax is checked and the program executed according to the rules described in this document, regardless of whether the system is a US or a NUS. From now on, the Unicode flag must be set for all new programs and classes that are created.
    If the Unicode flag is not set, a program can only be executed in an NUS. The syntactical and semantic changes described below do not apply to such programs. However, you can use all language extensions that have been introduced in the process of the conversion to Unicode.
    As a result of the modifications and restrictions associated with the Unicode flag, programs are executed in both Unicode and non-Unicode systems with the same semantics to a large degree. In rare cases, however, differences may occur. Programs that are designed to run on both systems therefore need to be tested on both platforms.
    Other Changes
    1. Bit Statements
    2. Adding Field Sequences
    3. Loops with VARY and VARYING
    4. Creating Subroutines
    5. Saving Programs
    6. Assigning Types for GET/SET PARAMETER
    7. Unreachable Statements
    8. Function Modules with Incorrect Parameter Names
    1. Bit Statements
    Previously, the system checked for the bit statements SET BIT i OF f [TO g] and GET BIT i OF f [INTO g]whether the field f is character-type; X fields, X strings, and flat structures are usually regarded as character-type. For Unicode programs this is no longer useful, because the types X and XSTRING no longer count as character-type and the bit by bit access to character-type fields or structures is no longer platform-independent. Therefore, with these operations in Unicode programs, the field f must be type X or XSTRING.
    For the bit mask operations f O x, f Z x, and f M x you could previously use all number-type and hence all character-type types for the left operand f. In Unicode programs, the f operand must now be type X or XSTRING.
    2. Adding Field Sequences
    When adding field sequences, restrictions apply to the following statements in Unicode:
    ADD n1 THEN n2 UNTIL nz [ ACCORDING TO sel ] GIVING m ...
    ADD n1 THEN n2 UNTIL nz TO m [ RANGE str ].
    1. The operands n1, n2, and nz must be type-compatible with one another.
    2. The distance between nz and n1 must be an integral multiple of the distance between n2 and n1.
    3. A syntax or runtime error occurs if the fields n1, n2, and nz are not in a structure. This structure must be recognizable statically or its valid area must be marked explicitly using the RANGE addition.
    4. At runtime, the system ensures that the RANGE area is not left.
    ADD n1 FROM i1 GIVING m [ RANGE str ].
    1. Field n1 must be within the structure. The structure must be explicitly defined using the RANGE addition if it is not recognizable statically.
    2. For this variant, the system also checks at runtime whether n1 and the addressed values are within the structure.
    3. Loops
    Loops with the VARY or VARYING addition are also problematic in Unicode, since a type-a access to memory contents cannot be ensured and memory can be overwritten inadvertently.
    DO ... VARYING f FROM f1 NEXT f2.
    For this statement, the fields f, f1, and f2 must be type-compatible with each other. To prevent memory contents being overwritten, a RANGE for valid accesses is introduced implicitly or explicitly for the following statements:
    DO ... TIMES VARYING f FROM f1 NEXT f2 [ RANGE f3 ].
    WHILE ... VARY f FROM f1 NEXT f2 [ RANGE f3 ].
    A syntax or runtime error is caused if f1 or f2 are not included in f3. If the RANGE addition is missing, it is defined implicitly from FROM f1 NEXT f2 as follows:
    1. If both f1 and f2 are statically recognizable components of the same structure, the valid RANGE area is defined from the smallest structure that comprises f1 and f2.
    2. A syntax error is triggered if it is recognizable statically that f1 and f2 are not part of the same structure.
    3. A valid area must be defined explicitly using the RANGE addition if the connection between f1 and f2 is not recognizable statically.
    If you specify a deep structure as the RANGE addition, the system checks for every loop pass that there are no field references, object references, tables, or strings in the area read.
    4. Creating Subroutines
    When automatically generating subroutines using the statement GENERATE SUBROUTINE POOL itab NAME name, the generated program inherits the content of the Unicode flag of the generating program.
    5. Saving Programs
    When automatically generating programs using the statement INSERT REPORT prog FROM itab, default values are set for the TRDIR entry as before. Amongst other things, this statement has the new addition UNICODE ENABLING uc, with which the Unicode flag of the inserted report receives the value of uc. If this addition is missing, the following applies:
    1. A Unicode program creates a Unicode program.
    2. A non-Unicode program in turn creates a non-Unicode program.
    3. A non-Unicode program becomes a Unicode program if it is overwritten by a Unicode program.
    4. A Unicode program remains a Unicode program if it is overwritten by a non-Unicode program.
    6. Assigning Types for GET/SET PARAMETER
    For the statements GET PARAMETER ID pid FIELD f and GET PARAMETER ID pid FIELD f, f must be character-type. You can use the EXPORT and IMPORT statements for storing non-character-type fields and structures.
    7. Unreachable Statements
    In Unicode programs, unreachable statements cause a syntax error. In non-Unicode programs, there was previously only a syntax warning.
    8. Function Modules with Incorrect Parameter Names
    In Unicode programs, calling a function module, whose parameter names are specified statically as a literal or constant, causes an exception that can be handled if an incorrect parameter name was specified. This only applies to function modules that are not called via Remote Function Call. In non-Unicode programs, an incorrect name was previously ignored.
    http://service.sap.com/instguides
    --> SAP Business Suite Applications
    --> SAP ERP
    --> mySAP ERP 2005
    --> Upgrade
    --> Upgrade Documentation - mySAP ERP 2005 SR2
    There choose your database and operating system.
    If you're looking for functional details check
    http://service.sap.com/releasenotes

  • Regarding obselete statements in ECC 6.0 ...plz help uregent

    Hi guys...
    I am importing a program from <b>4.7 to ECC 6.0.</b>
    When i am checking <b>SLIN errors</b> i am getting followin error..
    <b>The current ABAP command is obsolete
    Field groups cannot be created in the OO context.
    Internal Message Code: FIELD-GROUPS 000</b>
    The 4.7 program uses the follwing code where i am getting the error
    <b>FIELD-GROUPS: HEADER, ITEMS.</b>So plz find a solution for this...
    thank u.
    madhavi

    Hi Madhavi,
    There is no other solution than rewriting the program, e.q. by creating internal tables for the fields now defined with FIELD-GROUPS in  HEADER and ITEMS and looping over these tables.
    Regards,
    John.

  • Issue in ECC 6.0 Regarding Purchase Order

    Hi all,
    i have an issue with print preview in ECC 6.0.
    i CAN SEE PRINT PREVIEW IF I HAVE MEDIUM AS PRINT OUTPUT ,
    IF I DON'T HAVE HAVE MEDIUM AS PRINT OUTPUT , I AM GETTING AN ERROR SAYING Error in OPEN_FORM for document
    I guess it should be independant of medium right
    in my older version it works fine i.e can see print preview even though i don't have print out put ads medium
    Did anyone of have faced similar problems
    Thanks in advance

    in this case u have to check the syntax of ur driver program, 2. have to check the NACE settings for output type and Medium also.
    Regards
    Peram

Maybe you are looking for

  • Retention Policy problems

    Hello, i am trying to set up the automated archival of Exchange 2013. So that e-mails, which are older than e.g. 1 year are get moved to the archive. What i did: 1.  Create a archive database 2.  Create a archive mailbox 3.  Create a retention tag 4.

  • My screen is white. what does that mean?

    What does it mean when the screen goes white and none of the "pushing of buttons" work?

  • CURSOR and CASE STATEMENT

    Hello All: Is it possible to have the CASE Statement in the cursor? If so, could you please show me how to use it? I tried to use it as following but it did not work on Form Builder. I tried it on Oracle SQL *Plus and it worked there. CURSOR tbl_chck

  • Multiple Libraries - Best practice

    I have been using iphoto for the last 5 years, At the end of the year I move the library to an external drive and use iphoto buddy to point to it. Now I have 6-7 libraries and I would rather have everything, together. What has people found out is the

  • Using a rotary angular encoder to measure period of pendulum

    Hi, I'm new to Labview (I hope I've posted this in the correct section) and am trying to measure the period of a physical pendulum. I'm using an Omron rotary angular encoder (E6D-CWZ 2 C) and the SCB-68 NI card. Basically I'm trying to interface my p