Quantcast
Channel: SCN : All Content - SAP Cloud Applications Studio
Viewing all 1101 articles
Browse latest View live

Adding Button to Mobile Execution Screen --- OBN Navigation Issue

$
0
0

Hi,

 

I'm trying to add a button which will lead to creating a new identified stock (iStock) to the pick/put away/etc. mobile execution screens using the SDK. When I select the section group there's an option in the extensibility explorer to add an OBN navigation, so that's fine. I can also point it to the iStock BO as shown below, and I can select the 'create using product ID' option.

 

Adding Button to Mobile Execution Screens 1.png

 

The problem comes in the next step; when I click OK, I have to bind product ID and something else to data fields, as is normal. But there are no data fields available to select, despite there obviously being data fields in the data model...

 

Adding Button to Mobile Execution Screens 2.png

 

Anyone able to shed any light on this? Thanks,

 

Lewis


How to view/Edit Values from OWL

$
0
0

Hello Experts,

 

 

I have created Thing based UI, all screens are generated and I want to navigate to TI screens to modify/Edit some values on Click on ID field of the OWL screen, I have configured Simple navigation to TI screens with binding ID field ,but its Opening Empty TI screen, Please help me how to resolve it and also I didn't understand What is TT screen, Please Help me ............

 

Thanks in Advance

 

 

 

Regards

------------

Ravi

Extend Customer BO with custom node

$
0
0

Hello community,

 

As described in the documentation, not all the standard BO are extendable with custom nodes.

The Customer BO is not part of the "chosen ones".

Is this planned in the future that all the standard BO will be extendable or is there some technical limitation that prevent some of them to be extendable?

 

Best regards,

Benjamin

SDK - Making an extension field available for approval configuration

$
0
0

Dear experts

 

 

I would like to ask about making an extension field available for approval configuration.

 

In my case I need to add  ZMargin field to the CustomerQuote standard business object.

 

But I can not see an appropriate scenario for my requirement in process extension scenario.

 

 

 

Is this requirement  possible ?

 

1-5-2016 12-33-28 AM.jpg

 

 

 

I need to make it appear in here

 

1-5-2016 12-25-29 AM.jpg

 

Best Regards,

 

Krit R.

How to dynamically know if a Business Object is edited from C4C TI

$
0
0

Hello All,

 

            I have standard business object(Individual customer) which can be edited from C4C UI and also form HCP portal . There are some business rules that needs to evaluated based on where the objects is being edited . For example if an Individual customer is edited from HCP some checks need to executed and if the same customer is being edited from C4C some other checks needs to be executed irrespective of the data origin.

 

Is there a way we can check if the object is being edited from C4C UI , like updating a transient flag when the TI screen loads which can be used in my program later.

 

I tried using an embed component and populating the variable but will not work if the any user has hidden the component via personalization.

 

Thanks in advance for help.

 

With regards,

Saurabh

AdvancedListPane: Column width minimum 25px?

$
0
0

Hey there,

 

I'm currently creating a UI with a table that is rather broad (19 columns).

 

>> I'd like to fit it in a way that it is not necessary to use the horizontal scroll bar on a common widescreen.

 

Now there are many columns where I know that the values should usually be small (numeric) so it would be OK if these columns had just 20px. But when I set the value "Column Width" of the AdvancedListPane to less than 30px in the UI Designer, it has no effect on the outcome.

 

So my questions would be: Is there a minimum of 30px? Why? Is there a workaround to get these columns more narrow?

 

Kind Regards

Pablo

Mass Update of Sales Quotes

$
0
0

Hi experts

 

I have a problem with sales quotes update.

 

I need to update 30,000 sales quotes, but using the migration tool is not possible to update and Mass data Maintenance functionallity has not option for sales quote.

 

We tried to use the migration template but i cannot know the SalesQuote  UUID.

 

I need to add a new party involved (approver role) in the parties involved  tab for these 30,000 sales quotes.

 

involucrados en la venta.png

 

 

 

There is another way to update the Sales quote?

 

I tried with a MDR but the BO dont´s appears.

 

 

