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

Materials dropdown / OVS not working - selected item does not copy to field

$
0
0

I'm using a public OVS for Material as the dropdown for my field, but the selected product ID does not get copied to the input field.

 

Background info:

I have a simple custom BO which consists of a field with Product ID.  It looks like this:

 

     [AlternativeKey]

     element key1 : ID;

     element productID  : ProductInternalID;

 

I used the create screens to auto-generate the OWL, QC, QV...etc.

 

I then editted the TI to set the ProductID field to be DisplayType "ObjectValueSelector"

 

and I used the
"/BYD_COD/SalesOnDemand/Product/UI/COD_Material_SOVS.OVS.uicomponent" from the PublicOVS list to use as the dropdown list of IDs.

 

Has anyone used this Material OVS and got it to work ?  My other dropdowns for Employee, Soldto (accounts) work fine.

 

Or am I supposed to be using a different OVS ?

 

(BTW, this is for a C4C / SOD 1311 solution)


SAP Cloud SDK : Create/Update Record using Custom Action using Web Service Call

$
0
0

Hi Experts,

 

We have scenario to create / update records using web service using custom action assign as root level.

 

businessobject ZZCustomBO {

  [AlternativeKey] element AccountID : BusinessPartnerInternalID;

  node ZZCARD [0,n] {

    [AlternativeKey] element ZCardID : ID;

     element ZZCardType : LANGUAGEINDEPENDENT_Text;

  }

  action ZZCreate;

}

 

I have created custom web service and add action into that service.

When i open Request in SOAP UI tool I am only getting AccountID element not node level data.

 

I want to pass Root  level as well as node level data in custom action request from SOAP UI.

Is it possible?

Please anyone have idea let me know.

 

Regards,

Mithun

How to use REST services and call them in Cloud Application Studio

$
0
0

Hi Experts,

 

Can any one please help me in implementing the REST based services in the studio. Any document/video/blog can help me out in developing and testing the same.

 

Thanks in advance for the help on this topic!!!!

 

Regards

Hanu

How to access Communication Scenario SCD within a custom Action via ABSL

$
0
0

Hello,

i've created a custom communication scenario. Now i want access this communication scenario within an action to get the data of the corresponding outbound communictaion arrangement f.e. the "Communictaion System ID" and "My System ID" to pass those data to an external webservice, which is based on this communication scenario.

Regards,
Thomas

SAP Cloud SDK : Radio-button Issue in Embed Component

$
0
0

Hi Experts,

 

We have created embed component from XBO and structure are as below.

 

import AP.Common.GDT;

import AP.Common.Global;

import AP.CRM.Global;

 

[Extension] businessobject AP.CRM.Global:CustomerQuote {

 

   element zfile_type : ZZPTypeCode;

   element zfext_ile : ID;

   element znew_file: ID;

   element zexp_date : Date;

   action ZnSubmit;

   action ZOVSChange;

   node Item {

      }

   node ItemProposal {

       }

}

 

Now ZZPTypeCode is created as Code List Data Type and using this all fields we have created embed component and add into overview screen.

I have created radiobutton and binding with this zfile(ZZPTypeCode) field and radiobutton display with text given into Code List Data Type.


When user open any order screen i can able to see that embed component into overview screen. Once user select 1 radiobutton (R1) and click on save it it store into database and i have check in Repository Explorer and run QueryByElement from CustomerQuote i can able to see custom field into Result.

Issue 1:

When I again open same order i can not see saved record or radio button selected and all blank without selected.

Issue 2:

I have also make if default value in BO definition as below syntax

element zfile_type : ZZPTypeCode = ZZPTypeCode.CO_R1;

but it is not selected by default sometime it works and sometime not.


Please anyone have idea help me.


Regards,

Mithun

How to control who can see an embedded component

$
0
0

Hi

 

I'd like to control who can see an embedded component by rol or by user

 

is that possible?

 

thanks

C4C Transport External Web service to Production

$
0
0

Hi Guys!!

 

I have a question, recently i was assembled and transported all the solutions from DEV Tenant to Production tenent.

 

I have a solution with 2 External Web service (with WSDL appointed to ENDPOINT to a webdispatcher in DEV, with a ip an port). The question is...

 

1) Is necesary to reimport WSDL to appoint to Webdispatcher in PRD with the ip and corresponding ports?

 

2)  If is not necesary to reimport, Only modifing the Comunnication Arrengment should be to work?

 

 

THX!!!!

Custom OVS for custom BO , search for specific record is not working

$
0
0

Hi SAP Community

 

We have created a custom OVS for a custom BO , and now we can see the OVS screen with the records in our custom BO.

 

this is our custom BO definition:

 

002.png

this  is the screen for the OVS .

 

In the field "Buscar" (SEARCH)

 

