標籤

4GL (1) 人才發展 (10) 人物 (3) 太陽能 (4) 心理 (3) 心靈 (10) 文學 (31) 生活常識 (14) 光學 (1) 名句 (10) 即時通訊軟體 (2) 奇狐 (2) 爬蟲 (1) 音樂 (2) 產業 (5) 郭語錄 (3) 無聊 (3) 統計 (4) 新聞 (1) 經濟學 (1) 經營管理 (42) 解析度 (1) 遊戲 (5) 電學 (1) 網管 (10) 廣告 (1) 數學 (1) 機率 (1) 雜趣 (1) 證券 (4) 證券期貨 (1) ABAP (15) AD (1) agentflow (4) AJAX (1) Android (1) AnyChart (1) Apache (14) BASIS (4) BDL (1) C# (1) Church (1) CIE (1) CO (38) Converter (1) cron (1) CSS (23) DMS (1) DVD (1) Eclipse (1) English (1) excel (5) Exchange (4) Failover (1) Fedora (1) FI (57) File Transfer (1) Firefox (3) FM (2) fourjs (1) Genero (1) gladiatus (1) google (1) Google Maps API (2) grep (1) Grub (1) HR (2) html (23) HTS (8) IE (1) IE 8 (1) IIS (1) IMAP (3) Internet Explorer (1) java (4) JavaScript (22) jQuery (6) JSON (1) K3b (1) ldd (1) LED (3) Linux (120) Linux Mint (4) Load Balance (1) Microsoft (2) MIS (2) MM (51) MSSQL (1) MySQL (27) Network (1) NFS (1) Office (1) OpenSSL (1) Oracle (131) Outlook (3) PDF (6) Perl (60) PHP (33) PL/SQL (1) PL/SQL Developer (1) PM (3) Postfix (2) postfwd (1) PostgreSQL (1) PP (50) python (5) QM (1) Red Hat (4) Reporting Service (28) ruby (11) SAP (234) scp (1) SD (16) sed (1) Selenium (3) Selenium-WebDriver (5) shell (5) SQL (4) SQL server (8) sqlplus (1) SQuirreL SQL Client (1) SSH (3) SWOT (3) Symantec (2) T-SQL (7) Tera Term (2) tip (1) tiptop (24) Tomcat (6) Trouble Shooting (1) Tuning (5) Ubuntu (37) ufw (1) utf-8 (1) VIM (11) Virtual Machine (2) VirtualBox (1) vnc (3) Web Service (2) wget (1) Windows (19) Windows (1) WM (6) Xvfb (2) youtube (1) yum (2)

2013年4月16日 星期二

settlement profile 資料連結

今天study到一張production order可以在settlement時,將其cost settle到asset number.

在SAP官方文件這樣寫
http://help.sap.com/saphelp_46c/helpdata/en/4f/71e73e448011d189f00000e81ddfac/content.htm
  1. Choose Logistics ® Production ® Production control.
  2. Choose Order ® Change.
  3. Choose Header ® Settlement rule. Enter your asset as the settlement receiver (type ANL) and enter the settlement amount (percentage rate or equivalence number).
  4. Choose Period-end closing ® Settlement and settle the order.
 




 
 但是一般正常的production order,其Settlement Rule 不會有asset number的category選項,原因是在IMG時,其settlement profile就已經去掉fixed asset選項。
只要將其設定好,在工單的settlement profile就會出現fixed asset的category。
另外,此工單用的是哪一個profile,則是記錄在 COBRA 這個table

但是,也有人使用MB1A的MVT 241,將庫存價值放到fixed asset。這兩種方法各有優缺點。就看user如何採用。

2013年4月13日 星期六

解決 java 寫檔的中文亂碼問題

http://blog.xuite.net/akuox/caffeine/32265749

[ java -Dfile.encoding=UTF8 ]
java 預設在處理文字檔案的寫入時,
會以 os 的預設編碼當作寫入的編碼規則,
這個問題常會發生在 windows 英文的作業系統要寫入中文的時候發生,
解法1:
如果是用 java 執行的 jar ,
java -Dfile.encoding=UTF8 -jar e:\bin\ExportToFile.jar
解法2:
加入環境變數 JAVA_OPTS,
  windows 環境:
JAVA_OPTS=-Dfile.encoding=UTF8;%JAVA_OPTS%
  linux 環境:
$> export JAVA_OPTS=-Dfile.encoding=UTF8:$JAVA_OPTS
解法3:
在程式裡面設定:
取得目前系統檔案編碼屬性 String defaultEncodingName = System.getProperty( "file.encoding" );
設定系統檔案編碼屬性 System.setProperty("file.encoding", "UTF-8");


我自己是設定 -Dfile.encoding=Big5

