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

Trigger Event Handler/ Execute Button using Script

$
0
0

Hi Expert,

 

I have few question.. . I have search in google but dint find any info related to below questions.

 

1) Can we trigger Event Handler using .absl script.

 

2) Can we execute a button using .absl script.

 

3)  Can we open a link(www.google.com) using .absl script.

 

4) Can we call/trigger Operation Types using .absl script.

 

I have raised this question because recently i came across a requirement where i need to extend a screen with Button. I have placed button on screen but i am not able to change it's properties( e.g: Onclick).By default button is binned to it's script. So i want to access either Event Handler or different Operations Types(e.g open link) using script. Below is the image for reference.

1.png

2.png

When i click on "+". It is not allowing to add other Operations Types.

 

Thanks,

Quddus.


No AfterLoading event in BO Extension

$
0
0

Hi all.

 

I need to enhance a standard BO and need to add a field-A. The newly added field has to dynamically enabled/disabled.

My Approach is to add a new field called "EnableIndicator" to the BO and populate this field based on some logic in AfterLoading event. In the

Extensibility Explorer i will adjust the properties of field-A to bound to the EnableIndicator.

 

 

But the AfterLoading() event is not available when i extended the standard BO. Is there any way to meet this requirement.

 

 

Thanks,

Naga

How to query the Company Specific Price List?

$
0
0

Hello everyone,

 

I need to query the Price List by CompanyID and ProductID (Company specific Price List show option) from ABSL.

 

Screen Shot 2014-11-12 at 19.29.10.png

I'm trying to use QueryByTypeCodeAndPropertyIDAndPropertyValue into SalesPriceList BO, but no information about how to use it and how to configure the Query parameters for this search.

 

I have already trying to query using the Inbound Service QuerySalesPriceListInin whichsometimes there ismore information available, but with the same result.

 

Does anyone have experience on how to get this kind of price list?

 

Thanks in advance for your help!

 

Óscar

 


Create a New Address in a Business Partner

$
0
0

Hello Community,

in a Cloud for Customer (Sales) solution we got recently the requirement of automatically creating a new Address for a Customer (Account or Individual) via an external interface connected by a Mashup service.

 

The data from the Mashup is coming correctly. Our issue is when we try to use the ABSL Code for creating the Address, for which we used the following code lines:

 

 

importABSL;

importAP.Common.GDT;

importAP.FO.BusinessPartner.Global;

importAP.FO.Address.Global;

 

varbp;

varaddressInfo;

varaddress;

varaddressNode:elementsofBusinessPartner.AddressInformation.Address.PostalAddress;

 

bp = BusinessPartner.Retrieve(this.BusinessPartnerID);

 

if (bp.IsSet()) {

       addressNode.StreetName = this.StreetName;

       addressNode.HouseID = this.HouseNumber;

       addressNode.CityName = this.City;

       addressNode.CountryCode = this.Country;

       addressNode.StreetPostalCode = this.Postcode;

 

       address= bp.CurrentDefaultAddressInformation.Address.DefaultPostalAddressRepresentation.Create(addressNode);

 

}

 

But, if we try to have a run in debug mode, we got the following error message tracked in the Output, and no Address has been created:

 

10:03:15 AM [1:E] Message     (BUSINESS_PARTNER, Address.POSTAL_ADDRESS) International address version Latin occurs multiple times. 

 

Could anyone give us any advice on this issue? Does anything miss in the Address creation lines.

 

Thanks a lot,

Davide

Adding Content to Email Body

$
0
0

Hi Experts,

 

I have added standard Email components on Ticket Screen. Now i want to fill the Email Body on click of custom button. Could any body help me out. How to achieve this requirement. Below is the image for reference.


1.png

4.png

Thanks,

Quddus.

C4C marketing permission integration

$
0
0

Dear experts

 

I have a question regarding Marketing Permission of a customer.

 

 

I am trying to update the marketing permission code ( Customer.MarketingPermission.MarketingPermissionCode) of a customer, but the problem is that I need to specify which channel I would like to modify the permission ( for example: I want to update the permission to “Opt-in” of the channel “Phone”).

 

 

How can I Specify to which channel I want to modified the permission code??

 

 

My code looks like:

 

 

// the variable customer is the Customer retrieved via Query.

 

 

customer.MarketingPermission.MarketingPermissionCode = this.PermissionCode;

 

 

// the problem is that how I specified that I need to change that permission code to a specific channel (FAX. INT, TEL).

 

 

 

 

Thanks for your help.

logon problem with cloud application studio

$
0
0

Hello community,

 

I try to login to a C4C system via the Cloud Application Studio, but I receive the following issue:

 

"You are already logged on to the SDK on system XXXX.
Multiple logons to the same system are not possible."

 

The user I am using has the 2 rights:

-)PARTNER DEVELOPMENT FOR MCS

-)PDI_PARTNER_DEVELOPMENT

 

I do get the same error for all systems I try to connect to.

I've also already tried to reinstall the application studio.

I'm using version 1508 patch 2.

 

br Michael

Development Language for SAP Cloud Application Studio

$
0
0