Appreciate your help.

 

Thx.

failed to activate project

$
0
0

Hello

 

I'm doing my first steps in C4C development using SDK. When trying to activate my humble developments (from C4C30 tutorial) I get following errors:

2016-02-12 15_33_35-Y7PB2DQSY_ - SAP Cloud Applications Studio.jpg

This rerros persists after logout / login, and I can not proceed any further

 

what should I check / fix to solve this problem?

 

thanks


Acquire Custom fields via CTI Adapter

$
0
0

Hello Community,

In our project we have a Customer Service Management scenario, with the integration between a third party/legacy CTI environment and a Cloud for Customer solution. In this CTI->C4C integration we may need to pass to C4C a subset of custom information available in the CTI.

 

Via the CTI Client Adapter simulation tool, we noticed that the inbound call can pass a set of Custom fields as URL parameters. We show a picture of those fields in the simulation tool here below, and how those fields propagate in the Live Activity Pane:

 

2015_08_24_16_16_17_Simulation.png

Unfortunately, if I check those fields in the SDK UI Component for the Live Activity Pane (file: CTI_Shelf_QAF.QA), they don't seem to be bound to the Activity BO Model:

 

2015-08-25 09_42_08-CTI_Shelf_QAF (https___my307637.crm.ondemand.com) - UI Designer.png

 

Furthermore, we noticed that the Outport OpenSearchScreen is the only one which can use that list of fields, but this outport cannot be reused for binding an Embedded Component to the UI Pane:

 

2015-08-25 11_26_36-CTI_Shelf_QAF (https___my307637.crm.ondemand.com) - UI Designer.png

 

Is it possible in any way to reuse those information in C4C?

 

Thanks a lot for your collaboration.

 

All the best,

Davide

How let two Code List Date Type object interact

$
0
0

Hi,

 

I Create first Code List Data

2016-2-14 下午 03-16-37.png

 

Second Code List Data

2016-2-14 下午 03-22-28.png

 

and define two element in BO object and enhance screen

[Label("Continents")] element CodeContinents:Codelist1Code;

[Label("City")] element CodeCity:Codelist2Code;

 

and enhance screen (Customers -> Accounts)

 

 

When I choose Asia, I can only see Japan and China let me choose.

2016-2-14 下午 03-47-49.png

 

How do I let two code list data interact?

Use BCO? How to do that?

 

 

Any ideas or suggestions are very appreciated.

 

Thanks and Regards.

 

Daniel.

How to add image to a custom TI Screen

$
0
0

Hii Experts,

 

I have developed one custom solution for Employee Management with Thing Inspector Screen.

I want to add image for every individual respectively.

I have attached the  screenshot of my TI screen.

Kindly help me asap.

 

Regards,

Komal

Retrieving instances of a BO do not have the latest changes

$
0
0

Hi,

 

I am populating an OWL using a query in an ABSL script:

 

A query delivers alternative keys from which I retrieve my BOs via BO.Retrieve(ID). Each BO is added to a node that is databound to a grid.

 

A link in the column of the OWL lets the user edit a single instance of the BO in an QAF which opens.

 

Up to this everything works fine.

 

 

After saving and closing the QAF the OWL is cleared and repopulated as described above: But the instance of the BO that has been edited in the QAF contains not the latest changes, though I newly load it by calling BO,Retrieve(ID).

 

Perhaps, there exists kind of a cache in the background?

 

Thanks for your help in advance!

 

Kind regards -

 

Markus

Customer and Contact Person

$
0
0

Hi All,

 

 

I would like to have the contact person details like "Contact Person Name" & "Contact Person Email" in the Customer Extension BO as soon as mutation on the Contact person happens.  We use here event "Before Save Event"

 

The following works when Customer has one Contact person and he is main contact person.

 