2013年4月12日 星期五

create a document

t-code : cv01n
path :


填了document number之後,按下enter,系統才會出現下一個畫面,然後才能選擇檔案,將local檔案 upload到SAP上

Assigning a Revision Level to a Material

如果T-Code CC11告訴你Revision Level沒有activate,就去IMG -> Logistics -- General -> Engineering Change Management -> Setup Control Data 裡面,將Rev. Level Act.的checkbox打勾,就可以activate Revision Level function

http://help.sap.com/saphelp_470/helpdata/en/d8/73201b4b7511d1894b0000e8323c4f/content.htm

Entering content frameProcedure documentation Assigning a Revision Level to a Material Locate the document in its SAP Library structure
Use

You can assign a revision level to a material either from an engineering change management function or while you are processing a material master record or BOM for the material.
This section explains how to change the revision level from engineering change management functions.
Prerequisites You can only assign a revision level to a material that has a material master record.
  • If you create a material with Create ® Immediately, the system creates a material master record immediately. In this case, the revision level can also be allocated immediately.
  • If you create a material with Create ® Schedule, the system first creates a document (and no material master record). In this case, the revision level cannot be assigned yet. The material master record is not created until you activate the scheduled material, and then a revision level can also be assigned.
Procedure From the Engineering Change Management menu, choose the Revision level option. The following options are available: create, change, and display material revision level.
To create a revision level for a material:
  1. Choose Logistics ® Central functions ® Engineering Change Management ® Revision Level ® Create.
You see the Create Revision Level: Initial Screen.
  1. Enter the material that you want to assign a revision level to and select This graphic is explained in the accompanying text.
You see the Create Revision Level: Detail.
  1. Enter the change number that you want to assign a revision level to.
  1. The possible entries in the Revision level field depend on your company-specific settings (Customizing for Engineering change management under Set up control data).
      • If internal number assignment is defined for revision levels, do not make an entry in the Revision level field. Confirm your entry. The system assigns the next available revision level from the defined number sequence. You can overwrite this default value with another value. However, the revision level you enter must be defined in the sequence and must not have been assigned to the material so far.
      • If external number assignment is defined for revision levels, the system still assigns the next available revision level from the defined number sequence. You can overwrite this default value with another value. However, the revision level you enter need not be defined in the sequence.
Note
You can define the settings in Customizing such that a higher revision level must be assigned for both external and internal number assignment.
A message appears telling you which revision level has been assigned to the material.
  1. Save the revision level for your material.
Note
When assigning the revision level from the processing functions for the material master or the bill of material, you find the functions for maintaining the revision level under the menu option Extras.
Leaving content frame

2013年4月11日 星期四

Functions of Production Version

http://www.erpgreat.com/production/functions-of-production-version.htm

Functions of Production Version
Can somebody enlighten me on the functions of production version and some tips on its configuration?
Production Versions are used to describe the production process to be used for planned / production order.
You can use the production versions based on:
1. Lot size qty
2. Bom explosion dates
3. Based on MRP Group
Why is it required?
Suppose you have 2/3 production lines and 2/3 alternative BOMs to produce one FG.
How system will come to know which BOM and Routing to be used. This is done thru Prod.Version.
In production version we maintain the combination of BOM and routing.
Also it can be designed with lot size or validity period.
Go to MM02--->MRP4 / Work scheduling view ----> Prod.Version.
Enter the validity period and lot size.
After entering the reqd. routing no. and BOM alternative , carry a check.
After getting the Green signals ,Continue.
Thus you have saved the prod. version.
Mass processing TCode- C223.
Does this mean that I have to activate all the BOM’s if in case I have 3 alternative BOM’s? if yes, then, will it these 3 BOM’s be exploded in MRP? I’m just worried ‘coz I might bloat our inventory if there are three active BOM’s.
No.First of all need not worry about the BOM explosion.
As I told you earlier which BOM and which Routing is decided by Prod.Version.
So in MRP the active prod.version only will be considered. Thus active BOM and active Routing will be used for MRP.
The question comes:  How to deactivate the alternative BOMs and Routing?
Two Ways:
1. You lock all other non-relevant Prod.Versions in MM02 of the FG/SFG material.(Every alternative BOM and routing forms a Prod.Version) Thus even if there are 2/3 prod.versions System will go and check for Unlocked prod. version and use it.
2. If you don't want to do this business of "Lock & Unlock" just place the required version at the first place in list of prod.versions in MRP4 view of the material.
Once system finds the first prod.version it will not spend energy in searching other alternatives.
Also please.don't forget to maintain the selection value of  "2" in MRP 4 view for BOM selection.
This will enable you to start the use of prod. version functionality in SAP-PP.(very good tool for practical purposes, costing and MRP).