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

SAP Cloud SDK : Creation of Form using Business Object Error

$
0
0

Hi Experts,

 

I have created custom business object with object based screen and i want to create form for this custom business object.

 

I have tried using this.

 

Step 1. Right Click on Business Object and select Create Form option.

 

Form1.JPG

 

Step 2. Enter the require information and click on Next 

Form2.JPG

Step 3.  Select the element from the business object you need to display in the form

Form3.JPG

Step 4. Select the default language English and Next and Finish it,

Form4.JPG

 

After finish it the form open in adobe reader automatically but i am getting error as shown below.

 

Form5.JPG

and In the solution explorer i can see this.

 

Form6.JPG

Can anyone help me why it display the error while open the newly created form.

What are the software i need to install or add-ons in my system to open the from or remove this error.

 

I have installed the Adobe Life Cycle Designer For SAP Business ByDesign 135.0XXX, Adobe Reader X(10.1.3) , SAP Business ByDesgin Add-In Adobe Life Cycle designer.

 

Kindly any software missing or any add-ons require to be install or upgrade?

 

Many Thanks,

Mithun


how i can show the element is required when this lost a focus.

$
0
0

like for example show this in red. is this possible?

 

This example is the WCScreen Shot 2014-09-12 at 7.22.22 PM.png

Need Help on activating Feeds and show them in Custom UI

$
0
0

Dear All ,

 

I have created a custom BO and Now I am working on the Feeds for the custom BO. I have followed two blogs.

 

How to Enable the Enterprise Search and reference to Custom Business Objects in Feeds

 

How to make Feeds work in a custom TI

 

But Somehow when i go the feeds tab in my custom TI , I am able to see ALL the feeds even of different BO ( Opportunity  , Lead ) etc.

Why is so?

 

Secondly if i change anything in my custom bo , it should captured in Feeds right? that also is not working.

 

Can you please help me on this or some step by steps to achieve complete feeds functionality.

 

Thanks in advanced,

Dhruvin

Resolving a 1:n Association to a single row

$
0
0

Hi,

I have a requirement wherein there are 2 BOs, and the first BO has a 1:n association to the other BO. On the UI, I want to show fields from both the BOs in ONE row, but after resolving 1 particular instance.

For eg: If the 2nd BO has 3 records, and only one of them is valid for the period I login, I should pick up only that record and show its fields along with other fields of the first BO.

 

BO1                                               BO2

ID, Desc, Type                              ID, BO1 ID, Current valid Indicator    Amount

 

01     Test1   A                               1,    01,           True,                                   1000

                                                       2,   01,           False,                                  2000

                                                       3,   01,           False,                                  3000

 

 

UI:

ID    Desc    Type     ID   Amount
01    Test1    A          1    1000

 

Although there are 3 records for the ID 01 of the BO1 via association to BO2, I should pick up only the first record to show on the UI. How should one resolve a 1:n association in UI designer ?

 

Kind Regards

Vinita

Filter Thing Inspector Feeds

$
0
0

Hi,

 

     I have recently did a custom TI for a custom BO. I need to enable the feeds facet for each instance in this TI to receive specific updates from this custom BO.

I did the necesarly adjustments from a documentation I found in SAP cloud wiki. For now in the feeds facet for each instace of my custom BO it is show all the information that is displayed also in FEED WorkCenter.

     I need now to filter the feeds shown in each instace of custom BO to display only the information regarding latest updates in this custom BO instance.

 

I also noticed in PDI some properties (file attached), but I don't know how to use them, I guess that it maybe solved my problem.

 

Any ideas ?

 

Thanks a lot.

SAP Cloud SDK : Create Quick or List Modification form require in Embed Component

$
0
0

Hi Experts,

 

I need requirement to create the quick create or List Modification in embed component.

I have already make button for "Quick Activity" but i need quick create or List Modification from.

231Capture.JPG

I have also try using the following blog.

 

How to create a List Modification Form?

 

I have follow the steps.

1) Go to embed component select the "DataModel" and select "DataList" right click on it and select "Add List Modification Structure".

2) Now from the right side selected BOModel Drag and Drop the element you want to display in the Form and bind correctly.

3) Now go to Designer tab and from the "Toolbar" double click on "ListModficationForm" from the Panes.

4) Once the ListModificationForm open in designer open the BO browser and select the Data Model tab.

5) Drag and Drop the element from the newly created "List Modification Structure" in previous steps and under the property window under the "Associated List Modification Structure" select the created List modification structure from the Root.

