Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to prevent SAP CRM from being automatically set to transfer state

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces "how to prevent SAP CRM from being automatically set to the transmission state". In daily operation, I believe that many people have doubts about how to prevent SAP CRM from being automatically set as a transmission state. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "how to stop SAP CRM from being automatically set as a transmission state". Next, please follow the editor to study!

After the AG9 Service order is created, it is automatically sent to other systems through middleware. Have we recorded this behavior now? Do you know how to disable?

Transaction's status profile can be equipped with such a thing:

But we don't have any status profile on our ZSRV now.

The function module of line 325 will be responsible for sending out via outbound queue.

Only when the three conditions in the IF of line 321 are met at the same time will you enter:

Condition 1: IV_NO_BDOC_SEND = FALSE, the default parameter false for this parameter on AG9, which satisfies the

Condition 2: LV_SEND_BDOC = TRUE

Read the internal table of this global, if you can't read it, you can't read it on TRUE,AG9, so it's true, and this condition is satisfied.

Condition 3: LV_SKIP_ASYNCRONOUS_FUNCTION = INITIAL

If the state of the order is set to POST PROCESSING, then the value of the variable is true, but our status on AG9 is open, so this condition is also satisfied

Three conditions are met at the same time, so send data to outbound queue through middleware.

How to avoid this behavior? According to code analysis, you can break any of the three conditions in IF. Debug shows that it is easiest to break the second condition, and I am looking at the relevant configuration.

Condition 2: one less picture:

Condition 2: LV_SEND_BDOC = TRUE

Read the internal table of this global, if you can't read it, you can't read it on TRUE,AG9, so it's true, and this condition is satisfied.

There are two behaviors of solution disable:

(1) when CRM_ORDER_SAVE_OW in line 56 of CRM_ORDER_SAVE call line, IV_NO_BDOC_SEND does not specify value, so the default value ABAP_FALSE is passed in.

If we force it to TRUE here, it will break the first of the three conditions to be uploaded, so that it will not enter the uploaded branch.

(2) if you just want to disable the function module of the document,call of a particular transaction type:

CRM_ORDER_SET_NO_BDOC_SEND_OW, enter the guid of order, and a line of entry will be added to the GT_NO_BDOC_SEND

This will destroy the condition in the middle of the IF judgment and achieve the goal of not uploading.

At this point, the study on "how to prevent SAP CRM from being automatically set to the transmission state" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report