06-22-2014 10:44 PM
We just upgraded to ERP 6.06 and SAP Basis 731 and I am doing the first time LSMW after this upgrade.
To my surprise SAP hides the ABAP coding lines if there are more than 16 coding lines and shows a line with "not all lines are displayed - double click"
A search for a string which is located in this hidden section is not found anymore, even when "in whole hierarchy" is selected in the search.
Anybody there who knows how to include those hidden section into the search, or how to expand all those hidden sections?
The expand icon does not work for this section, a double click just opens the coding for this one field in a new screen.
06-23-2014 6:13 AM
Hi Jürgen,
unfortunately, there seems to be no solution to this. Modification would be a possibility. I cross-checked a 6.06 7.31 System with a 6.04 7.01 and found that SAP did some code changes in LSMW, although the version information is shown as the same: 4.0.0 as of 31.08.2004.
In Include /SAPDMC/LLSMW_OBJ_040F01, the following lines are added that cause the issue (right at the end of the include):
IF L_COUNTER < 25.
APPEND P_MOREINFO.
ELSE. " max. 25 lines possible due to ACC
P_MOREINFO-TEXT1 = text-205.
P_MOREINFO-TLENGTH1 = 64.
P_MOREINFO-TCOLOR1 = 6.
P_MOREINFO-TINTENSIV1 = 0.
APPEND P_MOREINFO.
EXIT. " add no more lines
ENDIF.
There seems to be some special restriction needed. Maybe it's worth to open a message?
Regards,
Marc
06-23-2014 6:13 AM
Hi Jürgen,
unfortunately, there seems to be no solution to this. Modification would be a possibility. I cross-checked a 6.06 7.31 System with a 6.04 7.01 and found that SAP did some code changes in LSMW, although the version information is shown as the same: 4.0.0 as of 31.08.2004.
In Include /SAPDMC/LLSMW_OBJ_040F01, the following lines are added that cause the issue (right at the end of the include):
IF L_COUNTER < 25.
APPEND P_MOREINFO.
ELSE. " max. 25 lines possible due to ACC
P_MOREINFO-TEXT1 = text-205.
P_MOREINFO-TLENGTH1 = 64.
P_MOREINFO-TCOLOR1 = 6.
P_MOREINFO-TINTENSIV1 = 0.
APPEND P_MOREINFO.
EXIT. " add no more lines
ENDIF.
There seems to be some special restriction needed. Maybe it's worth to open a message?
Regards,
Marc
09-03-2014 12:13 PM
Thank you very much for your answer, as it got me closer to the root cause.
I opened a support ticket and got informed about the reason for this change.
Here is a part of the answer:
The changes with comment 'ACC' are for
Accessibility changes.
(SAP screens are accessibility compatible. For visually challenged
people, the nodes and descriptions are read out.This is called
accessibility.)
There were issues with Accessibility in SAP program and screens, so
the restriction of lines has been introduced.
You can certainly undo the changes to make it suitable for the
scenario, but not recommended.
I can understand, the limitation brought many unnecessary restrictions
on the screen, but it was necessary to make the programs Accessibility
compatible.
We just discussed this matter in our team meeting today and decided to modify if back. We do not have visually challenged people using LSMW.
It will take a few weeks to get it through the approval levels. After we have made some experience with the modification I will give an update here.
09-08-2014 9:26 AM
Thanks for the info Jürgen, will wait to read your experience with that.
01-28-2015 5:26 PM
01-29-2015 8:25 AM
Dear all,
Yes, for sure we should support visually challenged people.
But if the rest of us have to suffer a lot, then I think it is slightly exaggerated.
SAP should switch this to
a) let it be the old way for visually normal people (the most of us, I guess)
b) give the opportunity to reduce the number of visible lines for visually challenged people.
Otherwise it looks like the dominion of the minority over the majority 😞
Regards,
M.
02-12-2015 9:56 AM
Hi Jürgen,
what exactly did you do to get more than 25 lines again ?
I asked a key to change /SAPDMC/LLSMW_OBJ_040F01 but that's not changeble directly.
(it would have been easy to change the 25 into 250 or 500)
so i'm kind a stuck here..
Can you give me some information ?
02-12-2015 2:48 PM
02-12-2015 3:57 PM
I was going to do exactly the same , but I can't make changes to this standard sap code , ( I already applied the sap-key). But I get these 'x' right after the line-number.
A sap developer here says , I have to make a ZLSMW , and make Zcopies of all the rel. function modules.. Because it's not allowed to change standard code. (only enhancements in the beginning and at the end.....)
02-13-2015 8:10 AM
you are in edit mode of the new front end editor, this column is just information and helps you to identify changed lines. I was in display mode when I did the screenshot.
There is an icon directly below the vertical scroll bar where you can define which columns you like to see.
You only need to continue by clicking the Replace button in the application toolbar to make your wanted changes.
02-13-2015 8:24 AM
Thanks Jürgen,
meantime I already sorted it out, ..ALL WORKS FINE !!
Thanks for your support !!!
Saved me alot of time !!!!
03-16-2015 10:11 AM