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

Data type-specific (rich) selection criteria (custom data source)

$
0
0

Hello Experts,

 

I just created a data source via SDK.


Therein, there is a data field of the type "Date".

ds def.PNG

 

What I intended was, later to be able to select/filter in a report by definining "rich" data type specific selection criteria like this:

sel rich criteria.PNG

Unfortunately, it seems that regarding my data source, ByD does not recognize the data types of my characteristics.

Therefore, only distinct values are available as selection-/filter-criteria:

sel distinct values.PNG

My characteristics only seem to be "flat" data types.

 

Does anyone know how to make my characteristics "data type aware" so it would be possible to use mathematical operators like "<", ">" etc. for selecting/filtering?

 

Kind Regards
Pablo


Multi Add-on Form

$
0
0

Hi Expert

 

I'm creating the add-on form.

And, I'd like to change the form that is displayed depending on the conditions in one preview button.

But, I think that it is possible to set only one form to one preview button.

If I set the multi form to one preview button, could you tell me how to do it?

Please give me some advice.

 

Wamr Regards,

Henri Oosting

"Text" field Adaptation Mode: Max Length and real GDT in the SDK?

$
0
0

In production, I have utilized adaptation mode to add a "Text" field to a screen. The interesting thing is that the text in this field can be quite long. I have instances where the length of the text is near 2000 characters. I can even export this long text to Excel in the OWL.

 

However, from the SDK side of the world, I am trying to find the exact data type this adaptation mode "Text" field so that I can create a text-like field without having to resort to TextCollections.

 

Anyone have any ideas?

 

Best,

Greg

SAP Cloud Application Studio Create Custom Web Service From Custom Business Object and Consume in External System

$
0
0

Hi Experts,

 

I have requirement to create custom business object and create Web Service for that and use in external system (SAP ECC / SAP CRM / Third Party).

 

1) Is it possible to create custom object web service and used in external system ?

2) When we create the Web service from custom business object what the necessary steps(action : Create , Read , Update) require?

3) Sample Scenario :

 

My Custom Business Object

 

businessobject Custom_Integration {

 

  element EP_VAL1 : LANGUAGEINDEPENDENT_MEDIUM_Text;

  element EP_VAL2 : LANGUAGEINDEPENDENT_MEDIUM_Text;

  element IP_RES : LANGUAGEINDEPENDENT_MEDIUM_Text;

 

}

 

I have created the Web Service using this custom business object.

 

3) How i can use this web service in external system? what are the prerequisite steps in external system to consume this service in it?

 

Please anyone have idea about this how to do this and how to achieve this using SDK and custom business object.

 

Many Thanks

Mithun

How to extend SAP standard fields

$
0
0
By default payment terms data field is not available within the pick list form and I would like this information to show up in pick list forms possibly from the sales order if not, at least from the customer account. I attempted using calculated extension field, but further usage- extensionscenariosoption is not available for calculated fields. How can standard field gets extended ?

 

Any advice and suggestion will be greatly appreciated

Fetching table dynamically in Cloud studio

$
0
0

Hello Experts,

 

My requirement is to generate table at run time  for the standard Opportunity that is linked with Package, how to generate this in a custom workcentre.

in standard opportunity there is a relationship established between Package and Opportunity. Now we have to pull the data from standard opportunity into custom workcentre called Project and in the Opportunity tab in this we have to generate a table at run time that pulls data from standard opportunity and is segregated in batch of different Package and total their value.

 

table.PNG

Please provide your inputs on the same, as to how to achieve this.

 

Thanks and Regards,

Stuti

HTML Mashup error while launching

$
0
0

Hi,

 

While trying to launch HTML Mashup in custom BO TI screen, i am getting an error in console log..

 

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://mashup-de.sapbydesignmashups.com') does not match the recipient window's origin.

 

Not sure why is it causing. I have followed the steps from the following blog but could not able to display a HTML mashup..

 

 

http://scn.sap.com/community/business-bydesign/studio/blog/2014/02/24/html-script-mashup--launched-from-an-embedded-component

 

I tried my HTML code as sample HTML page and it worked.

 

here is my HTML Code:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<head>

