JAVAÓëSAPÊý¾Ý½»»¥µÄ·½Ê½×ܽá
JAVAÓëSAPÊý¾Ý½»»¥µÄ·½Ê½×ܽá
RFC·½Ê½£ºJava³ÌÐòÖ±½Óͨ¹ýRFC·ÃÎÊSAPµÄ¶ÔÏ󣨻ò³Æº¯Êý£¬¿ÉÄܽз¨²»¶Ô£©
SAP
ÌṩÁËBAPI(Business Application Programming
Interface)£¬BAPIÊÇSAPϵͳ¶ÔÍâÌṩµÄһϵÁнӿÚ,Ö÷ÒªÊÇʹµÚÈý·½³ÌÐòͨ¹ýÕâЩ½Ó¿ÚÀ´Ê¹ÓÃSAP,´Ó¶ø·½±ã¿Í»§¶¨ÖÆijЩ³Ì
Ðò.VB,Java,C,C++µÈ¶¼¿ÉÒÔͨ¹ýBAPIÀ´·ÃÎÊSAP.BAPIÊÇͨ¹ýR/3ϵͳÉϵÄRFC(Remote function
call)¹¦ÄÜÀ´ÊµÏÖµÄ.ÒòΪBAPIµÄÇ¿´ó¹¦ÄÜ×÷Ϊ»ù´¡,SAP¾ÍÍêÈ«¿ÉÒÔÑ¡ÔñJavaÔÚCRMÉϼÓÇ¿¸÷ÖÖ¹¦ÄÜ,±ÈÈç¿ÉÒÔÓÃJava¿ìËÙ¿ª·¢Ò»¸öʵÏÖÌØ
¶¨¹¦ÄܵĿͻ§¶Ë¡£Õë¶ÔJava£¬SAPÒ²ÌṩÁËÒ»¸öAPI½ÐJava Connector(JCo),¿ÉÒÔʹÓÃËü·½±ãµÄµ÷ÓÃBAPIÌṩµÄ½Ó¿Ú¡£
¾ÙÀý˵Ã÷ £ºÔÚÎÒÃǵÄijһ¸öÏîÄ¿ÖУ¬ÐèҪÿ¸öÔ´ÓR3È¡³ö¹©Ó¦É̵ļÄÊۺͷǼÄÊÛ»ã×ܽáËãÊý¾ÝºÍÃ÷ϸÊý¾Ý£¬Õ¹ÏÖÔÚ¹©Ó¦ÉÌÐÅϢƽ̨ÉÏ£¬¹©¹©Ó¦ÉÌ¿ª·¢Æ±ºÍ²ÆÎñ²¿¸¶¿î½øÐнáË㣬ÄÇô¿ÉÒÔ×öÒ»¸ö¶¨Ê±Æ÷£¬Í¨¹ýRFCÔÚÿ¸öÔµÄÒ»ºÅ0µã½«½áËãÊý¾ÝÈ¡³ö¡£
private final static String FUNCTION_GET_NONVMI_DATA = "ZPUR_DATA_GET_TMP1";
/**
* ´¦Àí½Ó¿Ú²ÎÊý
*/
private JCO.ParameterList getNonVmiTableParameterList(
JCO.Client aConnection, String bukr, String month, String start,
String end, String lifnr) {
IRepository aRepository = new JCO.Repository("SAPRep", aConnection);
IFunctionTemplate functionTemplate = aRepository
.getFunctionTemplate(FUNCTION_GET_NONVMI_DATA);
logger.debug("FunctionTemplate=" + functionTemplate);
JCO.Function function = new JCO.Function(functionTemplate);
JCO.ParameterList input = function.getImportParameterList();
input.getField("BUKRS").setValue(bukr);
//input.getField("SPMON").setValue(month);
input.getField("LIFNR").setValue(lifnr);
input.getField("ZBUDATB").setValue(start);
input.getField("ZBUDATN").setValue(end);
logger.debug("ImportParameterList=" + input);
aConnection.execute(function);
&
Ïà¹ØÎĵµ£º
2006-01-18 13:53×÷Õߣº³ö´¦£º²©¿ÍÔ°ÔðÈα༣º·½ÖÛ http://dev.yesky.com/178/2278678.shtml ÒýÑÔ
JavaµÄ¶ÑÊÇÒ»¸öÔËÐÐʱÊý¾ÝÇø£¬ÀàµÄʵÀý(¶ÔÏó)´ÓÖзÖÅä¿Õ¼ä¡£JavaÐéÄâ»ú(JVM)µÄ¶ÑÖд¢´æ×ÅÕýÔÚÔËÐеÄÓ¦ÓóÌÐòËù½¨Á¢µÄËùÓжÔÏó£¬ÕâЩ¶ÔÏóͨ¹ýnew¡¢newarray¡¢anewarrayºÍmultianewarrayµÈÖ¸ÁÁ¢£¬µ«ÊÇËüÃDz»ÐèÒ ......
package algorithm.binarytree;
import java.util.Arrays;
import java.util.Stack;
import util.ArrayUtil;
import util.OutputUtil;
public class BinTree {
private BinNode root = null;
public BinTree()
{
}
&nb ......
±±´óÇàÄñJAVA¡¢C#¡¢.NETµÈÈí¼þ¼¼Êõ¾ÍÒµÅàѵ°à
ÐÅÏ¢¼¼Êõʱ´ú£¬´òÔìITר²Å¡£¶«Ý¸±±´óÇàÄñ½ðÂëУÇøÁªºÏ3000Óà¼ÒITÃûÆ󣬶¨ÏòÅàÑøÆóÒµ½ôȱµÄITÈí¼þ¹¤³ÌʦÈ˲š£
Åàѵ¿Î³Ì¼ò½é£º
ÒÀÍб±¾©´óѧ½ÌÓý×ÊÔ´¡¢±±´óÇàÄñ¼¯ÍÅÔÚITÐÐÒµµÄÓÅÊÆ¡¢Ó¡¶ÈAPTECHרҵ»¯µÄITÖ°Òµ½ÌÓý¾Ñ飬ACCP½Ì³Ì²ÉÓÃÈ«Çòͬ²½Ñз¢»úÖÆ ......
1.MVCµÄ¸÷¸ö²¿·Ö¶¼ÓÐÄÇЩ¼¼ÊõÀ´ÊµÏÖ?ÈçºÎʵÏÖ?
´ð£ºMVCÊÇModel£View£ControllerµÄ¼òд¡£"Model" ´ú±íµÄÊÇÓ¦ÓõÄÒµÎñÂß¼£¨Í¨¹ýJavaBean£¬EJB×é¼þʵÏÖ£©£¬ "View" ÊÇÓ¦ÓõıíʾÃ棨ÓÉJSPÒ³Ãæ²úÉú£©£¬"Controller" ÊÇÌṩӦÓõĴ¦Àí¹ý³Ì¿ØÖÆ£¨Ò»°ãÊÇÒ»¸öServlet£©£¬Í¨¹ýÕâÖÖÉè¼ÆÄ£ÐÍ°ÑÓ¦ÓÃÂß¼£¬´¦Àí¹ý³ÌºÍÏÔʾÂß¼·Ö³É²» ......