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

Custom Button to create Follow up ticket

$
0
0

Hi all,

 

we want to copy the functionality of the standard service request follow up button in the service request TI screen to create a follow up ticket.

We have an embedded component with buttons which should create a service request with a specific processing type.

 

Right now we can click on the button but it will open up an empty Service Request TI Screen. Any suggestions how to achieve this requirement?We tried to use the standard  action"CreatewithReference".

 

Regards,

 

E.C


How to hide Search ( Filter ) from toolbar

$
0
0

Hi all is there a way to hide filter icon from OWLSnap 2016-02-29 at 14.48.38.png

toolbar or search icon from TOWL Snap 2016-02-29 at 14.49.51.png toolbar?

Cheer Ognian

SRTUTIL Tranaction

$
0
0

Hi all,

I have two activated services one for consumer an other like a service.

I am receiving :

 

Unable to connet to webservice SOAP:1.048 SRT: HTTP error: ("HTTP Code 500: SRT: Unexpected failure in SOAP processing occurred: ("No Web service configuration for this access path: "/sap/bc/srt/scs/sap/xxx_xxxclasifi"") - Details see in error log of transaction SRTUTIL

Any clue what is SRTUTIL and how can I use it.

Cheers Ognian

Does anyone have sample code to auto generate Alternate key/ID field data

$
0
0

I looked through the reuse libraries and could not find a simple library to automatically generate alternate key (simple front end Alpha numerical ID field data).

 

I am looking for something similar to the identity function in SQL and then post processing/storing the value in the alternate key field.

 

http://www.sqlteam.com/article/custom-auto-generated-sequences-with-sql-server

 

Does anyone have an example/sample to auto create an alpha-numerical value and increment the numerical part by one for the alternate key field every time an instance of the BO is created? I know we have this in ABAP for core development but did not see this in Studio. Any work arounds with ABSL is ok with me.

 

Thanks,

 

Rei

Restrict OVS in dependence of Role

$
0
0

Hi Experts,

 

we have a new requirement in our Project regarding Involved Parties for Opportunities and Leads.

We have created some Custom Roles. Now we want to restrict the Accounts you can choose for it.

InvolvedParties.png

In the Name field you can choose the Account. Now when choosing the Role #1 for Example, the OVS should only Display all Employees. But when choosing Role #2 it should only be possible to choose a Customer.

 

Has somebody an idea how to archive this?

 

Best regards,

Astrid

Custom OVS - Field Groups in two columns

$
0
0

Dear SCN-Experts,

 

I have created a custom object value selector (for registered products) which works fine.

The only issue I have is the adaptation of the advanced search/find form panel. I need to create two different columns for my field-/section groups.

I have looked at the SAP Public OVS examples and those have these sections in two columns: Here is a screenshot:

RegProductOVS.jpg

 

This is my OVS where you can see only one column. Adding a further column doesn´t work here....

CustomOVSRegProduct.jpg

 

Thank you for your help!

 

Best regards,

Rufat Gadirov

SAP Cloud SDK : Few Query On Data Type Conversion and String Functions

$
0
0

Hi Experts,

 

I have few query regarding the cloud data type conversion and string functions in ABSL.

 

1) How to convert string value into numeric value?

2) How to convert numeric value into string value?

3) How to make default value to variable string/numeric ?

4) how to add 2 string value and store in other variable ?

5) How to make date as default value on screen?

6) How to get all the current data from screen?

7) How to reuse the library in ABSL code?

 

If anyone have idea about this things then please let me know.

 

Many Thanks in Advance.

 

Mithun

Extension Field in Customer OWL ?

$
0
0

Hi

 

I trying add an Extension Field in Customer OWL. But i am facing an Issue.

 

CustomerBO.jpg

 

 

When i select the Anchor for General Information , I can add the extension field.

 

Add Extension Field in GI.jpg

 

 

 

But When i try to add the field in Account team Anchor. No fields are Displayed.

 

Add Extension Field Account Team.jpg

 

Is there a different way to add field in Account Team Pane of Customer Screen.

 

 

 

Thanks
_

Prat


Mass Update of Sales Quotes

$
0
0

