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

Can´t download my solution template

$
0
0

Hey guys,

 

I try to download my solution template from the Implementation Manager.

But the following error occurs:

 

error.JPG

 

All objects, views and anchors mentioned in the error are old.

I cant see them in the solution explorer neither in the configuration explorer.

Also I cleaned my projects and activated all items again.

 

How can I delete them?

 

Thanks for help

 

Best regards

 

Sebastian


Is it impossible now to change an ID-Field Configuration in List?

$
0
0

Hallo everybody,

 

it is not possible any more to change an ID-Field Configuration in the Extensibility Explorer, i.e. after adding a field of type ID or BusinessPartnerInternalID to the SAP-Business Object and to the corresponding screen, I can't add an OVS  nor can I add an OBN Navigation to this field.

 

I've added such tranactions many times before, but from one day it can't be done any more. I have seen some people complaining about the same issue in this forum, for example in the following thread: Change properties of custom field in a standard Quick create, but the solution proposed in this thread doesn't work for me; after deleting a field an adding it again, doesn't matter if it is of type ID or BusinessPartnerInternalID, the error message mentioned already in the named thread ("Component which you are trying to edit comes from the lower layer. Please use Extensibility Explorer to edit") appears. It is a kind of ridiculous for I'm already using an Extensibility Explorer to add a field to the anchor, and I'm using an Extensibility Explorer when trying to edit the ID-Field Configuration of this anchored field.

 

On 25.August I've created an incident on this issue with the priority "Very high" , because this issue stops our development, but SAP didn't provided any satisfying solution yet.

 

Is anybody facing the same issue or is anybody able to edit the ID-Field configuration?

 

Regards,

Leonid Granatstein

Key figures and Characteristics in analytical report

$
0
0

Hi, experts,

     I am having some troubles with creating and using key figures and characteristics.

     Can anybody please explain a little bit more about key figures (with use cases and examples if possible ) ??

Thanks in advance.

Regards,

Fred.

Disabling the fields based on the Service Request Status

$
0
0

Hello Experts,

 

I want to make all fields as "Non-Editable" once the Service Request status set to "Closed with Success".

Here I am associating my custom BO with the standard request, so I want to make my Custom BO fields also as non-editable.

 

Let me know if you need more details and your suggestions to achieve this.

 

Thanks in Advance.

 

Regards,

Ravi Teja

SAP Cloud SDK : Create/ Generate PDF using button and add into the attechment component in Custom Business Object

$
0
0

Hi Experts,

 

I have created the custom business object with attachment using  [DependentObject(AttachmentFolder)] node Attachment at root level in my custom business object i have add 2 actions 1) Generate PDF 2) Send Email with Attachment.

 

I have created the PDF form using create form and i have also design and Activate , Deploy Business Configuration.

my current functionality i have make preview button and it is working fine.

 

But

 

I want to generate PDF with content and after generating that pdf add under the AttachmentFolder component in my BO.

also i want to send email with attached pdf from AttachmentFolder component in my BO on action Send Email with Attachment.

 

To generate PDF using absl i have write code under the action Generate PDF

 

var FormTemplateLanguage = "E";

var PDF : BinaryObject;

var FormTemplateCode : OutputRequestFormTemplateCode;

FormTemplateCode.content = "Y1CRFP9I_P0FOT"; //Code is Form Template Header Code

 

// Reuse Service Call

PDF = OutputManagementUtilities.GetPDF(this,FormTemplateCode,FormTemplateLanguage);

 

PDFCrtCapture.JPG

 

I am using the yello highlighted code under the absl.

 

When i click on generate PDF button i can not see any pdf document in attachment component.

PDF2Capture.JPG

Can anyone help me why the above code is not add the pdf into the attachment component as shown above?

 

1) What are the steps required when i click on button "Generate PDF" the pdf create with content and add under the Attachment component ?

2)  If my business object is below then how to use the attachment component ( Add generated PDF , read PDF to send email with attachment ) etc...

 