<script type="text/javascript">

   function dateConversion(sdate) {

        dArr = sdate.split("-");// ex input "2010-01-18"

        return dArr[0]+dArr[1]+dArr[2];

    }

  function init()

     {       

          var Agreement = sap.byd.ui.mashup.context.inport.AgreementID;

          var Participant = sap.byd.ui.mashup.context.inport.EmployeeID;

          var DateFrom = sap.byd.ui.mashup.context.inport.DateFrom;

          var DateTo = sap.byd.ui.mashup.context.inport.DateTo;

          DateTo = dateConversion(DateTo);

          DateFrom = dateConversion(DateFrom);

       //   var Agreement = '0000000532';

        //  var Participant = '0000070001';

         // var DateFrom = '20140201';

         // var DateTo =  '20140201';

          var Application = 'COMP_QUOTA_PLAN';

         if (Agreement == '0000' ) {

                Application = 'COMP_QUOTA_PLAN';

           }elseif (Agreement == '0010') {

                Application = 'COMP_MBO_PLAN';

          }

    

          var url = 'https://XXXX.vistex.net/avenger/clouddemo/sfdc/';

          url = url + Application+'/?  eventName=SEARCH&PRTTP=SR&AGCTG=A1&AGRMT='+Agreement+'&PRTCT='+Participant+'&EVFDT='+DateFrom+'&ETDAT='+DateTo+'&DFDAT='+DateFrom+'1&sap-user=XXXX&sap-password=XXXXX';

          var iframe = document.createElement('iframe');

          // var ORIGIN = sap.byd.ui.mashup.context.inport.URL;      

          iframe.src = url;

       iframe.height="1000px";

       iframe.width = "100%";

          document.body.appendChild(iframe);       

     }      

</script>

</head>

<body onload="init()">

</body>

</html>

 

Regards,

Kishore

Language dependant texts in UI-Designer

$
0
0

Hello,

 

is there a way to get the current logon language of the user (such as Context.GetCurrentUserLanguage() in ABSL) on UI-Level? Goal is to overcome the missing translation feature of text pools in the UI.

 

Thank you!

 

Best regards

Matthias Jäger

 


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

 


link Creation for Report !!

$
0
0

Dear All,

 

I want to access the reports through link same like the OBN concept .

I want to create a link in ByD (Sales Order) for the ByD report.In ByD there is a Work Center name "Project Management" in this WOC there is a tab "Project Overview" in project overview you  can see the reports link and from here you can access the reports.

 

same like project management i want to create the link in sales order screen.

report.jpg

 

Is it possible ??

 

Please Help me.

 

Thanks,

Manoj kannaujiya.

TableRowCreator and HTML5

$
0
0

Hi everyone,

 

I have a problem with the automatic row add functionality in Cloud for Customer. We have developed several Embedded Components for our of our customers, and each one of them contains at least one Advanced List Pane that has to be used by the user.

 

Every Advanced List Pane has the functionality "TableRowCreator" set to True, and everything works just fine in Silverlight. Sadly it's not the same in HTML5 where all the List Panes are editable but do not show the empty row at the end that has to be clicked in order to add a new record.

 

Has anyone ever experienced the same problem with this functionality, or are we missing something in our implementation?

I will be happy to provide more information/screenshots if that helps in finding a solution.

 

Thanks in advance for your time,

Best Regards,

Alessandro

C4C: Reuse/ reference standard fields/ actions etc.

$
0
0

hello together,

 

I am fairly new to the SDK in C4C context. We are currentlyy discussing some requirements in our project.

Despite extensivce research in Documentation and SDN I could not get a statement regarding the possibilty of working with standard objects in terms of resuing/ referencing (not modification). All I have found was dealing about building completely new objects.

 

Example:

One of our requirements is to integrate a standard field into the Account Qucik creation screen, which is not available in standard layout.

Even if we built a custom screen for that, how I would be able to use the standard field.

Another one would be to reuse of exisitng standard actions (e.g CreateFromCustomer) ín embedded components.

 

All in all I havent found any hint if this is possible at all according ot the architecture of C4C..

I would appreciate if you could guide me here.

 

Thanks a lot and kind reagrds

Hannes

Production Bill of Material --- Line Item Details Text

$
0
0

Hello everyone,

 

I've been attempting to access the text stored in a certain embedded component and have come to a roadblock. The EC in question is the 'Line Item Details Text' field, found in Planning and Production Master Data > Production Bills of Material > View All in ByDesign. I think I've found the appropriate field in the Repository Explorer --- ProductionBillOfMaterial > ItemGroup > ItemGroupItem > ItemGroupItemChangeState > TextCollection > ItemGroupItemChangeStateTextCollectionTextCollection > Text.TextContent > GetFirst > Text > content.

 

However, I'm trying to get multiple different instances of this field, for the following reason: I want to be able to, on the Supply to Production Task form, retrieve the aforementioned Line Item Details Text (from the appropriate Bill of Material) for each item in the form table , and display it in a column in that row. I've managed to get it to fetch the line item text for the first item printed on the form, but have had no such luck with getting the correct text for each individual item.  My current code doesn't seem to work (see below), and instead crashes the ByDesign system. Can anyone help?
Get PBOM Line Item Details Text.png

Question about the BOOperation READ in the UI Designer

