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

Unable to access the Values From the UI

$
0
0

Hello Experts

 

 

I need to access the Values from the UI, Which are decalred as Node Element in BO defination, i need to write some bussiness logic in Before-Save event using those UI values, When i tried to access the values using "this" operator also values are not comming into Middle Layer.Please help me.

My BO derfination in like dat.

 

root{

element1

element2

     node1{

               element 1

               element 2

            }

    node2{
            element 1

             element2

}

}

 

I want acces the element1 of node1 values in the Middle layer.

 

 

Thanks and Regards

------------------------------

Ravikumar H.R


CRM Sales Quote Item EC

$
0
0

Hi All,

I am trying to Embed Component on Product Item Level in Sales Quotation .

On tenant screen in HTML Browser I am in Sales->Sales Quote and I am trying to find which is proper screen for it. Up to now I found out SAP_BYD_APPLICAITION_UI->crm->opp->quoteoifeco in Designer Studio. I hope that this is what I am searching for. But I can not see any possibility to add TAB on item level details.

So my question is how I can be sure that Sales->Sales Quote in Browser is the same as

SAP_BYD_APPLICAITION_UI->crm->opp->quoteoifeco in Designer Studio, because they  look very different, but this is the only screen enhancement anchor which has quote in it. And secondly if this is the right one and there no any anchor on Item level how long usually takes to have an new anchor from SAP if it is possible?

Thirdly there are several outPorts in quoteoifeco. How am I finding which is the right one for Alternative key on sales quote ? No one is Binded to ID. But there are a lot binded to ./UUID

I hope that BO CustomerQuote and Sales->Sales Quote are the same object too.

Thanks in Advance Ognian

more QA views for one BO

$
0
0

Hi experts,

 

After creating my BO - I can see my BO in the OWL-list and by clicking I see the QA-view.

 

Is there a possibility  to  have different QA views (layout is different)  from one OWL-list ?   Or do  I have to create some scripting in the QA view (so create a master QA-view and with hide) - to make the QA-view dynamic.

 

If there are any suggestions I would like to hear from you.

 

 

Regards,

Jeroen

Activate xbo error.

$
0
0

Hi Experts,

I have a patch solution, i will try to edit XBO, change an element data type. I set new data type and click save & activate. A error was raise.

I change the data type to previous value, and now, i not able to activate my XBO anymore.

Anybody help in this issue?

 

Captura de Tela 2016-01-11 às 16.36.08.png

 

Thanks!

ciro zanata

OnBeforeLazyLoad Event ?

$
0
0

Hi,

    When I clicked a child node in the data model tab and in the property explorer I found weird Event named "OnBeforeLazyLoad", Does any one know when this event will be triggered ?onbeforelazyload.PNG

SAP Cloud Application Studio Error

$
0
0

Hi colleagues,

 

In the last week i have a very anoying problem. Every time i tried to open SAP Cloud Application Studio 1508 I received the error:

"The instruction at 0x0fedfe86 referenced memory at 0x00000000. The memory could not be read".

I tried to go with my laptop at the IT department and after analyzing the issue they decided the only option that remains is to reimage my windows. So I reinstalled my windows and it worked, but after two days SAP Cloud Application Studio stopped working again. So I now have the same error and I can't even start any version of Studio.

I work for SAP as a developer and I must use SAP Cloud application studio every day and this issue prevents me for doing my job.

I do hope that one of you can help me with this.

I must note that 3 of my colleagues from Ireland have this issue already but lucky for them, they don't have to use it very often.

 

Please help,

 

Thanks in advance.

Fix length of input field

$
0
0

Dear experts,

 

 

I would like to create input field which is only accept 5 characters input by users.

 

But I don't the exactly data type I should use for field declaration in my custom business object.

 

Or should I do it in UI Designer ? 

 

 

However I still did not see any options to set MAX LENGTH of input field in UI Designer .

 

 

How can I achieve  this ?

 

Especially in extensibility mode with extension field .

 

 

 

 

Best Regards,

Krit R.

C4C Enhancing Quote Product Item with Embeded Component

$
0
0

Hi All,

