Quantcast
Channel: SCN : All Content - SAP Cloud Applications Studio
Viewing all 1101 articles
Browse latest View live

Creating Transient BO in After Load Event

$
0
0

Hi all I want to create transient BO with sub-nodes and fill it with data on After Load Event.

Unfortunately that is not possible because .Create method on node is not allowed during After Load Event, no Mather that the all BO is transient.

any clue how can I  trigger other event in the end of After Load so that I can create transient BO.

Cheers Ognian


Item Details not getting populated in OWL Screen

$
0
0

Hi Experts,

 

I have created a Custom BO with Root and Item node.I need to design a OWL screen which should populate the item details when a root instance is selected.The binding for the item node fields are done properly but still am seeing only an empty item table when i select a particular instance in the OWL.

 

I have attached the screen shots for reference.Please help me to figure out the issue.

 

Thanks in advance.

 

SS1.pngss2.pngss3.pngss4.png

 

Regards,

Navin Kandasamy

Not able to see the changes made to solution using different system

$
0
0

Hi Experts,


I have created the solution in the tenant after activation i have made some changes in the solution. When i login into the same tenant from another system using same developer id and check the solution I am not able to see the changes. But if i login into tenant from the system using which i have created the solution i am able to see the changes. Cloud any body help how can i see the changes made to the solution of same tenant from different systems.

 

 

Thanks,

Quddus.

Custom OVS

$
0
0

Hi,

 

I have a requirement as follows:

 

On a custom BO QC screen I have a customer field. At the moment it is using the standard Account OVS and this shows all accounts. I need the OVS to show only the Involved Parties of an Opportunity. I have the Opportunity ID in the QC so can pass this to the OVS.

 

I have created a custom OVS as per the help and based on the Opportunity BO and created a query based on ID. This works fine to show the Opportunity in the OVS and selecting this passed it back to the field.

 

Then I set the advancedlistpane to use preview and put a dependent advancedlistpane underneath (bound to ExternalParty node), with the hope that selection of the Opportunity would display the involved parties underneath and allow selection. I removed the OnLeadSelectionChange event from the parent advancedlistpane to prevent the OVS from being closed when selecting the Opportunity.

 

This doesn't work though as selecting the Opportunity does nothing. Ideally I dont actually want the Opportunity ID advancedlistpane at all, but binding directly to the ExternalParty doesn't seem to work.

 

Can anyone advise if I am on the right path and whether this sounds feasible or if there is a better approach for this?

 

Thanks,

Sam

Performance Tips in 1602?

$
0
0

under the 1602 help it describes this... However in the 1602 studio I am not seeing this option, am I missing anything?

 

 

A new feature is available for SAP partners writing ABSL code. Right click on any ABS file in the solution and then click on Performance Tips. A new modal dialog is displayed that can be expanded to see suggestions on how to avoid dumps and improve performance. Dump suggestions highlight the code where data can be initial at runtime. Performance check breaks down suggestions into three categories, each separated by an explanation text and an empty line:

  • Performance problems due to multiple retrieve statements: How to avoid redundant retrieve calls.
  • Performance problems due to trace statements: These statements should be removed before downloading the solution.
  • Performance problems due to create statements. The correct way to use create calls so as to avoid high processing times.

cannot edit code in SDK

$
0
0

Hello

My colleague created a small project that I have to update. However, I cannot edit the project, getting following error time after time

2016-02-24 16_02_38-YE2A2MX3Y_ - SAP Cloud Applications Studio.jpg

I'm pretty positive that the user ***QBY who reportedly locked required objects is not logged in at this time. Possibly he has to do something on his end before I can have a change/write access to his code?

 

Thanks

Multi Value Selection Based on Data Present in the DB.

$
0
0

Hello Experts,

 

