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

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


Error Activating Solution In Production System

$
0
0

Hello everyone,

 

So I have an SDK solution in a customer's test system which works fine. I created BAC elements, then clicked assemble and download, which worked fine. I then went to the customer's production system in the SDK, uploaded the solution fine...but when I clicked activate, I got the following error message (figure 1), which repeats every time I click activate/reactivate. The same thing happens if I upload a different solution containing the same code and other elements. Anyone got any ideas? SAP have had an incident regarding it for ages and haven't got back to me yet, so I thought I'd ask you lot.

 

Remploy Live System Activation Error.png

 

Cheers,

 

Lewis

Extending Standard account Fact Sheet with Custom BO fields

$
0
0

I have created one custom BO with 2 free text fields. The fields are embedded in the standard account screen in a new tab.

The custom fields have to be available in the account summary fact sheet as well.

BO Definition:

 

[AlternativeKey] element AccountID: apCommonGDT:BusinessPartnerInternalID;

node Note1[1,1]

{

  element ID:ID;

  [DependentObject(TextCollection)] node FIELD1;

}

 

node Note2[1,1]

{

  element ID:ID;

  [DependentObject(TextCollection)] node FIELD2;

}

 

Is it possible to extend the standard fact sheet with these custom BO fields ?

Create journal entry using webservice

$
0
0

Hi

 

How to create journal entry using webservice? Is there any webservice available for this?
I have seen that in General ledger workcenter-->Journal entries, journal ids are stored but i think it is manually stored. I want to upload data to this journal i.e. to create new journal entry using webservice. Is this possible? Is there any webservice available? or any Business Object is related with this?

How to make fields mandatory using SDK?

$
0
0


Hi,

 

I have extended Customer BO. I want to validate standard existing fields from standard BO On-Save action.But this validation is for Quick Create screen and not for TI.

 

I created Validation-OnSave.absl at root level and checked but it doesn't raise any error message.It doesn't call the script actually.

 

It shows as the values are saved successfully.

 

I tried creating this event at node level also but it didn't worked.

 

 

 

Can anyone help me out.

 

 

 

 

Regards,

Vijaya Chavan

SAP Cloud Application Studio Make Account Website (Link InputBox ) Read-Only

$
0
0

Hi Experts,

 

I have 1 requirement to make Link InputBox as read only because when i go to SDK and Open Account TI screen and change the properties from Extensibility Explorer there is no option to change properties as shown in below figure.

 

_Header_1.JPG

We can see many fields have no change proeprties and some are Link InputBox .

 

Kindly Suggest me whats the alternative solution to make Read Only.

 

Many Thanks,

Mithun

Interface for incoming E-Mails

$
0
0

Dear Experts,

 

we're currently thinking about a solution where a customer can informally accept/decline a field service report via E-Mail that is sent directly to the ByDesign system.

 

Is there a possibility to handle incoming E-Mails with an add on solution built with the Cloud App Studio?

 

For example,

- we assemble a form "FieldServiceReportPDF" and trigger "send E-Mail" from a ByDesign UI screen

- the customer receives the field service report from, say "customerservice@my123456.sapbydesign.com"

- the customer responds with the text "hereby I accept this"

- all messages to "customerservice@my123456.sapbydesign.com" are stored in some kind of pool

- we can access this pool and assign each response to the respective service order

 

Appreciate any help or suggestions.


Kind Regards

Pablo

PSM Release for Custom BOs

$
0
0


Hi, experts,

   

      I want to  know whether it is possible to make a custom BO  act  like a standard BO.

      We only create it once, and we will be able to add extension fields as we do to standard BOs.

      So, my question is "Can I ask for a PSM Release for my custom BO?". Or is there any other workaround.

 

Regards,

Naing


Process Extension Scenario(SalesOrder -> Invoice Request)

$
0
0

Hi, experts.

     I am having trouble with the process Extension Scenario.

    1. I created a process extension scenario like the following.

     sales order scenario.png

2.I added an extension field to the scenario in the SalesOrder.xbo's definiiton. Just like this.

[Label("From Sales Order")][Scenario(SalesOrder_XS_Test)]element N_SalesOrder_XS : LANGUAGEINDEPENDENT_EXTENDED_Text;

 

3.I added the extension field to the General Information section group of SalesOrderQAF.
4.I also added the extension field to the General Information section group of CustomerInvoiceDownPaymentQAF

5.I saved a new sales order with some data in the newly extension field.

6.I created a new down payment request from that sales order.

invoice request.png

But the annoying prolem is that the data in the new extension field cannot be transfered from Sales Order to invoice request.

 

