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

SAP Cloud SDK : Display more 500+ character in the PDF form in table cell

$
0
0

Hi Experts,

 

I have requirement in the PDF form.

 

Scenario:

My custom business object

businessobject DummyObject {

 

     element ID : ID;

     element FromDate : Date;

     element ToDate : Date;

 

     node AllActivity [0,n] {

               element ActivityID : ID

               element ActivityType : 

               element Note: Note;

     }

 

}

 

The above business object have node level data and i under this node level data Activity Id , Activity Type and Notes associated with that activity as show below.

Capture.JPG

so as per the above activity i have retrieve the data for the activity and store into my custom business object at node level ( Activity ID  , Activity Name , Activity Type and Notes ) that mentioned above screen.

 

I have created 1 form and design in adobe life cycle just Drag and Drop the element from the DataView.

After completed the print from i have create the preview button to display the data.

Once i have done all the steps to display the form and click click on preview button i can able to see the data but the under the Note field only display the 256 character not more than that but as per the above screen i have entered the Notes with more than 500+ character.

 

In the form design i have also change the property for Note field to Allow Multiple value and Rich Tech but data is not display with all the character.

 

Anyone have idea on which data type display the more than 500+ character in the form.

I am using "Note" data type.

Can anyone suggest me what the solution to display the proper value in the form.

 

Please let me because i am stuck in this issue.

 

Many Thank,

Mithun


SAP Cloud SDK : SAP cloud for customer custom development not working in HTML5

$
0
0

Hi Experts,

 

I have created the custom component with (object based screen).

I have create embed component and add into the COD_Account_TI screen with new tab, and it working fine all the available functionality under that embed component in silverlight mode.

 

Under the embed component i have develop

1) Display data in tabular form with hyperlink( Open View Facet in Details form when click on it)

2) Preview button ( save as above function)

3) New Contract ( Open Quick Create / Quick Activity ) for creation of new entry.

 

Step21.JPG

But when i open in HTML5 mode and go to that tab the result display the same but no functionality working as mentioned above.

 

Kindly help me any configuration require in SDK for enable HTML5 mode for specific solution?

Or

What is the solution to enable all the custom functionality as mentioned above in HTML5 mode ?

 

Many Thanks,

Mithun

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-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

How to access the ID of a PurchaseOrder before saving it?

$
0
0

Dear community,

 

I need to implement a REST call to an external system passing through some data of PurchaseOrders.

The PurchaseOrders are part of a third-party process and created automatically by ByD from released SalesOrders.

 

The PurchaseOrders are created and automatically sent by ByD and afterwards saved by the system. The problem I'm facing is that at the time of the calls to AfterModify and BeforeSave, the ID field of the PO is not yet set.

 

Is there a way to get the ID in the AfterModify or BeforeSave before the PO is saved for the first time?

 

The only possible solution I came up with is to use internal communication to create an object. This message would be sent after the save and with the ID of the PO. Is another way to do it?

 

Thanks for your help and best regards,

Georg

Connection between Cloud and On-Premise System

$
0
0

If we have SAP on Cloud and another in-house system On-Premise, how do we communicate these two systems? Let's says both are using SQL database, are we able to retrieve SAP data directly from On-Premise system via SQL command without PI or middleware?

Extension Field

$
0
0

Dear All,

 

Is it possible to use an extension field as a object value selector (OVS )?

 

I have created one extension field through SDK .

Exp-

element Customer_ID:ID;

Now i want to use this extension field as a OVS.

I have no idea ,how to do this.

Is it possible?

 

Please Help me.

 

Thanks & Regards,

Manoj Kannaujiya.

Link to Custom Business Object From Standard Screen.

$
0
0

Dear All,

 

 

I am  trying to link a custom  OWL Screen from Standard (Outbound Delivery) Screen.

i have created a custom business object (MTC), now i want to call (MTC OWL) screen through (OBN link/Button)  from Standard Outbound Delivery Screen.

But i am getting only (QAF / OIF/Fact Sheet) Screen after selecting the operation at the time of (OBN link/button)Configuration.

I have checked with all operation shown at the time of OBN configuration ,but owl screen is not coming .

 

Is it possible to Link OWL Screen through OBN ?

Please Help .

 

 

Thanks & Regards,

Manoj.


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

Modifying child node instances in the foreach loop

$
0
0

Dear All,

 

I have implemented a custom BO with a child node. On executing an action on the root node, i want to loop through the associated child nodes and create an SAP standard BO instance for every child node instance.

I then want to associate the ID of the standard BO created to a field in the child node.How do i modify the child node instance in this loop?

Any pointers would be really appreciated.

 

Thanks a lot for your help.

 

- Kavya

Fetch current Quarter and pass it to custom query

$
0
0

Hi

 

I need to pass the current date and find the quarter in which the date falls.

The start and end date of the quarter need to be passed as a query parameter, in a custom query in UI designer.

My query is as follows

CustomQuery_Screenshot.png

As shown in above screenshot,I have close_dt_upd(datatype Date).This field should have end date of the quarter as a condition.

