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

Enabling a Text Box of Custom BO after raising an Error Message.

$
0
0

Hi guys,

 

I am new to SDK . I have designed a screen for custom BO in cloud application studio.

I need to validate the data. If the data is wrong I am raising an error message(Message of type "E").

But when error message is raised, input fields are getting disabled and user is not able to enter the data into the fields.

How to enable the input fields after error message is raised.

 

Can anyone please help me to get it through.?

 

 

Thanks in advance,

W Nikhil


Add fields via Adaptation Mode

$
0
0

Dear Expert,

 

About the custom fields added via Adaptation Mode, Is there a way to access to the value of the custom fields from the Sap Cloud application Studio ?

 

As I know, I have to add the fileds from the studio but I ask for it just for a confirmation that I'm doing in the correct way.

 

 

many thanks in advance.

Kind regards,

Stefania.

Delete records from a custom node in a standard BO

$
0
0

Hello experts,

I have a custom node in Opportunity BO. After the users perform actions, the node keeps updating with data but before save I need to delete some unwanted records.

How can I achieve this?

 

thanks

Mahesh

Issue - Navigation from OWL to QA screen

$
0
0

Hello All,

 

I am trying to navigate from OWL UUID to QA screen, to achieve this I created Object based navigation screens. Settings are shown below in screen shot:

 

 

Created OBN with Wizard

 

 

Outport

 

Event handler

 

 

 

I added Inport in QA screen manually:

 

 

While trying to navigate from OWL to QA then getting below error screen "Target not available":

 

 

Please advise what mistake I did in settings.

 

Regards

Nitin

REST Service call in Studio

$
0
0

Hi,

 

I am trying to consume a web service call (from hybris) in a script file in Studio. I have created the communication arrangement, scenario and even tested the arrangement's connection ping and it was successful. My code as shown below:

 

var URLParameter : collectionof NameAndValue;

var headerParam : collectionof NameAndValue; //

var URLParameterEntry : NameAndValue;

//XX.XXX.XX.XXX:9001/ws410/rest/catalogs/powertoolsProductCatalog/catalogversions/Online/products/2116275

URLParameterEntry.Name = "products";

URLParameterEntry.Value = "2116275";

//URLParameter.Add(URLParameterEntry);

var httpResource = "powertoolsProductCatalog/catalogversions/Online/products/";

httpResource = httpResource + "2116275";

var httpMethod = "PUT";

var body = "<product code=\"2116275\"><catalogVersion version=\"Online\"><catalog id=\"powertoolsProductCatalog\"/></catalogVersion><name>Prashanth</name></product>";

var httpformat = "text/xml; charset=UTF-8";

var result =    WebServiceUtilities.ExecuteRESTService("CloudhybrisProdUpdate","CloudhybrisProdupdate",httpMethod,httpResource,URLParameter,headerParam,httpformat,body);

 

var position = result.Content;

var res = result.RequestURL;

var resp = result.HeaderParameters;

 

in this code, instead of PUT method, if I pass "GET", I am getting the response. However, for "PUT" the result variable is completely blank. Please can you help?

Any one know how to use this UIcomponent(MultiStepApprovalReuse)

$
0
0

Hello

 

According to the customer's requriment ,they want to know who are the auditor when the user create and submit a form , so we need to create a controler to show the every approval step of the workflow in my solution UI, I've found out this UIComponent (SRM_MultiStepApprovalReuse_EC.EC.uicomponent) ,but I can't search any information about how to use that , if anyone know that please share with me.

 

Thanks & Best regards

Daniel

 