6) Now create event handler to call this form and under the event add operation "ListModification" and  select the operation "Start" and under the List Modification Structure select the created structure from Root.

7) I have assign this event in Add button OnClick Property when i activate and Test it. i getting dump.


StepFinal.JPG


Please suggest me in the above steps i have mentioned any step missing or any steps i have do the wrong configuration.


I have create the Custom business object with "Object Based Screen" ( QA, QIF, QWL , PTP,WCF, WCView.


so i try using Quick Create QC using creation of screen but i dont know what the configuration require to call QC from embed component.


Please suggest me if anyone have idea about this 2 solutions.


Many Thanks,

Mithun




Developers book: SAP Business ByDesign Studio Application Development

$
0
0

Dear community,

 

as some of you already detected, I opened a blog in SDN on my book on application development with ByDesign Studio (Thomas Schneider: u201CSAP Business ByDesign Studio u2014 Application Developmentu201D

my book on application development with ByDesign Studio. [Link|http://www.sap-press.com/products/SAP-Business-ByDesign-Studio-%E2%80%94-Application-Development.html].

 

To read the blog, click [here|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/28192]. Please feed free to leave your comments, questions, ....

Flow layout?

$
0
0

Hello all,

 

 

I understood that we can possibly use columns/rows (kind of rigid)

Is there a flow layout in the UI designer?

 

 

Field 1: <Text>    Field 2: <Text>   Field 3: <Text>
Field 4: <Text>    Field 5: <Text>   Field 6: <Text> Field 7: <Text>

...


Populating Employee Responsible on Task in After Modify event

$
0
0

Hi, I have a requirement to code the After Modify event of Task Extended BO. If the Category on the task has some specific value, then the Owner needs to change.

Below is the code I have put in the After Modify event:

 

import ABSL;

import AP.PC.IdentityManagement.Global;

import AP.FO.BusinessPartner.Global;

import AP.PC.ActivityManagement.Global;

 

var elActivityParty : elementsof Activity.Party;

 

if (this.GroupCode.content == "Z001") {

 

elActivityParty.PartyName = "Sumeet Narang";

elActivityParty.RoleCode = "39"; //Employee Responsible = 39

 

this.EmployeeResponsibleParty.Create(elActivityParty);

}

 

I am getting the error "Please enter a party with role Employee Responsible". The Employee Responsible is getting created, but the ID is blank. Also I am not able to change the PartyID as it is a read only field. What else needs to be done in this case? We are using Cloud Application Studio 1408.

 

Regards,

Sumeet

How-to use the TradeReceivablesPayablesRegister BO?

$
0
0

Hello ByD experts,

 

I am facing a problem with the TradeReceivablesPayablesRegister BO.

I want to add a Project ID assigned to the Payables and Receivables according to the assignment done on the corresponding Invoices.

The logic is not hard, but the context of the BO is I think.

 

Here is how the BO is structured:

Root node: NO Public write access, NOT extensible

Item node: NO Public Write Access, IS extensible

ItemOverview node: NO Public write access, NOT extensible

Finally, the QueryByelements is in the ItemOverview Node.

 

So what I did is I used the query from the ItemOverview node and I extended the Item node with my require extension field.

However, when I code and I am in the ItemOverview after my query, I cannot use the ToRoot or the ToParent association. This is making impossible for me to go and put a value for my extension field in the Item node.

 

I already encountered a similar problem with a BO structured the same way as this one (ProjectExpenseView BO).

 

- Is this due to the fact this BO has no Public Write Access?

- Do all the Business Administration Object have no Public Write Access?

- When a BO or its nodes have NO public write access, does this means we cannot even create our own BO and write in it?

- Finally, do I need to ask SAP to release this BO for Public Write Access?

 

Thank you all for your attention.

Best regards.
Jacques-Antoine

Send HTML email from C4C?

$
0
0

Hello Experts,

 

We are trying to email from the Event-BeforeSave of our BusinessPartner extension object. Emailing seems to work just fine (plain text or PDF attachment), until the moment we add HTML content.

 

This is the code that we currently are using:

 

// create email activity  elEmailRoot.Name.content = "Test HTML";   instEmail = EmailActivity.Create(elEmailRoot);   // add receiver  elEmailParty.PartyKey.PartyID.content = "<myemail>";  instEmail.MessageToParty.Create(elEmailParty);   //Create att folder  instEmailAttFld = instEmail.AttachmentFolder.Create();  //Add attachment (html body)  docName = "body.html";  doctype.content = "10001";  binaryObject.mimeCode = "text/html";  //binaryObject.content = Binary.ParseFromString( resultData.GetFirst().EmailTemplate );  binaryObject.content = Binary.ParseFromString("<html><head></head><body><div>test</div></body></html>");  instEmailAttFld.CreateFile(doctype, docName, docAltName, docDesc, binaryObject);  // send email  instEmail.Send();

 

Is there an error within my code or is it possible that the system is blocking HTML email? Thanks for your help!

Error : The Project File can not be loaded

$
0
0

Dear all,

 

We have deleted the copernicus folder from my documents to remove cache.

 

But now while opening my project i see error message like this

Error.jpg

please help!

Suggestions for implementing a scenario

$
0
0

Hi All,

 

I have a requirement where in I need to add a custom tab in Opportunity TI screen. In that custom tab, we have certain search parameters like Product ID and the search needs to trigger an external web service that takes the search parameters as the input and returns a table containing IDs called KIT IDs.

This table needs to be displayed in the custom tab. It should have additional functionality like

1. Provision to choose multiple KIT IDs and compare its details

2. Provision to display something called Components when one KIT ID is chosen. A KIT may have multiple components.

 

Though I have a few ideas of implementing this, it would be helpful if I can get more suggestions.

 

Thanks & Regards

Jagathshree.

Custom button not getting enabled

$
0
0

Hi All

 

 

I have a requirement where in I need to add a custom tab in the standard opportunity screen. I am trying to create a custom button in that screen that performs a BO Action on click. But once the On Click event is assigned, the button is always disabled despite the 'Enabled' property for the button being set to true.

 

Kindly suggest a solution to enable the custom button.

 

Thanks & Regards

Jagathshree.

Activating BC SET fails

$
0
0

Hi, experts,

     I have created a BC SET over SAP BCO "ChangeDocumentMandatoryObjectConfiguration" for History Changes.

     When I activate it, this error occurs. And I simply don't know why it is happening.

     activating error.png

     Do I really need to report an incident? I simply don't know the cause.

     Looking forward to your kindly advice.

Thanks in advance.

Regards,

Fred.


Data doesn't display on Advanced List Pane in Embedded Component

$
0
0

Hi Experts,

 

I created an Advanced List Pane and attached a List Modification Form to create new entries for the list.

If I click on the New Button, the List Modification Form opens where I can add data. However after I click on OK button, the new entries don't show up on the list. I created a Refresh button and even if I click the Refresh button, then also the list doesn't update with the values.

The OK and Cancel buttons come up by themselves on the List Modification Form. Is there any way we can control them?

Could there be some binding missing?

 

Advanced List Pane.jpg

Exception in Approval Process

$
0
0

Hi,

 

I am working on creating an approval process. To block an account I need it to go through some approval first.

I have followed all the steps as mentioned in the help doc but I am facing some issues.

 

I have created a custom BO (CustomerBlock.bo) and an EC. I have embedded the EC in Account TI. This contains some fields which need to be filled and then submitted for approval. I have provided a button which invokes submitForApproval action on click.

For the custom BO i have created the approval process, approval and notification tasklist views are added to Account workcenter view.

CustomerBlockBO.png

In submitForApproval action, I am assigning EmployeeIDs to requester and RM approver.

submitForApproval.png

SubmitForApproval action is executed successfully, but on saving the Account I am getting an exception. The exception is not thrown if I remove the tasklist views from the account workcenter view.

exceptionOnSave.png

 

Any Idea what could be the issue here? Please help.

 

Regards,

Ambuja

Data type for duration

$
0
0

Hello everyone,

Is there any data type we can use to denote duration?

The scenario is that a user will need to enter hours and minutes and we should be able to use this information in reports.

 

thanks

Mahesh

Link to SalesOrder

$
0
0

I have a Preview Pane in which I display a list of product sold by an Employee.

This list contains the ID of the SalesOrder and I would like to create a OBN to link it to the instance of SalesOrder with the same ID.

What is the procedure?

Thanks in advance

SOAP Webservice needing basic authentication

$
0
0

Hi,

I am trying to create a SOAP webserive to use with my data mashup. I am at the Application and User > Mashup Web services > New > SOAP service screen.

I enter all needed information and system is able to load the WSDL successfully and get the Binding and Operation URL.

The webservice I am using requires basic authentication with username/password. On the New SOAP Service screen, I dont see an option to enter the auth credentials...there is option to use API Key though..

Is there an alternate option to specify the credentials for the webservice...?

 

Thanks,

Vineet.

Viewing all 1101 articles
Browse latest View live


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