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

Add Button/Text on Section header

$
0
0

Hi Experts,

 

How to add button/text mentioned in the below image with yellow colored area.

 

 

Regards,

Manohar


Exception on Save - when there is custom enhancement in BO

$
0
0

Hi all

 

I have a requirement to add new extension field to Opportunities. Below are the things I have done.

 

1. Created new xbo for Opportunity.

2. Added new field "element ztest: Indicator" in Root node.

3. Enhaced screen of COD_OPPORTUNITY_TI

4. Using extensibility explorer, I have added my extension field in header of Opportunity.

5. I have created script files, on before save I have done my logic.

 

The field has been added successfully. Now I am unable to create new opportunity, on save its throwing an unhandled exception. I have raised an incident regarding this and got response saying that problem is with my solution.

 

I have deleted and created new one but still getting the same. I dono y whenever custom solution is done am getting exception in standard bo.

 

Kindly give your inputs.

 

Regards

Swadini Sujanaranjan

Automatic ID Generation

$
0
0

Hello everyone,

 

What would be the best way to automatically generate ID's (Alternative Key) for a Custom B.O.?

 

Thanks & Regards,

Glenn

SAP Demo Cloud Access portal

$
0
0

Hello good people,

 

I am new to the cloud platform. Every time I click on an icon in the cloud platform, it downloads a file with the name launch.ica which my computer cannot open after the automatic download. What do I need to do to be able to use the full features of the cloud portal?

SAP Cloud SDK : Embed Component With Action

$
0
0

Hi Experts,

 

We have requirement in one of the client as shown below screen :

 

SCN123Capture.JPG

 

1) Can we create screen as shown below with embed component and under that screen we can see that field , table (node level data) and action.

2) When User open any account and go to that tab / embed component AccounID filled automatically with existing account , user enter the field 1 , filed     2 , select dropdwon value and once click on "View Details" under the table result will be display in tabular format.

3) Can we trigger the custom action for custom BO and read data into the account screen embed component ?

 

I have tried using the business object extension but we can not add node level data  and custom action.

 

Using Custom business object how I can achieve it because normally i have seen that in the embed compoenet we display the Advance List pane and display the data from custom business object

But in this scenario i need to trigger web service on "View Details" button based on input and display the results in table in account level.

 

Regards,

Mithun

XML Input - Business Config. Object

$
0
0

Hello everyone,

 

I'm having some problems using XML input files to create instances of my custom B.O.

 

Here is the code for my B.O.:

businessobject SkillBO {        [Label ("Skill ID")][AlternativeKey]element ID:ID;  [Label ("Contact ID")] element contactID:BusinessPartnerInternalID;  [Label ("Primary Skill")]element mainSkill:MAINSKILLSBCOCode;  [Label ("Secundary Skill")]element subSkill:SUBSKILLSBCOCode;  [Label ("Skill Level")] element level:SkillLevelCode;  element nextAvaibleID:IntegerValue;  association ToBusinessPartner to BusinessPartner;
}

As you can see the "mainSkill" and "subSkill" elements are of a codelist datatype. This codelist is generated by a Business Configuration Object.

I also created Business Configuration Sets to provide values for these elements.

 

I don't know what values to put in my Excel-file for these elements. I've tried the code, the actual value, etc. ...

But every time I try to upload it (after converting the Excel to XML of course) nothing happens.

 

For some reason I can't attach the XML, XLS or XSD...

If you need more information, feel free to ask.

 

Thanks & Regards,

Glenn

Add Extension Field to Advanced Filter

$
0
0

Hello everyone,

 

Simple question today:

 

Can I add an extension field to the advanced filter on the OWL of a standard Business Object? (Example: Contact OWL)

If yes, how would you do this?

 

Thanks & Regards,

Glenn

Filter OWL by Group Count

$
0
0

Hello everyone,

 

As you may know you can group records by a certain element in an OWL.

When you do this, it looks like this (in my example):

 

Skills_OWL[OrderByGroupCount].png

 

As you can see next to the group a count for the amount of records in that group is shown (circled in red).

 

I was wondering if it is in anyway possible to filter or order by this count?

 

For example:

 

Would it be possible to only show groups where the group count is greater than 1?

 

I've read this thread: Group by any field (SDK), but I'm not sure this is what I need...

 

