刘波的学习园地

让我们一起进步!
posts - 31, comments - 7, trackbacks - 0, articles - 11
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

2009年6月4日

在SAP CRM系统中,各种主数据和交易文档中用到的组织都是和系统的组织模型集成的。 但是,有可能更改了组织模型,但是在应用的时候会发现没有生效。这是为什么呢?因为漏掉了一部:清缓存。

用户可以通过运行程序:HRBCI_ATTRIBUTES_BUFFER_UPDATE 来完成清理缓存的工作。

详细信息请参考如下链接:

http://help.sap.com/saphelp_crm60/helpdata/en/46/5bff9dec3926aee10000000a1553f7/frameset.htm

posted @ 2009-06-04 17:13 Leo's 阅读(81) 评论(0) 编辑

2009年5月6日

Introduction

Life cycle replaces the user status for business partner from CRM2007(6.0). Hence the BPs from older version CRM should be migrated to CRM2007. This document is to guide you to implement the migration.

Prerequisites

You should create corresponding life cycle setting(exclusion group) for the action. And all the life cycle role can mapping to a user status.

Solution

Step 1: Run report BUP_STATUSPROFILE_CONVERT

Generate role exclusion groups based on existing status profiles, assign roles to these role exclusion groups, and copy transaction control to role categories of relevant roles.

(Will publish the picture and details latter)

Step 2: Run report CRM_BUPA_USERSTATUS_CONV2ROLE 

You can convert existing user status data maintained for accounts for status profiles into BP roles that are contained in a role exclusion group by starting report CRM_BUPA_USERSTATUS_CONV2ROLE.

(Will publish the picture and details latter)

posted @ 2009-05-06 10:53 Leo's 阅读(48) 评论(0) 编辑

2008年9月18日

SAP系统中,为了省去输入程序名称等繁琐步骤,SAP提供一种命令,称作‘事务代码’,通过执行事务代码达到快速进入相应程序的目的。那么在系统中如何去查找事务代码,事务代码和程序的对应关系如何呢?我们可以通过如下方式来查询:

方法一:通过查询表TSTC或者TSTCT;SAP系统将所有的事务代码都存储在这个表中,包括字开发的Y*和Z*;

方法二:Tcode:SE93,这个是SAP提供的制作Tcode的程序,我们可以使用这里的输入引导F4来完成查找,但是这个查找效率没有方法一高;

方法三:Tcode:SM01,这是SAP提供的事务代码锁定/解锁的程序,我们可以在这里找到所有的事务代码,并且对其进行是否锁定的控制。

那么又如何查找Tcode在菜单中的位置呢?

方法一:在’SAP轻松访问‘界面使用搜索功能即可找到;

方法二:可以通过tcode‘Search_SAP_Menu’来查找,查找结果以清单的方式显示;

posted @ 2008-09-18 13:43 Leo's 阅读(902) 评论(0) 编辑

在SAP系统中,SAP提供了Badi和用户出口来方便用户对标准程序来进行增强,那么我们可以通过如下方法来找到它们:

获取用户出口:

方法一:用SAP提供的一个程序来执行获取,这个程序不是已经内嵌到系统中,需要下载代码,放到自定义的程序中来执行,

           代码下载地址:http://www.sap-img.com/ab038.htm 或者:http://saptechnical.com/Tutorials/ExitsBADIs/FindUserExitswithTCode.htm

方法二:Tcode:SMOD,进去后,写星号,按F4,调用搜索帮助,调出所有清单,从清单中搜索得到‘user exit’的项目;

获取BADI(以下从SDN转帖):

方法一:Goto Transaction SE24->class name as CL_EXITHANDLER->
Display->double click on get_instance mathod->Now u will go inside the method->Now put break point on the cl_exithandler.
Now enter transaction code .
U will be stopped on the break point at cl_exithandler .In the exit name u can find list of badi's attached to the tcode..
Find the sutable BADI according to your requirement
方法二: Go to any transaction (say CV02N) and from the menu, select System ->Status to get the program name.
In the program, search for CL_EXITHANDLER=>GET_INSTANCE with the radio button “In Main Program” selected.
Select one program from the list of programs containing calls to BAdIs.
The changing parameter INSTANCE will have the interface assigned to it.
Find out the corresponding BAdI Interface and definition
For eg: if the inteface name is IF_EX_DOCUMENT_MAIN02 is the interface , the BAdI definition name will be DOCUMENT_MAIN02.

posted @ 2008-09-18 11:47 Leo's 阅读(449) 评论(0) 编辑