Regards,

Fred.

Add dynamically image to an active form

$
0
0

Hi all,

 

I'm trying to add in an active form an image for every product from a sales order. In the printed form it must be seen the images of the products.

In Product master data every product has an image attached as an URL. I need to get the address from the URL path on which the image is stored here and to be able to see the picture format, not the URL.

 

Can anyone help me?

 

Thanks and best regards,

Elena

Unable to find Sales Order item->Taxdetals Tab-> Assessable Value

$
0
0

Hi,

 

 

Code BO:

 

I am unable to find the Assessable Value in sales order BO (i.e. path =Sales Order item->Taxdetals Tab-> Assessable Value) and need push the value into the same

.please find the scrrenshot attched for refence but i am unable to find the path as mentioned in image.

 

Can you please help me out

 

 

Regards,

Prasad

Unable to see XBO extension fields in production tenant!

$
0
0

Hi Experts,

 

We have recently uploaded and activated a solution in a production system. This solution contained a BO extension and extension fields which were extended to the relevant BO screens. After scoping the solution in the system the fields we have added to the screens are not visible! My guess is the fault lies with the way I set up the BAC elements, I just added a simple Business Option with a simple scoping question. I am not sure if I needed to add the extension content to some sort of scoping object.


The solution content is as follows:

 

 

Supplier Extension 1.PNG

 

 

The BAC Element has been set up as follows:
Supplier Extension 2.PNG

 

Supplier Invoicing 3.PNG

 

 

This is a very frustrating problem, again, my only guess is that I did not add some content to some configuration element. Do I need to create a BCO or something? Your help would be very much appreciated!

 

Thanks,
Alexander Ludwig

Analytic navigation: Link to document from report

$
0
0

Dear ByDesign Experts,

 

I'm currently looking for a way to insert a link on a report characteristic which references to a business document.

 

In particular, we built a custom report showing ExpenseReports and I would like to offer a possibility to navigate to a specific ExepenseReport if the user clicks on the ExpenseReportID.

 

Unfortunately, I don't understand how to do that. If you open the report and click on any entry the message "No navigation targets available" comes up.

no_navigation.PNG

 

I only found the possibility to navigate from one report to another (view "Design Reports">"New">"Report Navigation") but I also did not manage to get this report-to-report navigation running.

 

Can anyone suggest a step-by-step approach how to get the report-to-document navigation working?

 

Kind Regards
Pablo

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

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


C4TE_May I add a FE(Field Extension) in a standard form?

$
0
0

Hi Expert,

 

Is it possible for me to insert a FE in a standard form in CfTE? Currently I am using a partner development SDK 1411.

 

For example, in the Standard Expense Report form, I would like to add a FE (current print date) on the right corner of that form.

 

Thanks a lot for your suggestion.

 

Rachel

Change UI property of KUT field using logic in SDK

$
0
0

Hi,

 

I am looking for a way to control the UI property of one of the KUT field using some logic in SDK. I have gone through similar thread from last year but didn't found any solution.

 

How to disable/enable extension fields dynamically using logic

 

Just want to know has any improvement been done in the system after one year in this area or is there any workaround.

 

Thanks,

Shobhit

Translation of Custom Messages on Extended BOs

$
0
0

Hello,

 

I have an extension to the Customer BO and am looking at options on how to translate the message. Any idea if this is possible and if yes how?


Thanks and Regards
Vikram

Getting Started with C4C and Cloud Application Studio

$
0
0

Hi everyone!

 

I have over 9+ years working within SAP CRM (started with technical side and moved into techno-functional stuff). Also, I directly worked for 4+ at SAP.

 

The thing is that I am trying to self-learn C4C technical side and I'd like to download the Cloud Application Studio. The thing is that I should have an S-user which I do not have as when sitting for the certifications I have, I was an SAP internal employee so I used my i-number. I have requested several colleagues to enter into Marketplace in order to try to get the software so I could start working with this, yet, nobody had the correct authorization for downloading it.

 

Could someone share with me the installer (preferably version 1411) so I can start this new path??? In case there is another way of getting it, also, kindly let me know for next release.

 

Many thanks in advance.

Regards.

Alejandro Kinsbrunner.

Can't change Extension Scenario

$
0
0

Hi Expert

 

I need your advice

I configured the extension scenario in the past.

And now, I would like to change the setting of extension scenario.

But, I can't change it due to an error. The detail is below.

ExtensionScenario.gif

I don't know the reason why I can't change the setting.

Could you kindly please me the advice?

 

Warm Regards,

Ryota Ichida

Viewing all 1333 articles
Browse latest View live


Latest Images