if ( this.CurrentDefaultHasContactPerson.IsSet() ) {

com.ExtCpEmail  = this.CurrentDefaultHasContactPerson.BusinessPartnerRelationship.ContactPerson.ContactPersonWorkplaceAddressInformation.AddressSnapshot.DefaultEMail.URI.content;

com.ExtRPnaam = this.CurrentDefaultHasContactPerson.BusinessPartnerRelationship.ContactPerson.ContactPersonWorkplaceAddressInformation.AddressSnapshot.Name.GetFirst().Name.ThirdLineName;

};

 

Now if a customer already has a default contact person and when we try to add another contact person to it. I have difficulties in  getting the details of the Contact person thats being changed .i.e. I could not get hold of the contact person thats in the context.

 

 

 

I used the below to get the contact person being changed or created . When I do a retrieve I get nothing in the email address . Any suggestion on proceeding further ??

 

var CpCollection = this.HasContactPerson.OrderByDescending(n=>n.RelationshipBusinessPartnerInternalID);

var Cpnr = CpCollection.GetFirst().RelationshipBusinessPartnerInternalID;

var Cpid = CpCollection.GetFirst().RelationshipBusinessPartnerUUID;

var ret = BusinessPartner.Retrieve(Cpid);

var CpEmail = ret.AddressInformation.AddressSnapshot.Email;

var CPEmail2 = ret.AddressSnapshot.Email;

 

 

Regards,

 

Amber

Cloud Studio Tenant List Import on upgrade

$
0
0

Hi everyone.

 

As four times a year, currently everyone needs to update his studio version.

 

While it is quite simple to export the settings of the visual studio part to import to the new studio version (use Tools-> Import and Export Settings) rebuilding the (in our case quite long) tenant list to log on is quite cumbersome.

 

So my question to the community is:

 

Does anyone know where the SAP Cloud Application studio stores it's list of tenants so we can import it to the respective new studio version?

 

Thanks and best regards,

 

Ludger Bünger

Front-End Debug Information

$
0
0

Sometimes it may be difficult to extend some areas of C4C for the first time. So this document can help you to debug the UI and find which screen and BO you should extend and also help you to identify which fields you should use.

 

Debugging  UI

You can get some technical information from C4C using debugMode on HTML5 version. In order to do that you should add the parameter debugMode=true in the URL.

https://my313085.crm.ondemand.com/sap/public/ap/ui/repository/SAP_UI/HTML5/client.html?debugMode=true&app.component=/SAP_UI_CT/Main/root.uiccwoc&rootWindow=X&redirectUrl=/sap/public/byd/runtime

https://my313085.crm.ondemand.com/sap/public/ap/ui/repository/SAP_UI/HTML5/client.html?debugMode=true&app.component=/SAP_UI_CT/Main/root.uiccwoc&rootWindow=X&redirectUrl=/sap/public/byd/runtime

https://myXXXXXX.crm.ondemand.com/sap/public/ap/ui/repository/SAP_UI/HTML5/client.html?debugMode=true&app.component=/SAP_UI_CT/Main/root.uiccwoc&rootWindow=X&redirectUrl=/sap/public/byd/runtime

 

 

Identifying the screen

After entering on the Debug Mode, you can hold Ctrl + Right Click on specific areas of the UI and get the Technical Information.

Note that the debug context is based on where you've clicked.

 

Note that Debug Mode does not work on IE (I use it on Chrome)

 

account-ti-front-end.PNG

account-ti-debug-mode.PNG

 

On Component Model XML you can find information about which Screen you're seeing, Anchor you've clicked, Bind of some fields and more...

account-ti-Component-Model-XML.PNG

* Data Model also has some nice information you can explore.


SAP Cloud SDK : SDK Custom Field not update through Custom OData Service

$
0
0

Hi Experts,

 

I am working on Custom OData service for Individual Customer and I am using standard business object called "Customer" I am using (Beta) Administrator work center -> Service Explore -> Custom OData Service to create custom odata.

 

I have created custom OData Service from standard BO "Customer" and added some fields from Customer BO and Save Activate.

I have also tested newly created custom OData Service using GET , POST , PATCH method for Query , Create and Update Individual Customer via Custom OData service and its working fine.

 