2008年9月9日

我们时常有强制维护某个表的需求,比如更改一下某个Z表的数据。我们可以采用如下方法:

1. Tcode: SM30,输入需要更改的表,选择编辑,即可进入修改。这样修改有一个前提,首先这个表允许用这种方式来修改,其次,你有SM30的权限;

2. Debug,这种方法可以改SAP中的任何表。前提是,有SE16+debug权限,操作过程如下(以CRM5.0为例,其他系统类似,通用):

1)SE16,输入需要编辑的表格,回车继续;

2)在显示表数据清单的屏幕,在Tcode栏中输入‘/h’,回车,激活调试;

3)双击需要修改的列(若添加,任意行即可),进入调试窗口;

4)往下拉滚动条,到1364行(应该是endform),双击创建断点在此行;

5)按F8或者执行按钮,执行到断点;

6)按F5,即单步执行,看到‘if code=×××’字样;

7)双击code,在右边调试面板,把code的值改成‘EDIT’(其它的相应修改),(如何修改:双击code旁边的铅笔,code就变成可修改的,改完后回车即可)

8)按F8执行,屏幕会回到SE16转置显示行的页面,并且是可以修改的;

9)根据需要修改(添加/删除),保存即可;

大功告成,但切记,这个不是正常流程,可能破坏表的主外键关系等。

posted @ 2008-09-09 15:22 Leo's 阅读(547) 评论(0) 编辑

2008年3月26日

摘要: 通常basis会使用PFCG做权限管理,时你保存时会产生一个系统外的prifile name,
记得SU01时用户有profile 和role两栏位吗?它们的关系如何呢?

首先明白几个概念.
1.activity
这样说吧,我们从activity谈起,activity是什么意思这个你查下字典也就知道了,对就是规定可做什么动作,比如说不能吸烟只能喝酒,不能多于2两,不对,这是我老婆讲的,SAP不是这样子的,是只能insert, update,display什么的.这些东西当年德国佬是写在tobj表中的.activity 也是可分activity group的.

2.activity category &Authorization group
Role Vs Profile你看看表T020就知道了,就是什么K,D, A, M什么的.
profile是什么呢?实际上可以理解为所有的authorization data(有很多authorization group--{你可使用OBA7填写,权限太细也不是好事^_阅读全文

posted @ 2008-03-26 15:32 Leo's 阅读(179) 评论(0) 编辑

2008年3月3日

摘要: Administration(行政部分)     Administrative Director 行政主管 File Clerk 档案管理员  Executive Assistant 行政助理 Office Manager 办公室经理  Executive Secretary 行政秘书 Receptionist 接待员  General Office Clerk 办公室文员 Secretary 秘...阅读全文

posted @ 2008-03-03 18:10 Leo's 阅读(86) 评论(0) 编辑

2008年2月27日

摘要: SAP Business Suite
当前SAP公司的主力产品包,里面包含了mySAP ERP, mySAP CRM, mySAP SCM .... 几乎是SAP的所有东东。如果购买的是此种许可证,就意味着几乎可以用SAP的所有产品的功能--某些特定行业的特定引擎(Engine)除外。

mySAP ERP
主要就是以前的SAP R/3加上SAP最新的集成平台SAP Netweaver。

mySAP CRM
之所以叫mySAP CRM而不是SAP CRM,就是为了突出SAP的CRM产品是以客户为中心的、灵活可配置的……所以叫”my***“,mySAP CRM主要就是包括SAP的CRM产品功能包(Logic Box)再加上SAP最新的集成平台SAP Netweaver。 阅读全文

posted @ 2008-02-27 15:42 Leo's 阅读(1552) 评论(1) 编辑

2008年2月18日

摘要: 每年的12月到次年2月都是职场人士跳槽的“多发期”,谁不想到薪水高、福利好的地方去呢。很多人从接到面试通知的电话起,心里就开始紧张,不用说想到要用英语面试、老外老板亲切却又让人紧张的微笑、看似简单而又机关重重的问题……其实,只要提前准备一下,就可以避免因胡言乱语而失去你梦想工作的可能。 如何把握住问题的要点,猜透老外老板的问题,给出漂亮的回答,是面试...阅读全文

posted @ 2008-02-18 16:24 Leo's 阅读(347) 评论(0) 编辑

摘要: When they finish quizzing you,interviewers always ask, "So, do you have any questions?" That's your cue to show off your research with queries about the company's competitors, plans for growth, specif...阅读全文

posted @ 2008-02-18 16:18 Leo's 阅读(116) 评论(0) 编辑