$
0
0

Hi,

I just noticed that the BOOperation Read in the UI Designer can use the NodeID, the KeyNavigation and the alternativeKey.

 

About the AlternativeKey I have no doubts... but what about the NodeID and the KeyNavigation? Can somebody explain me the differences between these keys?

How to use TextCollection and display as multiple-line UI

$
0
0

I have a requirement to add a few notes fields - as a xBO.  It seems I will have to define them as TextCollection datatypes.

 

These notes fields have to be displayed as multiple-line control in a facet (Accounts).

 

1. Any pointers on using associated TextCollection datatypes ?

 

2. How to add to a new facet and display as multi-line control field ?

 

Thanks ahead for your help !


Add Extension Field and an Tab in the SKD

$
0
0

Hi Guys,

i added an customerspecific Field in the ByD Customers BO (.medical examination):

is it possible to add a new tab (ie. Others) and add this .medical examination to this tab?


 

Thanks for your Input,

Regards manfred

SAP Cloud SDK : Add Product External ID into the Opportunity Product Tab

$
0
0

Hello Experts,

 

I need some help on cloud SDK.

 

Scenario : Add the Product External ID into the opportunity TI screen in product item level details.

 

Ext_Prod.JPG

 

When we add the product into the opportunity product tab its only fill-up the following details like Product ID , Description , List Price etc but not External ID i want to add "External ID" into that product list.

 

How to achieve this requirement using SDK?

Is there any another way to do that using front-end?

 

Many Thanks,

Mithun

How to read GL data in FP3.0 SDK script?

$
0
0

Hello,

 

In a separate BO,  I want to only READ  the G/L data (account number, account description & Period Total) and use for financial calculation based on business rules. And display it in a separate screen - list of accounts & period totals ( selection to be based on FinancialYear & Accounting Period)

 

Any of your guidance / reference on code sample is much appreciated in advance.

 

Best regards,

Ravi

 

-


 

For your  reference: I' trying the following methods/ parameters, but not successful -

  Association, BO copy, node etc..

 

AP.FinancialAccounting.Global : GeneralLedgerAccount 

LineItem.ChartOfAccountsItemCode,

PeriodBalance,

Period Total

 

    

this.SetOfBooksID.content = "9011";

this.ChartOfAccountsCode.ToString() = "ZUS1";

this.FiscalYearID = "Previous Fiscal Year";

this.AccountingPeroiodID = "All Periods";

 

GeneralLedgerAccountElements

GeneralLedgerAccountElementsQueryElements

SAP Cloud Application Studio Create Custom Web Service From Custom Business Object and Consume in External System

$
0
0

Hi Experts,

 

I have requirement to create custom business object and create Web Service for that and use in external system (SAP ECC / SAP CRM / Third Party).

 

1) Is it possible to create custom object web service and used in external system ?

2) When we create the Web service from custom business object what the necessary steps(action : Create , Read , Update) require?

3) Sample Scenario :

 

My Custom Business Object

 

businessobject Custom_Integration {

 

  element EP_VAL1 : LANGUAGEINDEPENDENT_MEDIUM_Text;

  element EP_VAL2 : LANGUAGEINDEPENDENT_MEDIUM_Text;

  element IP_RES : LANGUAGEINDEPENDENT_MEDIUM_Text;

 

}

 

I have created the Web Service using this custom business object.

 

3) How i can use this web service in external system? what are the prerequisite steps in external system to consume this service in it?

 

Please anyone have idea about this how to do this and how to achieve this using SDK and custom business object.

 

Many Thanks

Mithun

How to disable a solution in a Production system

$
0
0

Hello dear ByD community,

 

I am wondering how we manage the go-live of a custom solution and how we manage issues through a recovery plan.

 

Imagine you have an issue in a Production system but you do not know where the dump is coming from. And you have scoped add-ons on the same process where you get the issue.

 

- What do you do first?

 

- Do you un-scope your solution and everything is OK?

 

- How can we disable a PROD solution as there is no "Disable" button in the implementation manager for PROD tenants?

 

- And finally, how to isolate the origin of the issue? That is to say, how can you know if the issue is coming from your solution or if the issue is coming from another process?

     - Is the Dump analysis only showing dumps coming from custom solutions?

     - Or does it show every dumps you face in the solution? (which I doubt as we had some dumps today and not a single one is displayed in the Dump Analysis)

 

The go-live process for add-ons is a bit shady as the documentation only mentions to activate the solution then make the customer scope it.

But I think it is very important to prepare a recovery plan (perhaps this is my ECC habits re-surging).

 

Thank you all for your attention.

Best regards.

Jacques-Antoine

Viewing all 1333 articles
Browse latest View live


Latest Images

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