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

Message addition in Account Extension BO

$
0
0

Hi All,

 

While am trying to add messages to the extension BO of Accounts am getting the below error while trying to activate the BO.

The same error is not there for Opportunity or any other standard BO.

 

import AP.Common.GDT;

import AP.FO.BusinessPartner.Global;

 

 

[Extension] businessobject AP.FO.BusinessPartner.Global:Customer raises message1{

 

   message message1 text "Test";

  element riskcat:Identifier;

   

    node AddressInformation {

 

 

  element test:Identifier;

       }

   

    node Common {

  element riskcats:Identifier;

       }

   

    node CurrentEmployeeResponsible {

       }

    

 

}

 

Please advise how to skip the activation error.

 

Regards,

Papps.


Add report to owl screen

$
0
0

Hi All,

 

I want to add report which i created on custom business object to OWL screen. Please suggest the solution.

 

Tanks,

Quddus.

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  

Copy LiveCycle form between Tenants

$
0
0

Hi All,

Is there any way to copy a Livecycle form between tenants? If the two reports have the same structure.

best regards,

thanks,

Joe Gonzales.

Dynamically change column names and hide columns

$
0
0

Hello Gurus,

I need to dynamically hide some columns in a custom table based on some rules and rename some columns dynamically.

Also, is it possible to freeze first three of four columns so that when we scroll they wont move?

Is this possible by binding Label and Visible properties to some indicators?

 

thanks

Mahesh

Mobile Scenarios

$
0
0

Hi experts,

 

In studio documentation,

 

"Mobile and Desktop Solution — Different Screens

 

In this case, you can create two sets of floorplans, one for desktop and one for mobile. You can then delete

the mobile WCF, create a Device Cluster with the Short Id of the desktop WCV, then add the mobile WCV to the

Device Cluster."

 

 

I dont understand what it means.

I tried but still not ok.

 

Can somebody please explain the scenario more clearly so that a dummie like me can understand?

 

 

Best Regards

Fred.

Form not displayed after "Generating preview"

$
0
0

Hi All,

 

I'm trying to get a form displayed when we click a "preview" button on EC. I have a custom object and the form is based on this object. I've created the modal dialog and entered the correct group code for displaying the form. When I test it by clicking on the preview button, I see the modal dialog which says "Generating PDF" but gets stuck there. I've followed exact steps from 9.4.3.4 Create a Preview Button for a Print Form as per SDK doc.

Can someone please let me know what I'm missing.

 

GeneratingPreview.png

 

 

Best Regards,

Preethi.

Webservice perfomance

$
0
0

Hi experts,

      

I created a custom weservice for a custom BO.

I called the werservice from a Third Party tool and created cutom BO instances.

It took 10 to 15 mins for 1000 instances.

1. Is that normal?

  2.Is there any other way to reduce the processing time.

 

Best Regards

 

Fred


Create a dependent extension field(list) from activity field

$
0
0

Hi,

 

I just started to work with studio 1 month ago, so I would like to know if anybody could help me

 

I have a customer that wants an activity field with 3 options -> I already created with standard field.

 

In dependently of each activity option is choosen, I need to show a list with diferents fields.

 

Thanks in advance for your time!

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

Glimpse of Stadard BO definition

$
0
0

Hi Experts,

 

Is there any way to look the standard BO definition ?

 

 

Thanks,

Naga

display custom BO data(one field) as drop down values

$
0
0

Hi Experts,

 

I have created a custom BO with two fields Field-A and Field-B. I want display the Field-B data as drop-down values based on Field-A dynamically.

Field-A    Field-B

A              1

A              2

B             45

C             3

 

When i select A only 1 and 2 values should be displayed as drop down values.

 

Thanks,

Naga

Custom Development in Cloud Application Studio

$
0
0

Hi Guys,

 

I am new to SAP c4c, I have asked to create one business object which will display respective customer orders. I need to create search/result screen where in search Customer ID would be the input parameter with Search button and respective order will be displayed in Result area.

 

Can anyone please let us know the step by step procedure with example code.

 

Regards

Nitin

Cloud Studio 1505 Installation problem on windows 7

$
0
0

Hello,

When i try to install Cloud studio 1505 on windows 7,it asks me to download VS 2010 isolated/install and then try installing cloud studio.

After installing VS 2010 and then try to install cloud studio.it again asks for me to install VS 2010.because of this issue,I am not able to proceed with the installation of cloud studio.

can any one help me in figuring out what is the issue.

 

NOTE:-I am not facing this issue in windows XP.

 

 

regards

Kaushik

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 .



XML File Upload for custom BO is not working

How to create custom OVS from Custom Business Object ??

$
0
0

Hi cloud experts need help,

 

