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

How to query two different BO and display the data in OWL

$
0
0

Hello Colleague,

 

In one of my requirement I need to query two different BO and display the data in OWL result screen . Using the standard OWL component i can bind query of only BO search query . I need to search first BO based on the some of search criteria and then query another BO with the result list obtained in first query and using remaining search parameter .

 

For example

 

In OWL screen we will have the following search parameter .

   i  First Name

   ii Last Name

   iii Relationship Attribute

 

When user enters all the search parameter and clicks "Go" the following logic should be executed.

   i. Query Business Partner BO and get all contacts matching the First Name and Last Name criteria.

 

   ii. Now query the second BO(custom one)  passing the search result found in step i. above and Relationship Attribute  search criteria  provided to get the final match list and display the contact and their relationship attribute information.

 

 

Thanks in advance.

 

With regards,

Saurabh Kumar Pandey.


Error accessing service; Service Ping ERROR: Error when calling SOAP Runtime functions: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_SSL_ERROR") ()

$
0
0

hi,

 

 

We going to Connect SAP Cloud for travel and Expense with SAP and we getting below errors . Kindly help me to solve this issue

 

 

 

Checking connection failed

 

Ping failed

 

 

Error accessing service; Service Ping ERROR: Error when calling SOAP Runtime functions: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_SSL_ERROR") ()

 

 

Regrads

Ajeesh.s

Unable to see XBO extension fields in production tenant!

$
0
0

Hi Experts,

 

We have recently uploaded and activated a solution in a production system. This solution contained a BO extension and extension fields which were extended to the relevant BO screens. After scoping the solution in the system the fields we have added to the screens are not visible! My guess is the fault lies with the way I set up the BAC elements, I just added a simple Business Option with a simple scoping question. I am not sure if I needed to add the extension content to some sort of scoping object.


The solution content is as follows:

 

 

Supplier Extension 1.PNG

 

 

The BAC Element has been set up as follows:
Supplier Extension 2.PNG

 

Supplier Invoicing 3.PNG

 

 

This is a very frustrating problem, again, my only guess is that I did not add some content to some configuration element. Do I need to create a BCO or something? Your help would be very much appreciated!

 

Thanks,
Alexander Ludwig

How to disable a solution in a Production system

$
0
0

Hello dear ByD community,

 

I am wondering how we manage the go-live of a custom solution and how we manage issues through a recovery plan.

 

Imagine you have an issue in a Production system but you do not know where the dump is coming from. And you have scoped add-ons on the same process where you get the issue.

 

- What do you do first?

 

- Do you un-scope your solution and everything is OK?

 

- How can we disable a PROD solution as there is no "Disable" button in the implementation manager for PROD tenants?

 

- And finally, how to isolate the origin of the issue? That is to say, how can you know if the issue is coming from your solution or if the issue is coming from another process?

     - Is the Dump analysis only showing dumps coming from custom solutions?

     - Or does it show every dumps you face in the solution? (which I doubt as we had some dumps today and not a single one is displayed in the Dump Analysis)

 

The go-live process for add-ons is a bit shady as the documentation only mentions to activate the solution then make the customer scope it.

But I think it is very important to prepare a recovery plan (perhaps this is my ECC habits re-surging).

 

Thank you all for your attention.

Best regards.

Jacques-Antoine

Conditional mandatory fields in SAP Cloud(C4C)

$
0
0

Hello Cloud folks,

 

I have a basic requirement that, when we change any opportunity status to "Won", we need to make few fields are mandatory.

Can anyone worked already on this? I have a idea we should work on on save even in the the extension of standard BO. But looking more help into that.

 

Thanks,

Bala.

Restricting account lists visibility in Cloud for Sales

$
0
0

I have a prospect with a unique requirement to allow agents/users to only see account and contacts for which they have searched. The use case is that someone calls into the customer hotline and the user has the ability to search for that person in the system. This "caller" (which would be a contact record) may or may not be assigned to another user. The user should only be able to pull up that caller's information which was either entered in by another agent or imported into the system by the admin. Typically the search capabilities of the system are based on assignment rules; however, this customer only wants the user to be able to see the accounts, contacts associated with a specific search term. Is this enhancement possible?

Process Extension Scenario(SalesOrder -> Invoice Request)

$
0
0

Hi, experts.

     I am having trouble with the process Extension Scenario.

    1. I created a process extension scenario like the following.

     sales order scenario.png

2.I added an extension field to the scenario in the SalesOrder.xbo's definiiton. Just like this.

[Label("From Sales Order")][Scenario(SalesOrder_XS_Test)]element N_SalesOrder_XS : LANGUAGEINDEPENDENT_EXTENDED_Text;

 

3.I added the extension field to the General Information section group of SalesOrderQAF.
4.I also added the extension field to the General Information section group of CustomerInvoiceDownPaymentQAF

