FICO 设置销项税/进项税科目
FICO 设置销项税/进项税科目问题现象交易码 VST 会计科目表 7777 没有在表 T030R 中定义
原因我们未在公司代码下配置进项税科目
解决方案设置销项税/进项税科目事务代码:OB40
找到事务VST
双击, 选中自己的科目表
保存只会,系统会让你输入 进项税科目
保存退出
交易码 MWS 销项税 同样的处理方式
FICO 快速拷贝科目
FICO 快速拷贝科目
输入事务代码:FS15,填写总账科目和公司代码,输出的文件名
点击确认,会出现一个路径的消息,记住他 (我的路径:/usr/sap/MSQ/SYS/global/FBIScn00 )
输入事务代码 CG3Y,将刚刚生成的文件下载下来
去需要上载的服务器的界面上,输入事务代码CG3Z,勾上 覆盖文件
如果不知道应用服务器上的目标文件的路径,就先FS15下载下,将路径记录下来。
已成功上载,即将大功告成。
输入事务代码 FS16,填写文件名,目标公司代码 ,勾选 马上更新文件
过程中发现读取不到 E:\usr\sap\ER1\SYS\global\FBIScn00,应该是我之前使用FS15的生成的文件名称叫wtny,我上服务器查看,发现并没有FBIScn00, 只有 FBISwtny, 于是就将文件名改 wtny ,就可以成功导入了。
FICO 配置科目
FICO 配置科目查看科目树形结构事务代码:FS00在工具栏 - 设置 - 层次结构显示,选择 显示导航树中的账户,确认,重新打开事务代码
科目创建科目创建一般有两种方式
FSP0 - 创建科目表层
FSS0 - 创建公司代码层
或者直接
FS00 - 同时创建科目层+公司代码层
科目的拷贝同一个客户端下面,不同的公司代码间拷贝
事务代码FS15
事务代码OBY2
不同的服务器上,可以参考另一个博客
http://blog.yanleidong.top/posts/2c40600a/
科目删除事务代码:OBR2
业务数据删除(手动狗头)事务代码:OBR1
但是我们可以使用 事务代码OBR3,将公司代码设置为生产性的,这样OBR1就不能直接删除了。
FICO 公司后台配置
Fico 公司后台配置
以下配置基本都是在事务代码 SPRO 中完成关于如何查看SPRO中的事务代码,工具栏 - 附加信息 - 附加信息 - 显示关键字 - 属性,一般都是后面倒数4位代码
创建公司
事务代码:OX15
创建新条目
输入公司相关信息
保存
创建公司代码
事务代码:OX02
选择编辑公司代码数据 ,也可以直接复制其他的公司代码
创建新条目
输入公司代码相关信息
保存,继续输入公司地址相关信息
保存
创建信贷控制范围
事务代码:OB45
创建新条目
输入信贷控制范围相关数据
保存
给公司代码分配公司
事务代码:OX16
找到自己创建的公司代码
将公司填写上
保存
给信贷控制区分配公司代码
事务代码:OB38
找到自己创建的公司代码
将信贷控制范围写上
保存
定义字段状态变式
事务代码:OBC4
创建新条目
输入变式+变式名称
选择刚刚创建的变式,点击字段状态组
创建新条目
根据蓝图调研结果,自行添加
双击字段状态组 G001,可以对屏幕字段进行配置(哪些需要显示,哪些需要必输)
向字段状态变式分配公司代码
事务代码:OBC ...
SAP直接读取长文本的方法
SAP直接读取长文本的方法第一种,使用函数READ_TEXT第二种,
https://blog.csdn.net/qq_30797051/article/details/120890827
12345678910111213141516171819202122DATA: BEGIN OF L_STXL, TDOBJECT TYPE STXL-TDOBJECT, TDNAME TYPE STXL-TDNAME, TDID TYPE STXL-TDID, TDSPRAS TYPE STXL-TDSPRAS, END OF L_STXL.L_STXL-TDOBJECT = 'MATERIAL'.L_STXL-TDNAME = 'SG23'.L_STXL-TDID = 'BEST'.L_STXL-TDSPRAS = '1'.DATA: E_TEXT_LINES TYPE TABLE OF TLINE.IMPORT TLI ...
BAPI MIGO GMCode
MIGO GMCode忘记看的哪里的blog了
调用物料移动的Bapi需要用到GMCode
BAPI_GOODSMVT_CREATE 里面需要传入 GOODSMVT_CODE参数
There is not a GMCODE for transaction MIGO in table T158G.You have the list of equivalences in the table T158G:GMCODE TCODE01 MB0102 MB3103 MB1A04 MB1B05 MB1C06 MB1107 MB04GM_Code 01: Goods receipt for purchase orderGM_Code 02: Goods receipt for production orderGM_Code 03: Goods issueGM_Code 04: Transfer postingGM_Code 05: Other goods receipts ...
选择屏幕字段,悬停提示
选择屏幕字段上,鼠标悬停出现提示文本用 @ 图标的代码 \Q 提示信息 @ 字段描述拼接起来
123456PARAMETERS: P_WERKS TYPE WERKS_D.INITIALIZATION. %_P_WERKS_%_APP_%-TEXT = '@5F\Q 这是tip @工厂'.
感觉就是给图标加了个提示哈哈哈哈
ABAP JSON
abap json 序列化和反序列化将abap结构转化成json,使用类/UI2/CL_JSON里面的方法SERIALIZE
123DATA(LV_JSON) = /UI2/CL_JSON=>SERIALIZE( DATA = XXXX PRETTY_NAME = /UI2/CL_JSON=>PRETTY_MODE-NONE COMPRESS = ABAP_TRUE ).
将json转变为abap结构,使用类/UI2/CL_JSON里面的方法DESERIALIZE
123/UI2/CL_JSON=>DESERIALIZE( EXPORTING JSON = LV_RES PRETTY_NAME = /UI2/CL_JSON=>PRETTY_MODE-NONE ...
ALV实现小计功能
ALV在展示时实现小计功能在需要小计的字段,添加FIELDCATE-DO_SUM = 'X'属性
如果需要小计在第一行显示 需要添加TOTALS_BEFORE_ITEMS = 'X'属性
12345678910111213141516171819202122232425262728 DATA LV_COL_POS TYPE LVC_COLPOS. DATA LT_FIELDCAT TYPE LVC_T_FCAT. DATA LS_FIELDCAT TYPE LVC_S_FCAT. DATA LS_LAYOUT TYPE LVC_S_LAYO. DATA LT_SORT TYPE LVC_T_SORT. DATA LT_EVENTS TYPE SLIS_T_EVENT. DATA LS_EVENTS TYPE SLIS_ALV_EVENT. DATA LO_GRID TYPE REF TO CL_GUI_ALV_GRID. "set fieldcat... "指定需要小计的列,以及如何排 ...
Postman调用web service
Postman 测试 SAP发布的WebService在Postman Header中添加 如下参数
Content-Type application/soap+xml;charset=utf-8