element data1 : LANGUAGEINDEPENDENT_MEDIUM_Text;
element data2 : LANGUAGEINDEPENDENT_MEDIUM_Text;
element data3 : LANGUAGEINDEPENDENT_MEDIUM_Text;
element CFlag : Indicator;

 

[DependentObject(AttachmentFolder)] node Attachment;
action GeneratPDF;
action SendEmail;

 

3)  I can able to Add any document from the Attachment component how to disable the "Add" button from the Attachment component because this component only for display 

 

Kindly help me solve the above 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.

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 !

Questions for Mobile Development in the ByDesign SDK

$
0
0

Hello everybody,

 

I just started to look for the mobile applications of ByDesign and was wondering how the development worked for this.

 

I would like to modify the UI of the ByDesign android/ipone app and the UI of the SAP ByDesign Active Sales iPad app.

 

But when I am in the SDK and the UI designer for ByDesign, the Mobile Application folder under SAP_BYD_APPLICATION_UI is empty.

 

- Is it possible to modify the standards UI of the ByDesign mobile apps?

- Or do we need to create custom Work Centers and assign them to the Mobile app with the Device tag?

 

- Finally, is there a special SDK in order to build mobile apps for ByDesign or do we use the Cloud App Studio? I found the SAP Mobile SDK but I think it is not related to ByDesign.

 

Thank you all for your answers and your attention.

Best regards.

Jacques-Antoine


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

Object Value Selector (OVS) from Custom Business Object.

$
0
0

Dear All,

 

I have created one Custom Business Object. And  i have created a OVS Screen for this BO.

i have define the element ->

 

businessobject TMTC {

 

     

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

    

     [Label("Seller Exporter")]  element Seller_Exporter:LANGUAGEINDEPENDENT_MEDIUM_Text;

     [Label("Customer ID")] element CustomerID:BusinessPartnerInternalID;

     [Label("Product ID")] element material_id:ID;

     [Label("Works Certificate")]element Works_Certificate:LANGUAGEINDEPENDENT_MEDIUM_Text;

     [Label("Contract No")]element Contract_no:LANGUAGEINDEPENDENT_MEDIUM_Text;

     [Label("Order No")]element order_no:LANGUAGEINDEPENDENT_MEDIUM_Text;

     [Label("Pallets No")]element pallets_no: LANGUAGEINDEPENDENT_MEDIUM_Text;

 

             node Items[0,1]{

 

               [Label("Nr No.")]     element Nr_no:ID; 

               [Label("Pos Item")]element Pos_Item:LANGUAGEINDEPENDENT_MEDIUM_Text;

               [Label("Rolle Nr / Coil No")]element Rolle_Nr_Coil_No:LANGUAGEINDEPENDENT_MEDIUM_Text;

               [Label("Nr Heat no")]element Nr_heat_no:LANGUAGEINDEPENDENT_MEDIUM_Text;

               [Label("Lot Pack No")]element Lot_Pack_No:LANGUAGEINDEPENDENT_MEDIUM_Text;

               [Label("Surface Class")]element Surface_Class:IntegerValue;

               [Label("Admessung (mm)")]element Admessung_mm:LANGUAGEINDEPENDENT_MEDIUM_Text;

               [Label("No of Welds")]element No_of_welds:LANGUAGEINDEPENDENT_MEDIUM_Text;

               [Label("Gross")]element Gross:IntegerValue;

               [Label("Net")]element Net:IntegerValue;

               [Label("Pieces")]element Pieces:LANGUAGEINDEPENDENT_MEDIUM_Text;

               [Label("Nomenclutuer No")]element Nomencluture_No:NumberValue;

               [Label("Nr No.")]     element Nr_no2s:ID;

               [Label("C")] element c:FloatValue;

               [Label("Si")]element Si:FloatValue;

               [Label("Al")]element Al:FloatValue;

 

              [Label("P 1.5/50")] element p:FloatValue;

              [Label("P 1.7/50")] element Q:FloatValue;

              [Label(" Description")]   element Description:LANGUAGEINDEPENDENT_LONG_Description;

              [Label("B 2500")] element A:FloatValue;

              [Label("B 800")] element B:FloatValue;

              [Label("B 100")] element CA:FloatValue;

              [Label("Coating OrderFlashe ")]element coating_orderflashe:LANGUAGEINDEPENDENT_MEDIUM_Text;

 

       }

  }

 

 