I have a requirement like User wants to do multiple selection, that multiple selections should be based on the data present in the DB or In the Code List( these data's are present in the ECC system and these will be updated frequently) And I have to save the user selected values for later validation ,please tell me how to achieve this in c4c? and I have red in one blog its near to Multi Value Code List(MVC). But I have not understanding how to do it ?. And also there is no help Document for this .

 

Please guide me, how to solve this requirement, which technical thing is fit here ???

 

Thanks in Advance.....

 

Thanks and Regards

Ravi

Acquire Custom fields via CTI Adapter

$
0
0

Hello Community,

In our project we have a Customer Service Management scenario, with the integration between a third party/legacy CTI environment and a Cloud for Customer solution. In this CTI->C4C integration we may need to pass to C4C a subset of custom information available in the CTI.

 

Via the CTI Client Adapter simulation tool, we noticed that the inbound call can pass a set of Custom fields as URL parameters. We show a picture of those fields in the simulation tool here below, and how those fields propagate in the Live Activity Pane:

 

2015_08_24_16_16_17_Simulation.png

Unfortunately, if I check those fields in the SDK UI Component for the Live Activity Pane (file: CTI_Shelf_QAF.QA), they don't seem to be bound to the Activity BO Model:

 

2015-08-25 09_42_08-CTI_Shelf_QAF (https___my307637.crm.ondemand.com) - UI Designer.png

 

Furthermore, we noticed that the Outport OpenSearchScreen is the only one which can use that list of fields, but this outport cannot be reused for binding an Embedded Component to the UI Pane:

 

2015-08-25 11_26_36-CTI_Shelf_QAF (https___my307637.crm.ondemand.com) - UI Designer.png

 

Is it possible in any way to reuse those information in C4C?

 

Thanks a lot for your collaboration.

 

All the best,

Davide


Webserver with complex structure and foreach works very slow

$
0
0

Hi all I have tree layer BO

and each node layer between 2 to 100 elements

node layer one [10 to 100]elements

          subnodelayer1.1[1 to 10] elements

          subnodelayer1.2[1 to 50] elements

               subnodelayer1.2.1[1 to 10] elements.

I have one BO in foundation which holds the master data .

and two objects (one of it is transient) in CRM with the same structure.

Whenever I consume service, create transient BO or the final BO. It takes up to minute to create data ( each task about 20 sec).

Why this is so slow is this because development systems are not on HANA or I should expect similar behavior in productive ?

Up to me foreach with create in it works very slow.

Cheers Ognian

Communication Arrangement is missing for Patch Solution

$
0
0

Hello experts,

 

Horst Schaude

 

I created communication scenario and arrangement in Dev Tenant.I created a new patch solution for the original solution and enabled the patch solution. While i am testing the patch solution i got an error saying communication arrangement is missing. Do i need to recreate communication arrangement in for patch solution?

 

 

 

Thanks,

Naga

How to use the Mass data Run Wizard for the standard Business Object Extension.?

$
0
0

Hi Experts,

 

I have to use the mass data run wizard for the one of the status of the ActivityTask. Will it possible to use this wizard for the extension of the standard Task?

If any one already used this wizard for the standard objects please share ..

 

Thanks ,

Mani

How to filter OWL after query.

$
0
0

Hello there!

 

Is there a way to automatically filter the OWL list after it was loaded?

 

I want to create the same result as shown below but automatically. Unfortunately, the query does not have the parameter I need, so I want to filter after.

 

OWLIssue.png

 

Thanks in advance,

 

Alexandre.

Extend Customer BO with custom node

$
0
0

Hello community,

 

As described in the documentation, not all the standard BO are extendable with custom nodes.

The Customer BO is not part of the "chosen ones".

Is this planned in the future that all the standard BO will be extendable or is there some technical limitation that prevent some of them to be extendable?

 

Best regards,

Benjamin

easy check and error message for different transactions

$
0
0

Hello everybody,

 

I have the requirement to implement the same check on different transactions (like Lead and Opportunity).

I want to be a good programmer that's why I thought I can create  my reuse library, implement an action and call this action from onSave event of my extended Lead and Opportunity.

 

My problem is, that I have to throw an error message if the check isn't successful.

(Something like: "Please enter XXX")

It is not possible to raise this error message from the reuse function, isn't it?

Does someone has another Idea how to solve this problem without writing the same code 3 or 4 times in different xbos?

 

Thanks for your help.

 

Best regards,

 

Astrid

SAP C4C SDK - Dynamic notes field for Accounts

$
0
0

Hello All

 

I am trying to add new notes field in standard Accounts screen as an EC. And trying to pass the notes field from script. I m stuck with the below things pls assist me.

 

1. I have used TextEdit as notes field in EC. Here I dono how to add newline separator through code or through properties

2. I m trying to add sticky notes dynamically from script - is this possible?

3. I m trying to have my notes in advancedlistpane and tried to group it - is grouping helpful only for mathematical operation?

 

Please help me

 

Thanks & Regards

Swadini S


Can't access the inport parameter at sap.byd.ui.mashup.context.inport

$
0
0

Hi,

 

I am trying to create a mashup in Cloud for costumer that loads the account id from the current costumer and using that variable load an url.

 

2015-01-12 14-12-44.png

 

When I test the script using the Preview button Everything works but when loading the mashup in the regular interface I get the error undefined while accessing any object further down than: sap.byd.ui.mashup.context.inport

 

What do I need to change to be able to access the objects?

Cretae Event-afterModify at Business Object Extension Activate Error

$
0
0

Hi, experts

 

I Extend custom field on Customer, I create script file AfterModify

activate Event-AfterModify is OK

but activate XBO show error

 

 

2016-2-26 下午 05-55-06.png

 

Excuse me, How can I do to use aftermodify.absl at customer's XBO object

 

 

regard,

Daniel.

Dynamic dropdown change value, child dropdown list still old value

$
0
0

Hi experts,

 

I create two BCO(city, town), then define two element use it.

 

city

A

B

C

 

town

A1     A

A2     A

A3     A

B1     B

B2     B

C1     C

C2     C

C3     C

C4     C

 

I set codelist context mapping,

 

I chose A, then A1,A2,A3 only see, I chose town is A2.

Then I changed the city B, but the town is still A2. (direct click save is ok)

I think it is not the correct control.

 

Q1、It can be set to null or B1(the first data)

 

Q2、Also, can I write absl(event-afterModify) to control custom field properties(ex. Visible, Mandatory, Readonly...)

 

 

Regards,

Daniel

SAP ByD - Enhancement PDISetLegalClassCode

$
0
0

Dear experts,

 

 

I would like to set up number range format of invoice document base on my Thailand localization requirement. I have digged into the document to do the

 

Enhancement with  PDISetLegalClassCode  for accomplish this task. However when I have to write a code in

 

SET_LEGAL_CLS_CODE.absl which was generated from enhancement object creation. I can not use BusinessTransactionDocumentLegalClassificationCode  as it said there are other data type with the same name in different package.

 

 

2-28-2016 2-56-18 PM.jpg

 

Then I try to add a prefix to indicate that the data type should come from which package.

 

But It said  prefix AP is not found.

 

2-28-2016 2-58-02 PM.jpg

 

 

Could someone please share the way or an exmple of using this BADI Enhancement option ?

 

 

Best Regards,

Krit R.

How to create a Print Button

$
0
0

Hi, experts,

     How can I create a print button for a report that will actually send to a printer?

     I can create a preview report.

     But I don't know how to create a print button for that report.

     I can't find any information for that.

     I have heard that Print is not possible in version 1311 and older?

     But is it possible now in 1402??

Please confirm.

Regards,

May T.

Viewing all 1101 articles
Browse latest View live


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