SAP宏中BU和ZK OK代码有什么区别
我正在尝试使用 F-47
交易向 SAP 过帐发票,并使用 SHDB
记录交易并了解其工作原理。我看到有时会使用 BU
和 ZK
BDC OK 代码。我想了解它们之间的区别,但找不到任何官方文档。请解释一下两者的区别?
I am trying the post an invoice to SAP using the F-47
transaction and using SHDB
to record the transaction and learn how it works. I see there that sometimes BU
and ZK
BDC OK codes are used. I would like to understand the difference between them, but could not find any official documentation. Please, explain the difference between the two?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我找到了一些状态码的含义。我把它贴在这里,这样我就可以记住:
I found the meaning of some of the status codes. I post it here, so I can remember:
BDC_OKCODE 指示将在屏幕上执行哪个操作(例如保存、返回、退出等)。 BU 代码用于 SAVE 功能(如 MM01 事务中)。抱歉,我不记得 ZK 映射到哪个函数。显然它们的区别在于它们映射到不同的函数。您仍然可以通过使用“系统”->“状态”->“GUI 状态”来了解每个按钮使用的功能。
A BDC_OKCODE indicates which action is (will) be executed on a screen (things like save, back, exit etc). The BU code is used for a SAVE function (like in MM01 transaction). Sorry but I cannot recall to which function ZK maps to. Obviously their difference lies in the fact that they map to different functions. You can still find out which function each button utilizes by using System->Status->GUI status.
顺便说一句,BTCI 交易并不完全稳健——GUI 流程中的微小变化都会让您的程序崩溃。错误处理/分析很乏味......您是否考虑过更适合的发布方法?例如像 BAPI_* 功能模块?在 LSMW 的帮助下,您可以浏览不同的输入法,并在以后独立使用它们。或者您可以直接使用事务BAPI。
By the way, BTCI transactions are not fully robust- minor changes in GUI flow let your program break. Error handling / analysis is tedious.... DId you have a look to posting methods more preferably? E.g. like BAPI_* function modules? With the help of LSMW you can browse for different input methods and use them later standalone. Or you can use transaction BAPI directly.