Function Location in ERP and c4c

Source: Internet
Author: User
Tags case statement switch case

After downloading functional locations in sap erp to sap cloud for customer, it becomes installation points of the 'functional location' type:

C4c Installation Point UI:/byd_cod/serviceondemand/installationpoint/UI/cod_ipoint_ti.ti.uicomponent

In c4c, identify whether an installation point is downloaded from ERP or directly created from c4c. You only need to check whether the external Id field is empty. If it is not blank, the installation point is downloaded from ERP, and this field maintains the ERP Function Location ID.

The field name that controls whether the external ID is enabled is called can_add_remove. This field is yellow in the UI Designer, indicating that it is not bound to the Bo node, but calculated dynamically.

Computing logic:

The Status field of installationpoint is bound to the Bo field:

/Root/lifecyclestatuscode-> http://sap.com/xi/AP/FO/IBase/Global-> root -~ Status -~ Lifecyclestatuscode

The event onvaluechanged in the lifecyclestatuscode field has an event processing function setipointparams:

We can regard the logic of this event processing function as a switch case statement:

When the value of ipointstatus is 1, the operation named inprep is executed.

The operation details are to assign X (true) to the can_add_remove field.

For more original Jerry articles, follow the Public Account "Wang zixi ":

Function Location in ERP and c4c

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.