I am enhancing Sales Quote Product Item with customer BO using EC following the guide Add custom BO to standards screen

provided by Stefan Krauth see below for detailed explanation how I created the BO and EC.

For some reason whenever I change the item it is not triggering the UIID change, from my perspective some initialization is missing but I am not sure how should I do it.

Thanks in advance.

Here is my BODL:

businessobject ProductVariant {
[AlternativeKey][Label("Varinat Identificator")] element variantID:ID;      //NUMC 10"
[AlternativeKey][Label("Quotation Item UUID")] element QuoteItemUUID:UUID;
[Label("Product Id")] element productID:apCommonGDT:ProductInternalID;
association ToMaterial[1,1] to Material;
node Characteristics [0,n]{                [Label("Internal characteristic")] element atinnInternalCharacteristics:ID; //NUMC  10                            [Label("Characteristic Name")] element atnamCharacteristicsName:LANGUAGEINDEPENDENT_MEDIUM_Text; //CHAR             30                            node CharacteristicValues [0,n]{                                [Label("Internal characteristic")] element atinnInternalCharacteristics:ID; //NUMC 10                                             [Label("Int counter")] element atzhlInternalCharacteristics:BusinessTransactionDocumentItemScheduleLineID;//NUMC 4                                [Label("Characteristic Value")] element atwrtCharacteristicsValue:LANGUAGEINDEPENDENT_MEDIUM_Text;//CHAR 30                                [Label("Characteristic value description")] element atwtbCharacteristicsDescription:MEDIUM_Name;//CHAR 30                }
}
}               

The screen looks like

BO screen.png

Data Model

Data Model.png

InPort

InPort.png

Event

Event1.png

Event2.png

Event3.png


I am adding EC to screen : BYD_COD/SalesOnDemand/Quote/COD_QuoteTI.TI.uicomponet:


EcPlace.png

in the following Container:

ECContainer.png

Using Binding :

AddEC.png

TheBind.png

And here is the Test case:

TestHead.png


When there is one item everything looks fine

TestOneItem.png

But when they are two : Bind is not working

TestTwoItem.png

 














How to set default prospect check box as uncheck while account creation in Sap C4C?

$
0
0

Hi Experts,

 

While clicking on new button in OWL account screen we will get the QC of the account there by default the prospect check box is gets checked so i'm getting role as prospect.

 

How to make the prospect check box as unchecked by default so that user can create only the customer and if they want to create prospect they can able to check the prospect check box.

 

By default i'm getting as below.

prospect.PNG

 

It should be as below by default.

 

customer.PNG

 

Kindly help me to solve this.

 

Thanks,

Siraj.

Input Amount of product line item in Sales Order Web-Services

$
0
0

Dear Experts,

 

We got the requirement to create Sales Order using web-service in ByDesign.
And pricing must be send from external application because the calculation is very complicated.

 

However, we could not find any field to input amount of each product line item in ManageSalesOrderIn web-service.

 

Please help suggest if there's any way to input the price.

 

Thank you very much in advance.

 

Regards,

Mullika

How to change the properties of standard fields from back-end in Sap C4C ?

$
0
0

Hi Experts,

 

How to change the properties of standard fields from back-end which is not possible from fronted KUT like in my scenario i want to make the field Base Unit of measure to be non mandatory from new product creation screen.

 

ProductAdmin.PNG

 

Kindly help me in this requirement.

 

Thanks,

Siraj.

Purchase Order Creation in ABSL

$
0
0

Hi,

 

I'm currently trying to create a Purcase Order via ABSL action and get errors regarding Partner function missing for the Supplier but the SellerParty is populated with data and the Supplier shows in the OIF.

 

Has anoyone here tried to create a Purchase Order via ABSL?

Convert Quantity Value into a string.

$
0
0

hello everyone ,i'm quiet new  SAp C4C  consultant  and i need to convert the Quantity value into a string . the problem is the quantity number has the decimal value as well but when i want to convert it to string i won't get the exact number .

in my case when i try to convert 500 to a string i will get 500.00

Event to use before Preview in Sales Quote

$
0
0

Hi All,

 

We have added some logic in BeforeSave event in Sales Quote which is required for the Quote form and it is giving us performance issues when saving the quote.

 

