惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
V
Vulnerabilities – Threatpost
GbyAI
GbyAI
P
Proofpoint News Feed
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
A
About on SuperTechFans
T
Tenable Blog
M
MIT News - Artificial intelligence
IT之家
IT之家
I
Intezer
D
DataBreaches.Net
爱范儿
爱范儿
T
Threatpost
C
CERT Recently Published Vulnerability Notes
云风的 BLOG
云风的 BLOG
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
K
Kaspersky official blog
大猫的无限游戏
大猫的无限游戏
A
Arctic Wolf
Y
Y Combinator Blog
Cyberwarzone
Cyberwarzone
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Darknet – Hacking Tools, Hacker News & Cyber Security
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
Spread Privacy
Spread Privacy
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
AWS News Blog
AWS News Blog
博客园 - 聂微东
C
Check Point Blog
S
Securelist
有赞技术团队
有赞技术团队
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
Last Week in AI
Last Week in AI
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
D
Docker
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tailwind CSS Blog
L
Lohrmann on Cybersecurity
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LangChain Blog

博客园 - Steveson

(ZZ:From BaiBoyd)使用Query实现事务代码与后台配置菜单互查 User Fields in PR/PO Release Procedure 同一公司代码下工厂间的库存转储 MM配置的节点的快速入口 Setting for storage location(增加Storage Location) 上线时的相关检查清单(ZZ) SAP 可配置物料的创建过程及步骤 SAP实施Roll out项目经验谈(二) SAP实施Roll out项目经验谈(一)(ZT) SAP ECC6 BT 下载 Stock 心得 SAP IDES、DEV、QAS、PRD都是什么含义 ? SAP 月结操作 SAP MM报表集 公众演讲小秘技 Lesson 48 Planning a share portfolio 中国谚语的英文翻译 MM T-code大全 LSMW批处理使用方法(1)_总述及操作界面说明(ZZ)
User Exit for Release Procedure (PR)
Steveson · 2010-04-27 · via 博客园 - Steveson

User Exit for Release Procedure (PR)

By Willem Hoek  http://www.sap123.com/a/74/


Sometimes either the logic to be used is to complicated to use normal strategies or the field to be used in strategy is not available in Communication Structre (see transaction se12 - table CEBAN). In that case user exit can be used.

Example, lets say we want the following strategy:

For all PR's against a cost centre (account assignment K), base strategy on Cost Centre number and Document Type.

For all PR's not against a cost centre, base stretegy on Plant (in PR) and Document Type.

To set up:

  • Create 2 characteristics:
    one for doc type (linking it to CEBAN-BSART)
    one linking to user define field, say ceban-usrc1
  • Activate enhancement m06b0002 in transaction CMOD
  • Write ABAP code (user exit) in program ZXM06U13 in the case of Purchase Requisitions

When you create / change the PR, the characteristic will get value of ceban-usrc1 from user exit.

This is sample code of user exit

**&---------------------------------------------------------------------

**

**& Include           ZXM06U13

**&---------------------------------------------------------------------

case i_ceban-knttp.

 when 'K'.

    e_ceban-usrc1 = i_ceban-kostl.

 when others.

    e_ceban-usrc1 = i_ceban-werks.

endcase.

e_ceban-bsart = i_ceban-bsart.

 

Activate enhancement will activate the user exit.

Notes based on SAP ECC 5.0