Now We are using Partner Development System to create this  custom OData Service and I have checked we can not able to add Extension Fields from KUT (Adapt) mode. ( Note 1873094:Cannot change Field Extensions in Adaption Mode in a Partner Development Tenant …).

 

We have added custom fields(TID) with EXTENDED_TEXT data type in Customer BO via SDK and added Process Extension scenario and add that fields in standard OData Service.

 

Now from Beta Administrator in Customer BO i can able to see that SDK fields in standard OData and I have added into custom OData Service.

 

When we are try to update or create that custom field TID I can not able to update.

 

Please anyone have idea why custom fields created via SDK and added into OData is not create or update.

 

If anyone need more information I will provide you

 

Regards,

Mithun

ranged search for a product

$
0
0

Hello

 

I have a task to modify product search to allow for using a range of properties;

1) using quantitative range (for example, searching for goods with weight between 10 and 30 kg)

2) using list of available values (i.e. several product groups at once)

 

I'm a novice in C4C so please provide details how to make this in Silverlight UI, or if it is not possible, what should I develop in SDK

 

Thank you

Create a dependent dropdown with context mapping

$
0
0

Dear community,

 

I see that this topic is kind of spread on some discussions inside of the community. I am creating this document in order to unify the knowledge.

The objective of this document is to present how to create a dependent Drop Down list.

 

See also Create a dependent dropdown without context mapping

 

* TODO: Check PROS and CONS on with/without context mapping.

 

In this example I'll use a new BCO for Country and another for State.

 

1. Create BCO and BCS for your Code Lists (you can also use standard ones)

bco-country.PNG

bco-state.PNG

* Note that on State you will have to create an Attribute of Type "Code" and Subtype as your first level Code List.


bcs-state.PNG

* Note that the Key must be Unique. So if you want meaningful Keys, you'll have to combine the first and second Keys.

 

 

2. Create the Codelist Context Mapping on UI Designer

 

Go on the field under the Data Model, Right Click and define the dependency.

 

Codelist-Context-Mapping.PNG

codelist-mapping.PNG

 

3. Final result

front-end.PNG

 

* In case you need a "live update" on your dependency, you will need to make your First level Codelist as Round Trip True.

Note that it goes against SAP Cloud Application Studio Performance Best Practices

 

 

Have fun!

Acquire Custom fields via CTI Adapter

$
0
0

Hello Community,

In our project we have a Customer Service Management scenario, with the integration between a third party/legacy CTI environment and a Cloud for Customer solution. In this CTI->C4C integration we may need to pass to C4C a subset of custom information available in the CTI.

 

Via the CTI Client Adapter simulation tool, we noticed that the inbound call can pass a set of Custom fields as URL parameters. We show a picture of those fields in the simulation tool here below, and how those fields propagate in the Live Activity Pane:

 

2015_08_24_16_16_17_Simulation.png

Unfortunately, if I check those fields in the SDK UI Component for the Live Activity Pane (file: CTI_Shelf_QAF.QA), they don't seem to be bound to the Activity BO Model:

 

2015-08-25 09_42_08-CTI_Shelf_QAF (https___my307637.crm.ondemand.com) - UI Designer.png

 

Furthermore, we noticed that the Outport OpenSearchScreen is the only one which can use that list of fields, but this outport cannot be reused for binding an Embedded Component to the UI Pane:

 

2015-08-25 11_26_36-CTI_Shelf_QAF (https___my307637.crm.ondemand.com) - UI Designer.png

 

Is it possible in any way to reuse those information in C4C?

 

Thanks a lot for your collaboration.

 

All the best,

Davide

How to configure communication system & SDK web services in a productive system.

$
0
0

Hi everyone!

 

I'm about to ask our productive tenant and i have some questions regarding to the webservices executed by custom developments using SDK.

 

a) is it possible to import the new wsdl file from the productive  PI system into the C4C productive tenant using SDK?

 

b) how is it going to be configured the communication system with the correct host and port productive URL?  is it available to edit in a productive tenant?

 

c) where can i find some documentation regarding this doubts?

 

thanks for your help

Viewing all 1101 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>