Thanks & Regards,

Glenn


Automatic Refresh HTML Mashup

$
0
0

Hello everyone,

 

does anyone of you know how to automatically refresh a

mashup once the input parameter changed?

Thanks a lot in advance for your help!

 

Best wishes,

Jan

SAP Cloud SDK : Default Check in Marketing Lead for Field "Use Existing Account"

$
0
0

Hi Experts,

 

I have requirement to enhance the standard business object Marketing Lead screen. In that screen i need to make default check on "Use Existing Account" checkbox when user click on New Marketing Lead or QC option.

 

I have tried using Application studio but the field "Use Existing Account" not exist in cloud repository its on Front-end UI screen.

How i can make default value check to this checkbox in UI designer for standard screen

Or

How i can make default value check to this checkbox using ABSL code.

 

Please refer the screen as shown below.

MLeadCapture.JPG

 

Regards,

Mithun

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

C4C ERP data validation and initial data load

$
0
0

Hello,

 

We have a C4C system integrated with ERP over HCI. We have certain validations that we need to be in place for the Account data to be created correctly from C4C and sent to ERP.

 

However this script is in conflict with the initial data on the ERP system. ERP system has certain data fields which have become mandatory over time but then we need to move all the data from ERP to C4C without performing any validations.


Is there any field that tells me that this record is already created on ERP and hence I could guide my script to not perform any validations.

 

I was trying to use the following script but then it fails. I have this piece on the Validation_OnSave

 

var query_mapping;

            var sel_param_mapping;

            var result_mapping;

            var CustomerExternalId = "";

            query_mapping = ObjectIdentifierMapping.QueryByElements;

            sel_param_mapping = query_mapping.CreateSelectionParams();

            sel_param_mapping.Add(query_mapping.LocalObjectNodeReference.UUID.content, "I","EQ", this.UUID.content);

            result_mapping = query_mapping.Execute(sel_param_mapping);

            if (result_mapping.GetFirst().IsSet())

            {

                         CustomerExternalId = result_mapping.GetFirst().RemoteObjectID.content;

            }


I try to use the RemoteObjectId which I assume should already be set when the data is coming from the ERP to C4C


if(this.CurrentCommon.KNA1_KTOKD == "" || this.CurrentCommon.RF02D_BUKRS == "" || this.CurrentCommon.KNVV_VKORG == "" || this.CurrentCommon.KNVV_VTWEG == "" || this.CurrentCommon.KNVV_SPART == "")  && (CustomerExternalId == ""))

          {

                         if(userLanguage == "FI") { raise MsgERPData_FI.Create("E");}

                         else { raise MsgERPData.Create("E");}

                         //raise MsgERPData.Create("E");

                         return false;

            }


My expectation is that because the CustomerExternalId will have a value, the validation should not tirgger. This is unfortunately not happening


Can someone advise what am I doing wrong or a different approach


Thanks and Regards,

Vikram


Using a SOAP Web Service [PHP]

$
0
0

Hello,

 

I created a web service in the Cloud Application Studio for a custom Business Object I made.

I now want to create a new instance of this B.O. by using an HTML Form and PHP.

 

I tested the web service using SOAPUI and successfully created a new instance of the object.

 

However, when trying to do this through a HTML Form using PHP, I get following error message:

 

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://my307371.crm.ondemand.com/sap/bc/srt/scs/sap/yygyhi4a8y_webtoleadservice?sap-vhost=my307371.crm.ondemand.com' : failed to load external entity "https://my307371.crm.ondemand.com/sap/bc/srt/scs/sap/yygyhi4a8y_webtoleadservice?sap-vhost=my307371.crm.ondemand.com" in C:\xampp\htdocs\WebToLead\sendToC4C.php:58 Stack trace: #0 C:\xampp\htdocs\WebToLead\sendToC4C.php(58): SoapClient->SoapClient('https://my30737...', Array) #1 {main} thrown in C:\xampp\htdocs\WebToLead\sendToC4C.php on line 58

 

I'm currently trying to use following PHP-code:

 

