[Reprinted]How to Debug Billing IDOC User Exit ZXEDFU02

本文介绍了在SAP系统中触发输出时遇到的用户退出断点无法正常工作的问题及四种解决方案。包括检查项目创建与激活、更改输出类型设置、使用特定程序调试等方法。

Original article link: http://forums.sdn.sap.com/thread.jspa?threadID=1644680

 

[Issue]: Today when I trigger the O/P in billing document, I set the break point in the user exit ZXEDFU02, but the program won't stop at the break point place.

 

[Solution]: Then I search this in the internet, I found many people meet the same problems and somebody raised some solutions, I listed what are useful solutions here

 

The first idea

=================================================================================

Hi ,

Please check if you have created a project for user exit in SMOD and activated the same in CMOD. The control will not reach in your user exit until u create a project and activate it in CMOD.

If you have already done so then it means you have to search for another exit as this is not a suitable exit for you. Before implementing any exit put a break point and then test it.

Hope it helps.

Thanks,
Vivek Gupta

===================================================================================

 

The second idea

===================================================================================

Hi Umesh,

In Order to debug the IDOC enhancement in outbound billing document you have to do following -

1. When output type is put in the billing document header , change the further processing to value (1 or 2), the value shouldn't be 4.

2. Now save the billing document, ( the output in above document should be in yellow - ready to process)

3. Now put break point in your code and then call program RSNAST00 and give value in selection parameter for - output type you have used, application is V3, object key ( billing document number), transmission number as 6 .... etc. Now execute the program it will stop in your code.

Hope this helps!
Harry

 

[My comment:]  I use this way to solve my issue, then my program logic will go to the place where I set the break point

===================================================================================

[The third idea]

 

===================================================================================

Hi Umesh,

Add a soft breakpoint or a coded break point in the include.

Now before you click on the save button in VF01 go to the output type screen, select the output type and click on further data - here change the value from send immediately - 4 to value 1, and then click on save.

Copy the newly generated Invoice number, as Mentioned by Harpreet execute RSNAST00 program and input the Output type, invoice number and execute.

Now it should stop in the userexit that you have coded.

Regards,
Chen
===================================================================================
[The fourth idea]
===================================================================================
Hi, Umesh,

I met the same problem as you and finally found the reason was because the outboud IDOC was calling background.
So you could use VF31 to run your foreground, then the break-point will all work.
The parameters are the one used in your billing for output type.
Output type
Transmission medium
Sort order
Processing mode must be 2

Hopefully this thread could be closed.

Regards
David
[My comment: ] This way is also working
=================================================================================
<think>嗯,用户问的是使用他人论文中的图表是否需要授权的问题。这个问题其实挺常见的,尤其是学术写作新手容易忽略版权问题。从用户提供的引用[4]来看,那位教师专门申请Elsevier论文的图表使用权,说明正规学术场景下授权是必要的。不过用户可能更关心的是实际操作层面——比如什么情况下可以不用授权?或者如何快速获得授权?学术出版领域对图表版权的规定其实很明确:只要是他人原创的图表,无论用于论文、报告还是演示,原则上都需要获得授权。但存在几种例外情况:1.图表已明确标注"CCBY"等开放许可2.用户所在国家适用"合理使用"条款(比如美国允许少量引用用于评论或教学)3.图表数据由用户重新绘制且标注来源(属于二次创作)特别要注意的是,即使论文本身是开源的,图表版权也可能独立于文章。比如Elsevier的开放获取文章,其图表授权仍需单独处理。建议用户优先使用自己制作的图表,或者从开放资源库(如CCSearch)获取素材。用户可能是研究生或科研人员,ta更需要的可能是具体操作指南而非理论说明。所以回复里补充了授权申请模板和替代方案,这样ta能立刻用得上。考虑到中文用户的特点,特别强调了国内期刊的特殊要求——有些中文期刊对校内论文的版权要求会比较宽松。</think>在学术写作中使用他人论文中的图表**必须获得授权**,这是国际通行的学术规范。以下是具体分析及操作建议: --- ### **一、需要授权的情形** 1. **直接复制图表** 若直接复制原图中的数据、设计或示意图,无论是否修改,均需著作权人许可。引用[4]中学者向Elsevier申请图表授权即是典型案例。 2. **二次加工后的使用** 即使对图表进行重绘、数据重组或风格调整,只要核心内容源自他人成果,仍需获得许可(部分期刊要求标注"Adapted with permission")。 --- ### **二、例外情况(无需授权)** 1. **开放获取资源** 图表明确标注**CC BY**、**CC0**等开放许可时,可直接使用(需保留来源标注)。例如: - arXiv预印本中的CC BY图表 - PLOS ONE等完全开放期刊的图表 2. **合理使用(Fair Use)** 在**以下条件同时满足**时可能适用(需谨慎评估): - 非商业用途(如课堂教学、学位论文) - 引用少量图表(如1-2幅关键图) - 显著标注来源且不影响原作品市场价值 > *注:各国法律差异大,中国《著作权法》第24条允许"为个人学习研究而适当引用",但学位论文公开发布时此条款可能失效。* --- ### **三、操作建议** 1. **正规授权流程** - **步骤1**:通过出版社官网的"Rights and Permissions"入口提交申请(如Elsevier的[Permissions Finder](https://www.elsevier.com/about/policies/copyright/permissions)) - **步骤2**:支付许可费(部分商业用途需$50-$300/图) - **步骤3**:在论文中标注: `Reprinted from [文献], with permission from [出版社]` 2. **替代方案** - **自绘图表**:基于原始数据重新制图(标注数据来源) - **使用开放数据库**:如Figshare、Open-i提供的CC许可素材 - **申请作者授权**:直接联系原作者获取非独家许可(需书面确认) --- ### **四、学术后果** 未经授权使用可能导致: ```markdown | 风险类型 | 后果示例 | |----------------|----------------------------| | 论文撤稿 | 如BioMed Central 2022年批量撤稿30篇 | | 学位撤销 | 多起因图表侵权导致博士学位取消案例 | | 法律诉讼 | 出版社索赔单图数千美元侵权费 | ``` > 引用[2]强调:毕业论文需严格遵守学术规范,图表引用不当直接影响论文有效性[^2]。 --- ### **授权申请模板** ```plaintext Dear [版权所有方], I am writing to request permission to reuse [Figure X] from your publication: [文章标题], [作者], [期刊], [卷期], [DOI]. This figure will be used in my [硕士/博士] thesis titled "[论文标题]" (non-commercial, university use only). The source will be fully credited as: "Reprinted from [引用格式]". Please confirm if any fees or specific attribution are required. Sincerely, [姓名] [机构] ``` --- **
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值