I got a requirement for creating custom ovs from custom business object for a node level element i have followed various steps from the related posts on this but not able to achieve the requirement.

followed this links also.

 

SAP Cloud SDK : Create Custom OVS from Custom Business Object

 

http://help.sap.com/saphelpiis_studio_1502/studio_od_1502.pdf

 

 

businessobject Custom_OVS {

 

  element id : ID;

 

  node OVS [0,n]

  {

  element chainID : ID;

  }

 

i have multiple values for the ChainID element like

 

123

124

125

 

i have created ovs uicomponent for the solution and linked the chainid to the Objectid. now my requirement is if i select Objectid field then i should get all the values of ChainID as a dialog box popup.

 

Kindly check the screen shot of my OVS attached.

 

Thanks.

How to access SADL options of a Standard Query on a custom EC/OWL

$
0
0

Hi,

 

could anyone explain how get access to the SADL option of a standard query on a custom EC/OWL.

 

When I add a query to my custom EC/OWL, I don't have the possibility to indicate which query properties should be available on the selection, basic find and on the result (See screenshot below).

c4c - 1.png

 

The goal that I want to achieve is to display certain opportunities on a custom EC/OWL on the TI of accounts.

The user should be able to filter the list of opportunities by means of the "Find" functionality or by means of the advance search functionality.

I tried different approaches mentioned on other post, but still I am not able to set-up my  UIComponent correctly.

 

I have already perform the necessary set-up in order to retrieve the target opportunities and display them on a advanceListPane on the UI.

 

I'm facing the following problems:

  • The "Find" functionality don't perform any kind of filtering on the list.
  • In case I want to add extra parameters to the "search parameters" structure defined on the DataModel based on the query, I receive the following error:

c4c - 3.png

I would really appreciate if someone could point me in the right direction.

 

in case I'm doing something wrong or something should be perform on a different way, please let me know.

 

Many thanks in advance.

 

kind regards,

 

Andres

Questions regarding Cloud SDK developments: AfterModify & Read/Acces BO data

$
0
0

Hi all,

 

I'm new on C4C developments and I have some questions.

 

I already read some cloud development courses provided by SAP and went through different post that can be found on this blog.

 

I was hoping someone could help me ^^.

 

Could someone please explain to me the following topics:

 

AfterModify

  1. Is there any way to know which attributes were changed or modified when the event AfterModify is triggered?
    In my case, I would like to manipulate certain attributes of a BO when certain information is entered in other attributes.
  2. I found on another post on this website the following statements:

     AfterModify.png

Is this true?

I tested the first statement on an  extension of astandard BO (Employee)and the AfterModify event is not being triggered when the BO is being loaded of when you go into edit mode.

 

 

Reading BO data: Current displayed data VS data stored on database

Due the fact that I didn’t found how to detect which attributes were changed when the event “AfterModify” is being triggered, I tried to make a comparison between the currently display data and the data that should be store on the database (I decide to try this approach as a ABAP developer: OW vs DB data).


Coding below was placed on the event "AfterModify" and also on event "BeforeSave". In both places I received the same result.

 

"This"Statement

To access the current displayed data on the screen, I use the “This” statement and I read the current assigned phone number of the employee (See coding below).

OW data.png


Now, i tried to access the real value of the phone employee( which should be stored on database level) using two different approaches:


Approach 1: Context.GetCurrentIdentityUUID + qryIdentity_ROOT_QueryByElements + Employee.QueryByIdentification


Approach 1.png

Approach 2: Employee.Identification.Retrieve


Approach 2.png

Now I would expect that the value of the variable phone_ow should differ from the value of variables phone_db and phone_ins. However all 3 variables shows/contains the same value event when the attribute was changed by the user (Changed + press save button). I should expect that the last 2 approached should read the value of the attribute phone before any changes was performed.


Could any explain this to me?

Could any one explain to me how (on runtime on a script file) to read values from database?


-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Thanks in avance for all your answers and explantions.


Kind regards,


Andres


ps: In case my coding, suppositions and statements are false/wrong, please dont hesitate and let me know ^^







Screen changes for extended BO not visible to some users

$
0
0

Hi Experts,

 

My requirement is to add a new field in the standard Opportunity BO(Header) and display on the C4C UI screen.

The steps I followed to add the new field on screen is as follows.

1. Created an extension of the Opportunity BO in SAP Cloud Application Studio.

2. Created a new element under the root node.

3. Enhanced the screen COD_Opportunity_TI to add the field at the header level.

4. Added the field and activated.

 

Issue: The added field is not visible under my user ID but can be seen with other's user ID.

 

Do we have any further settings for screen fields to be visible to all users or any other Administrative settings are required?

 

Please help.

Viewing all 1333 articles
Browse latest View live


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