STOP keyword replacement in SAP ECC 6.0

Hi,
Can anyone please suggest me the replacement for the STOP keyword?
EXIT seemed like an option but as per the documentation, the STOP statement takes the control to the END-OF-SELECTION event whereas the EXIT will terminate the program.
I need the code in the END-OF-SELECTION event to be executed.
Please advice me on this.
Regards
s@k

Hi,
you can still use STOP command in NetWeaver 7.0. It's only marked as obsolete. Obviously, it's supported in  ABAP objects because ABAP Objects don't support events and logical databases. Basically, event END-OF-SELECTION is useful only for logical databases, there is no need for it in normal reports. You can put your code at the end of event START-OF-SELECTION. I don't understand why developers user event END-OF-SELECTION in programs where they don't use logical databases. You should have not any problems to refactor your code to avoid using of command STOP with help from EXIT command.
Cheers

Similar Messages

  • What is sap ecc?

    hi,
       i am new to abap i want to upgrade from sap 4.7 to sap ecc 6.0
    what are my parts in abap . please send detail documents to my
    mail id
      [email protected]

    Hi
    In SAP Netweaver platform SAP R/3 is replaced by SAP ECC.. its Enterprise Central Component, in SAP Netweaver 2004s the version is ECC 6.0.
    See this link
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/44c532d36157c0e10000000a155369/Chap%2040%20IS-U%20SAP%20Utilities.pdf
    There is also a very good document from Thomas Jung here in the SDN
    that contain a lot of hardcopies of the changes.
    /people/thomas.jung3/blog/2005/05/15/abap-46c-to-640-delta-training
    Also, check the following threads:
    Re: ABAP Changes for release ECC 5.0
    Re: Technical difference between 4.7 and ECC 5.0
    If its helpful or solved your issue, pls award points.
    Regards
    Chandrasekar

  • Reg: Replacing i-way with PI for SAP ECC 6.0 version

    Hello Experts
    currently we are using R/3 4.7 version and middle ware we are using is i-way and we are planning to upgrade to ECC 6.0 and i would like to know how compatible is i-way is with SAP ECC 6.0 and is there any neccessity to replace the same with PI.
    and currently we are using RFC as a method of communication between R/3 and i-way and in future i don't want to change the existing coding , is it feasible to use PI via RFC.
    As i am ABAPer, i am new to this PI and please let me the know the risks involved and it is viability.
    Thanks and Regards
    S.Janagar

    Hi Gavin,
    you should always use the SQL EE for SAP installations (because of additional features that only come with EE).
    Concerning SQL 9 or SQL 10, I would definitely go for SQL 10. It has some nice features like Backup Compression, Page/Row Compression and so on. Have a look [here|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a236a2-8104-2b10-5ebe-8fef61cc82fd]. Just make sure that your installation meets the SR3 requirements.
    We already have SQL 10 in production and did not encounter any problems.
    Regards,
    Sven

  • Replacing SAP ECC COPA Table

    Hi,
    we have implemented the SAP Best Practices for BI V4.31 (note 1475029).
    One of the dashboards is Profit and Loss. It uses a couple of CR reports for data extraction for the SAP ECC.
    In the report is a connection to a COPA table CE11102. In our environment this table is CE11000.
    In CR / Database export I can change the name of the COPA Table from CE11102 to CE11000 but CR doesn't recognize our COPA table.
    Please advice.
    Regards,
    Wiebe

    Dear Ingo,
    so you would like to replace one table of the delivered All in One report with a table from your system ?
    Yes I have implemented almost all the CR reports and Xcelcius dashboards.
    But...
    When I update the database connection for the CR reports with a CO-PA table and other tables (like MARA, T023T and TVKOT) all the tables will connect to our environment exept the CO-PA table.
    Please advice.
    kind regards,
    Wiebe Bartelink
    ps. this is for Profit and Loss CR report 'Actual data.rpt'
    Edited by: Wiebe Bartelink on Feb 29, 2012 4:45 PM

  • SAP ECC error:'Migration Monitor' exits with error code 103.

    Hi All,
    I am doing SAP ECC installation for windows 32 bit with MAXDB as backend.
    I am stuck at the import ABAP.Getting error
    ERROR 2008-08-08 16:10:53
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    1) imort_monitor.java.log-->contains
    java version "1.4.2_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
    Import Monitor jobs: running 1, waiting 0, completed 18, failed 0, total 19.
    Loading of 'SAPVIEW' import package: ERROR
    Import Monitor jobs: running 0, waiting 0, completed 18, failed 1, total 19.
    2)import_monitor.log
    ERROR: 2008-08-08 16:10:36 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPVIEW' import package is interrupted with R3load error.
    Process 'D:\usr\sap\EC6\SYS\exe\uc\NTI386\R3load.exe -i SAPVIEW.cmd -dbcodepage 4103 -l SAPVIEW.log -nolog -c 0' exited with return code 2.
    For mode details see 'SAPVIEW.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    INFO: 2008-08-08 16:10:52
    All import packages are processed.
    WARNING: 2008-08-08 16:10:52
    1 error(s) during processing of packages.
    INFO: 2008-08-08 16:10:52
    Import Monitor is stopped.
    3)SAPVIEW.log
      error message returned by DbSl:
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    (DB) ERROR: DDL statement failed
    (CREATE VIEW "Z_T_CO_BW" ( "KOKRS" , "KOSTL" , "VERSN" , "KSTAR" , "WOG001" , "MEG001"  ) AS SELECT T0002."KOKRS", T0002."KOSTL", T0001."VERSN", T0001."KSTAR", T0001."WOG001",  T0001."MEG001" FROM "COSS" T0001, "CSKS" T0002 WHERE T0002."MANDT" = T0001."MANDT")
    DbSlExecute: rc = 103
      (SQL error -942)
      error message returned by DbSl:
    (DB) INFO: disconnected from DB
    D:\usr\sap\EC6\SYS\exe\uc\NTI386\R3load.exe: job finished with 3108 error(s)
    D:\usr\sap\EC6\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20080808174211
    Only SAPDB: SAPSID srvice of SAP DB is only up.
    No other services of database are  up.And i am not able to up the other services also.
    Is it required to up the other services?
    If not?
    Why this error is occuring?
    Any help will be appreciated.
    Thanks&Regards
    Manisha das

    Hello Manisha,
    The one of the possible reasons for this is due to lack of H/W.
    Increase your RAM size to atleast 2GB and utilise the same while you are installing ECC in database parameters step..
    If the issue is with H/W, then this should fix the issue.
    Hope it helps,
    Regards,
    Satish.

  • Sap Ecc 6.0 Installation error in  Import Java dump e

    Hi Friends,
    I got error in Phase 20 of 45:-
    ERROR 2015-08-06 17:01:26
    CJS-30049  Execution of JLoad tool 'E:\j2sdk1.4.2_12\bin\java.exe -classpath "E:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS\install\sharedlib\launcher.jar" -showversion -Xmx512m com.sap.engine.offline.OfflineToolStart com.sap.inst.jload.Jload "E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/lib/iaik_jce.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/jload.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/antlr.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/exception.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/jddi.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/logging.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/offlineconfiguration.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/opensqlsta.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar;H:\usr\sap\ECC\SYS\exe\uc\NTI386\ojdbc14.jar" -sec ECC,jdbc/pool/ECC,
    ecc6/sapmnt/ECC/SYS/global/security/data/SecStore.properties,
    ecc6/sapmnt/ECC/SYS/global/security/data/SecStore.key -dataDir E:/sap_kol/javacomponent\JAVA_EXPORT\JDMP -job "E:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS\IMPORT.XML" -log jload.log' aborts with return code 1.<br>SOLUTION: Check 'jload.log' and 'E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/jload.java.log' for more information.
    ERROR 2015-08-06 17:01:26
    FCO-00011  The step importJavaDump 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_Jload|ind|ind|ind|ind|9|0|importJavaDump was executed with status ERROR .
    INFO 2015-08-06 17:16:48
    An error occured and the user decide to stop.\n Current step "|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_Jload|ind|ind|ind|ind|9|0|importJavaDump".
    Kindly help me!!
    Anuska

    Hi Markus, Debashis , Uday and Friends,
    I am currently Watching Thread.
    Plz Help Me.
    Regards,
    Anuska

  • Installation error in SAP ECC 6.0

    Hi Experts,
    i got an error while installing SAP Ecc 6.0 version at 13th (Create Database) step.
    DB  : Oracle
    OS : windows 2003 server.
    Any suggestions to overcone this please.
    Thanks in advance.

    Hi All,
    I am getting the same error. I am using Windows 2008 & Oracle.
    I have the following logs:
    ora_sql_result.log
    2011-09-01, 10:13:35 SAPINST ORACLE start logging for
    @@ORADBUSR.SQL
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Sep 1 10:13:35 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Connected.
    old   6:   if length('&&1') = 5 then
    new   6:   if length('SAPSR3') = 5 then
    old   7:     if substr(upper('&&1'),1,5) = 'SAPR3' then
    new   7:     if substr(upper('SAPSR3'),1,5) = 'SAPR3' then
    old  11:       if upper('&&2') = 'NT' then
    new  11:       if upper('NT') = 'NT' then
    old  18:      :sDomain := upper('&&3');
    new  18:      :sDomain := upper('STNW04S02');
    old  19:      :sSapSid := upper('&&4');
    new  19:      :sSapSid := upper('P01');
    old  21:      :sSapSid := upper('&&3');
    new  21:      :sSapSid := upper('STNW04S02');
    old  37:     :sSchema := upper('&&1');
    new  37:     :sSchema := upper('SAPSR3');
    old  39:     if upper('&&2') = 'NT' then
    new  39:     if upper('NT') = 'NT' then
    old  46:       :sDomain := upper('&&3');
    new  46:       :sDomain := upper('STNW04S02');
    old  47:       :sSapSid := upper('&&4');
    new  47:       :sSapSid := upper('P01');
    old  49:       :sSapSid := upper('&&3');
    new  49:       :sSapSid := upper('STNW04S02');
    using following Parameters:
    .  Oracle Version:                 10.2.0.4.0
    .  Parametervalue os_authent_prefix:   OPS$
    .  Schema Id:                      SR3
    .  Database User (Schema):            SAPSR3
    .  SAP R/3 Administrator:            OPS$STNW04S02\P01ADM
    .  SAP R/3 Serviceuser:             OPS$STNW04S02\SAPSERVICEP01
    .  Domain/Host:                  STNW04S02
    unable to assign default tablespace to user: SAPSR3
    begin
    ERROR at line 1:
    ORA-00959: tablespace 'PSAPSR3USR' does not exist
    ORA-06512: at line 126
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SAPINST: End of output of SQL executing program F:\oracle\P01\102/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2011-09-01, 10:13:37 SAPINST ORACLE stop logging
    sapinst_ora_environment.log:
    2011-09-01, 10:13:37 SAPINST Current process environment:
    =C:=C:\Program Files\sapinst_instdir\NW701\LM\COPY\ORA\SYSTEM\CENTRAL\AS
    =F:=F:\NW_701SR1\NW70_Master\IM_WINDOWS_X86_64
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\Administrator\AppData\Roaming
    CLIENTNAME=5V0PB4J
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    COMPUTERNAME=STNW04S02
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\Administrator
    JAVA_HOME=C:\j2sdk
    LOCALAPPDATA=C:\Users\Administrator\AppData\Local
    LOGONSERVER=
    STNW04S02
    NUMBER_OF_PROCESSORS=2
    ORACLE_HOME=F:\oracle\P01\102
    ORACLE_SID=P01
    OS=Windows_NT
    Path=F:\oracle\P01\102\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\j2sdk\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PERL5LIB=F:\oracle\P01\102\perl\5.8.3\lib\MSWin32-x64;F:\oracle\P01\102\perl\5.8.3\lib;F:\oracle\P01\102\perl\5.8.3\lib\MSWin32-x64;F:\oracle\P01\102\perl\site\5.8.3;F:\oracle\P01\102\perl\site\5.8.3\lib;F:\oracle\P01\102\sysman\admin\scripts;F:\oracle\P01\102\perl\5.8.3\lib\MSWin32-x64;F:\oracle\P01\102\perl\5.8.3\lib;F:\oracle\P01\102\perl\5.8.3\lib\MSWin32-x64;F:\oracle\P01\102\perl\site\5.8.3;F:\oracle\P01\102\perl\site\5.8.3\lib;F:\oracle\P01\102\sysman\admin\scripts
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 2 Stepping 3, AuthenticAMD
    PROCESSOR_LEVEL=16
    PROCESSOR_REVISION=0203
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SAPINST_EXEDIR_CD=F:/NW_701SR1/NW70_Master/IM_WINDOWS_X86_64
    SAPINST_JRE_HOME=C:/Users/ADMINI~1/AppData/Local/Temp/2/sapinst_exe.2624.1314861828/jre
    SESSIONNAME=RDP-Tcp#0
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\ADMINI~1\AppData\Local\Temp\2
    TMP=C:\Users\ADMINI~1\AppData\Local\Temp\2
    USERDOMAIN=STNW04S02
    USERNAME=Administrator
    USERPROFILE=C:\Users\Administrator
    windir=C:\Windows
    SAPINST: End of current process environment.
    Further environment variables that where set (possibly overwriting the previous ones):
    ORACLE_HOME=F:\oracle\P01\102
    ORACLE_SID=P01
    SAPINST: End of environment log.

  • Upgrade of Sourcesystem SAP EHP3 SAP ECC 6.0 to SAP EHP4 SAP ECC 6.0

    Hi,
    I noticed there is a lot of questions on the testing procedures for BI side when Upgrading the source system from R/3 to ECC 6.0. But noticed there aren't many posts on when doing Ehancement Packs. But I believe the process would be more or less the same?
    My project is doing an Upgrade of SAP EHP3 SAP ECC 6.0 Stack03 to SAP EHP4 SAP ECC 6.0 Stack07. BI Side is also upgraded, but I am more interested in the impact of the Upgrade's Source System (ECC) on BI.
    I believe the amount of impact is less as compared to an upgrade from R/3 to ECC, but there still should be impact to BI somehow.
    Basically, from what I have researched, there correct procedure is as below:
    Pre-Upgrade
    1 - Lock users in ECC
    2 - ensure that the Delta queue is cleared in RSA7
    3 - check the PI in ECC6.0 ( What is PI???)
    3 - stop all loads from BW
    Post-upgrade
    1 - Check Source System connections
    2 - replicate all data sources in ECC (when I do a check connection in RSA1 I get the message "No metadata upload since upgrade" which I believe is due to this step not done yet? Is it ok to replicate all datasources??)
    3 - activate all rules thru program (RS_TRANSTRU_ACTIVATE_ALL. Is it ok to activate all transfer strucs?)
    4 - run Init w/o Data Transfer for deltas
    5- run and then check extraction for full & delta loads
    Appreciate if I could your expert inputs on the procedures above? Maybe a more detailed step by step procedure or comments are most welcomed.
    Thanks.

    Additional information:
    I start the upgrade from SAP ECC 6.0 with a dual stack.
    SAP advised me to download the following file to start the upgrade
    SAPehpi_68-10005800.SAR from the SMP
    Download path: Browse our Download Catalog-->  Additional Components --> Upgrade tools --> SAP EHPI Installer --> SAP EHP Installer 7.00.
    Start the upgrade without the jce_policy_zip extension. This was written in note 1302772 .
    Have more luck with it.

  • Difference between SAP 4.7EE and SAP ECC 6.0 in terms of ABAP

    Hi all,
      I would like to know the differences between the SAP-4.7EE and SAP ECC 6.0 in terms of ABAP?
    can any body Please Help me?

    Hi Vijay,
    In terms of ABAP some function modules are obsolete in 4.7.
    e.g WS_UPLOAD, WS_DOWNLOAD etc.
    You can find the list of obsolete FMs in the table RODIR.
    These need to be replaced in the ECC System.
    Also ECC is very strict in case of EPC Errors. You need to check the EPC and remove the call function interface errors where it says SLIN observes catching of a runtime error. These might work with no issues in 4.7 but will shortdump in ECC.
    If you are doing to a unicode conversion also. you need to check the transaction UCCHECK for unicode errors.
    You also need to replace obsolete statements like >< and => , =< etc.
    Please let me know if you need any further info on this.
    Thanks,
    Sai

  • Technical differences between SAP Enterprise and SAP ECC 6.0

    Hi,
    Can anyone plz tell me what will change technically after the upgrade from SAP Enterprise to SAP ECC 6.0, in respect to reports, module pool programming and other technical logics?
    Thx,
    KK

    Difference b/t ABAP4.7  and ECC6.0.
    Difference between R/3 4.7, ECC5 & ECC6 anyone?
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5b/8c3842bb58f83ae10000000a1550b0/frameset.htm
    http://service.sap.com/releasenotes
    /people/thomas.jung3/blog/2005/05/15/abap-46c-to-640-delta-training
    Re: R/3 Enterprise v mySAP ERP 2003 v ECC 5.0 v mySAP ERP 2004
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000497320&_SCENARIO=01100035870000000112&_OBJECT=011000358700000810532004E
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5b/8c3842bb58f83ae10000000a1550b0/frameset.htm
    http://service.sap.com/releasenotes
    See this weblog:
    /people/thomas.jung3/blog/2005/05/15/abap-46c-to-640-delta-training
    Re: R/3 Enterprise v mySAP ERP 2003 v ECC 5.0 v mySAP ERP 2004
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000497320&_SCENARIO=01100035870000000112&_OBJECT=011000358700000810532004E
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/68805bb88f297ee10000000a422035/frameset.htm
    A similar post
    /message/1783778#1783778 [original link is broken]
    You can go through the Release Notes for each of the versions after 4.6B (4.6C, 4.7 , ECC 5.0 & ECC 6.0)
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/688055b88f297ee10000000a422035/content.htm
    For 4.7 SAP R/3 http://help.sap.com/saphelp_47x200/helpdata/en/12/9d78d6d8f74043a32e82be87e433b7/content.htm
    Release Notes on SAP Web Application Server 6.30
    http://help.sap.com/saphelp_47x200/helpdata/en/2b/64fc3e9d3b6927e10000000a114084/content.htm
    http://solutionbrowser.erp.sap.fmpmedia.com/
    http://solutionbrowser.erp.sap.fmpmedia.com/
    http://service.sap.com/instguides
    http://service.sap.com/erp
    http://www.stonewayinc.com/clients/sap/bestoftour/presentations/SAP_BOT_2_Furlan_IBM.ppt
    From the ABAP perspective, few differences are.
    The WS_* function modules used in 4.6c has become obsolete from 4.7C. All the WS_* FMs have been replaced by GUI_* FMs.
    (ii) Concept of Unicode is introduced.
    (iii) Few tables have been modified in ECC6.0.
    Tables TVARV & TTREX have been replaced by TVARVC & TTREXN respectively.
    (iv) we have enhancement points and enhancement sections along with enhancemnts and BADI'S . and we can write the part of code in those points.
    For functional differences please check out the following link:
    http://solutionbrowser.erp.sap.fmpmedia.com/
    ECC->enterprise central component.ECC 6.0 is the advanced version.if we consider in technical point of view then i can give u one example.
    In the new version we have enhancement points and enhancement sections along with enhancemnts and BADI'S.SAP has provided these ,so that without going for access keys we can write our code in the enhancement points along with Standard SAP code.So now SAP has provided more user friendly environment.Also a new DEBUGGER also arrived with the new version.Now we can see more things in the new er version of DEBUGGER.
    Reward points for useful Answers
    Thanks
    Murali Poli

  • ** The XML output file is unreadable in SAP ECC 6.0 (Working fine in 4.6c)

    Hi Friends,
    I am working in SAP Technical upgrade Project from 4.6C to SAP ECC 6.0. In 4.6c one Z program is there, the output of Z program is to generate output XML file in the application Server. We checked and downloaded that the output file is readable and the XML is valid.
    When we run the same program in ECC 6.0. (after unicode check & changes done), the output xml file is generated and it is in unreadable form. (XML contains some machine characters). When we open the XML in Altova Spy, it shows the error XML is invalid. The erorr is 'character #x3F3C is grammatically unexpected'. 
    In 4.6c, they used the encoding <?xml version="1.0" encoding="ISO-8859-1" ?> . We changed the encoding to UTF-8 in ECC 6.0 since we are doing unicode conversion.  (
    <?xml version="1.0" encoding="UTF-8" ?> ). After this change also, the output file is not generated correctly. It is unreadable form. (Some Machine Characters).
    Friends, What could be the problem ? . Can you help me to identify this problem.
    Kind regards,
    Jegathees P.

    I troubleshooted that, the reason is that conversion of X to C (Hexadecimal to C) in the ASSIGN statement is not working correctly in ECC 6.0. Then, we replaced the code with our custom Function Module to convert xstring to string. After this, we got the XML correctly, readable and well-formed XML.

  • Extraction from SAP ECC to SAP BI

    What are the steps for Extraction from SAP ECC to SAP BI? Thanks.

    Hi,
    we have two types of extractions 1) Application specific 2)cross application
    under applicatin specific -->we have customer genenrated and business content extractions
    under customer generated means LIS, CO-PA, FI-SL(i.e no ready made data source in business content so we have to generate datasource)
    Business content means there is ready made business content datasource so we can use it
    LIS,LO --> when ever we go for extracting logistics informatin
    LO steps
    http://www.sap-img.com/business/lo-cockpit-step-by-step.htm
    LO Cockpit (Use transaction LBWE)
    /people/vikash.agrawal/blog/2006/12/18/one-stop-shop-for-all-your-lo-cockpit-needs
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/21406 [original link is broken] [original link is broken]
    /people/sap.user72/blog/2005/09/05/sap-bw-and-business-content-datasources-in-pursuit-of-the-origins
    To understand LO extraction go through these weblogs by Roberto
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
    under cross Applicaion
    Generic extraction-->table, view, infoset query, function module
    Generic extractors are of 3 types:
    1. Based on table/view
    2. Based on Infoset Query
    3. Based on Function module
    GenericSteps
    Log on sap R/3.
    Step 1. create a table or view for generic extraction in se11.
    Step 2. Goto  t-code RSO2
    Step 3. Here u have to decide whether to extract transaction data or master data attributes or texts.
    Step 4. suppose if u have opted for transaction data,then give name in the column ex:ztd_m(data source name)
    Step 5. select create button,this will take u to another screen.
    Step 6. Here u have to decide from which application component u r extacting data.Ex: SD,MM,..
    Step 7. in this screen u have to fill short disciption,medium,long( these r mandatory).
    Step 8. then U have to Table name or view name which u have created in se11.
    Step 9. I f u want to maintain generic delta then u can select generic delta in top left hand side corner.
    Step 10. in next screen u have to give some field which is primary key.
    step 11. here u to specify whether time stamp or cal day or numeric pointer depending on u r requirement.
    step 12. then u have to specify  whether new status for changed records or additive delta.
            If u choose additive delta ,then u have to load data to infocube or ods object.
            If u choose new status for changed records, then u to load data  to ods object only.
    Step 13. then save it.
    Step 14. then logon to sap bw ,then replicate the data source then as usuall.
    COPA
    CO-PA--> for financial info
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/COPA/COPA.pdf
    You can browse forum for more detailed info..
    Regards,
    B

  • Lo-Extraction Job Failed in SAP ECC 6.0

    Hello,
    My Lo-extraction job failed yesterday because of this I'm unable to extract the delta data from SAP ECC 6.0 to BI. When I extract the Delta data from 2LIS_11_VAITM to BI there is no data because of Job failed in SAP ECC 6.0.
    How to get the data back to 2LIS_11_VAITM data source?
    Thanks

    Error log display as follows
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "MESSAGE_TYPE_X" " "
    "SAPLMCEX" or "LMCEXU14"
    "MCEX_UPDATE_11"
    Actually I add ZZ fields to structure if that is the case do i need to delete the  data  from MCEX11 ?
    I delete the data from setup tables but i did not delete the LUW entries?
    When do we delete the LUW entries?
    If the structure changes do I need to cancel the old job and re-schedule job?
    Thanks

  • HACMP Clustering Script for SAP ECC 6.0 (SR1) - Automatic Failover-Oracle10

    Hello,
    I have installed the SAP ECC 6.0 (SR1) under AIX 5.3 / Oracle 10g with HACMP Clustering environment. Manual Failover is working fine. ASCS and Database instances are loaded in share drive with Virtual IP and Virtual name. Central Instance and Dialog Instance are loaded locally in Node A and Node B. I want to get HACMP Clustering script(automatic failover script) for Automation. Please help me if you have.
    Thanks
    Gautam Poddar

    Here are HA stop & start scripts that you should be able adapt for your particular circumstances. Based on earlier versions of SAP / Oracle but assume should be a reasonable guide
    Script to start SAP is start_sap_prd
    #!/bin/ksh
    Script:         /usr/local/bin/cluster/start_sap_prd
    Comments:       HACMP Application START script for PRD
    Show me obvious information in hacmp.out
    banner "Starting"
    banner "PRD SAP"
    Set the oracle and sap owner.
    ORASID="PRD"
    SAPADM="prdadm"
    ORAUSR="oraprd"
    VIRTUALHOST="vhost"
    DEVHOST="vhostdev"
    Get the volume groups for this resource group
    RG=$( /usr/es/sbin/cluster/utilities/cllsgrp | grep -i $ )
    VG_LIST=$( /usr/es/sbin/cluster/utilities/cllsres -g $ | \
            grep "VOLUME_GROUP=" | \
            awk -F\" '{ print $2 }' )
    Check the transport directory is mounted.
    if mount | grep -w "/usr/sap/trans"
      then
            print "Transport directory is already mounted."
      else
            cd /tmp
            print "Attempting a background mount of the transport directory."
            nohup mount -o intr,bg,soft :/usr/sap/trans1 /usr/sap/trans &
    fi
    #Start SAP and Oracle
    #Start listener
    su - $ -c /rprd/oracle/PRD/920_64/bin/lsnrctl start
    rc=$?
    if [ $? != 0 ]
      then
            echo "ERROR: Listener failed to start\n"
    fi
    #Start Database
    su - $ -c "/rprd/oracle/PRD/bin/start_database_PRD.sh"
    sleep 20
    Standard sapstart script
    su - $ -c startsap $
    Script:       /usr/local/bin/cluster/stop_sap_prd
    Dated:        01/11/06
    Application:  Oracle/SAP
    Comments:     HACMP Application STOP script for SAP / Oracle PRD
    Show me obvious information in hacmp.out
    Set the oracle and sap owner.
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to start SAP\n"
    fi
    exit 0
    Script to stop SAP is stop_sap_prd
    #!/bin/ksh
    set -x
    banner "stopping"
    banner "PRD SAP"
    ORASID="PRD"
    SAPADM="prdadm"
    ORAUSR="oraprd"
    VIRTUALHOST="vhost"
    #Stop SAP/Oracle
    su - $ -c stopsap $
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to stop SAP and Oracle\n"
            break
    fi
    Stop SAP collector and Oracle listener.
    su - $ -c /usr/sap/PRD/SYS/exe/run/saposcol -k
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to stop SAPOSCOL \n"
    fi
    su - $ -c /rprd/oracle/PRD/920_64/bin/lsnrctl stop
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Listener failed to stop\n"
    fi
    if mount | grep -w "/usr/sap/trans"
      then
            print "Transport directory is mounted."
            /usr/es/sbin/cluster/events/utils/cl_nfskill -k -u /usr/sap/trans
            sleep 1
            /usr/es/sbin/cluster/events/utils/cl_nfskill -k -u /usr/sap/trans
            sleep 1
            umount -f /usr/sap/trans &
      else
            print "Transport directory is not mounted."
    fi
    exit 0

  • Business Service Issue for OSB 10.3.1 when call web service of SAP ECC 710

    Hello,
    1 . I was doing unit test for a business service which called a web service from SAP ECC 710 (This service is published directly from a RFC function module via SOA Manager);
    2 .The problem is when i use the OSB test console , which generate request message below:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">*
    *</soap:Header>*
    <soapenv:Body>
    <urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503>
    </soapenv:Body>
    </soapenv:Envelope>
    the response message is :
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header>
    <n0:MessageID xmlns:n0="http://schemas.xmlsoap.org/ws/2004/08/addressing">
    uuid:4cbe5b84-474c-9abe-e100-00000ad00164
    </n0:MessageID>
    <n1:Action soap-env:mustUnderstand="1" xmlns:n1="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope"/>
    </soap-env:Header>
    <soap-env:Body/>
    </soap-env:Envelope>
    Above response indicates that the BS called the SAP Web server successfully , but seems the service didn't get the request message.
    3. The Web service can be called successfully via SoapUI . and i have checked the request message of soapUI; and it can work if i simply modify the request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>*
    <soapenv:Body>
    <urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503>
    </soapenv:Body>
    </soapenv:Envelope>
    and i got the correct response :
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header/>
    <soap-env:Body>
    <n0:Zmmjf503Response xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
    <Recmsg><![CDATA[<?xml version="1.0" encoding="utf-8"?><DocumentResponse><STATE>0</STATE><HTBH></HTBH><MESSAGE></MESSAGE></DocumentResponse>]]></Recmsg>
    </n0:Zmmjf503Response>
    </soap-env:Body>
    </soap-env:Envelope>
    4 It bother me , as the only difference between the above two request messages is the Header(the first one contains a "carriage returns"):
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">*
    *</soap:Header>*
    VS
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>*
    5 i thought that the soap engine should ignore the "carriage returns", seems it's a problem of SAP ECC710.
    DID anyone encouter this problem?? Thanks
    Regards
    Wen

    Thanks,Patrick,
    i have already removed the Soap:header, and it worked as well. what's more , using header " <soapenv:Header/>" worked.
    And i got these request messages via TCPMON, so it's exactly what were sent to SAP ECC710.
    The HTTP request which cannot work:
    POST /sap/bc/srt/rfc/sap/zmmjf_503/400/zmmjf_503_service/zmmjf_503_soapbinding HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Authorization: Basic enpoZmhlOnBhc3N3b3Jk
    SOAPAction: ""
    Transfer-Encoding: chunked
    User-Agent: Java1.6.0_05
    Host: 10.208.1.100:8000
    Accept: text/html, image/gif, image/jpeg, */*; q=.2
    Connection: Keep-Alive
    017a
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header><soapenv:Body><urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503></soapenv:Body></soapenv:Envelope>
    0000
    THE HTTP request which can work:
    POST /sap/bc/srt/rfc/sap/zmmjf_503/400/zmmjf_503_service/zmmjf_503_soapbinding HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Authorization: Basic enpoZmhlOnBhc3N3b3Jk
    SOAPAction: ""
    Transfer-Encoding: chunked
    User-Agent: Java1.6.0_05
    Host: 10.208.1.100:8000
    Accept: text/html, image/gif, image/jpeg, */*; q=.2
    Connection: Keep-Alive
    016c
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"/><soapenv:Body><urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503></soapenv:Body></soapenv:Envelope>
    0000
    Thing is that if i just use
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>
    to replace (which means i just simply remove the carriage return)
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    in the header field of OSB Test console, it can work!!!
    It's really a weird issue. and it bothers me so much ;)
    any suggestions?
    Regards
    Wen

Maybe you are looking for

  • How to create a default profile for all users in Firefox 9.

    I run a computer lab, and am looking for a way to create a default profile in Firefox 9 that new users can use. I want them to be able to launch Firefox for the first time, and see my homepage. I want to disable any check for default browsers, firstr

  • How to OCR an image embed in a pdf page that already has some text?

    I have a pdf page that has both texts and an image on it. I can not run OCR on the whole because I see the following error message. Acrobat could not perform recognition (OCR) on this page because: This page contains rederable text. Is there a way to

  • Image covert to PDF then file size become much bigger. [iOS]

    When I use picture covert to PDF then converted PDF file size become much bigger. Original picture file size is 2MB but PDF file size become 5.2MB. I'm using iPhone6. however when I using desktop acrobat to covert the same image then PDF file sizw al

  • Video behind http authentication does not play in Safari on iOS8.

    Videos (quicktime and probably others) that are sitting behind http authenticated sites do not play properly in IOS8. This is true even with the new 8.0.2. When clicking on the mov file, Safari starts the integrated player (the player with the play b

  • Making a query in Forms 6i to insert values

    Hi everyone, I have 2 Data Blocks in Forms 6i, one is not a Database Data Block and the other one is. In my first Data Block I have 3 items: teacher_id, grade and class_id Then, the second Data Block has 10 items where I'm going to be showing 10 rows