I doesn't do anything!

 

001.png

 

How can we activate this search for a specific value in this screen like a standard OVS behavior.

 

Is there a specific plate to insert code to perform this search or filter?

 

 

thanks for you help.


KUT fields in UI Designer

$
0
0

Hi all,

 

I created some extension fields with KUT, and would like to use them in the UI Designer, however, I can't see them.

Is there a way to access KUT extension field in UI Designer?

 

Thanks,

Dror

HTML Map Mashup Doesn't Pull Parameters

$
0
0

Hello everyone,

 

So I've been trying to experiment with embedded components and mashups on ByDesign, and tried to follow this guide:

 

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

 

However, I've run into a problem when putting the EC on the Account screen. I've got the map to display (amusingly, copying the code from the guide didn't actually work; I got mine to display using an example from the Google developers website), but at the moment it will only work if I hard code in the latitude and longitude. If I pass the parameters into it, the map fails to initialise, instead just display a white box. I'll post pictures of what I've done corresponding to each step of the guide, and hopefully someone can help.

 

A1) Identify outport: I figure this is the best one on the Account screen.

 

IdentifyOutport.png

 

2) create custom BO and script

 

CustomBOAndScript.png

 

3) create data structure and other fields, bind root-level fields, do other stuff from this step.

 

DataStructures.png

 

InPort.png

 

LaunchECHandler.png

 

Create_AccountHandler.png

 

EC binding:

 

AccountOIF.png

 

B1) Define PTP

 

PTP.png

 

2) Define Port Binding (PB)

 

PB.png

 

3) EC Outport

 

ECOutport.png

 

4) HTML Mashup --- HTML I used is attached in a .txt file.

 

HTMLMashup.png

 

5) I stuck the mashup on the EC, then did the binding as follows:

 

ECBinding.png

 

Outport has the two referenced anchors:

 

OutportAnchors.png

 

 

I think this is pretty much it...anyone able to tell me what I'm doing wrong? Thanks.

 

Lewis

Error while Activating External Web service integration.

$
0
0

Hi Cloud Experts,

 

I have created the external web service integration in cloud studio and consumed ECC web service for address verification when i activate the integration or complete solution i'am getting error like Instance with the same key already exists.I'am very much confused why this error is coming.

 

Is there any thing that i'am missing?

 

Experian_SDK_Error_Latest2.png

 

   Kindly help me to solve this issue.

 

Thanks,

Siraj.

WorkCenter view showing invalid after having assembled

$
0
0


Hi, experts.

     I added a work center view to Cost and Revenue WorkCenter. It works fine before assembling the solution.But after having assesmbled, my custom work center is missing. In the Available Workcenters and Views tap of Application And User Management, my custom work center view under Cost and Revenue WorkCenter is showing "Invalid WorkCenter View". But the odd thing is both my custom workcenter and custom workcenter view are showing valid.

  

Regards

Fred.

Mass data run for a Standard Object

$
0
0

Hi Experts,

I need to create a mass data run for a standard business object "Contract" which run on daily basis. It should check the end date of each contract and if the end date is one month before the system date than it should send a email to the contract owner. I am not sure how to approach to this problem should I extend the Contract business object or what. I am new to studio so please ignore if any technical error in my question.

Quick View only appears in silverlight

$
0
0

Dear Community,

 

I added screens for a custom bo in C4C. The quickview only appears in Silverlight.

Do you have any ideas regarding my guick view, which only appears in silverlight?

 

Kind Regards,

Lukas

Extend duplicate check weighting

$
0
0

Dear experts,

 

is possible, through Application Studio, to extend the duplicate check weighting for business partners functionality inside the fine tuning in order to add more fields ? If yes, which is the object?

 

Thank you so much in advance


Build a Custom PDF Form for a Standard BO

$
0
0

Foreword

SAP Cloud for Customer supports generation of PDF (adobe) forms from Cloud Application Studio and Administrator UI (Silverlight) for Standard BOs and Custom BOs.

Some of the predelivered forms for Standard BOs-Account, Opportunity, Appointment, Phone Call, Visits, Sales order, Sales Quote which can be edited using Easy Form Editor or Adobe Livecycle Designer. However there are few limitations to this as well :-

.

• Limited updates are possible on the standard pre-delivered PDF form (summary/factsheet) on Standard BOs, which are – rearrangement of layout (using Adobe LiveCycle Designer), Displaying/Hiding of the existing Form Parameters

• Using PDI Studio or KUT, it is possible to add Extension Fields onto Standard forms, However fields from Node-Extensions cannot be added onto Standard Forms

• Display of data from different BOs, Associations, etc. on the standard form is not supported

• Sorting/Filtering of data displayed on the standard form is not supported

