Problem regarding offset length while upgrading from 4.7 to ECC 6.0
Hello Friends,
We are upgrading our system from 4.7 to ECC 6.0, during the this I have come across one problem in custom program. Program is not syntactically correct. It's giving error at write statment. WRITE : W_LFA1 +3(1429) to T_FILE. W_LFA1 is having of type LFA1. Error is "The sum of the offset and length (=1432) exceeds the length of the start (=1232) of the structure." Can anyone guide me in this.
Hi Chetan,
This should be an unicode error.
Try to replace your write statement by WRITE : W_LFA1 3(1429) to T_FILE and see.
Regards
Sayee
Similar Messages
-
Unicode error while upgrading from 4.6 to ECC 6.0
Dear All,
I am getting unicode errror while upgrading from 4.6 to ECC 6.0, when iam trying to open downloaded file in excel.
In debugging, error occurs while executing statment "CALL METHOD OF obj_ex_sheet " in the code given below:
FORM open_downloaded_file_in_excel *
FORM open_downloaded_file_in_excel.
DATA:
lv_ole_books TYPE ole2_object,
lv_ole_sheets TYPE ole2_object,
lv_subrc LIKE sy-subrc,
lv_title(70) TYPE c,
lv_text1(70) TYPE c,
lv_text2(70) TYPE c.
start excel
CREATE OBJECT obj_ex_sheet 'EXCEL.SHEET'.
IF sy-subrc NE 0.
lv_subrc = sy-subrc.
FREE OBJECT obj_ex_sheet.
PERFORM error_handling_ms_excel USING lv_subrc.
ENDIF.
CALL METHOD OF obj_ex_sheet 'Application' = obj_ex_app.
IF sy-subrc NE 0.
lv_subrc = sy-subrc.
FREE OBJECT obj_ex_app.
FREE OBJECT obj_ex_sheet.
PERFORM error_handling_ms_excel USING lv_subrc.
ENDIF.
SET PROPERTY OF obj_ex_app 'Visible' = 1.
open data file: main file
CALL METHOD OF obj_ex_app 'Workbooks' = lv_ole_books.
CALL METHOD OF lv_ole_books 'Open' = obj_ex_wbook
EXPORTING #1 = gv_filename
#2 = 2
#3 = 0
#4 = 1
#5 = 0
#6 = 0
#7 = 1.
IF sy-subrc NE 0.
lv_subrc = sy-subrc.
FREE OBJECT obj_ex_wbook.
FREE OBJECT obj_ex_app.
FREE OBJECT obj_ex_sheet.
PERFORM error_handling_ms_excel USING lv_subrc.
ENDIF.
FREE OBJECT lv_ole_books.
CALL METHOD OF obj_ex_wbook 'Worksheets' = lv_ole_sheets.
CALL METHOD OF lv_ole_sheets 'Item' = obj_ex_wsheet
EXPORTING #1 = 1.
FREE OBJECT lv_ole_sheets.
GET PROPERTY OF obj_ex_wsheet 'UsedRange' = obj_ex_usedrange.
CALL METHOD OF obj_ex_usedrange 'AutoFormat'
EXPORTING #1 = 18.
SET PROPERTY OF obj_ex_wsheet 'Name' = sy-tcode.
FREE OBJECT obj_ex_usedrange.
PERFORM free_ole_objects.
CALL FUNCTION 'FLUSH'
EXCEPTIONS
OTHERS = 0.
ENDFORM.
regards,
Divyahi,
In the OPEN DATASET STATEMENT ADD THE ENCODING ADDITION IN TEXT MODE.
Regards,
Balakumar.G
Reward Points if helpful. -
What are the key points to beconsider while upgrading from 4.7 to ECC 6.0
hai
What are the key points to beconsider while upgrading from 4.7 to ECC 6.0
please provide sufficient material
points will be rewarded
regards
v.sridharHi Sridhar,
Please visit the following links:
http://service.sap.com/erp
http://solutionbrowser.erp.sap.fmpmedia.com/ (Functional perspective)
http://service.sap.com/instguides --> mySAP Business Suite Applications --> mySAP ERP --> mySAP ERP 2005 --> Upgrade
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf
For Functionality Differences pls refer to the below site -
http://solutionbrowser.erp.sap.fmpmedia.com/
After opening the site, please select the Source Release Version which is 4.6 b Then Select the Target Release Version which is "mySAP ERP 2005" or ECC 6.0
Select the Solution Area like Financials, Human Capital Management, Sales....
Select module like MM, PP, SD, and QM.....
Click on Search
then it displays the Release Version and the Delta Functionality. Which can be downloaded to a word document if required.
And also check the release notes of ECC 6.0 in service.sap.com.
When you are upgrading from 4.6C to ECC6
Nothing major, follow the same process you'd follow if you were updating PI service packs in R/3 or enhancing data sources. Empty queues in RSA7 and lbwq. Also empty setup tables through lbwg as the upgrade doesn't like it if these tables contain data. This is all on the R/3 side (although you empty RSA7 by running each delta TWICE in BW).
To transfer queues from lbwq to rsa7, execute jobs through LO cockpit (lbwe).
Some of your data sources could also be using sm13 instead of lbwq, so do check it out as well.
For installing ECC 6.0 you required a solution manager key. With out solution manager key you cannot install ECC6.0.
For ECC 6.0 is called net weaver component here you have ABAP+JAVA stack.
ECC6.0 supports UNCODE.
For installing 4.6 you don't require solution manager key. It only having ABAP stack.
4.6C supports NONUNICODE.
Major difference is ECC6 is netwear product having WASJAVA+ABAP
secondly support unicode apart from this we have other diff. you can get form master guide from service.sap.com/instguides.
Please go through the link that is shown here and if there is any doubts then feel free to ask.
Major difference is ECC6 is net weaver product having WASJAVA+ABAP
secondly support Unicode apart from this we have other diff. you can get from master guide from service.sap.com/instguides
For installing ECC 6.0 you required a solution manager key. With out solution manager key you cannot install ECC6.0.
For ECC 6.0 is called net weaver component here you have ABAP+JAVA stack.
ECC6.0 supports UNCODE.
For installing 4.6 you don't required solution manager key. It only having ABAP stack.
4.6C supports NONUNICODE.
Please also Refer sdn thread and make a small search where u can find lot of information Reg this
olution Browser would give the differences (Features):
http://solutionbrowser.erp.sap.fmpmedia.com/ Give source and target versions.
Release Info:
ECC 6.0:
http://help.sap.com/saphelp_erp2005/helpdata/en/43/68805bb88f297ee10000000a422035/frameset.htm
Refer below and search for posts on this topic on sdn
There are so many differences between the version in different objects
I
These are the some of the settings that are differed in the two versions and in that two objects
Please visit the following links:
http://service.sap.com/erp
http://solutionbrowser.erp.sap.fmpmedia.com/ (Functional prespective)
http://service.sap.com/instguides --> mySAP Business Suite Applications --> mySAP ERP --> mySAP ERP 2005 --> Upgrade
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf
For Functionality Differences pls refer to the below site -
http://solutionbrowser.erp.sap.fmpmedia.com/
Upgrade from 4.6c to 6.0 ECC
upgrade from 4.7 to ecc 6.0
Please Do Reward If Really Helpful,
Thanks and Regards,
Sateesh.Kandula -
Problems of Port Configuration while upgrading from 4.0B to ERP 6
Hi all,
We are upgrading a system from 4.0B to ERP 6. Will there will be any problems from port configuration side? If any please tell what they might be.
thankyou.Hello,
We have upgraded from 4.6C to ECC6.0 and did not have any port config issues.
Things to look for:
- RFC destinations, do they still work
- directories used in File type ports, are they still there (they should be)
Hope this helps a bit
Regards
Greg Kern -
Unicode error while upgrading from 4.7 to ECC 6.0
Hello all,
I am upgrading our SAP from 4.7 to ECC 6.0. while doing so we had folllowing error in the adjoinig statement of Search.
Error : Table I_VBLS must have a character line type (data type C,N,D,T or string)
Statement :
W_TMP10 = I_VBLS-VBELN.
SEARCH I_VBLS[] FOR W_TMP10 STARTING AT 1
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
Now I tried to remove this error by putting a loop on internal table I_VBLS and inside it concatenating the header line with a Field symbol and after that to a string variable. Then I used SEARCH statement for the same string. but unfortunately this is changing the functionality of the program by large extent. Does anybody know the exact code snippet to replace search Internal Table
Edited by: Aalhad Deshpande on Feb 23, 2009 3:18 PM
Edited by: Aalhad Deshpande on Feb 23, 2009 3:19 PMHi,
Try to use this method.
CALL METHOD CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
E:G :-
WRITE crlf TO i_linea-linea2.
In this case also their are not mutually convertable. try to use this method and let me know
CALL METHOD CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
EXPORTING
IM_VALUE = crlf
IMPORTING
EX_CONTAINER = i_linea-linea2
EXCEPTIONS
ILLEGAL_PARAMETER_TYPE = 1
others = 2.
Regards,
Sathish -
Regarding syntax error while updating from 4.6b to ECC 6.0
hello Experts,
I'm presently working in upgrade project, Here it shows an error for one of the form pasted below.
FORM MAKEPRINT USING TXT.
DATA: BEGIN OF CVT_TABLE,
X0(1) TYPE X VALUE 0,
C0(1) VALUE '#',
X1(1) TYPE X VALUE '7F',
C1(1) VALUE '#',
END OF CVT_TABLE.
TRANSLATE TXT USING CVT_TABLE.
ENDFORM. "MAKEPRINT
Error - CVT_TABLE must be a character type data object ( data type C,N,D,T or STRING ).
I dont have solution for the above code, Would you please kindly provide me the solution.
<removed_by_moderator>
Thanks,
Abdur
Edited by: Julius Bussche on Sep 22, 2009 1:26 PM
Edited by: Julius Bussche on Sep 22, 2009 1:26 PMHi,
This happens due to unicode conversion in ECC.You will have to change the type X to type C using the class cl_abap_char_utilities. For code help see the below link
http://help.sap.com/saphelp_nw04/helpdata/EN/79/c554d9b3dc11d5993800508b6b8b11/content.htm -
Hi,
i have a problem with offset length please see below code and suggest :
data: content_new LIKE soli-line. "It has a length of 255 charecter
content_new = 'MTE:SD0\nwssd01_SD0_00\CPU\CPU_Utilization'.
content_new = content_new+4(251).
it is giving result:
content_new = SD0\nwssd01_SD0_00\CPU\CPU_Utiliza "it is removing last 4 charecter of UTILIZATION also
while i need :
content_new = 'SD0\nwssd01_SD0_00\CPU\CPU_Utilization'.
can anyone plz help me?
regards.
Moderator Message: Duplicate Post.
Edited by: kishan P on Oct 28, 2010 9:44 AMYou can find string length first. Subtract length by 4, Then use like new = str+4(len), use condense if required.
-
Problem with Navigation Attributes when upgrading from BI 3.1 to BI 7.0
Hello,
I have the following problem that occured regarding queries during the upgrade from BI 3.1 to BI 7.0:
As far as the queries are concerned it is not possible in the 7.0 system to completely rebuild them according to the queries in 3.1. More specifically this refers to a certain number of navigation attributes that cannot be integrated into the query. In this case the following error message appears: "Error in BW: Missing mapping partprov cha <-> multiprov cha". Moreover, this error message only appears when you try to include navigation attributes into the query that are all attributes of the same specific InfoObject.
I have already checked in the 7.0 system if the relevant objects have the status 'active' and if the identification between the Multiprovider and the InfoObjects used is correct. So, is there anybody who may has another idea why this error message appears respectively who experienced the same/similar problem?
Thanks in advance & RegardsHello Martin,
yes, I've also checked the identification in the MultiProvider for the navigational attributes. There is nothing missing.
I've also reactivated the objects.
Do you may have another idea?
Thanks and regards, Ines -
BAdi & user-exits while upgrade from 4.6c to ECC6
Hello all,
Can anybody put light on how User-exits and BAdi will be effected while upgrade from lower version to ECC6.
Many Thnanks.....
Apps.Hi,
The main concept of enhancements is to keep the code unaffected during version upgrades
Hence all the BADI implementations and User Exit/Customer exits implementations will be in place and no effect due to upgrade...I hope in case of badi, some new BADI(as part of enhancement framework-GET BADI/CALL BADI) will be added up and the old BADI(Those in 4.6c or below) will not get affected.
Regards
Shiva -
Hi,
While upgrading from from 10.2.0.1 to 10.2.0.2, im prompted with OUI-10091 error,
i tried to find out in google...but couldn't(incomplete answers)
Help me on how to proceed and install the ptach.
Regards,
- SriI guess troubled u lot.. but this what the README says:
Note:
If you attempt to install this patch set in an Oracle home directory that does not contain an Oracle Database 10g release 10.2.0.1 or 10.2.0.2 installation, Oracle Universal Installer displays a warning dialog with the following error:
OUI-10091: There are no patches that need to be applied from the patch set Oracle Database 10g Release 2 Patch Set 2
10.2.0.3
The Oracle Universal Installer does not allow the installation to proceed. Click OK, then click Cancel to end the installation.
Log on as a member of the Administrators group to the computer on which you are going to install Oracle components. If you are installing on a Primary Domain Controller or a Backup Domain Controller, log on as a member of the Domain Administrators group.
Start Oracle Universal Installer located in the unzipped area of the patch set. For example, Oracle_patch\setup.exe.
On the Welcome screen, click Next.
In the Specify Home Details Screen, select the name of the Oracle home that you want to update, or select the Path that you want to update from the list, then click Next
If you are installing the patch set on an Oracle RAC cluster, click Next when the Selected Nodes screen appears.
Regards,
- Sri -
Challenges while Upgrading from OBIEE 10g to 11g
Hi Gurus,
This is Kiran again. This time I am back with the upgradation issues. We have a client which is currently on OBIEE 10g. All components are already configured in OBIEE 10g with client on RPD, Catalog and implemented all security levels for those.
Now the challenge is to upgrade all activities which we have configured in OBIEE 10g. I have seen lot of stuff online and understood how to upgrade from OBIEE 10g to OBIEE 11g by simply clicking on ua.bat file. But I am unable to understand the process how it is upgrading the securities and environments.
Can anyone help me out by providing necessary stuff I need to take care of before taking the decision to upgrade from OBIEE 10g to 11g.
And also please clear me whether we will have any challenges in upgrading process. If yes, then what kind of challenges we will face and what kind of necessary steps we need to implement to resolve it.
What kind of Architecture we need to follow?
How Schedulers will get upgraded?
Please help me out with your real experiences (Not the online websites). Your response will be highly appreciated and it will help lot of OBIEE professionals who are in the process of upgradation.
Thanks in Advance to all OBIEE GURUS.
KiranHi Valli,
There is really great information available in this link. But I would like to know whether any one faced any issues while upgrading from OBIEE 10g to 11g. Please do share us few issues....
Edited by: 949144 on Nov 27, 2012 9:44 AM -
Performance problem for mass transactions after upgrade from 4.7 to ECC6.0
Hi All,
After upgrade from 4.7 to ECC 6.0 (IS-U), mass transactions such as FPY1, FPVA, FP04M are taking very long time to complete. for example, before upgrade the jobs sceduled for FPVA transaction take around 5k-6k seconds. Whereas after upgrade the jobs for FPVA with the same variant takes around 9k-10k seconds. I am unable to figure out the cause for exponential increase in the duration of several mass-jobs (after the upgrade). Are there any SAP notes or do we need to do any customizing setting to solve this problem? Does anyone face this kind of problem?
Thanks in advance
TajHi,
This is normal after upgrade to 6.0, I have faced the same in all upgrades I've done and some others that I have involved also. If you did not requests and going live upgrade check I strongly recomend to schedule an Early Watch Check to minimize the impact. Times won´t be the same but can be very close if the system is tuned well. We have tuned systems that now run with good performance after this services. -
Depreciation Run Error while Upgrading from SAP 4.6C TO ECC6.0
Hi
We are upgrading from 4.6c to ECC 6.0. In ECC 6.0 we need to make the Number Range Interval as "Internal" and Batch Session tick to be removed from the Depreciation Document Type.
While executing depreciation run, it got terminated and I have done the above changes. After that I have restarted the Depreciation. I have got the following error Message.
Message(s) during check of document ERROR00001
Message no. AAPO511
S:/SAPDMC/LSMW_AUX_020:006 20
Message no. /SAPDMC/LSMW_AUX_020006
If any body aware solution, kindly reply to this message
Thanks
sivaCheck this useful links
Key differences between SAP 4.6 - ECC 6.0
http://sap.ittoolbox.com/groups/technical-functional/sap-hr/difference-sap-ecc60-with-sap-r3-3161113
LE/WM functionality difference between 4.6c and ECC 6.0
differences between SAP R/3 ECC 6 & SAP R/3 4.6C in Material management mod
Upgrade from SAP R/3 4.6 C to ECC6.0 - To find obselete and new tcodes
Upgrade from SAP R/3 4.6 C to ECC6.0 - To find obselete and new tcodes -
Top-Down Distribution - tcode KE28 (release upgrade from 4.6 to ECC 6.0)
All,
we are performing a release upgrade from 4.6 to ECC 6.0 and we have a problem with the tcode KE28.
The variant already set up in the system don't match with the selection fields present in the screen, and the following message is shown:
Message no. KG346
The variant does not adhere to the current Customizing setup
We have saved the variant again, and no problem are present, but the error message refers also to Customizing setup.
Is there a section in the Customizing where it is possible set up the field to show in the initial screen or the new fields (All Valuation Views, Legal Valuation View and Profit Center Valuation View) are due to the release upgrade?
If yes, do you know the transaction/path?
Thanks in advance for your collaboration.
Regards,
Jody Mancini.Hi Satish,
Now i am sending some URL for Functional upgrade
May be those are all useful toyou
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erp6/transactionsChangedinECC6.0
http://solutionbrowser.erp.sap.fmpmedia.com/Default.aspx
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erp6/
Regards
Surya -
Performance issue after Upgrade from 4.7 to ECC 6.0 with a select query
Hi All,
There is a Performance issue after Upgrade from 4.7 to ECC 6.0 with a select query in a report painter.
This query is working fine when executed in 4.7 system where as it is running for more time in ECC6.0.
Select query is on the table COSP.
SELECT (FIELD_LIST)
INTO CORRESPONDING FIELDS OF TABLE I_COSP PACKAGE SIZE 1000
FROM COSP CLIENT SPECIFIED
WHERE GJAHR IN SELR_GJAHR
AND KSTAR IN SELR_KSTAR
AND LEDNR EQ '00'
AND OBJNR IN SELR_OBJNR
AND PERBL IN SELR_PERBL
AND VERSN IN SELR_VERSN
AND WRTTP IN SELR_WRTTP
AND MANDT IN MANDTTAB
GROUP BY (GROUP_LIST).
LOOP AT I_COSP .
COSP = I_COSP .
PERFORM PCOSP USING I_COSP-_COUNTER.
CLEAR: $RWTAB, COSP .
CLEAR CCR1S .
ENDLOOP.
ENDSELECT.
I have checked with the table indexes, they were same as in 4.7 system.
What can be the reson for the difference in execution time. How can this be reduced without adjusting the select query.
Thanks in advance for the responses.
Regards,
Dedeepya.Hi,
ohhhhh....... lots of problems in select query......this is not the way you should write it.
Some generic comments:
1. never use SELECT
endselect.
SELECT
into table
for all entries in table
where.
use perform statment after this selection.
2. Do not use into corresponding fields. use exact structure type.
3. use proper sequence of fields in the where condition so that it helps table go according to indexes.
e.g in your case
sequence should be
LEDNR
OBJNR
GJAHR
WRTTP
VERSN
KSTAR
HRKFT
VRGNG
VBUND
PARGB
BEKNZ
TWAER
PERBL
sequence should be same as defined in table.
Always keep select query as simple as possible and perform all other calculations etc. afterwords.
I hope it helps.
Regards,
Pranaya
Maybe you are looking for
-
Hi, I am making a report in which i have to display the vendor payment for open items and i am facing the problem that when it moves to the 3rd table BSIK table the documenttype (BLART) get changes. i dont why why it is happening? plzz help me out it
-
Is there a tutorial on how to open a person's eyes that are closed? easy and simple ?
-
TCS3 Frame Conditionl text causing tiny fonts in RH Topics
With a linked FrameMaker book, in the Conversion Settings dialog box > Other Settings, I've selected Apply FrameMaker Conditional Text Build Expression. In FrameMaker I've selected Show as per Expression. The results are disappointing. In apparently
-
Do Not Expand on Drill Across/Down
Hi All, I am having Two Restricted KeyFigures Called Short Term and Long Term. The Short term is restricted with Fiscal Month(Say X) for a range of one year and the Long term is restricted with the same variable but Greater than Or Equal X. So the L
-
I have just updated to iso5 on my ipod 4th gen and now i can not send e-mail please help
since updating to ISO5 i can no longer send e-mails form my ipod touch 4th gen. I could befor and the settings all look ok to me but no luck. Any help would be appreciated.