I want to add my all Items node elements in my OVS but i am gating problem here , and i have no idea how to bind the all elements of item node in to my OVS.  .

 

Please Help Me.

 

Thanks & Regards,

Manoj Kannaujiya.

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

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 : Send E-mail with multiple existing attachments

$
0
0

Hi Experts,

 

I have some requirements from our clients.

 

1) Can we send email with multiple existing attachments to employee?

 

I know that we can send email with attachment but how to add existing attachments to the email and send it to user.

Capture.JPG

2) Can we enhance the standard embed component and add some standard fields under it?

Here below under the Account TI screen Activity tab ->E-Mail Section

I want to add the Category filed exist under the E-Mail Business object in this E-mail Section ( Account TI screen embed component )

1Capture.JPG

anyone have idea how to achieve this requirements using SDK or front end.

 

Many Thanks,

Mithun

How to Store data from Modal Dialogue Box into the Buisness Object(BO)

$
0
0

Hi,

 

I have put an advanced List Pane on the OWL screen. In one of the columns of the ALP, I have added an icon. On click of the icon,a  modal Dialogue Box opens.I have put an Input Field on the dialog box.

 

Can any one please tell me how to retrieve  the data from the modal dialogue box and get it to the OWL.

SAP Cloud SDK : Create/ Generate PDF using button and add into the attechment component in Custom Business Object

$
0
0

Hi Experts,

 

I have created the custom business object with attachment using  [DependentObject(AttachmentFolder)] node Attachment at root level in my custom business object i have add 2 actions 1) Generate PDF 2) Send Email with Attachment.

 

I have created the PDF form using create form and i have also design and Activate , Deploy Business Configuration.

my current functionality i have make preview button and it is working fine.

 

But

 

I want to generate PDF with content and after generating that pdf add under the AttachmentFolder component in my BO.

also i want to send email with attached pdf from AttachmentFolder component in my BO on action Send Email with Attachment.

 

To generate PDF using absl i have write code under the action Generate PDF

 

var FormTemplateLanguage = "E";

var PDF : BinaryObject;

var FormTemplateCode : OutputRequestFormTemplateCode;

FormTemplateCode.content = "Y1CRFP9I_P0FOT"; //Code is Form Template Header Code

 

// Reuse Service Call

PDF = OutputManagementUtilities.GetPDF(this,FormTemplateCode,FormTemplateLanguage);

 

PDFCrtCapture.JPG

 

I am using the yello highlighted code under the absl.

 

When i click on generate PDF button i can not see any pdf document in attachment component.

PDF2Capture.JPG

Can anyone help me why the above code is not add the pdf into the attachment component as shown above?

 

1) What are the steps required when i click on button "Generate PDF" the pdf create with content and add under the Attachment component ?

2)  If my business object is below then how to use the attachment component ( Add generated PDF , read PDF to send email with attachment ) etc...

 

element data1 : LANGUAGEINDEPENDENT_MEDIUM_Text;
element data2 : LANGUAGEINDEPENDENT_MEDIUM_Text;
element data3 : LANGUAGEINDEPENDENT_MEDIUM_Text;
element CFlag : Indicator;

 

[DependentObject(AttachmentFolder)] node Attachment;
action GeneratPDF;
action SendEmail;

 

3)  I can able to Add any document from the Attachment component how to disable the "Add" button from the Attachment component because this component only for display 

 

Kindly help me solve the above issue.

 

Many Thanks,

Mithun

 

 

 





 


Create PDF and add to attachment view

$
0
0

HI Experts ,

 

I have requirement to create PDF form/document and Add this to attachment view , which later on i used to send email .

 

a. I have create Embedded component .