//Setup SOAP Client      $url = "https://my307371.crm.ondemand.com/sap/bc/srt/scs/sap/yygyhi4a8y_webtoleadservice?sap-vhost=my307371.crm.ondemand.com";   $client = new SoapClient($url);      //Create Header      $auth = new Authentication($username, $password);   $header = new SoapHeader("http://0003427388-one-off.sap.com/YGYHI4A8Y_", "Authentication", $auth, false);      //Call Funtion   $result = $client->__soapCall("Create", array(         "WebToLead" => array(              "LeadID" => $ID_in,               "ProductName" => $PRODUCTNAME_in,               "ContactName" => $CONTACTNAME_in,               "ContactEmail" => $CONTACTEMAIL_in,               "CreationDate" => $CREATIONDATE_in         )   ), NULL, $header);      //Result   echo "<pre>".print_r($result, TRUE)."</pre>";   if ($result->Create->Status == "Success") {          echo "Lead created.";          }

I think I might be using a wrong URL for the web service.

Does anybody know where u can find the correct URL for your created web service?

 

Thanks!

Creating Relative Selection for Attendee(Pary Node)

$
0
0

Hi,

 

In Visit related reports, (Party)attendee information is important. Relative selection is not exist for searching attendee node information. As this node can contain Employee and Account related information. But considering that node filtered and having only non Account related information. Is that possible to implement custom relative selection on the Attendee(Party) node ?

 

I see, in "Business Analytics"--> Relative selection. There is no provision to create custom user/party relative selection. How this can be achieved ?

 

 

Thanks

Shridhar Shetty

SAP Cloud SDK : Custom Action on OWL screen

$
0
0

Hi Experts,

 

I want to know can we add custom button / (Call)custom action from OWL screen.

I have created 1 custom business object and under that i have define 1 custom action on root level.

 

To add custom action / custom button with custom action i have followed the below steps :

 

1) Open OWL in UI Designer.

2) Go to Toolbar and press configure button.

3) Add New Action and press ok.

4) Go to Controller and click on Create New Event

   -> Under the Event click on Add action and Select "BOAction" option select you Custom Action from the list and Click on "Bind Action" option.

5) Save and Activate it.

6) Now go to Custom button / New Action and go to Properties and assign in OnClick property and select that newly created Event.

7) When i execute it the Custom button not enable or its grayed out.

 

anyone have idea how to achieve it.

 

Regards,

Mithun


SAP CRM integration with C4C via HCI

$
0
0

Hi All,


We are integrating SAP CRM on premise with C4C via HCI. I would like to know the difference between SP 0 and latest release of CRMPCD01 Addon which required for the integration between SAP CRM and SAP C4C via HCI. I am aware latest version will make integration with HCI much easier and comes up with additional functionality such as an important feature of automatic configuration of code list mapping which can potentially avoid lot of manual work.



It would be great if any one provide us links or difference between SP 0 and other versions of this Addon CRMPCD01.


Thanks,

Rajesh N

Business Configuration - Task to Set Default Logistics Area

$
0
0

Hello!

 

I created a customer-specific solution with a BO Extension. The BO Extension includes a field logisticsArea and that field should have a default value, that is defined by the user.

 

The difficult part ist, that the user should be able to set a default logistics area. We thought about making a task in the business configuration, where the user has to define the default value for the implementation project.

 

Is this possible? How would you provide default value setting?

 

Kind regards,

Christine Toblier

SAP Jam Integration With SAP Cloud For Customer

$
0
0

Hi Experts,

 

Can anyone have idea about how we can integrate the SAP JAM with SAP Cloud For Customer .

 

Any document or any guide please share with me.

 

Appreciate your help.

 

Many Thanks,

Mithun

Data is not populated in Advanced List based on ABSL query

$
0
0

Hi,

 

I have one requirement that i have to create two advanced list pane in one Tab as shown package and opportunities:

 

Untitled.png

I have to perform some calculation on opportunities and populate the result in the package Advanced list pane.

Can you please suggest something why the data is not coming although data is flowing. i have checked using debugger data is coming but visible.

 

Can you please suggest whether i have to create any event handler for the same?

 

Thanks,

Malkit Singh

Automatic Refresh HTML Mashup

$
0
0

Hello everyone,

 

does anyone of you know how to automatically refresh a

mashup once the input parameter changed?

Thanks a lot in advance for your help!

 

Best wishes,

Jan

Viewing all 1333 articles
Browse latest View live


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