5.I saved a new sales order with some data in the newly extension field.

6.I created a new down payment request from that sales order.

invoice request.png

But the annoying prolem is that the data in the new extension field cannot be transfered from Sales Order to invoice request.

 

Regards,

Fred.

Reuse User-defined fields in Cloud Application Studio

$
0
0

Hello Community,

we are considering the case of extension fields created in Cloud for Customers at the User Interface level.

 

We discovered (even by reading some articles on the SCN, such as the following: http://scn.sap.com/thread/3438267) that fields created at Key User level are not available to a Developer User, and consequently on the Cloud Application Studio.

 

But consider the scenario where the Key User adds new fields and later on (maybe 6 months later)  would like some development on those fields. Is there any options we can adopt to fullfill this scenario?

 

We will be waiting for your feedback, and always available for further clarification.

 

Cheers,

Davide


Using soapUI on SAP outbound WSDLs give error "Found nothing to import in..."

$
0
0

When I export a SAP standard WSDL for an outbound webservice,  I get an error when I try to open it in soapUI.

 

An outbound webservice could be something like the 3PL Outbound Delivery Request webservice, which BYD calls the external system to send an order to start shipping.  Since it's an external API (that is, not in SAP BYD), there is probably not an endpoint in the WSDL.

 

When I create a project around this WSDL, soapUI complains "Found nothing to import in file ....<WSDL name>".

 

Has anyone figured out how to fix this ?  I assume probably something in the WSDL needs to be added or edited.

 

Appreciate your tips.  Thanks ahead !

SAP Cloud SDK : Create OData Service For Custom Business Object

$
0
0

Hi Experts,

 

I have developed custom business object using SAP Cloud Application Studio.

I want to know can we create OData service for the custom business object?

If yes what is the steps require to do that?

If No what is the alternative way to do that?

 

I want to connect Cloud Custom solution with HTML5 / SAPUI5 apps. so please suggest me what is the best way to connect both.

 

Many Thanks,

Mithun

New communication arrangement for Maintain pricelist

$
0
0

I am planing to crate pricelist with Maintain pricelist WSDL through web service.

When i am trying from SOAP UI getting error message like: System error during SOAP processing.

this could be due to authorization issue.

When i checked i came to know that i should create communication arrangement.

In Application user and management -> New communication arrangement

I need to select communication scenario but looks like there is no scenario for Maintain price list.

Please let me know how do we do this.

 

 

 

Thanks,

Mahesh Gattu

Scripting and Null comparision

$
0
0

Hello,

 

I am trying to do a comparison of the value in the this.CurrentDefaultAddressInformation.Address.CommunicationPreference.CorrespondenceLanguageCode

field with null.

 

The problem is that when this field does not have a value, a null is returned but I cannot compare this directly. So I could not use

this.CurrentDefaultAddressInformation.Address.CommunicationPreference.CorrespondenceLanguageCode.ToString == ""

as this gives a short dump.

 

Any ideas how I could stop the user from leaving this field null but make a selection always.

 

Thanks and Regards,
Vikram

How-to configure the layout of an OWL: List, Card view or Tiles

$
0
0

Hello dear ByDesign experts,

 

I saw/read that the Thing type navigation of Cloud for customer allow to configure the layout of an OWL between three choices: List, Card or Tiles. Thank you Thomas Schneider !

 

Besides, I can see that the Product OWL in C4C presents these 3 choices. You can see the Products in a List, in a Card view or in Tiles.

 

Is this possible in the SAP ByDesign UI Designer ?

I can see that the Report Gallery in SAP ByDesign is displayed as the Products in C4C, so it should be possible but I do not find how.

 

How-to change this settings in the UI Designer in order to display the OWL as a Card view ?

 

I tried through the creation of AlternateVisualizations, but I cannot find where is the choice between standard OWL list, Cards or Tiles.

 

Any help on this matter would be greatly appreciated !

 

Thank you all for your attention.

Best regards.

Jacques-Antoine Ollier

A2X - Checking connection failed : point to point - ERP - C4C

$
0
0

Hi Expert,

 

We going to Connect SAP Cloud for customer with SAP ERP and we getting below errors . Kindly help me to solve this issue

 

Checking connection failed

Ping Failed

Error accessing service; Service Ping ERROR: Target service not allowed (403)

2015-01-06_12-40-21.png

Access Context and Access Control

$
0
0


Hi, experts,

      I am having trouble with understanding what are access context and access control and how to use them.

      Please help me understand.

      My objective is simple : to show Purchase Orders according to specific suppliers.

 

Special thanks in advance.

Regards,

Fred.


Programmatically writing Involved Parties in ABSL Code

$
0
0

Hi Community,

we are focusing on the task of writing dinamically new Involved Parties in the ABSL Code for an Opportunity document (namespace: http://sap.com/xi/AP/CRM/Global), in a Sales Scenario. The Party Role has been correctly defined in the Business Configuration (custom code: ZSALES0100) and in the Involved Parties Configuration for the Opportunities. If we try to add manually (via UI) the Partner to the Involved Parties of an open Opportunity, that works fine.

 

Our question is then how to achieve the same result dinamically in the ABSL Code. For this purpose, we tried the following code:

 

varopportunity:BusinessObject::Opportunity;

varrefOrgParty:BusinessObject::Opportunity.Party;

varelOppParty:elementsofopportunity.Party;


opportunity = Opportunity.Retrieve(this.OpportunityID);


if (bp.IsSet()) {

       elOppParty.RoleCode ="ZSALES0100";

       refOrgParty = opportunity.Party.Create(elOppParty);

       refOrgParty.Party.BusinessPartner.InternalID = bp.InternalID;

  }

 

but unfortunately that code leads to an exception, because the node refOrgParty.Party.BusinessPartner seems to be null. Nevertheless, we are not even able to write in the same node, because seems to be also Read Only.

 

Do you have any hint on how to get the desired result? It has been correct to consume the object refOrgParty?

 

Thanks a lot for your support.

 

Cheers,

Davide

C4C: programmatic Party Role Code processing in Leads

$
0
0

Hello Community,

we are currently building a Custom Solution on the Cloud Application Studio containing some enhancements on C4C Sales Documents (Leads and Opportunities) Party Processing. The logic to implement should process specific Parties in the Involved Parties list according to their Role Code.

 

In particular, the solution we found for the Opportunities (BO:Opportunity, namespace: http://sap.com/xi/AP/CRM/Global) is the following:

 

foreach (varpartyinopportunity.Party) {

       rc = party.RoleCode;


       if (rc == constant) {

            

              // process the Party...

 

       }

}

 

We found that this logic works correctly for the Opportunities, but not for the Leads, because the RoleCode field seems to be missing in the Party node for the Business Object Lead (namespace: http://sap.com/xi/AP/CRM/Global), as shown in the picture below:


2015_01_19_09_46_43_YPVMAT5JY_SAP_Cloud_Applications_Studio_Administrator_.png

 

Nevertheless, we discovered that the information in our C4C tenant has been correctly saved, as shown in the picture below:

2015-01-19 09_51_24-Test Parties - SAP Cloud for Customer - Internet Explorer.png

 

I tried to checkout which could be the field mapping for the Leads Thing Inspector Screen (tech name: COD_MarketingLead), and its Data Model actually has a field called EPRoleCode, as shown in the picture below:

 

2015-01-19 09_57_06-COD_MarketingLead (https___my307760.crm.ondemand.com) - UI Designer.png

but that seems to not be bound to any data in the BO Model.

 

Since the information of the Role Code for a Party has been actually saved, how is it possible to retrieve it the BO Repository in the ABSL Code?

 

Thanks a lot for your support.

 

Cheers,

Davide

Cannot create SADL Query for Party

$
0
0

Hi experts,

 

         Wheneve I create and activate an SADL query of Party BO (AP.FO.Party.Global), an error occurs in UI desinger.
         SADL query for Employee is possible.

         But why can't I create SADL query for Party?

 

Special Thanks in Advance.

Regards,

Fred.

Error while deleting/ updating an extension field via Cloud Applications studio 1411

$
0
0

Hi Experts,

 

I am trying to change the data type of an extension field in the extended BO. The solution is a patch. For this, first I am trying to delete the existing extension field and then add it again with new data type. But every time I delete the existing extension field and activate the extended BO, I get the following error:

Activation_Error.png

I need to change the CompetitorFireSprinkler field's data type to a code. Any thoughts on this ?

Any help will be highly appreciated.

 

Regards

Shruti

Is it possible to use UI5 to develop ByDesing views?

$
0
0

Hello dear ByD experts,

 

I have a requirement to build the Product list UI in SAP BYDesign as a DataSet of UI5. The DataSet view is a default view in C4C for the Product list but it is not in ByDesign. Only the OWL in ByDesign Product list.

 

I do not know if we are capable of doing this using the UI designer of ByDesign as there is no MatrixLayout or DataSet controls in the UI Designer. If someone knows how, your help would be greatly appreciated !

 

If it is possible through the UI Designer: perfect !

However, my second guess was to develop a DataSet using a UI5 Project. But I do not know if it is possible to call the UI5 Library from the UI Designer code editor.

Do someone has a clue on how to use UI5 controls and layout in ByDesign? If it is possible of course.

 

This is what I want for my Product List in ByDesign, the icons being replaced by images:

2015-01-14_14-02-38.jpg

 

Thank you all for your attention.

Best regards.

Jacques-Antoine Ollier

Viewing all 1333 articles
Browse latest View live


Latest Images

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