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

How to retrieve Financial Reporting Structure with ABSL

$
0
0

Hi experts,

 

Is it possible to retrieve Financial Reporting Structure with ABSL?

I cannot find any clue in the Repository Explorer.

Financial Report Structure.png

 

Please let me know if there is anyway.

 

Thanks,

Fred


Change of status in Advanced List Pane on selecting from setting icon

$
0
0

Hi,

 

PFA

We are working on replicating a standard BO Contract . Our Custom BO is "CONTRACT" and there is a pane in Item tab on its TI screen.

We have a requirement to change the status of a field in Advanced List Pane inside item tab using Setting icon on the right top of pane as shown in the

attached Screenshot. We want to do using event handler type "BO Action".

Could you please suggest us the appropriate methods to achieve this .

 

Regards,

Deepak Singhal

In Personalize - Start Personalization is not visible

$
0
0

Dear C4C Team,

 

Recently in our Production tenant we are facing one issue on the "Personalize" tool bar - "Start Personalization" option is missing, hence will not be able to do the Personalize layout, Hide Labels and Filed Names, Personalize queries, etc..

 

Can someone help on this.

 

Thanks in advance for your help.

 

Regards,

Murugesan.

Extend Product Category via PDI

$
0
0

Dear experts,

 

 

i have the requirement to extend the product category hierarchy by adding a field.

I know that i can add this extension field in adaptation mode, but in this way i am not able to add it as column of the OWL.

 

 

Inside PDI i am not able to find the Product Categories object that must be extended to reach my aim.

 

 

Can you kindly tell me if is possible and if yes how/tell me which is the c4c BO?

 

 

Thank you

Fore colour to be changed in custom developed field

$
0
0

Hi Experts,

 

I am looking for one new feature for my custom developed BO and XBO solutions, if I leave any field blank which I have made mandatory using custom script on “On Save” event.


It should be highlighted as some foreground colour in it. (This functionality is already there for system’s standard field. Now, I want to pull this in custom development as well).


In case any further information for this please revert.


Thanks

Ashish Sharma

How to pass the body content which is in Json format in Rest API's Post method?

$
0
0

Hi Experts,

 

We are building a connector with markto and SAP C4C by using the REST API's and i have some queries regarding the ABSL.

 

1. How to pass the Body content in the post method of the API in Json format?

2. And how to parse the response that is in JSON format string?

 

Below are some screen shots.

 

Rest_Body.PNG

 

Body Should be in Below Json Format how to send it through our ABSL?

 

JSON Format.PNG

 

Below is the response we get in Json format(Requested the API from online Tool).

 

How to parse this response in ABSL.

 

JSON Response.PNG

 

Kindly help me in this issue.

 

Regards,

Siraj.

Org ID and SalesUnit ID Inconsistent

$
0
0

Hi experts,

 

I define a element on my custom BO.

I hope that the reuslts presendted in the following figure:

2016-3-16 下午 03-15-26.png

 

 

Code:

element ZSalesUnit:OrganisationalCentreID;

 

I thought it was the dropdownlist, unfortunately, it is not.

So I change properties DisplayType: objectValueSelector, the ValueHelp -> OVSComponent

2016-3-16 下午 03-53-01.png

2016-3-16 下午 03-53-19.png

Save and Activate my QC Screen.

 

 

On the Cloud System.

I click OVS is show, but the value is inconsistent.

2016-3-16 下午 03-46-55.png

 

Q1.Call tell me why?

How can I do to show value the same picture 1.

 

Q2. The Field can show code and value? my field is show code.

2016-3-16 下午 04-00-38.png

 

Best regards,

Daniel

SAP Cloud SDK : Create Custom Data Source Via SDK for multiple nodes

$
0
0

Hi Experts,

 

We have created custom business object and assign Assigned Account ID as alternative key.

We have multiple node with 0,n cardinality or see below custom bo structure.

 

businessobject MultipleNodes {

 

    [ AlternativeKey] AccountID : BusinessPartnerInternalID;

 

    node NodeA [0,n] {

          element ID : ID;

          element Name : LANGUAGEINDEPENDENT_Long_Name;

   }

 

    node NodeB [0,n] {

          element ID : ID;

          element Name : LANGUAGEINDEPENDENT_Long_Name;

   }

 

    node NodeC [0,n] {

          element ID : ID;

          element Name : LANGUAGEINDEPENDENT_Long_Name;

   }

 

    node NodeD [0,n] {

          element ID : ID;

          element Name : LANGUAGEINDEPENDENT_Long_Name;

   }

 

}

 

I have tried with right click on Custom BO and select option called "Create Data Source" but my studio are getting restart and I can not able to create data source.

 

Kindly suggest me.what's wrong and is it possible or not.

 

Regards,

Mithun


Binding of Embedded Component RichTextBox in Opportunity

$
0
0

Hi,

 

How can I bind the added RichTextBox on the Overview tab of the Opportunity - so the field is editable en data is stored. Because i don't see any default Ports which can be used ??

 

