2008 Dec 12 8:43 AM
Hi gurus......
I am involved in upgradation tool...
when we are upgrading ec4 to ec6 some pgms are unicode compatable and we will get errors according to unicode format
so when we get those errors can we replace those stmts by our code
for eg.
data fld(6)
ln(8).
describe filed fld length ln.
should be replaced by
describe filed fld length ln in characer mode
like these can we change pgm according to unicode standards.
thanks pls suggest me.
Edited by: suma chandra on Dec 12, 2008 9:43 AM
Edited by: Julius Bussche on Dec 12, 2008 10:01 AM
Hi gurus......
I am involved in upgradation tool...
when we are upgrading ec4 to ec6 some pgms are unicode compatable and we will get errors according to unicode format
so when we get those errors can we replace those stmts by our code
for eg.
data fld(6)
ln(8).
describe filed fld length ln.
should be replaced by
describe filed fld length ln in characer mode
like these can we change pgm according to unicode standards.
thanks pls suggest me.
Edited by: suma chandra on Dec 12, 2008 9:43 AM
Edited by: Julius Bussche on Dec 12, 2008 10:01 AM
2008 Dec 12 8:45 AM
2008 Dec 12 8:47 AM
hi suma,
you are right.
for unicode compatible systems, replacement should be done.
other wise it may leads to dump.
before that only if you check unicode flag it will show error, right.
go ahead with the changes.
2008 Dec 12 8:47 AM
Hi Suma,
we do that.
In describe we need give either character or integer mode.
we can change the program.
Regards,
Flavya
2008 Dec 12 8:50 AM
hi frends.
for custom pgms only we need to change the code according to unicode compatable.
wat d code that we are providing should replace with our code automatically
thanks
Edited by: suma chandra on Dec 12, 2008 9:50 AM
2008 Dec 12 8:49 AM
Hello Suma,
I think you can change it. Its safe !!!
Some other changes which can be done are: Upload / Download FMs.
This is a difficult question to answer, i think if you ask some specific scenario it will be better to answer.
But for the code you asked, its safe )
BR,
Suhas
2008 Dec 12 8:53 AM
hi suhas......
wat my requirement is i need to develop a report to display unicode check errors in the pgm..
after displaying it wat r the errors that occuring that need to be changed accordingly
with unicode standards.
2008 Dec 12 8:54 AM
hi suhas......
wat my requirement is i need to develop a report to display unicode check errors in the pgm..
after displaying it wat r the errors that occuring that need to be changed accordingly
with unicode standards.
2008 Dec 12 8:57 AM
Hello Suma,
There is a trxn for this - UCCHECK. (I think in your 1st post you said you are using ECC6).
SAP documentation of the trxn is as follows:
You can use transaction UCCHECK to examine a Unicode program set for syntax errors without having to set the program attribute "Unicode checks active" for every individual program. From the list of Unicode syntax errors, you can go directly to the affected programs and remove the errors. It is also possible to automatically create transport requests and set the Unicode program attribute for a program set.
Hope this helps.
BR,
Suhas
2008 Dec 12 9:02 AM
hi suhas
By using uccheck we can get errors for the program..
after getting errors how can we replace the code with our uniocde standards.
thanks
2008 Dec 12 9:03 AM
Hello Suma,
You have to analyse the code & change it accordingly. Are you trying to automate this process?
BR,
Suhas
2008 Dec 12 9:05 AM
I have to place a button in the report and while clicking on it
the errors which we are geting should change according to unicode standards.
thanks
2008 Dec 12 9:34 AM
Hello Suma,
I think its a manual activity :-(( I have worked on a couple of upgrade projects & we had to do this entire exercise manually ...
If you develope any automation, plz share with us @ SDN.
Best of Luck for your endeavour.
BR,
Suhas
2008 Dec 13 4:56 PM
Hi we can update the custom pgms with uniocode standards
but hw it can be done we need to know.........
2008 Dec 13 6:43 PM
Hi Suma,
As for as my knowledge, there will be in tool (CDOP). which gives the list of all object which effect the higher version.
List will be:
Data element
domain
table
program
function group.
for each we may have multiple impacts,
Ex,
zdata(table) may effect with zdel(data element)
and may be in one report may have couple of impacts. that list will get with the tool of upgrade.
( try seacrhing documents in sdn for CDOP )
we need to work manually on those.
UCCHECK is the tcode, where we can get the list of program which are not checked the unicode and errors if u change those to unicode. with this tcode code u can check unicode in one shot, here it prompts for request.
search in wiki for more details on upgrade.
Regards,
santosh reddy
2009 Feb 16 4:39 AM
>
> Hi we can update the custom pgms with uniocode standards
>
> but hw it can be done we need to know.........
Hi suma,
To make custom programs with unicode standards,
first step--> goto program attributes, then activate "Unicode checks active" checkbox.
second step--> use "UCCHECK" transaction, give your custom program name, it will displays all unicode errors and obsolete function modules(upload,download).
third step--> its more adviceble to use this transaction eventhough u fixed all errors in second step, use "SLIN" transaction, give your program name and execute, it will displays all type of errors and warnings related to that program. As per the client's scope fix the errors and warning.
I worked for over 14 upgrade projects. The above process is the standard process followed by SAP.
Still you are looking for any information related to upgrade please feel free to contact me.
Regards
Arani Bhaskar
Edited by: arani bhaskar on Feb 16, 2009 10:10 AM
2009 Feb 16 4:55 AM
2008 Dec 12 9:04 AM
Hi Suma,
This is a manual activity to modify the program identified for unicode upgrade. It is not possible to automatically change the code. There would be some efforts allocated for this manual activity to comment the obsolete statements & add new ones.
Best regards,
Prashant