Similarly I will have a field start_date which should have Start date of the quarter as condition.

 

I got the following table in 1402 documentation.

DocumentationTable.png

 

But the above transformation rule is not visible in  the query.

TransformationField.png

Can anyone tell which namespace to use?

How can I retrieve the current quarter start and end dates, and then pass them  to the above query?

 

Thanks,

Vijaya Chavan

Protocol exception 403 during logon

$
0
0

Hi,

Let me ask very premitive question, sorry.

I have recieved an error message (as attatched) when I tried to login to the system.

The user and password should be correct.
Could anyone kindly help?

Kind regards,

Yasuko

 

 


SAP Cloud SDK : Create Entry from ABSL (Root and Node Level) in Custom BO

$
0
0

Hi Experts,

 

Scenario: I want to create the data from ABSL code with root as well as node level data.

I have created the Custom BO with the below elements:

 

businessobject CustomAllActivity {

 

[Label("ID")] [AlternativeKey] element ID : ID;

[Label("Description")] [AlternativeKey] element Desc : LANGUAGEINDEPENDENT_Text;

[Label("Start Date")] element StartDate : Date;

[Label("End Date")] element EndDate : Date;

 

Node allActivity [0,n]  {

          element ActivityID : BusinessTransactionDocumentID;                              // Activity ID from Standard BO

          element ActivityName : EXTENDED_Name;                                              // Activity Name / Desccription  from Standard BO

          element ActivityType :  LANGUAGEINDEPENDENT_Text;                    // Activity Type(PhoneCall, Task, Email etc...) from Standard BO

          [DependentObject(TextCollection)] [MultipleTexts] node MyNote;             // Activity Notes from Standard BO

     }

}

 

I want to get all the Activity ( Phone Call , Task , Appointment , Email ) and Store into the Custom BO node entry based on the Date..

I have created the Object-based screen for this business object.

I want when user click on New from OWL under the QA screen user can able to enter the "Description , StartData and EndDate" and save the entry based on start date and end date i need to fire a query on date of creation in activity and based on that store data under the custom entry in node allActivity 

 

Readandupdate.png

Please refer the above screen for more details.

 

at last i want the code to save the root level as well as node level data in same time on custom action or standard event(AfterModify , OnSave etc....)

 

Kindly help me to solve this issue.

 

Many Thanks,

Mithun

Identified Stock

$
0
0

Dear All,

 

Is It Possible to Use Identified Stock ID as a Public OVS  in Business ByDesign System?

Please Help.

 

 

Thanks & Regards,

Manoj Kannaujiya.

BC set / BC view not allowing new values in Fine Tuning

$
0
0

In my project, I have a BC view which is visible in Fine Tuning.  Some values have been loaded in the solution in the BC set.

 

In Fine Tuning, I try to add more values, but it's giving me an error "___  is not a valid value for this field. Enter a valid value".


See screenshot below.

 

Appreciate any tips as what may be causing this.

 

9-23-2014 10-48-38 PM.png


How can I create a Multi-Customer-Solution?

$
0
0

Hello,

 

I want to create a Multi-Customer Solution in the Cloud Application Studio(1408), but I cannot find any option to do this. When I click on the creat solution option on "My Solutions" I can only create a Customer Specific Solution or a Solution Template.

 

My guess is that I need a Partner Tenant not a Test Tenant is this right or what am I doing wrong ?

 

 

Thanks & Best regards

Thomas

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 to achieve offline mode for IPAD to save custom BO's data?

$
0
0

Dear Experts,

 

Is it feasible to use offline mode of ipad in order to save data of custom BO?

 

If yes kindly share the step by step or some thing to start!

 

Thanks in advanced!

Dhruvin

Access to Z Table in SDK

$
0
0

Hello Experts,

 

I created a Z Table and want to use this table in the Cloud Application Studio. I want to read and manipulate the data of this Z Table. How can I get the data of this table in the SDK?

This is my Z Table:

ZTable.png

Can you help me?

 

With Kind regards

 

Sabrina

How to determine the solution's ID in absl?

$
0
0

Hello Community,

 

I have a simple question yet I fear there is no simple answer (possibly no answer at all).

 

The question is:

 

Does any body know ways how to determine the ID (e.g. Y123ABCDY_) of the solution the code is running in?

 

My use case is the following:

 

We have a solution template which will be deployed in different customer tenant.

 

Thus, each deployment will have a different solution ID.

 

Now, somewhere in code, we generat PDFs using the OutputManagementUtilities.GetPDF reuse library.

This method requires the form template code of the pdf to be generated as a parameter.

 

However, this PDF form template code is composed of the solution ID and a fixed suffix.

 

Thus, currently I need to modify the absl code in each customer installation to manually modify the form template code prefix to the solutions solution ID.

 

Therefore I'd like to construct the form template code in absl but for this I need a way to determine the solution's ID.

 

 

Any ideas?

 

 

Best regards,

 

Ludger

Viewing all 1101 articles
Browse latest View live


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