• Applying specific formats for Date, Amount on the standard form is not supported Often is the case, where customers have specific requirements to display data from additional sources and in specific formats.

 

It is possible to overcome these limitations, by reimplementing a complete new development which can be achieved by following the steps below-

 

Process

Build a Custom BO:

1. Each Standard BO by default is associated with the predelivered PDF form using the unique Form Template Group ID Code. Due to this, it is not supported in PDI to create a new form and associate that with the Standard BO to be launched on PREVIEW request.

 

2. Inorder to accomplish this, we will create a CUSTOM BO with the exact list of fields as required in the new form. This BO will be marked as a TRANSIENT BO, so that data is not persisted The BO can be marked as transient by annotating all the fields in BO as [TRANSIENT] and not marking any field as a KEY field

Img1.PNG

 

3.Create an ‘AFTER MODIFY’ event on the Custom BO

Img2.PNG

 

.4.In the ‘AFTER MODIFY’ event, use RETRIEVE & QUERY statements to prepare the data for Form at runtime.Img3.PNG

 

- The data from ‘Activities’ can be further filtered to display only ‘OPEN’ Activities or ‘Completed’ Opportunities, etc. -  Img4.PNG

The Amount fields can also be formatted in a custom way (display/not display Decimals)

 

-- Dynamic Labels can be set per section

--Format the date display

Img5.PNG

 

Generate Print Form on BO

 

5.Right click on the BO and click on Create Print Form

‘’ Img6.PNG

 

6.The Form Template Group Header is generated (with a Unique ID) along with the XDP file.

Img7.PNG

 

7.The Form Interface structure includes all the fields from the BO including the Sub-Nodes. You can selectively select/unselect these from the Form Interface for Form Template Creation

Img8.PNG

 

8.You can access the form by clicking on XDP file (which will launch the form in adobe livecycle designer)

Img9.PNG

 

On the right-hand column you will be able to see a tab- “Data View” which corresponds to the Form Template Interface fields (corresponds to the interface selected .FTHD) On the left-hand column the properties of each field on Designer Pane can be viewed and adjusted. The fields can be additionally bound by selecting ‘DATA BINDING’ and the field from Data Connection.

Img10.PNG

 

Under the tab – “Hierarchy” you will be able to see all the form blocks

- Create a single MASTER Page Layout which would appear on all the pages, e.g. Logo, Date, Page Numbers

- Create one Body-Sub Form Layout which contains all the sections required in form.

Img11.png

9.Once form is designed, save and activate the form. Click on CHECK-IN against the .XDP file in PDI to merge the changes back into Studio.

Img12.png

 

Create an Event to Fill Data at Runtime for Form

10.Create an Embedded Component with an INPORT in the Embedded Component tightly bound to the Parent TI’s Navigation ID (Account ID) and configure an event to be fired immediately

Img13.PNG

 

The event handler ‘AUTOFIRE’ is configured to fill in details of Account (at runtime) into the Custom BO which would then push the data onto the PDF Form.

- The 1st operation is the ‘BO READ’ Operation, which initially checks if the data has already been buffered in Custom BO? If yes, then it avoids re-reading the data back into BO.

Img14.PNG

- The 2nd operation, is an ‘IF Condition’ which checks if the attribute ‘ROOT/ACCTID’ gets a result from READ Operation, if NO (blank) then it starts the INSTANCE Creation operation.

Img15.PNG

If the Condition is met, i.e. /ROOT/ACCTID = “ “, then :- Create an Instance of BO

Img16.PNG

Assign the ACCOUNT ID to the CUSTOM BO

Img17.png

 

Create an Event to preview Form

11.Create BUTTON in the same Embedded Component to launch the custom preview form.

Img18.png

 

12.Create an Outport under CONTROLLER tab of EC- to pass the FORM Group Code and the parameter to force front-end preview as-is below

Img19.png

13.Create the Event Handler to trigger outport and assign this Event Handler to “ON CLICK” properties of the Button-

Img20.PNG

14.Next, add the PREVIEW Modal Dialog (from the reuse SAP BYD Application UI folder)

Img21.png

Also do a NodeReferenceBinding on ROOT

Img22.PNG

 

Link Custom EC to Standard TI

15.Next add the Embedded Component using a Stable Anchor in the Standard TI (Account TI used here in example) And, do the Outport-Inport Binding passing the Account ID (used in example here)

- Select the operation from a stable anchor under Extensibility Explorer

Img23.PNG

 

 

 

Author-Dedeepya Reddy

how to save the subscript and make it displayed correctly on the print Form?

$
0
0

Hi Experts,

 

Do andbody know how to save the subscript in the BYD system, and we could display it on the print form.

 

For example, we want to chemical formular to be saved as a field of the Product, like below pic shows.

 

搜狗截图20151205230822.png

 

Thanks!

 