RichTetx.jpg

 

 

 

 

 

 

 

 

 

 

and

 

RichTet22x.jpg

 

If you have any ideas how to bind this - please respond.

 

Kind Regards,

Jeroen

Delete Screen object and recreate Screen, error occur.

$
0
0

Hi experts,

 

I create screen on my business object, then I delete all screen object(OWL, QC,QV, TI, TT, WCVIEW, WCF).

 

 

Then I want recreate screen

2016-3-19 下午 09-36-33.png

 

So I change the Short ID, from MT to MT1, but other error message

2016-3-19 下午 09-40-08.png

 

Can tell me how to solve this issue.

 

 

Best regards,

Daniel.

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.

Blank fields before refresh

$
0
0

Dear Community,

 

I have a TabStrip with some tabs and with some fields in each tab.

These fields should be filled with information that is imported from text files.

Until here everything is fine.

My problem is that the fields only appear with the information after I click in a refresh button.

But the fields should be filled without the need of click in the refresh.

If I don't click the button, they will remain blank.

My question is, there is any way to avoid clicking the refresh button everytime or can I simulate, in the code, a click in the button or something like that?

 

Thanks in advance,

Best Regards.

Address Creation on BeforeSave event for Contact

$
0
0

Hi,

 

I am trying to copy mobile number from the related account to the contact in "BeforeSave" event as long as this field is empty for the contact. I am facing the problem that the field on the contact's address is not set and when  I try to instantiate it using the function "Create()" the program dumps.

 

could somebody help here please?!

 

10.03.png

 

thanks

Bahjat

ExecuteFromDB Issue: Buffer vs DB

$
0
0

Hi all,

 

I would like to get some help/explanation regarding an issue that I'm facing with ExecuteFromDB.

My goal is to build certain logic by comparing the value of certain attribute before and after a change was performed by the user. To achieve my goal, I want to compare the value of the buffer VS the value of DB.

However, when performing the query ExecuteFromDB, I’m getting/reading the same value as the one on the buffer (UI).


Is there any explanation to the issue that I’m facing?


Please find below an screenshot of my coding + debugging session.


ExecuteFromDB.png


Any tip/suggestion/solution is welcome.


Thanks in advance.


Kind regards,


Andres


BTW: I found 2 similar post but none of them offer a solution/explanation to my problem.

http://scn.sap.com/thread/3874938

http://scn.sap.com/thread/3785028

Contact/Customer - Rollback changes

$
0
0

Hi all,

 

Is there any way to perform an rollback (drop) of changes on a Business object (E.g.: Contact or Customer) on the event AfterModfy or BeforeSave when certain conditions are meet?

 

thanks in advance,

 

kind regards,

 

Andres


Decimalvalue - Zero value

$
0
0

Hi All,

 

Could it be that a extension field typed DecimalValue dont allow the "Zero" (0) value?

 

DecimalValue.png

 

I defined an extension field type as DecimalValue. however when an user enters the value "0" or by coding the value "0" is assigned, on the UI the field is displayed as empty.

 

Empty.png

 

thanks in advance for any tip/suggestion/solution.

 

kind regards,

 

Andres

How to retrieve the current ProjectBaseline?

$
0
0

Hi Experts,

 

Do you have the experience with how to get the current active baseline for a project?

 

I have tried to explore the repository for Project and ProjectBaseline, it seems the only key between those two object is the field BaseProjectID in the ProjectBaseline BO. But the ProjectBaseline BO does not support the QueryByElements() method. Do we have to fetch all the active baseline till the right one?

 

Thanks for you sharing!

 

Regards

Kevin

Text field required on Time sheet entry screen

$
0
0

Hi Experts ,

 

I need one more text field on TIME SHEET ENTRY screen for capturing some additional information with the hours submitted in SAP ByDesign.


Could you guys please guide me how I can add this on time sheet entry screen.

 

Screen shot for requirement has been attached, please have a look of this and in case you required any further input on this please revert.

 

Thanks

Ashish Sharma

Error while testing External Web Service Integration

$
0
0

I'm getting an error when I try to test an external webservice from Studio. After performing the steps to create an external webservice integration with SOAP, When I right-click on the .wsid file and choose "Test Service Operations" and chose the communication scenario and submit request, I get an error "A technical error error occured AP-RC-BDS-WS".

 

I'm not able to call the service visa the ABSL script as well. When I debug, I get an error in the response CommFault as,

 

"SoapfaultCode: 5 Server Error."

 

I'm able to successfully test the web service from SOAPUI.

 

 

Regards,

Srikanth

Adding business logic when copying a customer quote

$
0
0

Dear experts,

 

I have a requirement to add business logic when copying a customer quote. Infortunately, it seems there is no script which fires at customer quote copy. Do you already have met such a requirement? If you have, how do you deal with it please?

 

Thanks in advance for your help.

 

Best regards.

Maurin

Viewing all 1101 articles
Browse latest View live


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