Quantcast
Channel: SCN : Popular Discussions - SAP Cloud Applications Studio
Viewing all 1333 articles
Browse latest View live

How to extend combined datasource

$
0
0

Hi

I have extended Project BO with an field, the same field I want to use in a report which is based on combined Datasource "Project, Baseline and Snapshots".

From SDK I can enhanced only Project data source, I thought this field will reflect in Combined datasource but this extension field is not coming in combined data source.

 

Any help how to extend combined datasource from SDK.

 

 

Thank

Sunil Maurya


How to create a Dynamic codeList through ABSL script

$
0
0


Hi

 

I have created a code list and have added some values to it.I would like to know how to add data to the codeList dynamically from the ABSl script.

Access Controlled Business Object ??

$
0
0

Hello,

 

Can anyone share few views about Access Controlled Business Object and RBAM Data. I have never used them before and wanted to know more about these like how it affects the security and all.

 

Please dont point to any reference links or pdf's to see the info abt Access Controlled BO's becoz I have already read enough material and all I had is confusion .

 

So, kindly share your personal views about this topic here rather than referring a document which is somewhere else.

 

Thanks in advance.

 

regards,

vatsav

OVS in Extended Business Object

$
0
0

Hi,

 

I've created a Business Object Extension of AP.FO.BusinessPartner.Global:Customer:

 

[Extension] businessobject AP.FO.BusinessPartner.Global:Customer {

 

    node AddressInformation {

    }

   

    node Common {

        [Label("Owner")] element OwnerID : EmployeeID;

    }

   

    node CurrentEmployeeResponsible {

    } 

}

 

The OwnerID is added in COD_Contact_TI.TI.xuicomponent as an Extension Field and connected to the public OVS: /BYD_COD/SalesOnDemand/Employee/UI/COD_Employees.OVS.uicomponent.

 

Everything is working fine, The OVS button is showing up on the right in the field and the EmployeeID is filled in the field after selection. The issue is that I want the description to show up in the input field rather than the ID. Exactly like the Owner field in COD_Account_TI.TI.xuicomponent. Is it possible with Extension Fields? 

 

I followed this tutorial:

Cloud Applications Studio: Add Value Help to Extension Field - YouTube

 

Regards

Niklas

Automatically Trigger Convert to Opportunity from Lead for Hot Leads

$
0
0

Hello Experts,

 

We have a requirement to automatically convert a Lead into Opportunity once the Qualification status becomes HOT for the lead.

I have written the below code in Before Save event of the Lead xbo:

 

if ((this.Status.UserStatusCode != "03") && (this.QualificationLevelCode.content == "03"))

{

 

var opp = Opportunity.CreateWithReference(this);

 

}

 

 

This does create a follow up opportunity and the opportunity doc flow shows that there is a preceding lead to it.

However the new opportunity details doesn't show as a conversion document on the lead.

Also the status of the Lead needs to change to Converted once the conversion is done but the field read only and I am not able to change its value to "Converted". This is the reason for converted opportunity not showing up on the lead.

Could you please help me on this or suggest any other way this could be done.

 

 

Thanks and Regards,

Sumeet Narang

How to enter repository system and its user/pw in Studio

$
0
0

Hi Export,

 

I am completely new to C4C ( Cloud for Customer ) and Cloud App Studio. I appreciate any information or help you can offer.

 

My target is to quickly learn how to build new business object and how to extend standard ones to C4C system.

 

I managed to install Cloud App Studio, but was blocked by this connection dialog because I don't know my repository system.

 

2015-04-01 15_51_38-SAP Cloud Applications Studio _ SCN - SAP Cloud Applications Studio.png


Actually I have a C4C demo system with an address like https : / / myxxx.crm.ondemand.com


And I had an administrator user which allows me to navigate to administration page in sidelight version. But I could not find any information about the corresponding repository system.


So please advise how to find the repository system on C4C. Thank you.



Where to download Cloud Application Studio

$
0
0

Hi Exports,

I try to download cloud application studio in Market Place, but nothing has been found. Always I got 'No search results have been found'.

Could anybody tell me where to download that application? Many thanks.

Help with SAP Cloud Application Studio 1502

$
0
0

Hi,

 

I am willing to update Cloud App Studio into latest version 1502, however, I am not being able to update it from the studio itself, is this normal?

 

In case I do need to download it again, would someone help me to obtain it? I am currently working on a test tenant of a SAP Partner, yet, they do not have rights for downloading it.

 

Kindly let me know any opinion through this post or to my personnal mail which is kinsbrunner@gmail.com

 

Thanks and regards.

 

Alejandro.


Solution Activation Error [URGENT]

$
0
0

Hello everyone,

 

I finished a solution on my company's reference tenant.

When I try to assemble and download the solution (to later upload it too the test tenant of a customer) I get the following error message:

 

ActivationError.png

 