Kevin

How to make a UI flexible/dynamic using UI Switch in SDK/PDI/Cloud ApplicationStudio

$
0
0

Background of UI Switch and Business Roles


You have to understand the UI Switch association with Business roles for this topic. UI switch can be assigned to a section group on UI to control the properties (ReadOnly, Visible, Mandatory etc) of the attributes in the section. This UI switch is then assigned to Business role which in turn is assigned to a user in Business ByDesign system. Hence the dynamic properties on UI are applicable for the user who has been assigned with business role containing the UI switch. UI switch should be created in SDK or Cloud Application Studio.

 

pp1.png

 

Example: Hide “Employee Responsible” field on Purchase order OIF for a user

 

User PGREENE sees the Purchase Order OIF screen as shown in screen below. The Buyer responsible field is visible to him and in this exercise we will hide this field whenever the screen is loaded for PGREENE. The same way (as mentioned in the steps below) you can modify properties of other fields the same way.

 

pp2.png

 

1. Create a solution in SDK and add an extension Business object for Purchase Order 

 

pp3.png

pp4.png

 

2. Create a UI Switch.

 

pp5.png

 

3. Right click on the .xbo file in the solution and select “Enhance screen”. Select the purchase order OIF screen in the following pop-up screen. This will create a .xuicomponent file in the solution

 

pp6.png

 

4. Open the .xuicomponent file in UI designer by double clicking on it.. Select the section group where the field is located. Section group should have a stable anchor for the dynamic properties to support. Go to Extensibility explorer and select the action “Adjust Properties”. In the pop up you will see all fields of section group and set the Visible property of Buyer Responsible field to false. Assign a UI switch that was created in solution.

 

pp7.png

 

5. Save and activate the UI component. Save and activate the solution.

 

6. For testing the dynamic UI feature login to Business ByDesign  portal, assign the UI switch to a Business Role that is assigned to PGREENE. Go to Application and User Management WoC->Business users->Edit Access Rights-> Business Role Assignment. Click on a business role and navigate to Business Role OIF screen. Navigate to tab UI Switches. Click Add Row and select the UI switch from value selector that we created in step 2.

 

pp8.jpgpp9.png

pp10.png

 

7. Log off and login into business byDesign as PGREENE and open the purchase order OIF screen and you can see that the Buyer responsible field is not visible for him. But if you login as a user who is not assigned the above said UI switch then he/she shall be able to see the buyer responsible field on UI.

 

pp11.jpg

 

 

Hope this is useful to making dynamic UIs. Please note that this can be done only on SAP standard UIs and not on Custom UIs developed by partners. In custom UI only personalisation and adapation are supported if you define stable anchors for the section groups.

Extend xbo fields to Process Extension Scenario in patch solution

$
0
0

Hello Community,

 

I have created some custom fields in Lead xbo and extended those fields to Opportunity using Process Extension Scenario properties "Lead General Information to Opportunity". However I did not extend this to any web service. This solution was then Assembled and moved into our test tenants.

Now the requirement is to extend the Opportunity Migration template with the extension fields. However I am not able to make any changes to the Process Extension scenario which was already created in the patch version of the solution. Also if I create another Process Extension Scenario, I am not able to extend that to the already created xbo fields and the xbo activation gives errors. Also one more thing that I have noticed is this solution was moved to 2 test tenants that we have and the Migration template for one of the systems got extended with the custom fields without extending the web service however it didn't get extended for another. Please suggest how should I go about this now.

 

Thanks and Regards,

Sumeet

Issue with Consuming C4C WSDL in ECC System

$
0
0

Hi,

 

I have developed SOAP Web Service(on Custom BO) in C4C SDK(QA system), downloaded WSDL & Successfully tested in SOAP UI.

Want to consume this C4C WSDL in ECC system.

 

My C4C landscape has:                         C4C QA --> C4C Production.

My ECC Landscapehas:  ECC Dev-->   ECC QA --> ECC Production.

 

we don’t have a connection between ECC Dev and C4C QA systems, but we have ECC QA to C4C QA.

So how can I develop ABAP Service Consumer Proxy in ECC Dev system.???

 

I still tried to create Service Consumer proxy in ECC Dev..

T.Code: SE80 --> Package -->Create -->Enterprise Service -->Service Consume -->External WSDL -->Local file -->wsdl upload -->Transport/Prefix --> Complete.

 

Getting the following error..

Proxy generation: error occurred

Exception occurred in communicationframework:Unknown Transport Protocol. C:\C4C\WSOUT.wsdl (Local file path).

Exception of class CX_SLIB

 

Please help me on the best approach toconsumeC4C WSDL in ECC for this landscape.

 

Thank you in advance,

Abdul Kalam.A

Viewing all 1101 articles
Browse latest View live


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