b. Fill the values in "ID" , "Name" and "Description"   and click on "Generate PDF" and PDF should generated and attached in "attachment view"

 

 

Please suggest , how it can be done .

 

Regards,

Rishi verma

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

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

SAP Cloud SDK : Copy PhoneCall Activity Notes fields into Custom Notes fields

$
0
0

Hi Experts,

 

Scenario : I have requirement to copy some fields ( Activity ID , Subject , Notes etc)  from standard activity ( Phone Call , Appointment , Task etc) into my custom business object node level data .

 

Issue : How to Copy Notes field from standard activity into my custom activity Notes fields my custom business object sample definition

 

businessobject BOCustomActivity {

 

[Label("Description")] element Descr : LANGUAGEINDEPENDENT_LONG_Text;

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

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

 

node Cust_Act_send [0,n] {

     [Label("Activity ID")] element ActID : BusinessTransactionDocumentID;

     [Label("Activity Subject")] element ActName : EXTENDED_Name;

     [Label("Activity Type")] element ActType : LANGUAGEINDEPENDENT_MEDIUM_Text;

     [DependentObject(TextCollection)] node myNode;

  }

action UpdateData;

}

 

In the above business object under the node level i can assign the Activity ID,  Activity Subject , Activity Type from standard activity using Query and update the node level records,

But I want to assign Notes ( TextCollection Text ) from standard activity notes fields.

 

In the below screen we have 2 records from standard phone call activity.

 

121Capture.JPG

 

I am using the below code to get the record from standard phone call activity.

 

import ABSL;

import AP.FO.Activity.Global;

 

var noderef : elementsof BOCustomActivity.Cust_Act_send;

var nodeins;

 

var query = PhoneCallActivity.QueryByElements;

var resultData = query.Execute();

 

// 2. Selection

var selectionParams = query.CreateSelectionParams();

selectionParams.Add(query.ID.content, "I", "BT", "2551", "2555");

// Result

resultData = query.Execute(selectionParams);

 

 

foreach ( var record in resultData)

{

  noderef.ActID = record.ID;

  noderef.ActName.content = record.Name.content;

  noderef.ActType = record.TypeCode.GetDescription();

                   (?)       = record.TextCollection.Text.TextContent.GetFirst().Text.content

  nodeins = this.Attachment.Create(noderef);

}

 

in the above code the Activity ID , Activity Name , Activity Type but how to copy the Notes ( TextCollection Text ) into the node element myNode (TextCollection) and assign and update on node level element .

 

I have check the post : Copy DependentObject TextCollection or AttachmentFolder

 

But did not solve the issue.

 

Please anyone have idea about the above requirement.

 

IF anyone want more explanation kindly let me know.

 

Many Thanks,

Mithun

Is it impossible now to change an ID-Field Configuration in List?

$
0
0

Hallo everybody,

 

it is not possible any more to change an ID-Field Configuration in the Extensibility Explorer, i.e. after adding a field of type ID or BusinessPartnerInternalID to the SAP-Business Object and to the corresponding screen, I can't add an OVS  nor can I add an OBN Navigation to this field.

 

I've added such tranactions many times before, but from one day it can't be done any more. I have seen some people complaining about the same issue in this forum, for example in the following thread: Change properties of custom field in a standard Quick create, but the solution proposed in this thread doesn't work for me; after deleting a field an adding it again, doesn't matter if it is of type ID or BusinessPartnerInternalID, the error message mentioned already in the named thread ("Component which you are trying to edit comes from the lower layer. Please use Extensibility Explorer to edit") appears. It is a kind of ridiculous for I'm already using an Extensibility Explorer to add a field to the anchor, and I'm using an Extensibility Explorer when trying to edit the ID-Field Configuration of this anchored field.

 

On 25.August I've created an incident on this issue with the priority "Very high" , because this issue stops our development, but SAP didn't provided any satisfying solution yet.

 

Is anybody facing the same issue or is anybody able to edit the ID-Field configuration?

 

Regards,

Leonid Granatstein

Viewing all 1101 articles
Browse latest View live


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