The strange thing here is that this is a template for an output document used in the front end.

My solution doesn't contain this file, nor does it contain a file referring to this file.

Obviously this makes it impossible for me to active and check in the file/object.

 

Does anyone know what might be causing this bug?

And if so, how can I solve this without having to restart from scratch...?

 

Thanks & Regards,

Glenn

Opportunity Copy Control

$
0
0

Hi All,

  My requirement is to enhance the standard "Copy" functionality in an Opportunity.  I have to copy certain standard / extended fields, default others and prevent copy of some fields.

 

  The approaches I have checked are:

1. Enhance standard Copy action.  This action is not available in the extended BO and hence cannot be enhanced.

2. Remove the standard "Copy" button via extensibility explorer, but cannot add my own copy button with new functionality. 

3. I can add an OBN link to the standard screen which points to a custom QC screen of my custom BO.  Have limited success with this approach.

 

Please let me know if option 3 is the right way to achieve the required functionality or there is a better option available.

 

Regards,

Sai

Activation error - Standard Web Service - Material Query

$
0
0

Hi Experts,

 

 

 

The Material BO was extended in a different solution and I should access the extension fields value from my solution in the cloud application studio.

I have created a Communication Scenario based on the QueryMaterialIn service (find by elements).

 

 

Based on this scenario I have created a communication arrangement :

 

 

 

I downloaded the wsdl for this arrangemant and want to upload this in external webservice

 

 

 

When activating this external web service integration I get below error messages and I am unable to activate it.

 

 

When importing the WSDL in Soap UI and triggering the request everything goes fine.

 

Does anybody have a clue on why this is happening?

 

Thanks,

 

Gert

Calling reuse library functions from UI Designer

$
0
0

Hello everybody,

 

to implement my requirements the custom reuse library function has to be called from UI with action parameters.

 

Unfortunately those parameters can be chosen either as constants or they ought to be BO-bounded.

On the following screenshot the standard SAP reuse library function is shown, but the behaviour is the same for the custom reuse libraries.

ReuseFunctionsParameters.jpg

 

Since the parameters have to be flexible and since my UI component isn't BO-bounded I can't pass the required parameters.

 

I assume this reuse functions functionality is designed in order to not be connected to the BO instances. So I don't understand why the parameters of the reuse function can't be chosen e.g. from the Data Model of the UI component.

 

Does anybody know how to call reuse functions without being forced to bind to some BO?

 

Best Regads.

Leonid Granatstein

Help on Error in cloud app studio

$
0
0

Hi Experts,

I met an error recently when I repeated the lesson on Youtube ( link: SAP Cloud Dev: 08 - Enhancing the Bonus Calculation - YouTube ).

It is to read sales orders and get the total revenue of one employee. I already imported 'AP.CRM.Global' like mentioned in the lesson,

but still got the following error message:

Not authorized to use SalesOrder in xxxx; it is not in the public solution model

2015-04-06 15_25_25-Y3V5K273Y_ - SAP Cloud Applications Studio.png

BTW, my back-end system is C4C and my studio version is 1502. The developer user I am using has only necessary work centers assigned to.

I would appreciate any information or help. Thanks.

Restrict OVS Entries Based on Field Value

$
0
0

Hello everyone,

 

I've had a look at this section of the SCN for help before posting here --- none seemed to quite fit the bill. Apologies if pre-existing help for this already exists.

 

I'm modifying the 'projects' WorkCentre for a customer: they have a Customer Contact field which I've added to both the project creation and project overview screens, and turned into an OVS which was easy. They now have an additional requirement --- filter that OVS based on the company named as the buyer on the project creation screen. In theory it's pretty simple --- only show those contacts who have the same company as field X --- but I can't figure out how to go about it. Is there a simple bit of Ruby script to filter this? Do I need to create a custom OVS and do some ABSL scripting? Any help would be appreciated.

 

Lewis

Insert an existing Item in the Overview of an BO Extension

$
0
0

Hi Guys,

My Problem: I wanna to insert existing Fields in the Overview but how:

I have this Opportunity with the external Parties:

 

inv2.PNG

 

I wanna to add those Party Role, Name and Adress in the Overview of the Opportunities:

invol.PNG

Has anyone an Idea or a Solution for this Probelm?

Regards Manfred


Error in Previewing _OWL_ view

$
0
0

Hi Export,

I did a lot of change on my Business Object, and suddenly I had this error when I want to preview _OWL_ and got the following error.

I searched a lot and did not get an answer. Also I tried to rollback all my work but it did not work. 

 

Could anyone offer me a help on this?  Thank you very much

 

BTW, my backend is C4C and my studio version is 1502.

 

 

SAP.BYD.LS.UI.Core.Controller.Event.FatalEventProcessingException ---> SAP.BYD.LS.UI.Core.API.Connectivity.BackendProcessingFailedException ---> System.Net.WebException: [HttpWebRequest_WebException_RemoteServer]