Hi experts

 

I have a problem with sales quotes update.

 

I need to update 30,000 sales quotes, but using the migration tool is not possible to update and Mass data Maintenance functionallity has not option for sales quote.

 

We tried to use the migration template but i cannot know the SalesQuote  UUID.

 

I need to add a new party involved (approver role) in the parties involved  tab for these 30,000 sales quotes.

 

involucrados en la venta.png

 

 

 

There is another way to update the Sales quote?

 

I tried with a MDR but the BO dont´s appears.

 

 

Appreciate your help.

 

Thx.

No "create screens" in context menu in Studio 1602 for BO and XBO

$
0
0

Hi, I took C4C30 in November and am now after a break trying to get back into Cloud For Customer development. And I am hitting a roadblock, as I cannot create anything "interesting" in the Studio. If I right click on a .bo or .xbo in the Solution Explorer, I can activate, and create script files, but the middle block of the menu I know from the course and from screenshots with entries like "Create screens" is missing. Do I have to activate something for that? I cannot find any info on a missing step...

 

Regards

Thomas

How to Query by KUT Field in an Stand. BO.

$
0
0

Hi experts,

 

I have the following situation,

 

I am extending a Customer Quote and Referencing Field from KUT.  The problem is with a Field what is necessary to check for duplicity.

 

The Field was defined like Text and not like ID, i am trying by ABSL code to query by this field but is not shown.

 

Problema de campo docuemnto.png

 

There is a way to check by a KUT field for duplicity ?

 

Thx!!!.

 

Regards Pablo.

How to set color of individual cell of a column through absl script

$
0
0

Hi

 

I would like to know how to set color of individual cell of a column through 'absl script'.

 

What data type can be used to store color in the Business Object.

 

I tried it though ruby scrip using calculation rule. I was able to do so. But ruby scrip does not work on HTML 5.So couldn't continue with the same.

 

Regards,

Vandita

Refreshing message container ("unwanted" custom messages in custom scripts of an xbo)

$
0
0

Dear experts,

 

I have a question about "unwanted" custom messages in custom scripts of an xbo.

 

Before starting a new discussion, I have check following thread but it does not fit my trouble.

Delete standard messages in a custom object

 

I have two cases :

- In the first one, an error message (in script "Validation-OnSave" of my xbo) which should be display is not displayed whereas I am OK in debug and saving is impossible (thanks to instruction "return false" of the script)

- In the second one, previous error messages are displaying again and again even if I have done the corrections and I am OK in debug.

For both, I think I need to refresh "message container" but I don't know how to do that. Do one of you have any idea? It will be really nice.

 

Thanks in advance.

 

Regards.

Maurin

ChartOfAccounts

$
0
0

Hi experts,

 

I would like to retrieve the data from BC>>FineTune>>ChartOfAccounts.

I used the QueryByElements from ChartOfAccounts bco.

But "G/L Account Posting Block" field is missing in repository explorer although it can be seen in browser.

Is it not free PSM field.

 

Best regards,

Nyein.

 

image1.png

Show Ecc ALV report result on Cloud

$
0
0

Hi experts,

 

I have a very special needs. Customer want to see a ECC ALV report (eg. Billing list) on the Cloud.

My idea is

1、create custom BO, define all alv field

2、upload(insert/modify data) all ALV result to Cloud (system auto upload)

3、create data source and define analysis report, let user to customize fields and conditions

 

Will this way, it is good?

Or other ways and steps to achieve?

 

 

Best regards,

Daniel.


Copy customer specific solution to other customer

$
0
0

Dear All

 

 

I have developed PDI solution which is customer specific solution and I need to reuse it with many customers

 

Are there anyways to apply customer specific solution to multi customer ?

 

 

 

 

Best Regards,

Krit R.

Configrable Code List:Value not visible on Web UI

$
0
0

Hi,

 

I have a requirement where I need to extend Customer BO and add to new fields. On each field I need a code list with some set of data (Configurable code list i.e. From fine tuning I should able to add/delete the values).

 

I did below steps to fulfill the requirement:

 

1) I added BCO (With fields Code and Text).

