[SOLVED] gtk icons not working
To save my soul, I can't get my icons to change in Thunar. There is no icon set in there right now, so everything is displayed as just a piece of paper picture (folders, files, everything!).
This is my /.gtkrc-2.0 file:
# -- THEME AUTO-WRITTEN DO NOT EDIT
include "/usr/share/themes/Foresight/gtk-2.0/gtkrc"
include "/home/bovis/.gtkrc-2.0.mine"
gtk-icon-theme-name = "Hicolor"
# -- THEME AUTO-WRITTEN DO NOT EDIT
I even have the gtk-icon... line included in .gtkrc-2.0.mine and it still will not change. I've tried several icon theme names and several themes. The themes all work fine, but even when the theme file specifies certain icons they do not show up in Thunar.
This is driving me insane. Please help. Thank you.
Last edited by bovis (2009-02-21 23:40:02)
Well, I found a solution. I don't know how to delete this post (I don't see an option anywhere), so I'll post the solution for anyone else who comes across this problem.
If you go to this site it explains the common concern about the "fallback" icons showing up in Thunar.
http://thunar.xfce.org/pwiki/documentation/faq
Basically, what I needed to do was install the package gnome-icon-theme, in addition to the hicolor theme, which I had already installed (I found both in the pacman repos). For some reason, both of those are needed in order to begin working with other icon themes. I hope this helps out anyone else who has this issue.
Similar Messages
-
[SOLVED] elementary-icons not working
Since the png/jpeg update i can not set the elementary-icons as the icon theme.
It would be nice to know if more people see this problem and if it can be fixed.
Some discussion has started in the package page (http://aur.archlinux.org/packages.php?ID=30610) but it think its better to try to solve this in a forum thread.
I am running xfce but another user has the same problem with gnome.
To me it looks like gtk has some trouble setting the new icon theme (perhaps some trouble with the svg files in elementary-icons) since xfce4-settings-editor shows that /Net/IconThemeName=elementary when i switch, but the icon theme used after that is the gnome icon theme.
Last edited by cleanrock (2010-02-05 18:53:01)cleanrock wrote:
i solved it, i had to resync gtk2, i think /etc/gtk-2.0/gdk-pixbuf.loaders did not contain the svg loader
btw, before that i tried reverting back to vanilla cairo but no luck, its weird that resyncing gtk2 to same version fixed it
klerik, can you test resyncing gtk2 fixes this for you too ?
I have fixed it installing libjpeg7 from AUR.
Seems the new version of libpng and libjpeg broke a lot of things... -
I can't send out email using my iPhone4. I tried to follow the step provided to solve but still not working. What should I do?
Contact your mail provider and get the CORRECT settings for the outgoing server to set up on your phone.
-
The icons are not working on my Palm Z 22. I have performed both a soft reset and hard reset to no avail. What next?
theresajane wrote:
After performing the hard reset, the screen is asking that I "tap the center of the target". The target does not respond to my tap. Before I did the hard reset, none of the icons responded nor did the 5-way button allow me to move around. I'm wondering if I should bury this PDA and move on?
Certainly seems like its best days are over...
WyreNut
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked! -
8500 A909g setup icon not working
Can anyone help?
I have the above printer and recently I have been unable to access the setup screen via the touch screen (spanner icon) all the lower section works i.e. copy, scan etc. and if I do a partial reset all other toch buttons work, the only items that do not work are the 3 at the top of the screen next to the data and time i.e. spanner, cartridge and ? icons. anyone know a solution or is the touch screen pad U/S, thanks JbraddersHi @Jbradders
I just sent you a private message. If you are not sure how to check your forum messages this post, has instructions.
Thank you,
R a i n b o w 7000I work on behalf of HP
Click the “Kudos Thumbs Up" at the bottom of this post to say
“Thanks” for helping!
Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution! -
[SOLVED] Compiz emerald not working
Hi , I recently reinstalled Arch, previously compiz with emerald was working fine under Mate desktop.
Now I can't get them to work properly.
If i run:
emerald --replace
nothing happens
If i run:
compiz --replace &
I lose the window borders and can't move the windows.
In my ccsm I have enabled move windows, window decoration
and in window decoration i have in command emerald --replace
the packages i have installed :
compiz-bcop 0.8.8-2
compiz-core 0.8.9-3
compiz-fusion-plugins-extra 0.8.8-2
compiz-fusion-plugins-main 0.8.8-3
compiz-fusion-plugins-unsupported 0.8.8-1
compizconfig-python 0.8.4-5
emerald 0.8.8-2
emerald-themes 0.6.0-4
as compiz-core is not working if i try to install compiz-core-mate i get:
compiz-core-mate and compiz-core are in conflict.
if i remove compiz-core and everything that depends on compiz-core (compiz plugins, emerald, ccsm) and install compiz-core-mate then i can't install ccsm , compiz plugins nor emeral as all of them requiere compiz-core.
at the end in one way or another I can't get compiz and emerald working. any help would be appreciated
ps. i also tried compiz-gtk-standalone with the same problem that the other packages needed compiz-core and had a compatibility problem.
Last edited by Kronolynx (2014-10-26 17:36:14)In the OP you were using compiz 0.8x and that version is very out of date. I can't comment on compiz-mate, but the easiest and the semi-official way to run compiz on Arch is with the compiz-bzr (https://aur.archlinux.org/packages/compiz-bzr/) package in the AUR. If you want emerald with it, then install emerald-git (https://aur.archlinux.org/packages/emerald-git/).
Those should be the only two packages you install. compiz-bzr and (optionally) emerald-git. No fusion-icon or compiz-fusion-plugins or anything like that. Fusion icon is dead and all the plugins and everything else you need is bundled into compiz.
Now there has been a bit a trouble with compiz lately and the gtk-window-decorator. You need to downgrade your version of metacity to 3.12.0 (found here: http://seblu.net/a/arm/2014/08/05/commu … kg.tar.xz). I stumbled across this thread because of the problem you're having with ccsm and the error "ImportError: libprotobuf.so.8." In the compiz spinoff package called compiz-manjaro (https://aur.archlinux.org/packages/compiz-manjaro/) I found the comment "FYI: Recent update to protobuf package means this package needs to be rebuilt to get CCSM working again." So I rebuilt compiz-bzr and now ccsm is working for me again. That last part doesn't apply to you because you're installing compiz-bzr for the first time, but it might help someone else who finds this thread like I did.
As for your problem where you say "if i run compiz --replace i can't move the windows and i get no window borders." If you hold Alt, can you click and drag the windows around? Not having window borders is a common issue because the window border plugin isn't enabled. You can read more about that here - https://wiki.archlinux.org/index.php/Co … nt_plugins
EDIT:
There's the package compiz (https://aur.archlinux.org/packages/compiz/) which you can use instead of compiz-bzr. It's the release version instead of the development version. The release version apparently requires metacity2 (which you can find in the AUR), so if you pick this package then ignore my earlier comments about downgrade metacity.
Last edited by beardedlinuxgeek (2014-10-24 13:22:51) -
Solved rEFInd does not work after update
Hello.
Today, I updated rEFInd with yaourt.
After the update, I copied the new files in /boot/efi.
I rebooted and now rEFInd does not work.
The only message I got is:
rEFInd - Initializing
After 2-3 minutes, the computer reboots and I got the same error message.
To boot, I had to use the UEFI shell.
First of all, is there a log file for rEFInd?
It is not easy at all to debug it when we don't have any error messages.
After that, I did the procedure to install rEFInd in /boot/efi twice without any success.
Do you know what to do to solve my problem?
Thanks for your help.
Last edited by antoyo (2012-11-07 23:29:55)@antoyo: The old one is compiled using gnu-efi-libs, the new one is compiled using Tianocore UDK2010.
Full package: http://dl.dropbox.com/u/9710721/refind- … pkg.tar.xz
Src package: http://dl.dropbox.com/u/9710721/refind- … src.tar.gz (will compile only in x86_64 system) -
Hi All,
I have developed a program to display two alv reports. The program when executed displays the first report and on the click of a push button it wud display the second report. The standard icons are all working in the first report but few icons like print, local file save are not working in the second screen. Can anyone help me on this?
REPORT ZMY20FCORD MESSAGE-ID 8I.
ALV
TYPE-POOLS: SLIS.
DATA: TXT_REPORT LIKE DOKHL-OBJECT. "Reportname für Erläuterungsaufruf
DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
GT_EVENTS TYPE SLIS_T_EVENT,
GT_SORT TYPE SLIS_T_SORTINFO_ALV,
GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
GS_LAYOUT TYPE SLIS_LAYOUT_ALV.
TABLES ABAP Internal Table definitions
TABLES : T001, T001W, T005, TVST, ZMY20PROD, ZMY20WKFC, TVKO, ZMY20RMRK,
ZMY20FCVER, ZMY20GP, VBAK, VBAP, VBEP, VBPA, KNA1.
INTERNAL TABLES (i_): ABAP Internal Internal Table definitions
DATA: I_ZMY20WKFC LIKE ZMY20WKFC OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF I_VBAK OCCURS 0,
VBELN LIKE VBAK-VBELN,
KUNNR LIKE VBAK-KUNNR, " Sold-to-Party
END OF I_VBAK.
DATA: BEGIN OF I_ORDER OCCURS 0,
VBELN LIKE VBAK-VBELN,
POSNR LIKE VBAP-POSNR,
ETENR LIKE VBEP-ETENR,
KUNNR LIKE VBAK-KUNNR, " Sold-to-Party
MATNR LIKE VBAP-MATNR,
WERKS LIKE VBAP-WERKS,
VSTEL LIKE VBAP-VSTEL,
WMENG LIKE VBEP-WMENG,
VRKME LIKE VBEP-VRKME,
LDDAT LIKE VBEP-LDDAT,
SHIPTO LIKE VBPA-KUNNR,
SOLDCN LIKE KNA1-LAND1,
SHIPCN LIKE KNA1-LAND1,
PRODUCT LIKE ZMY20PROD-PRODUCT,
STCSTP LIKE ZMY20WKFC-STCSTP,
SPMON LIKE ZMY20WKFC-SPMON,
WEEK LIKE SCAL-WEEK,
UPDFLG(1) TYPE C,
END OF I_ORDER.
DATA: BEGIN OF I_SHIPTO OCCURS 0,
CUSTOMER(20) TYPE C,
SHIPTO LIKE VBPA-KUNNR,
END OF I_SHIPTO.
DATA: BEGIN OF I_OUTPUT OCCURS 0,
SORTKEY(1) TYPE C,
STCSTP LIKE ZMY20WKFC-STCSTP,
WERKS LIKE ZMY20WKFC-WERKS,
SHPPOINT LIKE ZMY20WKFC-SHPPOINT,
PRODUCT LIKE ZMY20WKFC-PRODUCT,
MAKTX LIKE ZMY20PROD-MAKTX,
QTY01 LIKE ZMY20WKFC-QTY01,
ORD01 LIKE ZMY20WKFC-QTY01,
QTY02 LIKE ZMY20WKFC-QTY01,
ORD02 LIKE ZMY20WKFC-QTY01,
QTY03 LIKE ZMY20WKFC-QTY01,
ORD03 LIKE ZMY20WKFC-QTY01,
QTY04 LIKE ZMY20WKFC-QTY01,
ORD04 LIKE ZMY20WKFC-QTY01,
QTY05 LIKE ZMY20WKFC-QTY01,
ORD05 LIKE ZMY20WKFC-QTY01,
QTY06 LIKE ZMY20WKFC-QTY01,
ORD06 LIKE ZMY20WKFC-QTY01,
TOTFC1 LIKE ZMY20WKFC-QTY01,
TOTORD1 LIKE ZMY20WKFC-QTY01,
FCORD1(5) TYPE P DECIMALS 2,
QTY07 LIKE ZMY20WKFC-QTY01,
ORD07 LIKE ZMY20WKFC-QTY01,
QTY08 LIKE ZMY20WKFC-QTY01,
ORD08 LIKE ZMY20WKFC-QTY01,
QTY09 LIKE ZMY20WKFC-QTY01,
ORD09 LIKE ZMY20WKFC-QTY01,
QTY10 LIKE ZMY20WKFC-QTY01,
ORD10 LIKE ZMY20WKFC-QTY01,
QTY11 LIKE ZMY20WKFC-QTY01,
ORD11 LIKE ZMY20WKFC-QTY01,
QTY12 LIKE ZMY20WKFC-QTY01,
ORD12 LIKE ZMY20WKFC-QTY01,
TOTFC2 LIKE ZMY20WKFC-QTY01,
TOTORD2 LIKE ZMY20WKFC-QTY01,
FCORD2(5) TYPE P DECIMALS 2,
CELLCOLOR TYPE SLIS_T_SPECIALCOL_ALV,
DUMMY(1) TYPE C,
END OF I_OUTPUT.
DATA: I_COLOUR TYPE LVC_T_SCOL WITH HEADER LINE.
DATA: BEGIN OF I_PRDWISE OCCURS 0,
SORTKEY(1) TYPE C,
STCSTP LIKE ZMY20WKFC-STCSTP,
PRODUCT LIKE ZMY20WKFC-PRODUCT,
MAKTX LIKE ZMY20PROD-MAKTX,
TOTFC1 LIKE ZMY20WKFC-QTY01,
TOTORD1 LIKE ZMY20WKFC-QTY01,
FCORD1(5) TYPE P DECIMALS 2,
DIFF1 LIKE ZMY20WKFC-QTY01,
TOTFC2 LIKE ZMY20WKFC-QTY01,
TOTORD2 LIKE ZMY20WKFC-QTY01,
FCORD2(5) TYPE P DECIMALS 2,
DIFF2 LIKE ZMY20WKFC-QTY01,
END OF I_PRDWISE.
DATA: BEGIN OF I_TVST OCCURS 0,
VSTEL LIKE TVST-VSTEL,
END OF I_TVST.
DATA: BEGIN OF T_STCP OCCURS 0,
SORTKEY(1) TYPE C,
STCSTP LIKE ZMY20WKFC-STCSTP,
END OF T_STCP.
DATA: BEGIN OF T_PROD OCCURS 0,
PRODUCT LIKE ZMY20PROD-PRODUCT,
MAKTX LIKE ZMY20PROD-MAKTX,
END OF T_PROD.
DATA: BEGIN OF T_USER OCCURS 0,
UNAME LIKE SY-UNAME,
END OF T_USER.
DATA: I_FIELDS LIKE SVAL OCCURS 0 WITH HEADER LINE.
VARIABLES (v_): ABAP Internal Variables definitions
DATA : V_ENDMTH LIKE S125-SPMON,
V_STRDT1 LIKE SY-DATUM,
V_STRDT2 LIKE SY-DATUM,
V_ENDDT1 LIKE SY-DATUM,
V_ENDDT2 LIKE SY-DATUM,
V_STRWK1 LIKE SCAL-WEEK,
V_STRWK2 LIKE SCAL-WEEK,
V_ENDWK1 LIKE SCAL-WEEK,
V_ENDWK2 LIKE SCAL-WEEK,
V_STRMTH LIKE S125-SPMON. " Only for Report Header
DATA : BEGIN OF I_WEEKS OCCURS 0,
SLNO TYPE I,
WEEKS LIKE SCAL-WEEK,
MONTH(2) TYPE C,
HDRWK(13) TYPE C,
END OF I_WEEKS.
DATA : V_TABIX LIKE SY-TABIX,
V_VERSN LIKE ZMY20WKFC-VERSN,
V_VKORG LIKE TVKO-VKORG.
DATA : V_REMARK1 LIKE ZMY20RMRK-REMARK1,
V_REMARK2 LIKE ZMY20RMRK-REMARK2,
V_RETCODE TYPE C,
V_FNAME(30) TYPE C,
V_UPDFLAG(1) TYPE C.
WORKING VARIABLES (w_): ABAP Internal Working Variables definitions
DATA: W_TOT(5) TYPE N,
W_SLNO TYPE I.
DATA: W_WEEKS LIKE SCAL-WEEK.
DATA: W_WKHDR01(13) TYPE C,
W_WKHDR02(13) TYPE C,
W_WKHDR03(13) TYPE C,
W_WKHDR04(13) TYPE C,
W_WKHDR05(13) TYPE C,
W_WKHDR06(13) TYPE C,
W_WKHDR07(13) TYPE C,
W_WKHDR08(13) TYPE C,
W_WKHDR09(13) TYPE C,
W_WKHDR10(13) TYPE C,
W_WKHDR11(13) TYPE C,
W_WKHDR12(13) TYPE C.
DATA: W_FCHDR01(13) TYPE C,
W_FCHDR02(13) TYPE C,
W_FCHDR03(13) TYPE C,
W_FCHDR04(13) TYPE C,
W_FCHDR05(13) TYPE C,
W_FCHDR06(13) TYPE C,
W_FCHDR07(13) TYPE C,
W_FCHDR08(13) TYPE C,
W_FCHDR09(13) TYPE C,
W_FCHDR10(13) TYPE C,
W_FCHDR11(13) TYPE C,
W_FCHDR12(13) TYPE C,
W_FCHDRT1(13) TYPE C,
W_FCHDRT2(13) TYPE C,
W_ORHDR01(13) TYPE C,
W_ORHDR02(13) TYPE C,
W_ORHDR03(13) TYPE C,
W_ORHDR04(13) TYPE C,
W_ORHDR05(13) TYPE C,
W_ORHDR06(13) TYPE C,
W_ORHDR07(13) TYPE C,
W_ORHDR08(13) TYPE C,
W_ORHDR09(13) TYPE C,
W_ORHDR10(13) TYPE C,
W_ORHDR11(13) TYPE C,
W_ORHDR12(13) TYPE C,
W_ORHDRT1(13) TYPE C,
W_ORHDRT2(13) TYPE C,
W_HDR%1(13) TYPE C,
W_HDR%2(13) TYPE C,
W_DIFF1(13) TYPE C,
W_DIFF2(13) TYPE C.
DATA: W_WKTBL01 LIKE SCAL-WEEK,
W_WKTBL02 LIKE SCAL-WEEK,
W_WKTBL03 LIKE SCAL-WEEK,
W_WKTBL04 LIKE SCAL-WEEK,
W_WKTBL05 LIKE SCAL-WEEK,
W_WKTBL06 LIKE SCAL-WEEK,
W_WKTBL07 LIKE SCAL-WEEK,
W_WKTBL08 LIKE SCAL-WEEK,
W_WKTBL09 LIKE SCAL-WEEK,
W_WKTBL10 LIKE SCAL-WEEK,
W_WKTBL11 LIKE SCAL-WEEK,
W_WKTBL12 LIKE SCAL-WEEK.
DATA: W_SHIPTO LIKE VBPA-KUNNR,
W_SOLDCN LIKE KNA1-LAND1,
W_SHIPCN LIKE KNA1-LAND1,
W_PRODUCT LIKE ZMY20PROD-PRODUCT.
DATA: W_ORD01 LIKE ZMY20WKFC-QTY01,
W_ORD02 LIKE ZMY20WKFC-QTY01,
W_ORD03 LIKE ZMY20WKFC-QTY01,
W_ORD04 LIKE ZMY20WKFC-QTY01,
W_ORD05 LIKE ZMY20WKFC-QTY01,
W_ORD06 LIKE ZMY20WKFC-QTY01,
W_ORD07 LIKE ZMY20WKFC-QTY01,
W_ORD08 LIKE ZMY20WKFC-QTY01,
W_ORD09 LIKE ZMY20WKFC-QTY01,
W_ORD10 LIKE ZMY20WKFC-QTY01,
W_ORD11 LIKE ZMY20WKFC-QTY01,
W_ORD12 LIKE ZMY20WKFC-QTY01,
W_ORDT1 LIKE ZMY20WKFC-QTY01,
W_ORDT2 LIKE ZMY20WKFC-QTY01.
SELECTION SCREEN DATA : ABAP Internal Select Options&Parameters
SELECT-OPTIONS (s_) definitions
PARAMETERS (p_)
SELECTION-SCREEN BEGIN OF BLOCK MYSEL1 WITH FRAME TITLE TEXT-001.
PARAMETERS : P_BUKRS LIKE T001-BUKRS OBLIGATORY DEFAULT 'MY20',
P_STRMTH LIKE S125-SPMON OBLIGATORY DEFAULT '200608'.
SELECT-OPTIONS : S_STCSTP FOR ZMY20WKFC-STCSTP,
S_WERKS FOR T001W-WERKS,
S_PROD FOR ZMY20PROD-PRODUCT,
S_SHP FOR VBAP-VSTEL.
SELECTION-SCREEN END OF BLOCK MYSEL1.
SELECTION-SCREEN BEGIN OF BLOCK MYSEL2 WITH FRAME.
PARAMETER : P_ZERO AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK MYSEL2.
AT SELECTION-SCREEN
Begin of Addition by T.Karthikeyan - UIS on 18/01/2007 - Req No - BA3K986971
AT SELECTION-SCREEN ON P_BUKRS.
AUTHORITY-CHECK OBJECT 'Z_BASF_SD'
ID 'BUKRS' FIELD P_BUKRS
ID 'VKORG' DUMMY
ID 'ZZ_UB' DUMMY
ID 'ZZ_SBU' DUMMY
ID 'WERKS' DUMMY
ID 'ZZ_PROG' FIELD SY-CPROG.
IF SY-SUBRC NE 0.
MESSAGE ID 'SD' TYPE 'E' NUMBER '836' WITH
TEXT-E02 SY-CPROG.
RETURN.
ENDIF.
End of Addition by T.Karthikeyan - UIS on 18/01/2007 - Req No - BA3K986971
At selection screen F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_STCSTP-LOW.
PERFORM F4_HELP_STCSTP.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_STCSTP-HIGH.
PERFORM F4_HELP_STCSTP.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PROD-LOW.
PERFORM F4_HELP_PRODUCT.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PROD-HIGH.
PERFORM F4_HELP_PRODUCT.
START-OF-SELECTION
START-OF-SELECTION.
PERFORM 1000_GET_WEEK_DETAILS.
PERFORM 1500_GET_SHIPTO_CUSTOMER.
PERFORM 2000_GET_FORECAST_DATA.
PERFORM 3000_GET_ORDER_DATA.
PERFORM 4000_CONSOLIDATE_DATA.
END-OF-SELECTION
END-OF-SELECTION.
REFRESH : GT_FIELDCAT, GT_LIST_TOP_OF_PAGE, GT_EVENTS, GT_SORT.
PERFORM FIELDCAT_INIT USING GT_FIELDCAT[].
PERFORM LAYOUT_INIT USING GS_LAYOUT.
PERFORM COMMENT_BUILD USING GT_LIST_TOP_OF_PAGE[].
PERFORM EVENTTAB_BUILD USING GT_EVENTS[].
PERFORM SORT_BUILD USING GT_SORT[].
PERFORM MAIN.
*& Form 1000_GET_WEEK_DETAILS
text
--> p1 text
<-- p2 text
FORM 1000_GET_WEEK_DETAILS .
REFRESH : I_WEEKS.
V_STRMTH = P_STRMTH.
V_ENDMTH = P_STRMTH + 1.
IF V_ENDMTH+4(2) GT '12'.
MOVE '01' TO V_ENDMTH+4(2).
ADD 1 TO V_ENDMTH+0(4).
ENDIF.
CONCATENATE P_STRMTH0(4) P_STRMTH4(2) '01' INTO V_STRDT1.
CONCATENATE V_ENDMTH0(4) V_ENDMTH4(2) '01' INTO V_ENDDT1.
CALL FUNCTION 'BKK_GET_MONTH_LASTDAY'
EXPORTING
I_DATE = V_STRDT1
IMPORTING
E_DATE = V_STRDT2.
CALL FUNCTION 'BKK_GET_MONTH_LASTDAY'
EXPORTING
I_DATE = V_ENDDT1
IMPORTING
E_DATE = V_ENDDT2.
CALL FUNCTION 'DATE_GET_WEEK'
EXPORTING
DATE = V_STRDT1
IMPORTING
WEEK = V_STRWK1.
CALL FUNCTION 'DATE_GET_WEEK'
EXPORTING
DATE = V_STRDT2
IMPORTING
WEEK = V_STRWK2.
CALL FUNCTION 'DATE_GET_WEEK'
EXPORTING
DATE = V_ENDDT1
IMPORTING
WEEK = V_ENDWK1.
CALL FUNCTION 'DATE_GET_WEEK'
EXPORTING
DATE = V_ENDDT2
IMPORTING
WEEK = V_ENDWK2.
CLEAR : W_WEEKS, W_SLNO.
MOVE V_STRWK1 TO W_WEEKS.
MOVE '1' TO W_SLNO.
DO.
CLEAR : I_WEEKS.
MOVE W_SLNO TO I_WEEKS-SLNO.
MOVE W_WEEKS TO I_WEEKS-WEEKS.
MOVE P_STRMTH+4(2) TO I_WEEKS-MONTH.
CONCATENATE I_WEEKS-MONTH '-' W_WEEKS+4(2) INTO I_WEEKS-HDRWK.
APPEND I_WEEKS.
ADD 1 TO W_SLNO.
CALL FUNCTION 'NEXT_WEEK'
EXPORTING
CURRENT_WEEK = W_WEEKS
IMPORTING
NEXT_WEEK = W_WEEKS.
IF W_WEEKS GT V_STRWK2.
EXIT.
ENDIF.
ENDDO.
CLEAR : W_WEEKS, W_SLNO.
MOVE V_ENDWK1 TO W_WEEKS.
MOVE '7' TO W_SLNO.
DO.
CLEAR : I_WEEKS.
MOVE W_SLNO TO I_WEEKS-SLNO.
MOVE W_WEEKS TO I_WEEKS-WEEKS.
MOVE V_ENDMTH+4(2) TO I_WEEKS-MONTH.
CONCATENATE I_WEEKS-MONTH '-' W_WEEKS+4(2) INTO I_WEEKS-HDRWK.
APPEND I_WEEKS.
ADD 1 TO W_SLNO.
CALL FUNCTION 'NEXT_WEEK'
EXPORTING
CURRENT_WEEK = W_WEEKS
IMPORTING
NEXT_WEEK = W_WEEKS.
IF W_WEEKS GT V_ENDWK2.
EXIT.
ENDIF.
ENDDO.
LOOP AT I_WEEKS.
IF I_WEEKS-SLNO = '1'.
MOVE I_WEEKS-HDRWK TO W_WKHDR01.
MOVE I_WEEKS-WEEKS TO W_WKTBL01.
ELSEIF I_WEEKS-SLNO = '2'.
MOVE I_WEEKS-HDRWK TO W_WKHDR02.
MOVE I_WEEKS-WEEKS TO W_WKTBL02.
ELSEIF I_WEEKS-SLNO = '3'.
MOVE I_WEEKS-HDRWK TO W_WKHDR03.
MOVE I_WEEKS-WEEKS TO W_WKTBL03.
ELSEIF I_WEEKS-SLNO = '4'.
MOVE I_WEEKS-HDRWK TO W_WKHDR04.
MOVE I_WEEKS-WEEKS TO W_WKTBL04.
ELSEIF I_WEEKS-SLNO = '5'.
MOVE I_WEEKS-HDRWK TO W_WKHDR05.
MOVE I_WEEKS-WEEKS TO W_WKTBL05.
ELSEIF I_WEEKS-SLNO = '6'.
MOVE I_WEEKS-HDRWK TO W_WKHDR06.
MOVE I_WEEKS-WEEKS TO W_WKTBL06.
ELSEIF I_WEEKS-SLNO = '7'.
MOVE I_WEEKS-HDRWK TO W_WKHDR07.
MOVE I_WEEKS-WEEKS TO W_WKTBL07.
ELSEIF I_WEEKS-SLNO = '8'.
MOVE I_WEEKS-HDRWK TO W_WKHDR08.
MOVE I_WEEKS-WEEKS TO W_WKTBL08.
ELSEIF I_WEEKS-SLNO = '9'.
MOVE I_WEEKS-HDRWK TO W_WKHDR09.
MOVE I_WEEKS-WEEKS TO W_WKTBL09.
ELSEIF I_WEEKS-SLNO = '10'.
MOVE I_WEEKS-HDRWK TO W_WKHDR10.
MOVE I_WEEKS-WEEKS TO W_WKTBL10.
ELSEIF I_WEEKS-SLNO = '11'.
MOVE I_WEEKS-HDRWK TO W_WKHDR11.
MOVE I_WEEKS-WEEKS TO W_WKTBL11.
ELSEIF I_WEEKS-SLNO = '12'.
MOVE I_WEEKS-HDRWK TO W_WKHDR12.
MOVE I_WEEKS-WEEKS TO W_WKTBL12.
ENDIF.
ENDLOOP.
CONCATENATE W_WKHDR01 'F' INTO W_FCHDR01.
CONCATENATE W_WKHDR02 'F' INTO W_FCHDR02.
CONCATENATE W_WKHDR03 'F' INTO W_FCHDR03.
CONCATENATE W_WKHDR04 'F' INTO W_FCHDR04.
CONCATENATE W_WKHDR05 'F' INTO W_FCHDR05.
CONCATENATE W_WKHDR06 'F' INTO W_FCHDR06.
CONCATENATE W_WKHDR07 'F' INTO W_FCHDR07.
CONCATENATE W_WKHDR08 'F' INTO W_FCHDR08.
CONCATENATE W_WKHDR09 'F' INTO W_FCHDR09.
CONCATENATE W_WKHDR10 'F' INTO W_FCHDR10.
CONCATENATE W_WKHDR11 'F' INTO W_FCHDR11.
CONCATENATE W_WKHDR12 'F' INTO W_FCHDR12.
CONCATENATE W_WKHDR01 'O' INTO W_ORHDR01.
CONCATENATE W_WKHDR02 'O' INTO W_ORHDR02.
CONCATENATE W_WKHDR03 'O' INTO W_ORHDR03.
CONCATENATE W_WKHDR04 'O' INTO W_ORHDR04.
CONCATENATE W_WKHDR05 'O' INTO W_ORHDR05.
CONCATENATE W_WKHDR06 'O' INTO W_ORHDR06.
CONCATENATE W_WKHDR07 'O' INTO W_ORHDR07.
CONCATENATE W_WKHDR08 'O' INTO W_ORHDR08.
CONCATENATE W_WKHDR09 'O' INTO W_ORHDR09.
CONCATENATE W_WKHDR10 'O' INTO W_ORHDR10.
CONCATENATE W_WKHDR11 'O' INTO W_ORHDR11.
CONCATENATE W_WKHDR12 'O' INTO W_ORHDR12.
CONCATENATE P_STRMTH4(2) '/' P_STRMTH0(4) 'F-TOT' INTO W_FCHDRT1.
CONCATENATE V_ENDMTH4(2) '/' V_ENDMTH0(4) 'F-TOT' INTO W_FCHDRT2.
CONCATENATE P_STRMTH4(2) '/' P_STRMTH0(4) 'O-TOT' INTO W_ORHDRT1.
CONCATENATE V_ENDMTH4(2) '/' V_ENDMTH0(4) 'O-TOT' INTO W_ORHDRT2.
CONCATENATE P_STRMTH4(2) '/' P_STRMTH0(4) '-%' INTO W_HDR%1.
CONCATENATE V_ENDMTH4(2) '/' V_ENDMTH0(4) '-%' INTO W_HDR%2.
CONCATENATE P_STRMTH4(2) '/' P_STRMTH0(4) '-DIFF' INTO W_DIFF1.
CONCATENATE V_ENDMTH4(2) '/' V_ENDMTH0(4) '-DIFF' INTO W_DIFF2.
ENDFORM. " 1000_GET_WEEK_DETAILS
*& Form 1500_GET_SHIPTO_CUSTOMER
text
--> p1 text
<-- p2 text
FORM 1500_GET_SHIPTO_CUSTOMER .
REFRESH : I_SHIPTO.
SELECT * FROM ZMY20GP WHERE ZZKEY1 = 'ZMY20FCUP'
AND ZZKEY3 = 'SHIPTOCUST'.
CLEAR : I_SHIPTO.
MOVE ZMY20GP-ZZKEY2 TO I_SHIPTO-CUSTOMER.
IF ZMY20GP-ZZVAL1 NE SPACE.
MOVE ZMY20GP-ZZVAL1+0(10) TO I_SHIPTO-SHIPTO.
APPEND I_SHIPTO.
ENDIF.
IF ZMY20GP-ZZVAL2 NE SPACE.
MOVE ZMY20GP-ZZVAL2+0(10) TO I_SHIPTO-SHIPTO.
APPEND I_SHIPTO.
ENDIF.
IF ZMY20GP-ZZVAL3 NE SPACE.
MOVE ZMY20GP-ZZVAL3+0(10) TO I_SHIPTO-SHIPTO.
APPEND I_SHIPTO.
ENDIF.
IF ZMY20GP-ZZVAL4 NE SPACE.
MOVE ZMY20GP-ZZVAL4+0(10) TO I_SHIPTO-SHIPTO.
APPEND I_SHIPTO.
ENDIF.
ENDSELECT.
PERFORM GET_REMARKENTRY_USER.
ENDFORM. " 1500_GET_SHIPTO_CUSTOMER
*& Form 2000_GET_FORECAST_DATA
text
--> p1 text
<-- p2 text
FORM 2000_GET_FORECAST_DATA .
Get the Forecast data for the give input
REFRESH : I_ZMY20WKFC.
SELECT * INTO CORRESPONDING FIELDS OF TABLE I_ZMY20WKFC FROM ZMY20WKFC
WHERE BUKRS EQ P_BUKRS
AND STCSTP IN S_STCSTP
AND WERKS IN S_WERKS
AND PRODUCT IN S_PROD
AND SHPPOINT IN S_SHP
AND SPMON GE P_STRMTH
AND SPMON LE V_ENDMTH.
Filter the final version of the forecast data
LOOP AT I_ZMY20WKFC.
V_TABIX = SY-TABIX.
SELECT SINGLE VERSN INTO V_VERSN FROM ZMY20FCVER
WHERE BUKRS EQ I_ZMY20WKFC-BUKRS
AND STCSTP EQ I_ZMY20WKFC-STCSTP
AND WERKS EQ I_ZMY20WKFC-WERKS
AND SPMON EQ I_ZMY20WKFC-SPMON.
IF I_ZMY20WKFC-VERSN EQ V_VERSN.
ELSE.
DELETE I_ZMY20WKFC INDEX V_TABIX.
ENDIF.
ENDLOOP.
ENDFORM. " 2000_GET_FORECAST_DATA
*& Form 3000_GET_ORDER_DATA
text
--> p1 text
<-- p2 text
FORM 3000_GET_ORDER_DATA .
REFRESH : I_VBAK, I_ORDER.
CLEAR : V_VKORG.
SELECT SINGLE VKORG INTO V_VKORG FROM TVKO WHERE BUKRS EQ P_BUKRS.
SELECT VBELN KUNNR INTO CORRESPONDING FIELDS OF TABLE I_VBAK FROM VBAK
WHERE VKORG EQ V_VKORG
AND AUART EQ 'TA' "Type OR
AND BUKRS_VF EQ P_BUKRS.
SORT I_VBAK BY VBELN.
LOOP AT I_VBAK.
CLEAR : W_SHIPTO, W_SOLDCN, W_SHIPCN.
SELECT SINGLE KUNNR INTO W_SHIPTO FROM VBPA WHERE VBELN EQ I_VBAK-VBELN
AND PARVW EQ 'WE'.
SELECT SINGLE LAND1 INTO W_SOLDCN FROM KNA1 WHERE KUNNR EQ I_VBAK-KUNNR.
SELECT SINGLE LAND1 INTO W_SHIPCN FROM KNA1 WHERE KUNNR EQ W_SHIPTO.
SELECT * FROM VBAP WHERE VBELN EQ I_VBAK-VBELN AND WERKS IN S_WERKS
AND ABGRU EQ SPACE
AND VSTEL IN S_SHP.
CLEAR : W_PRODUCT.
SELECT SINGLE PRODUCT INTO W_PRODUCT FROM ZMY20PROD WHERE SAPMATL EQ VBAP-MATNR.
SELECT * FROM VBEP WHERE VBELN EQ I_VBAK-VBELN
AND POSNR EQ VBAP-POSNR
AND LDDAT GE V_STRDT1
AND LDDAT LE V_ENDDT2
AND WMENG GT 0.
CLEAR : I_ORDER.
MOVE I_VBAK-VBELN TO I_ORDER-VBELN.
MOVE I_VBAK-KUNNR TO I_ORDER-KUNNR.
MOVE W_SHIPTO TO I_ORDER-SHIPTO.
MOVE W_SOLDCN TO I_ORDER-SOLDCN.
MOVE VBAP-POSNR TO I_ORDER-POSNR.
MOVE VBAP-MATNR TO I_ORDER-MATNR.
MOVE VBAP-WERKS TO I_ORDER-WERKS.
MOVE VBAP-VSTEL TO I_ORDER-VSTEL.
MOVE W_PRODUCT TO I_ORDER-PRODUCT.
MOVE VBEP-ETENR TO I_ORDER-ETENR.
MOVE VBEP-LDDAT+0(6) TO I_ORDER-SPMON.
MOVE VBEP-WMENG TO I_ORDER-WMENG.
MOVE VBEP-VRKME TO I_ORDER-VRKME.
MOVE VBEP-LDDAT TO I_ORDER-LDDAT.
CALL FUNCTION 'DATE_GET_WEEK'
EXPORTING
DATE = VBEP-LDDAT
IMPORTING
WEEK = I_ORDER-WEEK.
READ TABLE I_SHIPTO WITH KEY SHIPTO = I_ORDER-SHIPTO.
IF SY-SUBRC EQ 0.
MOVE I_SHIPTO-CUSTOMER TO I_ORDER-STCSTP.
ELSE.
MOVE I_ORDER-SOLDCN TO I_ORDER-STCSTP.
ENDIF.
IF W_SOLDCN = 'CN' OR W_SOLDCN = 'HK'.
MOVE 'CN&HK' TO I_ORDER-STCSTP.
ENDIF.
IF I_ORDER-STCSTP IN S_STCSTP AND I_ORDER-PRODUCT IN S_PROD.
APPEND I_ORDER.
ENDIF.
ENDSELECT.
ENDSELECT.
ENDLOOP.
ENDFORM. " 3000_GET_ORDER_DATA
*& Form 4000_CONSOLIDATE_DATA
text
--> p1 text
<-- p2 text
FORM 4000_CONSOLIDATE_DATA .
REFRESH : I_OUTPUT, I_PRDWISE.
LOOP AT I_ZMY20WKFC.
CLEAR : W_ORD01, W_ORD02, W_ORD03, W_ORD04, W_ORD05, W_ORD06,
W_ORD07, W_ORD08, W_ORD09, W_ORD10, W_ORD11, W_ORD12,
W_ORDT1, W_ORDT2.
LOOP AT I_ORDER WHERE STCSTP EQ I_ZMY20WKFC-STCSTP
AND WERKS EQ I_ZMY20WKFC-WERKS
AND PRODUCT EQ I_ZMY20WKFC-PRODUCT
AND SPMON EQ I_ZMY20WKFC-SPMON.
*BEGIN OF CHANGES BY FAIZAL ON 26/01/07 TR# BA3K987278
IF I_ORDER-VSTEL CA I_ZMY20WKFC-SHPPOINT.
IF I_ZMY20WKFC-SHPPOINT CS I_ORDER-VSTEL.
*END OF CHANGES BY FAIZAL ON 26/01/2007 TR# BA3K987278
ELSE.
CONTINUE.
ENDIF.
IF I_ORDER-SPMON EQ P_STRMTH.
IF I_ORDER-WEEK EQ W_WKTBL01.
W_ORD01 = W_ORD01 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL02.
W_ORD02 = W_ORD02 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL03.
W_ORD03 = W_ORD03 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL04.
W_ORD04 = W_ORD04 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL05.
W_ORD05 = W_ORD05 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL06.
W_ORD06 = W_ORD06 + I_ORDER-WMENG.
ENDIF.
W_ORDT1 = W_ORDT1 + I_ORDER-WMENG.
ELSE.
IF I_ORDER-WEEK EQ W_WKTBL07.
W_ORD07 = W_ORD07 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL08.
W_ORD08 = W_ORD08 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL09.
W_ORD09 = W_ORD09 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL10.
W_ORD10 = W_ORD10 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL11.
W_ORD11 = W_ORD11 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL12.
W_ORD12 = W_ORD12 + I_ORDER-WMENG.
ENDIF.
W_ORDT2 = W_ORDT2 + I_ORDER-WMENG.
ENDIF.
MOVE 'X' TO I_ORDER-UPDFLG.
MODIFY I_ORDER INDEX SY-TABIX.
ENDLOOP.
READ TABLE I_OUTPUT WITH KEY STCSTP = I_ZMY20WKFC-STCSTP
WERKS = I_ZMY20WKFC-WERKS
PRODUCT = I_ZMY20WKFC-PRODUCT
SHPPOINT = I_ZMY20WKFC-SHPPOINT.
IF SY-SUBRC EQ 0.
IF I_ZMY20WKFC-SPMON EQ P_STRMTH.
MOVE I_ZMY20WKFC-QTY01 TO I_OUTPUT-QTY01.
MOVE I_ZMY20WKFC-QTY02 TO I_OUTPUT-QTY02.
MOVE I_ZMY20WKFC-QTY03 TO I_OUTPUT-QTY03.
MOVE I_ZMY20WKFC-QTY04 TO I_OUTPUT-QTY04.
MOVE I_ZMY20WKFC-QTY05 TO I_OUTPUT-QTY05.
MOVE I_ZMY20WKFC-QTY06 TO I_OUTPUT-QTY06.
MOVE I_ZMY20WKFC-TOTQTY TO I_OUTPUT-TOTFC1.
MOVE W_ORD01 TO I_OUTPUT-ORD01.
MOVE W_ORD02 TO I_OUTPUT-ORD02.
MOVE W_ORD03 TO I_OUTPUT-ORD03.
MOVE W_ORD04 TO I_OUTPUT-ORD04.
MOVE W_ORD05 TO I_OUTPUT-ORD05.
MOVE W_ORD06 TO I_OUTPUT-ORD06.
MOVE W_ORDT1 TO I_OUTPUT-TOTORD1.
ELSE.
MOVE I_ZMY20WKFC-QTY01 TO I_OUTPUT-QTY07.
MOVE I_ZMY20WKFC-QTY02 TO I_OUTPUT-QTY08.
MOVE I_ZMY20WKFC-QTY03 TO I_OUTPUT-QTY09.
MOVE I_ZMY20WKFC-QTY04 TO I_OUTPUT-QTY10.
MOVE I_ZMY20WKFC-QTY05 TO I_OUTPUT-QTY11.
MOVE I_ZMY20WKFC-QTY06 TO I_OUTPUT-QTY12.
MOVE I_ZMY20WKFC-TOTQTY TO I_OUTPUT-TOTFC2.
MOVE W_ORD07 TO I_OUTPUT-ORD07.
MOVE W_ORD08 TO I_OUTPUT-ORD08.
MOVE W_ORD09 TO I_OUTPUT-ORD09.
MOVE W_ORD10 TO I_OUTPUT-ORD10.
MOVE W_ORD11 TO I_OUTPUT-ORD11.
MOVE W_ORD12 TO I_OUTPUT-ORD12.
MOVE W_ORDT2 TO I_OUTPUT-TOTORD2.
ENDIF.
MODIFY I_OUTPUT INDEX SY-TABIX.
ELSE.
CLEAR : I_OUTPUT.
MOVE I_ZMY20WKFC-STCSTP TO I_OUTPUT-STCSTP.
MOVE I_ZMY20WKFC-WERKS TO I_OUTPUT-WERKS.
MOVE I_ZMY20WKFC-PRODUCT TO I_OUTPUT-PRODUCT.
MOVE I_ZMY20WKFC-SHPPOINT TO I_OUTPUT-SHPPOINT.
IF I_ZMY20WKFC-SPMON EQ P_STRMTH.
MOVE I_ZMY20WKFC-QTY01 TO I_OUTPUT-QTY01.
MOVE I_ZMY20WKFC-QTY02 TO I_OUTPUT-QTY02.
MOVE I_ZMY20WKFC-QTY03 TO I_OUTPUT-QTY03.
MOVE I_ZMY20WKFC-QTY04 TO I_OUTPUT-QTY04.
MOVE I_ZMY20WKFC-QTY05 TO I_OUTPUT-QTY05.
MOVE I_ZMY20WKFC-QTY06 TO I_OUTPUT-QTY06.
MOVE I_ZMY20WKFC-TOTQTY TO I_OUTPUT-TOTFC1.
MOVE W_ORD01 TO I_OUTPUT-ORD01.
MOVE W_ORD02 TO I_OUTPUT-ORD02.
MOVE W_ORD03 TO I_OUTPUT-ORD03.
MOVE W_ORD04 TO I_OUTPUT-ORD04.
MOVE W_ORD05 TO I_OUTPUT-ORD05.
MOVE W_ORD06 TO I_OUTPUT-ORD06.
MOVE W_ORDT1 TO I_OUTPUT-TOTORD1.
ELSE.
MOVE I_ZMY20WKFC-QTY01 TO I_OUTPUT-QTY07.
MOVE I_ZMY20WKFC-QTY02 TO I_OUTPUT-QTY08.
MOVE I_ZMY20WKFC-QTY03 TO I_OUTPUT-QTY09.
MOVE I_ZMY20WKFC-QTY04 TO I_OUTPUT-QTY10.
MOVE I_ZMY20WKFC-QTY05 TO I_OUTPUT-QTY11.
MOVE I_ZMY20WKFC-QTY06 TO I_OUTPUT-QTY12.
MOVE I_ZMY20WKFC-TOTQTY TO I_OUTPUT-TOTFC2.
MOVE W_ORD07 TO I_OUTPUT-ORD07.
MOVE W_ORD08 TO I_OUTPUT-ORD08.
MOVE W_ORD09 TO I_OUTPUT-ORD09.
MOVE W_ORD10 TO I_OUTPUT-ORD10.
MOVE W_ORD11 TO I_OUTPUT-ORD11.
MOVE W_ORD12 TO I_OUTPUT-ORD12.
MOVE W_ORDT2 TO I_OUTPUT-TOTORD2.
ENDIF.
APPEND I_OUTPUT.
ENDIF.
ENDLOOP.
Process the Order data which Forecast not available
LOOP AT I_ORDER WHERE UPDFLG NE 'X'.
READ TABLE I_OUTPUT WITH KEY STCSTP = I_ORDER-STCSTP
WERKS = I_ORDER-WERKS
PRODUCT = I_ORDER-PRODUCT
SHPPOINT = I_ORDER-VSTEL.
IF SY-SUBRC EQ 0.
IF I_ORDER-SPMON EQ P_STRMTH.
IF I_ORDER-WEEK EQ W_WKTBL01.
I_OUTPUT-ORD01 = I_OUTPUT-ORD01 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL02.
I_OUTPUT-ORD02 = I_OUTPUT-ORD02 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL03.
I_OUTPUT-ORD03 = I_OUTPUT-ORD03 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL04.
I_OUTPUT-ORD04 = I_OUTPUT-ORD04 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL05.
I_OUTPUT-ORD05 = I_OUTPUT-ORD05 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL06.
I_OUTPUT-ORD06 = I_OUTPUT-ORD06 + I_ORDER-WMENG.
ENDIF.
I_OUTPUT-TOTORD1 = I_OUTPUT-TOTORD1 + I_ORDER-WMENG.
ELSE.
IF I_ORDER-WEEK EQ W_WKTBL07.
I_OUTPUT-ORD07 = I_OUTPUT-ORD07 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL08.
I_OUTPUT-ORD08 = I_OUTPUT-ORD08 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL09.
I_OUTPUT-ORD09 = I_OUTPUT-ORD09 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL10.
I_OUTPUT-ORD10 = I_OUTPUT-ORD10 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL11.
I_OUTPUT-ORD11 = I_OUTPUT-ORD11 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL12.
I_OUTPUT-ORD12 = I_OUTPUT-ORD12 + I_ORDER-WMENG.
ENDIF.
I_OUTPUT-TOTORD2 = I_OUTPUT-TOTORD2 + I_ORDER-WMENG.
ENDIF.
MODIFY I_OUTPUT INDEX SY-TABIX.
ELSE.
CLEAR : I_OUTPUT.
MOVE I_ORDER-STCSTP TO I_OUTPUT-STCSTP.
MOVE I_ORDER-WERKS TO I_OUTPUT-WERKS.
MOVE I_ORDER-PRODUCT TO I_OUTPUT-PRODUCT.
MOVE I_ORDER-VSTEL TO I_OUTPUT-SHPPOINT.
IF I_ORDER-SPMON EQ P_STRMTH.
IF I_ORDER-WEEK EQ W_WKTBL01.
I_OUTPUT-ORD01 = I_OUTPUT-ORD01 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL02.
I_OUTPUT-ORD02 = I_OUTPUT-ORD02 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL03.
I_OUTPUT-ORD03 = I_OUTPUT-ORD03 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL04.
I_OUTPUT-ORD04 = I_OUTPUT-ORD04 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL05.
I_OUTPUT-ORD05 = I_OUTPUT-ORD05 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL06.
I_OUTPUT-ORD06 = I_OUTPUT-ORD06 + I_ORDER-WMENG.
ENDIF.
I_OUTPUT-TOTORD1 = I_OUTPUT-TOTORD1 + I_ORDER-WMENG.
ELSE.
IF I_ORDER-WEEK EQ W_WKTBL07.
I_OUTPUT-ORD07 = I_OUTPUT-ORD07 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL08.
I_OUTPUT-ORD08 = I_OUTPUT-ORD08 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL09.
I_OUTPUT-ORD09 = I_OUTPUT-ORD09 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL10.
I_OUTPUT-ORD10 = I_OUTPUT-ORD10 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL11.
I_OUTPUT-ORD11 = I_OUTPUT-ORD11 + I_ORDER-WMENG.
ELSEIF I_ORDER-WEEK EQ W_WKTBL12.
I_OUTPUT-ORD12 = I_OUTPUT-ORD12 + I_ORDER-WMENG.
ENDIF.
I_OUTPUT-TOTORD2 = I_OUTPUT-TOTORD2 + I_ORDER-WMENG.
ENDIF.
APPEND I_OUTPUT.
ENDIF.
ENDLOOP.
Convert the Order Qty from KG to MT and calculate the %
LOOP AT I_OUTPUT.
V_TABIX = SY-TABIX.
SELECT SINGLE MAKTX INTO I_OUTPUT-MAKTX FROM ZMY20PROD WHERE PRODUCT EQ I_OUTPUT-PRODUCT.
I_OUTPUT-ORD01 = I_OUTPUT-ORD01 / 1000.
I_OUTPUT-ORD02 = I_OUTPUT-ORD02 / 1000.
I_OUTPUT-ORD03 = I_OUTPUT-ORD03 / 1000.
I_OUTPUT-ORD04 = I_OUTPUT-ORD04 / 1000.
I_OUTPUT-ORD05 = I_OUTPUT-ORD05 / 1000.
I_OUTPUT-ORD06 = I_OUTPUT-ORD06 / 1000.
I_OUTPUT-ORD07 = I_OUTPUT-ORD07 / 1000.
I_OUTPUT-ORD08 = I_OUTPUT-ORD08 / 1000.
I_OUTPUT-ORD09 = I_OUTPUT-ORD09 / 1000.
I_OUTPUT-ORD10 = I_OUTPUT-ORD10 / 1000.
I_OUTPUT-ORD11 = I_OUTPUT-ORD11 / 1000.
I_OUTPUT-ORD12 = I_OUTPUT-ORD12 / 1000.
I_OUTPUT-TOTORD1 = I_OUTPUT-TOTORD1 / 1000.
I_OUTPUT-TOTORD2 = I_OUTPUT-TOTORD2 / 1000.
IF I_OUTPUT-TOTFC1 GT 0.
I_OUTPUT-FCORD1 = I_OUTPUT-TOTORD1 / I_OUTPUT-TOTFC1 * 100.
ENDIF.
IF I_OUTPUT-TOTFC2 GT 0.
I_OUTPUT-FCORD2 = I_OUTPUT-TOTORD2 / I_OUTPUT-TOTFC2 * 100.
ENDIF.
MOVE '1' TO I_OUTPUT-SORTKEY.
SELECT SINGLE * FROM ZMY20GP WHERE ZZKEY1 EQ 'ZMY20FCUP'
AND ZZKEY2 EQ I_OUTPUT-STCSTP
AND ZZKEY3 EQ 'SHIPTOCUST'.
IF SY-SUBRC EQ 0.
MOVE '2' TO I_OUTPUT-SORTKEY.
ENDIF.
MODIFY I_OUTPUT INDEX SY-TABIX.
ENDLOOP.
LOOP AT I_OUTPUT.
READ TABLE I_PRDWISE WITH KEY SORTKEY = I_OUTPUT-SORTKEY
STCSTP = I_OUTPUT-STCSTP
PRODUCT = I_OUTPUT-PRODUCT.
IF SY-SUBRC EQ 0.
I_PRDWISE-TOTFC1 = I_PRDWISE-TOTFC1 + I_OUTPUT-TOTFC1.
I_PRDWISE-TOTORD1 = I_PRDWISE-TOTORD1 + I_OUTPUT-TOTORD1.
I_PRDWISE-TOTFC2 = I_PRDWISE-TOTFC2 + I_OUTPUT-TOTFC2.
I_PRDWISE-TOTORD2 = I_PRDWISE-TOTORD2 + I_OUTPUT-TOTORD2.
MODIFY I_PRDWISE INDEX SY-TABIX.
ELSE.
CLEAR : I_PRDWISE.
MOVE I_OUTPUT-SORTKEY TO I_PRDWISE-SORTKEY.
MOVE I_OUTPUT-STCSTP TO I_PRDWISE-STCSTP.
MOVE I_OUTPUT-PRODUCT TO I_PRDWISE-PRODUCT.
MOVE I_OUTPUT-MAKTX TO I_PRDWISE-MAKTX.
I_PRDWISE-TOTFC1 = I_PRDWISE-TOTFC1 + I_OUTPUT-TOTFC1.
I_PRDWISE-TOTORD1 = I_PRDWISE-TOTORD1 + I_OUTPUT-TOTORD1.
I_PRDWISE-TOTFC2 = I_PRDWISE-TOTFC2 + I_OUTPUT-TOTFC2.
I_PRDWISE-TOTORD2 = I_PRDWISE-TOTORD2 + I_OUTPUT-TOTORD2.
APPEND I_PRDWISE.
ENDIF.
ENDLOOP.
LOOP AT I_PRDWISE.
IF I_PRDWISE-TOTFC1 GT 0.
I_PRDWISE-FCORD1 = I_PRDWISE-TOTORD1 / I_PRDWISE-TOTFC1 * 100.
ENDIF.
IF I_PRDWISE-TOTFC2 GT 0.
I_PRDWISE-FCORD2 = I_PRDWISE-TOTORD2 / I_PRDWISE-TOTFC2 * 100.
ENDIF.
I_PRDWISE-DIFF1 = I_PRDWISE-TOTORD1 - I_PRDWISE-TOTFC1.
I_PRDWISE-DIFF2 = I_PRDWISE-TOTORD2 - I_PRDWISE-TOTFC2.
MODIFY I_PRDWISE INDEX SY-TABIX.
ENDLOOP.
SORT I_OUTPUT BY SORTKEY STCSTP WERKS PRODUCT.
Begin of Changes by Karthikeyan on 09/03/2007 - Req No -BA3K988704
SORT I_PRDWISE BY SORTKEY STCSTP PRODUCT.
SORT I_PRDWISE BY PRODUCT STCSTP.
End of Changes by Karthikeyan on 09/03/2007 - Req No -BA3K988704
IF P_ZERO = 'X'.
DELETE I_OUTPUT WHERE TOTFC1 EQ 0
AND TOTORD1 EQ 0
AND TOTFC2 EQ 0
AND TOTORD2 EQ 0.
DELETE I_PRDWISE WHERE TOTFC1 EQ 0
AND TOTORD1 EQ 0
AND TOTFC2 EQ 0
AND TOTORD2 EQ 0.
ENDIF.
Set Cell colour for Remark entries
LOOP AT I_OUTPUT.
V_TABIX = SY-TABIX.
SELECT * FROM ZMY20RMRK WHERE BUKRS EQ P_BUKRS
AND STCSTP EQ I_OUTPUT-STCSTP
AND WERKS EQ I_OUTPUT-WERKS
AND SHPPOINT EQ I_OUTPUT-SHPPOINT
AND PRODUCT EQ I_OUTPUT-PRODUCT.
CLEAR : V_FNAME.
IF ZMY20RMRK-SPMON = P_STRMTH.
READ TABLE I_WEEKS WITH KEY WEEKS = ZMY20RMRK-WEEK
MONTH = P_STRMTH+4(2).
IF I_WEEKS-SLNO = '1'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY01' TO V_FNAME.
ELSE.
MOVE 'ORD01' TO V_FNAME.
ENDIF.
ELSEIF I_WEEKS-SLNO = '2'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY02' TO V_FNAME.
ELSE.
MOVE 'ORD02' TO V_FNAME.
ENDIF.
ELSEIF I_WEEKS-SLNO = '3'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY03' TO V_FNAME.
ELSE.
MOVE 'ORD03' TO V_FNAME.
ENDIF.
ELSEIF I_WEEKS-SLNO = '4'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY04' TO V_FNAME.
ELSE.
MOVE 'ORD04' TO V_FNAME.
ENDIF.
ELSEIF I_WEEKS-SLNO = '5'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY05' TO V_FNAME.
ELSE.
MOVE 'ORD05' TO V_FNAME.
ENDIF.
ELSEIF I_WEEKS-SLNO = '6'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY06' TO V_FNAME.
ELSE.
MOVE 'ORD06' TO V_FNAME.
ENDIF.
ENDIF.
ELSEIF ZMY20RMRK-SPMON = V_ENDMTH.
READ TABLE I_WEEKS WITH KEY WEEKS = ZMY20RMRK-WEEK
MONTH = V_ENDMTH+4(2).
IF I_WEEKS-SLNO = '7'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY07' TO V_FNAME.
ELSE.
MOVE 'ORD07' TO V_FNAME.
ENDIF.
ELSEIF I_WEEKS-SLNO = '8'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY08' TO V_FNAME.
ELSE.
MOVE 'ORD08' TO V_FNAME.
ENDIF.
ELSEIF I_WEEKS-SLNO = '9'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY09' TO V_FNAME.
ELSE.
MOVE 'ORD09' TO V_FNAME.
ENDIF.
ELSEIF I_WEEKS-SLNO = '10'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY10' TO V_FNAME.
ELSE.
MOVE 'ORD10' TO V_FNAME.
ENDIF.
ELSEIF I_WEEKS-SLNO = '11'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY11' TO V_FNAME.
ELSE.
MOVE 'ORD11' TO V_FNAME.
ENDIF.
ELSEIF I_WEEKS-SLNO = '12'.
IF ZMY20RMRK-FC_ORDER = 'FC'.
MOVE 'QTY12' TO V_FNAME.
ELSE.
MOVE 'ORD12' TO V_FNAME.
ENDIF.
ENDIF.
ENDIF.
IF V_FNAME NE SPACE.
PERFORM ALV_COLOR USING V_FNAME 6 0 0 CHANGING I_OUTPUT-CELLCOLOR.
ENDIF.
ENDSELECT.
MODIFY I_OUTPUT INDEX V_TABIX.
ENDLOOP.
ENDFORM. " 4000_CONSOLIDATE_DATA
*& Form f4_help_stcstp
text
--> p1 text
<-- p2 text
FORM F4_HELP_STCSTP.
*Initialize screen values
DATA: PROGNAME LIKE SY-REPID,
DYNNUM LIKE SY-DYNNR.
PROGNAME = SY-REPID.
DYNNUM = SY-DYNNR.
CLEAR : T_STCP.
REFRESH : T_STCP.
SELECT * FROM T005 WHERE LAND1 NE SPACE.
CLEAR : T_STCP.
MOVE T005-LAND1 TO T_STCP-STCSTP.
MOVE '1' TO T_STCP-SORTKEY.
APPEND T_STCP.
ENDSELECT.
SELECT * FROM ZMY20GP WHERE ZZKEY1 = 'ZMY20FCUP'
AND ZZKEY3 = 'SHIPTOCUST'.
CLEAR : T_STCP.
MOVE ZMY20GP-ZZKEY2 TO T_STCP-STCSTP.
MOVE '2' TO T_STCP-SORTKEY.
APPEND T_STCP.
ENDSELECT.
SORT T_STCP BY SORTKEY STCSTP.
DELETE ADJACENT DUPLICATES FROM T_STCP COMPARING SORTKEY STCSTP.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'STCSTP'
DYNPPROG = PROGNAME
DYNPNR = DYNNUM
DYNPROFIELD = 'S_STCSTP'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = T_STCP.
ENDFORM. " f4_help_stcstp
*& Form f4_help_product
text
--> p1 text
<-- p2 text
FORM F4_HELP_PRODUCT.
*Initialize screen values
DATA: PROGNAME LIKE SY-REPID,
DYNNUM LIKE SY-DYNNR.
PROGNAME = SY-REPID.
DYNNUM = SY-DYNNR.
CLEAR : T_PROD.
REFRESH : T_PROD.
SELECT * INTO CORRESPONDING FIELDS OF TABLE T_PROD FROM ZMY20PROD
WHERE PRODUCT NE SPACE.
SORT T_PROD BY PRODUCT.
DELETE ADJACENT DUPLICATES FROM T_PROD COMPARING PRODUCT.in st pf-status place the FCT code below the icon
for save - SAVE.
reward if useful. -
[SOLVED] luks-passphrase not working after update
SOLVED: Hard drive was damaged. new hard drive ''fixed'' issue
Hello,
i updated my arch on 2015-06-05. After restarting my cryptsetup does not accept my password anymore.
No key available with this passphrase.
Searching the forum i found a couple of simular topics, nevertheless none of them offered a solution to the problem:
https://bbs.archlinux.org/viewtopic.php?id=169408
https://bbs.archlinux.org/viewtopic.php?id=175737
https://bbs.archlinux.org/viewtopic.php?id=148562
So the solutions that did not work so far:
1. Downgrading cryptsetup package
2. Downgrading kbd package
3. Checked that my keyboard works just fine (both in grub and in live system)
4. Manualy loading the aes modules in live system to ensure correct decryption (found that issue somewhere...)
Unfortunatly i did not backup the luks header file.
So i don't know if there is some other way to check if the header is broken or how to find out why it will not decrypt my disk.
I am happy for any solutions or ideas
Regards,
Some outputs from cryptsetup:
cryptsetup -v isLuks /dev/sda2
Command successful.
cryptsetup -v luksDump /dev/sda2
LUKS header information for /dev/sda2
Version: 1
Cipher name: aes
Cipher mode: xts-plain64
Hash spec: sha512
Payload offset: 4096
MK bits: 512
MK digest: 66 00 4c 66 17 ec 2c 82 68 b3 26 2e 58 df 76 cf 3b f5 18 ef
MK salt: b8 e0 5d 4d 5c bb 23 6a fc fc 86 d8 5d b6 3f 1f
28 b6 0e 49 33 9a 8b e6 a2 55 f5 42 32 92 95 db
MK iterations: 51000
UUID: dbe69743-7753-4a54-a221-a662042c0444
Key Slot 0: ENABLED
Iterations: 204146
Salt: fa 22 ec 71 49 2c af 9f 64 10 b3 8e f4 76 31 c0
02 16 dd 2c 72 7e 2f 4b 0b 08 2f 02 03 dd 52 dc
Key material offset: 8
AF stripes: 4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
Command successful.
Last edited by Fleeep (2015-06-14 12:09:24)losetup --read-only /dev/loop7 /dev/sda2
dmsetup create foobar --table '0 2048 crypt aes-xts-plain64 4ec1a210c7c44208ca132559cda338d7651471abd47b619b1d3a15d273ab69875cdd2bcb7c2750f6cab9e6b2e19f487fb4766bb7826819c8b2de898fe3c0b999 0 7:7 4096'
file -s -L /dev/mapper/foobar
hexdump -C /dev/mapper/foobar
Gives me the master key for the decrypted partition (denoted as forum_key_kex).
Do i need to convert this to binary or something to use it...?
Assume Filesystem/dev_sda2 is the partition to decrypt.
So to decrypt the partition directly with master key i have to do one of the following, wasn't sure which hash to take...:
echo "0 `blockdev --getsz Filesystem/dev_sda2` crypt aes-cbc-essiv:sha256 `echo SomeEncrypt | sha256sum | head -c 64` 0 Filesystem/dev_sda2 4096" | dmsetup create luks_volume
echo "0 `blockdev --getsz Filesystem/dev_sda2` crypt aes-cbc-essiv:sha256 `sha256sum forum_key_hex | head -c 64` 0 Filesystem/dev_sda2 4096" | dmsetup create luks_volume
as i found on:
http://unix.stackexchange.com/questions … master-key
(approved by you in the comment as it seems)
But both give me an error:
device-mapper: resume ioctl on luks_volume failed: Invalid argument
Command failed
Did i even do this right?
Also when i copied the partition to an external device dd_rescue observed 6 errors in blocks. So those might just be the cause of failure all the time. -
Using the latest kernel 2.6.30.4, On HP2133, whenever I get back from resume, sound is not working.
Running the following brings back the sound, but that is obviously a hack:
fuser -k /dev/snd/*
rmmod snd_hda_intel
modprobe snd_hda_intel
/etc/rc.d/alsa start
I have on my /etc/modprobe/50-sound.conf:
options snd-hda-intel model=laptop
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
Here's the exact hardware specification:
# lspci -nnv|grep Audio
80:01.0 Audio device [0403]: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) [1106:3288] (rev 10)
Any idea where to look for this?
Last edited by yhager (2009-08-21 16:54:00)[SOLVED]
I downgraded to kernel 2.6.29 and the problem is gone.
Note: I also had X VT problems with 2.6.30.4 (xf86OpenConsole: VT_WAITACTIVE failed: Interrupted system call). Those were solved too by downgrading to 2.6.29. -
Hey everyone, the issue I'm haveing is not just with Photoshop, but sense I couldnt find a general CS5 forum, and Photoshop was the last CS5 application I noticed this for I'm hoping to find some answers here.
So on to the issue....
I have noticed that on other computers (Macs for sure) that Illustrator, Photoshop, Dreamweaver etc... are set as the default handlers of certain file types that are associated with each application, and as such, give each filetype there own little icons reflecting such. (see screenshot)
However on my system (Windows 7 Ultimate x64) this does not seem to be the case. I can go in and set them as default manually, which I have done for the filetypes I use most frequently, but I do not get to enjoy the nice icons that are made for each filetype, i just get a bland, default icon that is the same for every filetype.
As you can see, some of the file icons are working just fine (the .ai, .eps and .php) but the files I have had to set manually (.html and .psd) give me the default windows association icon that is simply the applications icon on top of a blank file. To clear up any confusion as to what icons I'm talking about, the icons in the "Change Icon" menu are the ones that should be shown, but are not.
Is there a way to fix this issue?
Thanks for you help.This may help. not sure.
http://www.sevenforums.com/customization/69163-changing-icons-image-files-jpg-png.html -
PDFMaker icon not working in Acrobat Pro 8.3.1.
I am using OS Windows XP Home and Microsoft Office 2003.
I generally use the work around of "Print". Annoying that I cannot use the PDFMaker icon in any Microsoft products. It use to work flawlessly. I keep getting the annoying message "The acrobat pdfmaker server could not be loaded". I have found solutions regarding modifying registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AcroDist.exe"
Since I do not have a folder that specifically says Distillr, I modified the default key to C:\Program Files\Adobe\Acrobat 8.0\Acrobat\acrodist.exe and Path to C:\Program Files\Adobe\Acrobat 8.0\Acrobat\.
Did not work.
Anyone out there know how to repair??? The Acrobat "Repair" procedure is really not working for me.
Thanks.Gernal_USA,
I'm moving your question to the Acrobat forum, since it does not relate to the CreatePDF service.
Dave -
Scrollup and down icons not working in ALV. Please help!
Hi Experts,
I have a ALV webdynpro ABAP report. I have to show only fixed no of rows.
But the scrollup and scroll down icons in the ALV (^) not working when I use subtotal (aggregation).
Interestingly scrolling works perfectly if I remove my subtotal code.
My subtotal code is like this:
*...Sort PRODUCT and group it for subtotal
*lr_field_settings ?= l_value.
*lr_field = lr_field_settings->get_field( 'PRODUCT' ).
*lr_field->if_salv_wd_sort~set_group_aggregation_allowed( ABAP_TRUE ).
*lr_field->if_salv_wd_sort~create_sort_rule( ).
*l_sortrule = lr_field->if_salv_wd_sort~GET_SORT_RULE( ).
*l_sortrule->set_sort_order( if_salv_wd_c_sort=>sort_order_ascending ).
*l_sortrule->set_group_aggregation( ABAP_TRUE ).
**...Aggregate Field QTY
*lr_field = lr_field_settings->get_field( 'QTY' ).
*lr_field->if_salv_wd_aggr~create_aggr_rule( ).
*lr_aggr_rule = lr_field->if_salv_wd_aggr~get_aggr_rule( ).
*lr_aggr_rule->set_aggregation_type( if_salv_wd_c_aggregation=>aggrtype_total ).
**lr_field_settings ?= l_value.
**lr_field_settings->set_group_aggr_displayed( abap_true ).
One more thing, In addition to subtotal it also shows grand total in the end. Is this the normal feature or my code for subtotal is wrong?
So what could be the problem?
Any sample code will be really helpfull. Please help!
Thanks
Gopal
Message was edited by:
gopalkrishna baligaHi Gopal,
Please try to build the effect you commented out in the settings of the ALV. You can save it as a special layout. If scrolling works then, you should check which part of your coding leads to the problem and possibly correct it.
If this is not possible, just create an OSS message.
Ciao, Regina -
My app store icon is not working. Went to Mac page of Apple store to find a new download for it and the process didn't work. No new downloads found.
Any ideas ?Hi James...
The only way to reinstall the App Store is by downloadiing and installing the Mac OS X 10.6.8 Update Combo
Restart your Mac after the update is installed. It's ok to do this even though you are already running v10.6.8. -
[SOLVED] Touchpad Synaptics not works after last update of xf86-input
after this packages
xf86-input-synaptics 1.8.0-2 <<< works
xf86-input-synaptics 1.8.0-3 << not works
https://projects.archlinux.org/svntogit … 54796cff46
dmesg|grep input
[ 0.866883] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 1.842679] input: HID 04f3:0103 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:04F3:0103.0001/input/input2
[ 1.842756] hid-generic 0003:04F3:0103.0001: input,hidraw0: USB HID v1.10 Keyboard [HID 04f3:0103] on usb-0000:00:14.0-1/input0
[ 1.843934] input: HID 04f3:0103 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1/0003:04F3:0103.0002/input/input3
[ 1.844001] hid-generic 0003:04F3:0103.0002: input,hidraw1: USB HID v1.10 Device [HID 04f3:0103] on usb-0000:00:14.0-1/input1
[ 2.169742] input: A4TECH USB Device as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:09DA:9066.0003/input/input4
[ 2.169933] hid-generic 0003:09DA:9066.0003: input,hiddev0,hidraw2: USB HID v1.11 Keyboard [A4TECH USB Device] on usb-0000:00:14.0-2/input0
[ 2.171262] input: A4TECH USB Device as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/0003:09DA:9066.0004/input/input5
[ 2.171357] hid-generic 0003:09DA:9066.0004: input,hidraw3: USB HID v1.11 Mouse [A4TECH USB Device] on usb-0000:00:14.0-2/input1
[ 10.099521] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input6
[ 10.099624] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input7
[ 10.099692] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input8
[ 10.398671] input: PC Speaker as /devices/platform/pcspkr/input/input9
[ 11.840489] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input10
[ 12.211308] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:3a/LNXVIDEO:00/input/input11
[ 12.212530] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input12
[ 13.254950] sound hdaudioC0D0: inputs:
[ 13.580490] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/input13
[ 13.580985] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[ 13.581106] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[ 13.581224] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[ 17.274881] input: WebCam SC-13HDL11939N as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input17
journalctl -b |grep input
ago 21 09:02:37 drog-laptop kernel: input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
ago 21 09:02:37 drog-laptop kernel: input: HID 04f3:0103 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:04F3:0103.0001/input/input2
ago 21 09:02:37 drog-laptop kernel: hid-generic 0003:04F3:0103.0001: input,hidraw0: USB HID v1.10 Keyboard [HID 04f3:0103] on usb-0000:00:14.0-1/input0
ago 21 09:02:37 drog-laptop kernel: input: HID 04f3:0103 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1/0003:04F3:0103.0002/input/input3
ago 21 09:02:37 drog-laptop kernel: hid-generic 0003:04F3:0103.0002: input,hidraw1: USB HID v1.10 Device [HID 04f3:0103] on usb-0000:00:14.0-1/input1
ago 21 09:02:37 drog-laptop kernel: input: A4TECH USB Device as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:09DA:9066.0003/input/input4
ago 21 09:02:37 drog-laptop kernel: hid-generic 0003:09DA:9066.0003: input,hiddev0,hidraw2: USB HID v1.11 Keyboard [A4TECH USB Device] on usb-0000:00:14.0-2/input0
ago 21 09:02:37 drog-laptop kernel: input: A4TECH USB Device as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/0003:09DA:9066.0004/input/input5
ago 21 09:02:37 drog-laptop kernel: hid-generic 0003:09DA:9066.0004: input,hidraw3: USB HID v1.11 Mouse [A4TECH USB Device] on usb-0000:00:14.0-2/input1
ago 21 09:02:40 drog-laptop kernel: input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input6
ago 21 09:02:40 drog-laptop kernel: input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input7
ago 21 09:02:40 drog-laptop kernel: input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input8
ago 21 09:02:41 drog-laptop kernel: input: PC Speaker as /devices/platform/pcspkr/input/input9
ago 21 09:02:42 drog-laptop kernel: input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input10
ago 21 09:02:42 drog-laptop kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:3a/LNXVIDEO:00/input/input11
ago 21 09:02:42 drog-laptop kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input12
ago 21 09:02:43 drog-laptop kernel: sound hdaudioC0D0: inputs:
ago 21 09:02:44 drog-laptop kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/input13
ago 21 09:02:44 drog-laptop kernel: input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
ago 21 09:02:44 drog-laptop kernel: input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
ago 21 09:02:44 drog-laptop kernel: input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
ago 21 09:02:47 drog-laptop kernel: input: WebCam SC-13HDL11939N as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input17
ago 21 09:02:52 drog-laptop acpid[589]: starting up with netlink and the input layer
ago 21 09:02:53 drog-laptop systemd-logind[585]: Watching system buttons on /dev/input/event7 (Power Button)
ago 21 09:02:53 drog-laptop systemd-logind[585]: Watching system buttons on /dev/input/event11 (Video Bus)
ago 21 09:02:53 drog-laptop systemd-logind[585]: Watching system buttons on /dev/input/event10 (Video Bus)
ago 21 09:02:53 drog-laptop systemd-logind[585]: Watching system buttons on /dev/input/event6 (Power Button)
ago 21 09:02:53 drog-laptop systemd-logind[585]: Watching system buttons on /dev/input/event5 (Lid Switch)
cat /usr/share/X11/xorg.conf.d/50-synaptics.conf
# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
# Option "OptionName" "value"
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
MatchDevicePath "/dev/input/event*"
EndSection
Section "InputClass"
Identifier "touchpad ignore duplicates"
MatchIsTouchpad "on"
MatchOS "Linux"
MatchDevicePath "/dev/input/mouse*"
Option "Ignore" "on"
EndSection
# This option enables the bottom right corner to be a right button on clickpads
# and the right and middle top areas to be right / middle buttons on clickpads
# with a top button area.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Default clickpad buttons"
MatchDriver "synaptics"
Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
Option "SecondarySoftButtonAreas" "58% 0 0 8% 42% 58% 0 8%"
EndSection
# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Disable clickpad buttons on Apple touchpads"
MatchProduct "Apple|bcm5974"
MatchDriver "synaptics"
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection
xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ HID 04f3:0103 id=11 [slave pointer (2)]
⎜ ↳ A4TECH USB Device id=12 [slave pointer (2)]
⎜ ↳ A4TECH USB Device id=13 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=16 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ HID 04f3:0103 id=10 [slave keyboard (3)]
↳ WebCam SC-13HDL11939N id=14 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]
synclient
Couldn't find synaptics properties. No synaptics driver loaded?
lsmod
Module Size Used by
bbswitch 12878 0
nls_iso8859_1 12461 1
nls_cp437 16553 1
vfat 21231 1
fat 61984 1 vfat
fuse 87446 5
uvcvideo 78952 0
videobuf2_vmalloc 12816 1 uvcvideo
ath3k 12685 0
videobuf2_memops 12519 1 videobuf2_vmalloc
videobuf2_core 47787 1 uvcvideo
ecb 12737 1
v4l2_common 12995 1 videobuf2_core
btusb 25625 0
bluetooth 394557 3 ath3k,btusb
videodev 126443 3 uvcvideo,v4l2_common,videobuf2_core
media 18365 2 uvcvideo,videodev
6lowpan_iphc 16588 1 bluetooth
snd_hda_codec_hdmi 45117 1
snd_hda_codec_realtek 67127 1
snd_hda_codec_generic 63126 1 snd_hda_codec_realtek
nvram 13034 0
joydev 17063 0
mousedev 17272 0
ipt_REJECT 12465 1
xt_comment 12427 2
arc4 12536 2
xt_LOG 17156 5
ath9k 94538 0
ath9k_common 21746 1 ath9k
ath9k_hw 403753 2 ath9k_common,ath9k
ath 26067 3 ath9k_common,ath9k,ath9k_hw
mac80211 514630 1 ath9k
r8169 68119 0
mii 12675 1 r8169
cfg80211 454161 4 ath,ath9k_common,ath9k,mac80211
snd_hda_intel 26327 4
snd_hda_controller 26727 1 snd_hda_intel
snd_hda_codec 108552 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
i915 864723 4
drm_kms_helper 49262 1 i915
snd_hwdep 17244 1 snd_hda_codec
snd_pcm 88487 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
iTCO_wdt 12831 0
iTCO_vendor_support 12649 1 iTCO_wdt
coretemp 12820 0
hwmon 12930 1 coretemp
led_class 12859 1 ath9k
intel_rapl 17356 0
rfkill 18867 3 cfg80211,bluetooth
x86_pkg_temp_thermal 12951 0
psmouse 102792 0
drm 258005 6 i915,drm_kms_helper
intel_powerclamp 17122 0
kvm_intel 143217 0
snd_timer 26614 1 snd_pcm
shpchp 35210 0
lpc_ich 20768 0
mei_me 17941 0
intel_gtt 17848 1 i915
kvm 413027 1 kvm_intel
crct10dif_pclmul 13394 0
crc32_pclmul 12915 0
crc32c_intel 21809 0
ghash_clmulni_intel 12978 0
cryptd 18553 1 ghash_clmulni_intel
microcode 22061 0
evdev 21544 29
pcspkr 12595 0
mac_hid 12633 0
i2c_algo_bit 12744 1 i915
i2c_i801 16965 0
mei 75033 1 mei_me
serio_raw 12849 0
i2c_core 50152 7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
tpm_tis 17134 0
thermal 17559 0
fan 12681 0
battery 13356 0
snd 69340 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore 13031 2 snd,snd_hda_codec
tpm 31467 1 tpm_tis
video 17995 1 i915
button 12909 1 i915
processor 27777 0
xt_limit 12601 7
wmi 17339 0
ac 12715 0
xt_tcpudp 12527 11
xt_addrtype 12557 4
nf_conntrack_ipv4 17706 7
nf_defrag_ipv4 12483 1 nf_conntrack_ipv4
xt_conntrack 12681 7
ip6_tables 26025 0
nf_conntrack_netbios_ns 12445 0
nf_conntrack_broadcast 12365 1 nf_conntrack_netbios_ns
nf_nat_ftp 12460 0
nf_nat 22338 1 nf_nat_ftp
nf_conntrack_ftp 16783 1 nf_nat_ftp
nf_conntrack 87324 7 nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4
iptable_filter 12536 1
ip_tables 26011 1 iptable_filter
x_tables 27104 10 xt_comment,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ipt_REJECT,ip6_tables,xt_addrtype
ext4 497695 2
crc16 12343 2 ext4,bluetooth
mbcache 17171 1 ext4
jbd2 86460 1 ext4
hid_generic 12393 0
usbhid 44507 0
hid 102220 2 hid_generic,usbhid
sd_mod 44356 5
sr_mod 21903 0
cdrom 47479 1 sr_mod
crc_t10dif 12431 1 sd_mod
crct10dif_common 12356 2 crct10dif_pclmul,crc_t10dif
atkbd 22254 0
libps2 12739 2 atkbd,psmouse
ahci 29195 4
libahci 27158 1 ahci
libata 181553 2 ahci,libahci
ehci_pci 12512 0
scsi_mod 142915 3 libata,sd_mod,sr_mod
xhci_hcd 152990 0
ehci_hcd 69939 1 ehci_pci
usbcore 199328 7 ath3k,btusb,uvcvideo,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common 12440 1 usbcore
i8042 18002 1 libps2
serio 18282 6 serio_raw,atkbd,i8042,psmouse
EDIT:
cat /var/log/Xorg.0.log| grep Synap
[ 301.566] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event9)
[ 301.566] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 301.566] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[ 301.566] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[ 301.566] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 301.566] (II) Using input driver 'evdev' for 'SynPS/2 Synaptics TouchPad'
[ 301.566] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 301.566] (**) evdev: SynPS/2 Synaptics TouchPad: Device: "/dev/input/event9"
[ 301.566] (--) evdev: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[ 301.566] (--) evdev: SynPS/2 Synaptics TouchPad: Found 3 mouse buttons
[ 301.566] (--) evdev: SynPS/2 Synaptics TouchPad: Found absolute axes
[ 301.566] (--) evdev: SynPS/2 Synaptics TouchPad: Found absolute multitouch axes
[ 301.566] (--) evdev: SynPS/2 Synaptics TouchPad: Found x and y absolute axes
[ 301.566] (--) evdev: SynPS/2 Synaptics TouchPad: Found absolute touchpad.
[ 301.566] (II) evdev: SynPS/2 Synaptics TouchPad: Configuring as touchpad
[ 301.566] (**) evdev: SynPS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
[ 301.567] (**) evdev: SynPS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 301.567] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 16)
[ 301.567] (II) evdev: SynPS/2 Synaptics TouchPad: initialized for absolute axes.
[ 301.567] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[ 301.567] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
[ 301.567] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 301.567] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 301.567] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[ 301.567] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
(EE) [dix] SynPS/2 Synaptics TouchPad: unable to find touch point 1
EDIT2:
SOLVED!
just remove /etc/X11/xorg.conf.d/10-evdev.conf
Last edited by drog (2014-08-21 13:29:49)lordheavy wrote:
X reads first configuration in /usr/share/X11/xorg.conf.d then /etc/X11/xorg.conf.d
When you copy 10-evdev.conf file into /etc/X11 you completly override previous system configuration. It's the reason copying synaptics configuration file into /etc/X11 fixes the issue
Defining default system configuration in /etc/X11 with previous xorg was a mistake, now it's fixed.
Wiki should be fixed. It's not a packaging bug, but a configuration bug.
@lordheavy
I agree with you that the new xf86-input-synaptics package is using the right configuration scheme, however it is breaking the functionality on every installed system. It was a packaging bug, which is now fixed, but it has to be handled manually by most users of previous versions. That's why I won't re-open the bug report FS#41589. Instead, I am asking here: shouldn't this change be notified to the users just like it has been done for most breaking changes on archlinux frontpage news?
By the way, thanks for your great work.
Maybe you are looking for
-
Is there a way on maxdb to force netbackup to use different initSID.utl fil
(This thread refers to a question that was posted to a blog and where the proper location to handle it is this forum) Is there a way on maxdb to force netbackup to use different initSID.utl files ? I have try to do it with different bsi.env file . Bu
-
Maximum Partition Size for External Drive using DU
Hello, I just purchased a 750g Maxtor USB drive for use with Time Machine. When I went into DU to partition and format the drive I was surprised to find that every time I went to create a single partition using all available space, the operation woul
-
Convert Adobe Form to SMARTFORM
Hi, is it possible to convert a form created with adobe form builder to a SMARTFORM document? I need to upload a PDF or DOC document into a SMARTFORM. This seems not to be possible. So I used Adobe for this upload. But now I can't convert it to a SMA
-
Error when running the apxldimg.sql to update the images direct from rel3.0
Hi everyone, I'm new to APEX. I'm upgrading from v3.0 to v3.1. I'm on the post-installation, section on "Updating the Images Directory When Upgrading from Release 3.0", I ran into error below when running the apxldimg.sql script. Has anyone run into
-
IllustratorCC 2014 What's New window
Check out this crazy look I get on the "What's New" window in Illustrator2014! Any ideas? Using MacPro OS 10.7.5 2 x 2.66 Ghz Dual-Core Intel Xeon 8GB ram