Arguments: NotFound

Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.30514.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer ---> System.Net.WebException: [HttpWebRequest_WebException_RemoteServer]

Arguments: NotFound

Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.30514.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer

   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)

   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)

   at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)

   --- End of inner exception stack trace ---

   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)

   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

   at SAP.BYD.LS.UI.Core.Connector.Http.LsHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

   at SAP.BYD.LS.UI.Core.Connector.BulkConnector.Io.BackendAdapter.HttpWebRequest_BeginGetResponse_Callback(IAsyncResult asyncResult)

   --- End of inner exception stack trace ---

   at SAP.BYD.LS.UI.Core.Connector.BulkConnector.Io.ErrorAnalyzer.AnalyzeError(WebException cause)

   at SAP.BYD.LS.UI.Core.Connector.BulkConnector.Io.BackendAdapter.HttpWebRequest_BeginGetResponse_Callback(IAsyncResult asyncResult)

   --- End of inner exception stack trace ---

   at SAP.BYD.LS.UI.Core.Controller.Event.Operations.BackendOperationExecutor.HandleBlockingOperation(EventType operation)

   at SAP.BYD.LS.UI.Core.Controller.Event.Operations.BackendOperationExecutor.Execute(UXEventHandlerType handlerDefinition, UXEventHandlerOperationType operationDefinition, Boolean continueOperation, EventHandlerExecutionStarted handler)

   at SAP.BYD.LS.UI.Core.Controller.Event.Operations.BackendOperationExecutor.DoProcess(UXEventHandlerType handlerDefinition, UXEventHandlerOperationType operationDefinition, EventHandlerExecutionStarted handler)

   at SAP.BYD.LS.UI.Core.Controller.Event.Operations.OperationExecutor.Process(IEventProcessor eventProcessor, UXEventHandlerType handlerDefinition, UXEventHandlerOperationType operationDefinition, Boolean continueOperation, EventHandlerExecutionStarted handler, Boolean doFinalize)

SAP Cloud For Customer "Account 360 Setup"

$
0
0

Hi Experts,

 

I have requirement of "Setup Account 360 Setup" .

 

I hav follow the guide on cloud help center and configure the on-premise system as well as cloud system.

 

but when i check for the connection from on-premise system to cloud using Ping Test (Connection Test From SM59) it gives error as shown below.

 

"SRT Framework exception: Service Ping ERROR: Error when calling SOAP Runtime functions: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED"

 

1) What is the prerequisite step(configuration) in on-premise system ?

2) What is prerequisite step(configuration) on cloud tenant ?

 

kindly help me if anyone have already configure the Account 360.

 

Many Thanks,

Mithun

Opportunity Copy Control

$
0
0

Hi All,

  My requirement is to enhance the standard "Copy" functionality in an Opportunity.  I have to copy certain standard / extended fields, default others and prevent copy of some fields.

 

  The approaches I have checked are:

1. Enhance standard Copy action.  This action is not available in the extended BO and hence cannot be enhanced.

2. Remove the standard "Copy" button via extensibility explorer, but cannot add my own copy button with new functionality. 

3. I can add an OBN link to the standard screen which points to a custom QC screen of my custom BO.  Have limited success with this approach.

 

Please let me know if option 3 is the right way to achieve the required functionality or there is a better option available.

 

Regards,

Sai

Element type IntegerValue in a BO Extension

$
0
0

Hi guys,

 

simple question:

why can not I create an element of "integerValue" in a BO Extension.

 

Capturar.PNG

 

Kind Regards,

1502: OData for Custom BOs

$
0
0

Hi experts,

 

with 1502 we now have the possibility of using OData on Custom BOs.

 

Under "ADMINISTRATION", we can now find the "ODATA SERVICE EXPLORER" WC-View. (pre-req. you have added the WC-View to your user)

 

Via Show "Custom OData Services" we can now create custom OData Services. After the creation and activation of the service you can get the metadata info via the following link:

 

https://xxxx.crm.ondemand.com/sap/byd/odata/cust/v1/customBO/$metadata

 

Getting data works fine for me:

 

 

 

Problem with Update / Delete / Create:

I am now struggling with Update / Delete / Create. With the chrome plugin POSTMAN I am always receiving "CSRF-Tokenvalidation failed". Is someone aware, how I would need to set up the configuration to get Update / Delete / Create running or is this maybe not supported? I did not find much information in the Admin-Guide and SDK-Guide around that topic.

 

Example for DELETE failing:

https://xxxx.crm.ondemand.com/sap/byd/odata/cust/v1/customBO/customBORootCollection('UUID') - sent with http-"DELETE" leads to "CSRF-Tokenvalidation failed"

 

And a general question:

For which cases would you prefer using OData instead of SOAP-WebServices?

 

Thanks for your input

 

Best regards

Tom

Viewing all 1333 articles
Browse latest View live