2) Later I added BCC and added values I wanted to show in codelist.

4.png

3) Than I added QA.UIComponent for same.

4) I added field in BO with DataType as code list.

5) I added BAC in my Solution, Added it to "customer care" Anchor under Business Configuration Type "Business Topic and Business Option".

6) I added one WCV (Based on standard Opportunity BO).

7) In UI designer I linked my QA.UIComponent to my WCV (Please refer screenshot)

2.png

8) Later in Admin role In Business Configuration Workcenter->Implementation project->Edit Project Scope->I assigned my BAC element to Project.

9) Later when I checked my codelist on Web UI I can only see code in code list. Values against the Code which I maintained are not reflecting.

 

3.png

 

Please tell weather in standard WCV we can actually add our QA.UIComponent or not. I am aware of the scenario in which to custom WCV  I assigned QA.UIComponent. But in this solution I don't have any custom WCV.

 

Kindly Suggest with the proper solution.

 

Regards,

Preeti

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.

Extend Standard Outport of Lead BO

$
0
0

Dear Experts,

 

i would know if it is possible to extend a standard outport of a standard object. In particular i would need to extend the public outport of lean lead root in order to pass several parameters from my custom EC that contains extension fields (dependent code lists).

In my example below only "ProductCategory" was inserted in the inport om the EC.

 

If i rename the ProductCategory parameter as Parameter of my EC inport, the content is passed to the Lead TI thanks to the param "Parameter" of the lead outport.  But just this one.
So i would to extend the standard outport in order to pass from my EC inport several parameters to the lead TI.

 

 

Thank you very much

Image 4.png

How to retrieve “ProductTypeCode” by customer invoice UUID from “InputData.content” in BADI SET_LEGAL_CLS_CODE.absl ?

$
0
0

Hi

 

How to retrieve “ProductTypeCode” by customer invoice UUID from “InputData.content” in BADI SET_LEGAL_CLS_CODE.absl ?

If anyone have idea about this issue then please suggest me.

 

I am trying to develop BADI implementation of legal numbering for customer invoices

that I follow “How-To Configure Legal Numbering for Customer Invoices for a Non-Localized Country” document.

URL Reference: https://www.sme.sap.com/irj/sme/solutions?rid=/library/uuid/f0758deb-b6bb-3010-8888-fedbe49079dd

 

But I found an issue from step number 2.7 (Create new BADI implementation),

I cannot retrieve “ProductTypeCode” by UUID from the “CustomerInvoice” business object when I create customer invoice.

 

My source code of SET_LEGAL_CLS_CODE.absl.

/*

       Add your SAP Business ByDesign scripting language implementation for:

              Enhancement Option: PDISetLegalClassCode

              Operation: SET_LEGAL_CLS_CODE

 

              Script file signature

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

              Parameter: InputData of type UUID

              Returns: BusinessTransactionDocumentLegalClassificationCode

 

       Note:

         - To use code completion, press CTRL+J.

*/

importABSL;

importAP.CustomerInvoicing.Global;

 

varinput_uuid = InputData.content;

varqry = CustomerInvoice.QueryByElements;

var_sel = qry.CreateSelectionParams();

_sel.Add(qry.ID.content,"I","EQ","XX*");

 

varinv = qry.Execute(_sel).GetFirst();

 

varproduct_type_code;

if(inv.Item.OrderBy(n => n.ID).GetFirst().ItemProduct.IsSet())

{

product_type_code = inv.Item.OrderBy(n => n.ID).GetFirst().ItemProduct.ProductKey.ProductTypeCode;

 

}

else

{

product_type_code = "";

 

}

 

 

 

varresult : DataType::BusinessTransactionDocumentLegalClassificationCode;

 

if(product_type_code == "2" || product_type_code == "6")

{

  1. result.content = "32";
  2. result.listID = "TW";

}

elseif(product_type_code == "1" || product_type_code == "3")

{

  1. result.content = "31";
  2. result.listID = "TW";

}

else

{

  1. result.content = "36";
  2. result.listID = "TW";

}

 

returnresult;

 

 

Thank you in advance.

Viewing all 1101 articles
Browse latest View live


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