Tuesday, July 20, 2010

Instal/Uninstal Windows Service

Posted by Aries Wandari

Many customized SAP reports run slowly in SAP environment. So we make a bapi to download a mature data and store it on our sql server. The program run as service on the server and run in daily basis. We also profide small application so user can update the data on request.

To install service manually
  1. Go to directory in which installutill located (for me, in WINDOWS\Microsoft.NET\Framework\v2.0.50727).
  2. Run InstallUtil.exe with your exe as parameter. Enter code below:
    installutil abc.exe


To uninstall service manually



  • Run InstallUtil.exe with your exe as a parameter. Enter code below:


    installutil /u abc.exe

Monday, July 19, 2010

Add Full Trust Location on VS2008

Posted by Aries Wandari

Im developing .net application in my local computer. Because we’ll develop it in team, I have to save it in share forlder so any else developer can access. Then come this error when I run the application.

Message=”Request for the permission of type ‘System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′ failed.”
Its because .net dont trust developer location. Run caspol.exe (in directory C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727) to add developer trust site.
D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>caspol.exe -pp off -m -ag 1.2 –url file:w:\* FullTrust
image

Wednesday, April 14, 2010

How to Find Weekdays on a Date in Excell

Posted by Aries Wandari

Helpdesk question of the day:
=CHOOSE(WEEKDAY(A1),"Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu")

Tuesday, December 8, 2009

Search Carriage Return and Line Feeds Character on Excell

Posted by Aries Wandari

          LSMW will produce error if text data transported have carriage return character. We have to replace it with another character. But, how to search that character on text. I’m using ms excell to search and replace the character. On the search/replace window, hold down alt and type 013, release alt key. Carriage return key will be found/replaced. For line feeds character, type 010.
In excell, long text with carriage return will go across the screen. To view them as multiple line, go to Format Cells menu, tab Alignment, tick the Wrap text check box.
image

Monday, December 7, 2009

Me and Futsal Team

Posted by Aries Wandari

Professional appearence with traditional skill.. hehehe…

Wednesday, September 23, 2009

Daily Job (Gate Check, Job Scheduler Check)

Posted by Aries Wandari

Daily job, annoying sometimes (when it goes wrong).

1. Gate checking, at 08:00 and 16:00.

Common problem are:

  • RPU disconnect. Handled by restart esofgate service.
  • IP disconnect (since we manage two different gates on Merak and Jakarta). Handled by telnet to port 9999 and restart connection.
  • Time dis-synchronized. Handled by sending time parameter to all reader.
Has to check twice a day, because if there is problem, we have to be found it early since esofgate hardware memory only store 3000 absent data.
clip_image002

2. Daily Absent Process and Daily Tracking Notification

Daily Absent Process Application is pre-processed raw data from gate so it can be user friendly report (user can monitor their entry to and leave from plant via intranet application). While Daily Tracking Notification Application is sending automatic email notification for outstanding tracking job. Both are massively using database operation. And sometimes the operation fail because of deadlocks, so we have to run it manually.
clip_image004

3. Canteen Sceduler

Data from canteen reader build a .RAW file per day, and has to be pre-processed to send it to database. If it not run normally, we have to run it manually by selecting proper RAW file.
clip_image006

Sunday, August 23, 2009

Batch Copying and Compressing of MSSQL backup file succeed.

Posted by Aries Wandari

Batch copying and compressing of MSSQL backup file from S10 to S4 server has been succeed. I think it is o.k. with my batch programming in this session.
image
image

Thursday, August 13, 2009

Batch Programming

Posted by Aries Wandari

I need to compress .bak backup MSSQL database file and copy to another server weekly. One option of doing it is using batch command and run it by scheduler.
clip_image002
This batch programming below is capture current year month, and compressing file based on file name (the filename has month description in itself).
-------------
::Display command at screen
echo on
::variable definition
set yyyy=none
set mm=none
set yyyymm=none
::take year and month parameter
for /F "tokens=2 delims=/ " %%i in ('date /t') do set mm=%%i
for /F "tokens=3 delims=/ " %%i in ('date /t') do set yyyy=%%i
::fill year month parameter
set yyyymm=%yyyy%%mm%
::looping at criterialysized file list at directory (by year month) and creating compressed 7z file

set source=D:\BackUp
pushd "%source%"
for /f "skip=1 delims=" %%z in (' dir /b *%yyyymm%*.bak') do 7z a Z:\backup%yyyymm%.7z "%%z"
popd

Saturday, August 8, 2009

SAP > Old Memories on Sales and Distribution

Posted by Aries Wandari

Todays job is uploading PO that has been already GR by store. How come doing Good Receipt without PO? Hehehe.. this early phase of SAP implementation is not perfect yet, we have to do 'back door' things to keep the plant running and money in balance.

Meanwhile, our Sales and Distribution key users and IT who guard this module is in holiday (ups, it is me who take the job on Saturday). Warehouse and sales team start asking about Sales Quotation, Sales Order, Delivery, Credit Limit Check, Finish Goods Stock Balance, Consignment, etc etc.... Gotta hardly remember SD things one year past.

Wednesday, August 5, 2009

SAP > First SAP Open Period

Posted by Aries Wandari

Dear Team, We need your fully support  since period is open today (1 month late ) and very tight target (only 2 days). The real problem usually occur on first posting activities.
Pak Ezal, please standby for Transport Request from us.
Pak Joko/Pak Hilal/Pak Farid, please come to Curug on Thursday & Friday (6-7 August) and assist the user to post transactions.
Thank you for your valuable support.
Thanks & regard

----------

First SAP open period for our newly joined company…………. &%$*&$%^$#

Tuesday, July 28, 2009

Test From Windows Live Writer

Posted by Aries Wandari

Test posting from Windows Live Writer.

Monday, April 13, 2009

Interviewing New IT Candidate

Posted by Aries Wandari



Our IT department have few candidates to join to our company. Generally there are three selection steps for those candidates to be accepted. First are general and professional knowledge. At this step candidates will do a written exam, testing their general logic and intelligence, professional knowledge in IT matters, and English proficiency. The second test, which I am managed to be attended, is interview. Representative from IT department will have a discussion with candidates about his/her ‘real’ skill and personality. Hopefully this spoken test can get some point that didn’t grabbed at the first written step. The interviewer have a list of elements need to be scored for the candidate, there are: candidate appearance, self confidence, job relevancy, communication, intelligence, problem solving, initiative, ambition, tendency to stay, special condition, etc. Any candidate look superior to company requirements, he/she will soon meet the general manager, since employee recruitment need big boss approval. The last test is physical test. It has been a common secret the one that announced go to this step will be accepted as a new employee. Unless he has a serious illness that make him fail for the physical test of course.