Ideally this logic should trigger only when a quote is previewed, since there is no ABSL scrip or event exposed for preview we had to choose the BeforeSave event.

 

Since we are facing performance issues we want to stop triggering the logic whenever the Quote is saved.

 

We checked the Event handler EH_Preview and ABSL scripts there is no option to add a logic in that, or to add a custom action to the preview which will have this logic.

 

Please suggest how we can make this logic to trigger only when the quote is previewed.

 

Thanks and Regards,

Ajith J.

Changing not possible; field is read-only

$
0
0

Hello,

 

I need update Expected Value in Opportunity.

 

Expected Value is bound Opportunity.SalesForecast.ExpectedRevenueAmount.content.

 

When I try to update in adsl, "Changing not possible; field is read-only" error appears in frontend to the user.

 

expfield.png

 

exppdi.png

 

 

Thanks!


Web Service - confirm service item in sales order

$
0
0

Dear Expert,

 

We would like to find web service that using for confirm service execution based on Sales Order.

 

 

The requirement is customer will create orders in external system then collect the payment will be handled in ByDesign. But they would like to track cost of services so we cannot start from Invoice Request which can track only revenue side.

 

Therefore, when they complete services in external system, we would replicate the order in ByD again. And it should be able to generate and release Service Execution Confirmation to track cost as well. (items in ByD will be assign with item group "Service - Time and Material")

 

Now we can find web service to create sales order but cannot execute service confirmation.

 

Please kindly suggest if you have any idea about this.

 

 

Regards,

Mullika

Calcolate month and day

$
0
0

Hello everyOne,

 

i have a number with lenght of two , for example 65 . i need to calcolate in Sap C4C that 65 is which day of which month of the current year?

 

is there any library to do that?

 

any idea?

Contacts validation: email or telephone should be entered

$
0
0

Hi all,

 

I have this simple requirement to ensure that when saving Contacts, either the email or the telephone should have a value.  If both are blank, issue an error message.

 

I am using SAP CLoud APplications Studio.  I have created an extension of the BusinessPartner BO but I understand that this may contain not only Contacts but others like Sold-To , etc.

 

In Validation:OnSave logic:

 

1) How can I check that it is only validating Contacts and not other business partners?

 

2) How do I access the current values of Email and Telephone fields of the QC screen?  I tried

this.AddressInformation.AddressSnapshot.Email or Telephone

or

this.BusinessPartnerRelationship.ContactPerson.ContactWorkplaceAddressInformation.AddressSnapshot.Email or Telephone

but the above have no Content in dropdown (only Count, GetFirst, etc., which still gets invalid syntax message).


3) Are the Email and Telephone fields allowed to have multiple entries?

 

 

Sorry, still a newbie to this.  Hope anyone of you can help me.

 

Many thanks.

ADD Duration Sap C4C

$
0
0

Hello evrybody,

 

is there anybody who is expert in add duration in Sap C4C .

 

i need to add a number to an scpecific date and calcolate the new date.

for example i need to add duration of 32 days to 01.01.2016 and calcolate the new date.

 

THX

masoumeh

Working with multi language data

$
0
0

Hi All,

Can some body explain me how in real world we can use multi language data types for example MEDIUM_Name.

If I am understanding the logic behind. The way should be something like:

1. Create BO for your multi language Master data

     1.1 It should contain node Description like following

node Description[0,n]{          element Description : MEDIUM_Name         }

     1.2 You create screen with Advance list for Description each line one Language ( I hope this is the right way if not correct me.)

2. Create BO for Transaction data .

     2.1 And here becomes the mess.

          2.1.1 I assume that I should create one data element like   element

 

              element Description : MEDIUM_Name

And probably on loading event I should find the proper language and extract the correct data from Master data BO.

or.

     2.1.2 Or I should keep all language data in Transactional BO with :

node Description[0,n]{          element Description : MEDIUM_Name         }

     But somehow I should have the current language only probably in second field.

So the question is what is the idea behind Language dependent text and how is the right way to use it.

Best Regards Ognian.

Viewing all 1333 articles
Browse latest View live


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