IU7TJ~9JE~CO{$L~J_6C500.png

Input field - display description instead of ID

$
0
0

Dear All,

 

How can I display description in my input search field if the field is of type ID?

 

Desired outcome:

3.png

 

I am stuck here:

2.png

1.png

I am using standard OVS.


Kind Regards,

Michal P.

How to add a button in Live activity of C4C

$
0
0

Hi,

 

Can any one could suggest me ,to add a button in Live activity of C4C.

 

Regards,

Prasad


CSV File Upload for Custom BO?

$
0
0

Hello everyone,

 

I'm wondering if it's possible to create a custom BO and corresponding WorkCentre, where one can input a CSV file (for example), and have an ABSL script strip the values out and process them. I know the SAP built-in file upload facility only takes XML thanks to this thread --- http://scn.sap.com/thread/3551730 --- but it is possible/feasible to build your own miniature one? No problem if it's not, I just want to know what's feasible. Thanks in advance.

 

Lewis

Enabling a Text Box of Custom BO after raising an Error Message.

$
0
0

Hi guys,

 

I am new to SDK . I have designed a screen for custom BO in cloud application studio.

I need to validate the data. If the data is wrong I am raising an error message(Message of type "E").

But when error message is raised, input fields are getting disabled and user is not able to enter the data into the fields.

How to enable the input fields after error message is raised.

 

Can anyone please help me to get it through.?

 

 

Thanks in advance,

W Nikhil

How to get MyAccount details in c4c OData Services ?

$
0
0

Hi Cloud Experts,

 

I got a requirement to get My Accounts details in OData Services like we get this in C4C based on the user logged in they will get My Account details  as displayed in below image.

 

ODataMyAccount.PNG

  So same thing i want to get in OData service, i want to know the flow to reach My account details.

 

Kindly help me in this..

 

  Thanks,

  Siraj.

XML File Upload for custom BO is not working

Cloud Studio SDK: Can we create embedded reports

$
0
0

Hi All

 

Hopefully someone can just let me know if this is possible or not. If not possible then hopefully this requirement will be noticed for a future release.

 

 

Requirement:

We need the ability to embed our custom data source report into the Account TI screen and pass account number to the report so we can display customer sales data.

 

Background Info:

I have created a report we wish to embed in the Accounts TI screen. Report was defined as follows.

EmbedReport1.png

I have extended the COD_Account_TI and created an embedded component called Report_EC in the charts tab.

EmbedReport2.png

I have used extensibility explorer and passed AccountID to my Report_EC as follows:

EmbedReport3.png

OK now that my component is successfully embedded, I need to attempt to call the Analytics components.


ATTEMPT #1 - Using ANA_ICP.EC

1. I have embedded the ANA_ICP.EC component inside the Report_EC:

EmbedReport4.png

2. I entered all the report details as follows:

EmbedReport5.png

Result 1: Report starts loading but never opens as below... (Loading Forever)

EmbedReport6.png

I then removed the references to Variant and View ID.

EmbedReport7.png

Result 2: Report loads with default variant, however I can't pass an account number to the report?

EmbedReport8.png

 

ATTEMPT #2 - Using ANA_ICP_Embedded.EC

 

  1. I have created an ANA_ICP_Embedded.EC component inside the Report_EC:
    EmbedReport9.png
  2. I created an outport on my Report_EC and configured as follows:

EmbedReport10.png

 

3. Data Model structure was added 'StructureForNavToSalesCycleReport'.

EmbedReport11.png

When I check the standard ACCOUNT_TI page, the following values are defined for the sales cycle report navigation:

EmbedReport12a.pngEmbedReport12b.png

 

EmbedReport13a.pngEmbedReport13b.png

4. I tried to replace __ROOT with Report_ID below and __TARGET with Report View ID below.

EmbedReport14.png

EmbedReport15.png

EmbedReport16.png

5. I clicked on the bind button in designer view from Report_EC and created a navigation link as follows:

EmbedReport17.png

EmbedReport18.png

6. I configured my Inport AccountID and bound to my data structure 'StructureForNavToSalesCycleReport' field (AccountID_ANA). Now I don't really expect this to work but I just followed the standard SAP configuration.

Note that I configured "Onfire" to eventhandler EV_ToSalesReport

EmbedReport19.png

7. EV_ToSalesReport has the following configuration:

EmbedReport20.png

EmbedReport21.png

Result: Report will not open

EmbedReport22.png

Question:

Is there any way I can achieve the requirement using the SDK tools available. None of this is documented and I am just trying to mimic the standard solution. What should be passed to __ROOT and __TARGET for this to work with a custom report/data source?

 

I changed the __ROOT and __TARGET (In data model) to the standard sales cycle report values and the embed works... as below:

EmbedReport23.png

 

This makes me think that everything I have done is correct except the data values passed.. however something happens behind the scenes I think.. maybe a SAP employee can help how I might pass to custom?

Split the string

$
0
0

Hi Experts,

 

I am looking for split functionality. Is there any keyword to split the string.

 

Thanks,

Quddus.

Extend Sales Order in C4C

$
0
0

Hello all,

 

 

I am trying to extend an existing business object of Sales Order (using the extend BO functionality in Cloud Application Studio). However, I can't find it in the

Add New Item -> Business Object Extension -> Namespace. I checked all the namespaces in the mentioned path and am still unable to find Sales Order BO to extend.

Eagerly waiting for valuable inputs.

 

Best Regards,

Nikhil


Unable to add buttons in ThingBased UI

$
0
0

Hi all,

 

I was trying to add Thing Based UI to my solution. I followed this link (SAP Cloud Dev: Thing-Based UI - 1. Basics - YouTube).

 

Here while adding screens I choose the option Screen Scenario with Thing-Based Navigation thus generating all screens. After following all the steps as per the video the button does not display in the preview screen and the GuestHouseID does not display as a link.

 

 

 

The next time I tried creating screens using tho option Single Screen option. This time the New Button was visible and the GuestHouseID displayed as links but the button nor the Id's did not trigger any pop-up when clicked.

 

 

 

Do provide a solution and Thanking in advance.

 

 

Regards,

Srinivasan.S

SAP Cloud SDK : Create Entry from ABSL (Root and Node Level) in Custom BO

$
0
0

Hi Experts,

 

Scenario: I want to create the data from ABSL code with root as well as node level data.

I have created the Custom BO with the below elements:

 

businessobject CustomAllActivity {

 

[Label("ID")] [AlternativeKey] element ID : ID;

[Label("Description")] [AlternativeKey] element Desc : LANGUAGEINDEPENDENT_Text;

[Label("Start Date")] element StartDate : Date;

[Label("End Date")] element EndDate : Date;

 

Node allActivity [0,n]  {

          element ActivityID : BusinessTransactionDocumentID;                              // Activity ID from Standard BO

          element ActivityName : EXTENDED_Name;                                              // Activity Name / Desccription  from Standard BO

          element ActivityType :  LANGUAGEINDEPENDENT_Text;                    // Activity Type(PhoneCall, Task, Email etc...) from Standard BO

          [DependentObject(TextCollection)] [MultipleTexts] node MyNote;             // Activity Notes from Standard BO

     }

}

 

I want to get all the Activity ( Phone Call , Task , Appointment , Email ) and Store into the Custom BO node entry based on the Date..

I have created the Object-based screen for this business object.

I want when user click on New from OWL under the QA screen user can able to enter the "Description , StartData and EndDate" and save the entry based on start date and end date i need to fire a query on date of creation in activity and based on that store data under the custom entry in node allActivity 

 

Readandupdate.png

Please refer the above screen for more details.

 

at last i want the code to save the root level as well as node level data in same time on custom action or standard event(AfterModify , OnSave etc....)

 

Kindly help me to solve this issue.

 

Many Thanks,

Mithun

Custom Approval Process for Customer Invoice

$
0
0

Hi experts,

       

As far as I know, there is no standard approval process for Customer Invoice.

I am trying to implement Custom Approval Process for Customer Invoice by using a custom BO.

The result is not as expected.

Please give me some advise on how to approach the process.

Any tip is super appreciated.


Best Regards

Fred  

CSV File Upload for Custom BO?

$
0
0

Hello everyone,

 

I'm wondering if it's possible to create a custom BO and corresponding WorkCentre, where one can input a CSV file (for example), and have an ABSL script strip the values out and process them. I know the SAP built-in file upload facility only takes XML thanks to this thread --- http://scn.sap.com/thread/3551730 --- but it is possible/feasible to build your own miniature one? No problem if it's not, I just want to know what's feasible. Thanks in advance.

 

Lewis

Requirement :

$
0
0

Hi Experts ,

           My requirement is in Sales Quote when we go to Products tab and add product from Add button Its store in "PRODUCTS" table now requirement like when user click on any product row from "PRODUCTS" table under custom embed component called "Settlement Periods" populated to specific Product line Item in table level.

So every product line item have separate Settlement Periods so It will be changes dynamically based on selection of Product from Sales Quote.

Please check below image of my required screen .

 

 

Thanks and regards ,

Lokesh .


Viewing all 1333 articles
Browse latest View live


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