Hello Folks,

 

recently i started exploring cloud offerings from SAP. They are promising and i stuck with many doubts.

 

what is the development language for 'SAP Cloud Application Studio'.

 

i know it has separate SDK, but is it based on C++ or visual studio or any other?

i just want to know how they do customizations in Studio.

any tutorials or books related to development language for this studio.

I am CRM WebUI developer.

 

Thanks in Advance.


Daily mass data run for individual customers

$
0
0

Dear experts,

 

i would like to create a daily mass data run for individual customers that check the birth date and if it is equal to today, send an email.
How can i accomplish this task? My issue is how can i create a MDR for a standard BO.

 

Thank you very much in advance

Why Can't I Use A Certain EC In My Custom Screen?

$
0
0

Hello everyone,

 

I'm trying to create a certain work centre of my own. Basically, the requirement is to build a screen which is akin to the Sales Order Invoicing Overview view, but for Customer Contracts, as this apparently doesn't exist. To try and get the invoice schedule table, I noticed that in the Customer Contract OIF > Pricing and Invoicing > Invoice Schedule tab, an embedded component is used. I found this EC and put it on my OWL. Unfortunately, when I hit Save and Activate, it fails with the following message:

 

Can't Use EC.png

 

Which is annoying. That's before I even try to bind anything --- I get the same message after I try to bind it as well. Anyone got any ideas?

 

Lewis

SDK Extension Fields are not shownup in DMT

$
0
0

Hi Experts,

 

I am in a situation where I couldn't find the SDK extension fields are not shown up in my DMT's even after creating the extension scenario and enhancing those to the Inbound Services available.

 

My DMT's are downloaded a long time back from the project under business configuration and now after closure of the project related to this, I had taken up this extension for the Supplier bo and when I tried with the same old DMT's for these fields I am not seeing them

 

Any help on this.

 

Regards

Hanu

Create Quote without Product

$
0
0

Hi all,

 

In standard C4C, We can only create sales quote when you provide the product details in opportunity. Is there any way to trigger sales quote without entering product details.

 

Any inputs on this ?

 

 

Thanks,

Naga

How to create a node in Standard business object?

$
0
0

Hi Experts,

 

In the latest release mentioned that extension of custom node in the standard object is possible.

i.e Studio 1508 provides the support to add new nodes (custom nodes) to the Standard Business objects. i  was unable to achieve it because system encounters an error message "Node 'ExtensionNode' of business object 'BusinessPartnerRelationship' is unknown or not extendable"

 

 

Untitled picture.png

 

Help me to solve this.

 

Regards,

Rudhra

Query (Custom) Data Source from SDK

$
0
0

Hello,

 

We would like to display data from a custom cloud data source in some extensions fields on a screen. Is it possible to query a (custom) data source from the SDK?

 

Thanks for your time.

 

Regards,

Roelof

Survey Embedded Component

$
0
0

Hi,

 

Good day! I would like to ask if there's a way on how to "attach" or answer an existing survey (this is the questionnaire BO, right?) on other work center, like account? This is aside from the visit/task or opportunities. Currently we have a request that the survey should also be answered thru account's view. It would be much easier to the business user if they can access the survey on just a few clicks.

 

Is there a way to do this? (Hope that I could just embed the Survey questionnaire on an account that easily. )

 

Thanks and Regards,

Marc


Customer Sales org description from UUID

$
0
0

Hi Experts,

 

I have extended the SalesArrangment BO adding additional fields.

After that I have created an embedded component with this XBO and I have added it into the Account TI overview tab.

At the moment the embedded component shows the sales org UUID. How can I retrieve the description of the Sales organization from the UUID?

I saw that the FunctionalUnit BO is used for get the description from the ID.

 

many thanks in advance,

Kind regards,

Stefania.

Installed base and Installation point ID for integration

$
0
0

Dear experts

 

We are defining a conversion rule in SDK for objects Installed base and Installation point for C4C integration. We use an Installed Base ID as a key to mark a car plate number. The problem is that we can't find an Installed base (and Installation point) Ids configuring it in SDK. Could you, please, advise, what we are missing? Thank you in advance.

Installed Base ID.JPG

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

Dealing with customer specific fields on the partner development tenant

$
0
0

Hello all,

 

we are going to deal with customer specific fields which are created by the administrator in adaptation mode.

There is a special tool which allows the use of those fields - "References to customer-specific fields"

In order to use it you have to create those fields first.

 

Now my question is as for how we can develop a solution with such a requirement in the partner development tenant, as it is not possible to add customer fields there?

 

As SAP Case note 1679453 claims

" It is not possible to add customer fields (use the field extensions of the standard SAP Business ByDesign System) in partner development tenants."

 

Best regards,

Leonid Granatstein

Key User???

$
0
0

Hi, experts.

     May be just a stupid question.

     I am having trouble with defining what a key user actually is.

     So, what exactly is a key user?

     How can I create a key user?

     Which work centers are essential for a key user?

 

Regards,

Fred.

 

PS. I simply thought a key user is a business user.

Viewing all 1333 articles
Browse latest View live


Latest Images

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