User exit EXIT_SAPLV54B_002 is not called in FM SD_SCD_PRICING_PREPARE

huangapple go评论57阅读模式
英文:

User exit EXIT_SAPLV54B_002 is not called in FM SD_SCD_PRICING_PREPARE

问题

SAP ABAP功能模块SD_SCD_PRICING_PREPARE在使用Tcode VI01创建运输成本文档时被调用。
有一个用户退出点EXIT_SAPLV54B_002,应该用于包含额外的定价字段。
退出点通过激活包括ZXV54U03并编写所需的逻辑来激活。然而,我在包含文件中放置了一个断点来检查程序是否会调用退出点,但没有调用。

附带了截图EXIT_SAPLV54B_002断点.jpeg
在此输入图像描述

请建议?

英文:

In SAP ABAP function module SD_SCD_PRICING_PREPARE is called when creating a shipment cost doc by tcode VI01.
There is a user exit EXIT_SAPLV54B_002 which should be used to include additional fields in pricing.
The exit is activated by activating the include ZXV54U03 and writing the required logic. However, I placed a break point in the include to check if the program will call the exit but it does not.

Screenshot attached EXIT_SAPLV54B_002 break-point.jpeg
enter image description here

Please advice?

With the break point in include ZXV54U03, the system should have stopped when creating a shipment cost document via VI01. This did not happen.

答案1

得分: 0

From this description, two possibilities came to my mind.

我的第一个问题是,您确定这个USEREXIT会启动吗?我不确定代码是否会执行到这一步。
请在EXIT_SAPLV54B_002代码中或在SD_SCD_PRICING_PREPARE函数模块中设置调试断点,然后尝试达到该点。

另一个想法是打开系统调试选项。
在调试模式下,您可以在设置选项卡下找到它。如果您打开它并按继续(F8),它应该会在那里停下来。

User exit EXIT_SAPLV54B_002 is not called in FM SD_SCD_PRICING_PREPARE

英文:

From this description, two possibilities came to my mind.

My first question is, are you sure this USEREXIT will start? I am not sure if the code will make it this far.
Put the debug point in the EXIT_SAPLV54B_002 code or in the SD_SCD_PRICING_PREPARE function module and try to get to that point.

Another idea is to turn on the System Debugging option.
In debug mode you can find it under the settings tab. If you turn this on and press Continue(F8), it should stop there.

User exit EXIT_SAPLV54B_002 is not called in FM SD_SCD_PRICING_PREPARE

答案2

得分: 0

感谢大家
需要通过SMOD和CMOD激活退出

英文:

thanks all
exit needed activation through SMOD & CMOD

huangapple
  • 本文由 发表于 2023年5月22日 21:11:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/76306559.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定