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

Issue with consuming external web-service in C4C SDK

$
0
0

Hi Cloud Experts Need Help,

 

 

I'm facing an issue in consuming external Webservice in C4C SDK,I have used external web service integration and consumed the WSDL file of the  web service,This is Experian Address Check Web Service.

While creating external web service integration m getting an error message as below.

 

Address_Check_Error.png

At the other end i can able to used this web service in SOAP UI Tool and able to send request and get response successfully,I don't understand what is this QAPortType and why it is not available in WSDL file ?

n

Horst SchaudeAlessandro IannacciStefan Krauth Please help me in this issue.

 

Thanks,

  Siraj.


Adding row in table it is taking first value

$
0
0

Dear experts,

 

I am new in sap c4c.

 

I have a requirement , in this requirement i had taken table with two fields employee id & employee name employee id field having f4 help. when we select employee id from f4 help then employee name automatically comes.

 

For first row,

 

when i am selecting employee id from f4 help , employee name automatically comes, it is working fine.

 

For second row ,

 

when i am adding second row , it is taking first row employee name and employee id is blank.

 

i have written code at node after modify.

 

 

Regards,

Puneet Mittal

SAP Cloud SDK : Create Web Service To Create/Read Entry in Embed Component

$
0
0

Hi Experts,

 

We have requirement to create embed component into Account_TI screen as shown below.

 

Custom BO definition :

businessobject AccountPayment {

  [AlternativeKey] [Label("Account")] element AccountID : BusinessPartnerInternalID;

  node PaymentCard [1,n] {

       [Label("Payment Card Type")] element Ptype : LANGUAGEINDEPENDENT_LONG_Text;

       [Label("Payment Card")] element Pcard : ID;

       [Label("Valid From")] element sEdate : Date;

       [Label("Valid To")] element Edate : Date;

  }

}

Embed Component created on Account_TI screen

NWPay.png

Requirement :

1) Read this embed component record (Custom Business Object) into standard business object based on AccountID

     Read this data into Standard Business Object "Sales Order" and Pass Account ID and Read card data as shown above.

2) Create embed component record (Custom Business Object) into Account_TI with respect to AccountID.

     Create embed component record from ECC using web service.

 

Web Service:

I have created web service for above custom business object and create new Work-Center View and Add operations Create, Read, Update, Query.

After successfully activate service download this WSDL file and open into SOAP UI tool for testing and Read value based on AccountID we are getting below error.

 

HTTP/1.1 500 SRT: Unexpected failure in SOAP processing occurred: ("No Web service configuration for this access path: "/sap/bc/srt/scs/sap/yyewbdq6oy_manageaccountpaymen?sap-vhost=myxxxxxx.crm.ondemand.com"")

content-type: text/html

content-length: 0

And

Authorization role missing for service "ServiceInterface http://refsystems.sap.com/YEWBDQ6OY_ YEWBDQ6OY_ManageAccountPaymentIn

 

 

Anyone have idea how to achieve it please let me know.

Please if you need more information I will provide you.

 

Regards,

Mithun

Getting current user name in ABSL

$
0
0

Hi Guys,

 

I have a requirement where I need to execute some piece of code of "event_aftermodify" based on some specific user. Can anyone please let me know that how can I read the current user name in ABSL?

 

 

Regards

Nitin

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

Query Execution with Maximum Rows

$
0
0

Dear Community,

 

 

I have a question regarding Queries in ABSL. I want to use the execute function with the maximum rows and start rows in order to get a better performance while executing queries.

 

An example to query BusinessPartners:

varquery = BusinessPartner.QueryByIdentification;

varselPara = query.CreateSelectionParams();

varcontacts = query.Execute(selPara, dummy , maxRowCount, start);

 

The second Param (dummy) should be the SortingParameters, but there are no sorting Parameters available for the BusinessPartner BO.

Do you have any suggestions to use the maximum row count to execute queries on the BusinessPartner BO?

 

Kind Regards,

Lukas

Any SAP Staffers Able To Help Me With BO Names?

$
0
0

Hi everybody,

 

SAP support are being slow; I was provided with some BO IDs by SAP for an incident I've got. Unfortunately, I don't have the ability to look up BOs by technical ID, and neither Google nor the search function within ByDesign yield much of value. I can't locate most of them, as the technical IDs differ from the names given in the repository explorer in ByDesign's SDK. I need the proper names of the BOs which have the following technical IDs:

 

FIA_ACCOUNTING_DOCUMENT_AEO

FIA_PURCHASE_LACCT

/MOM/ORG_CENTRE

FIA_FAV_PURCHASING_DOC

FIA_FAV_COST_OBJECT

FIA_SUBLEDGER_ACCT_AEO

 

If you could provide the names for these, that'd be great. Thanks in advance!

 

Lewis

C4C extension - Customer ID and Name on Sales Opportunity view

$
0
0

Hi Experts,

 

I'm trying to extend Opportunity Business Object. I already added new field for "End Customer" and I added search help for it(account_OVS). Problem is that the field is only filled with Customer ID but what I need is Customer Name.

 

2015-11-11 15_24_17-TEST HIN - SAP Cloud for Customer - Internet Explorer.png

Maybe you have any ideas how can I do it?

 

Best regards


Restriction on field length

$
0
0

Hi Experts,

 

I want to restrict field for particular length. Let say 5 characters. I have done some R&D but din't achieve the result. Below is the image for reference.

1.png

Is there any to restrict the field length.

 

Thanks,

Lokesh.

SAP Cloud Application Studio 1502 UI Designer proxy error

$
0
0

Hi,

 

When starting the UI Designer in SAP Cloud Application Studio 1502 I got the following error:

Exception Message: XRepositoryException (0)The remote server returned an error: (407) Proxy Authentication Required.

 

 

InnerException Message:XRepositoryException (0)The remote server returned an error: (407) Proxy Authentication Required.

 

 

Source Type: SAP.BYD.LS.UIDesigner.Connector.XRepositoryProxy

Machine Name: DEHEDEV1

TimeStamp: 10.02.2015 16:42:42

Application Version: 25.0.555.1045

Windows Identity: GLOBAL\p-baurf

Stack Trace:    at SAP.BYD.LS.UIDesigner.Connector.XRepositoryProxy.QueryFolder(String FolderName, List`1 Filter, String RecursiveMode)

   at SAP.BYD.LS.UIDesigner.Connector.XRepositoryProxy.QueryFolder(String FolderName, List`1 Filter)

   at SAP.BYD.LS.UIDesigner.Model.RepositoryLayer.ProjectWorkspaceManager.ExpandXRepositoryNode(FolderNode parentNode, List`1 componentFilter)

   at SAP.BYD.LS.UIDesigner.Model.RepositoryLayer.ProjectWorkspaceManager.GetRepositoryRootNode()

   at SAP.BYD.LS.UIDesigner.UICore.Toolwindowcontrols.VisualConfigurationExplorerControl.Init(Dictionary`2 DesignerProviders)

 

So my question is, where can I configure the proxy settings for UI Designer? It seems that the general proxy settings in the studio (Tools -> Options -> SAP -> General) aren't used by the UI Designer.

 

Kind regards

Florian Baur

SAP Cloud SDK : Assign/Change External ID / RemoteObjectID changed when Customer / Prospect Creation

$
0
0

Hi Experts,

 

We have requirement on Customer / Prospect object. When user create Account(Customer)/ Prospect into C4C at that time we have Internal ID as well as ExternalID generated automatically from given number range.

 

1) Is it possible to change Internal ID at event BeforeSave or OnSave for Customer?

2) Is it possible to change External ID at event BeforeSave or OnSave for Customer?

3) How to get next available Customer Internal ID / External ID ?

 

Please let me know if anyone have idea about this. If it is not possible than is there any alternative way to achieve it.


Thanks in Advance...........


Regards,

Mithun

Access BO from another BO

$
0
0

Hi all,

 

I have a script in the BeforeSave event under sales quote root.

I would like to pull some data from a contact related to the quote's account.

I can get the contact id from the buyer party, however, there is no other data in this section which can be helpful for me.

(mainly, I want to access some extension fields i created in KUT)

 

I guess I should link the BP BO to the Sales Quote BO in some way, but I don't know how.

 

any ideas?

 

Thanks,

Dror.

Change default Logistic Area for Goods Receipt with ABSL

$
0
0

Hi experts,

 

Is it possible to change the default Logistic Area for Goods Receipt with ABSL?

 

ByD-> Inbound Logistic-> Purchase Orders -> Post Goods Receipt

 

Best Regards

Fred

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 use Multivalued Code List via PDI?

$
0
0

Hi all,

 

Perhaps this question could be more addressed to Horst Schaude or Stefan Krauth, but maybe someone already came across of wish to use a newly introduced multiple value data field and can share with everyone the findings.

 

Question is - how we can use it from PDI? I have seen we can create this field from adaptation, but can we achieve same from PDI? Is this same old code list and simply in UI Designer instead of dropdown we need to use special UI control, or maybe there are some extra things what we need to consider if we want to use multiple value selector.

 

Thanks,

Uldis


Multi Value Codelists in PDI

Issue with consuming external web-service in C4C SDK

$
0
0

Hi Cloud Experts Need Help,

 

 

I'm facing an issue in consuming external Webservice in C4C SDK,I have used external web service integration and consumed the WSDL file of the  web service,This is Experian Address Check Web Service.

While creating external web service integration m getting an error message as below.

 

Address_Check_Error.png

At the other end i can able to used this web service in SOAP UI Tool and able to send request and get response successfully,I don't understand what is this QAPortType and why it is not available in WSDL file ?

n

Horst SchaudeAlessandro IannacciStefan Krauth Please help me in this issue.

 

Thanks,

  Siraj.

Is it possible to add extension field to Account TI Header Pane?

$
0
0

I know you can add an embedded component in the normal screen but do we have access to the header pane?

 

Thanks

Brad

Access BO from another BO

$
0
0

Hi all,

 

I have a script in the BeforeSave event under sales quote root.

I would like to pull some data from a contact related to the quote's account.

I can get the contact id from the buyer party, however, there is no other data in this section which can be helpful for me.

(mainly, I want to access some extension fields i created in KUT)

 

I guess I should link the BP BO to the Sales Quote BO in some way, but I don't know how.

 

any ideas?

 

Thanks,

Dror.

BCO of Payment Term

$
0
0

Hi experts,

 

I cannot find  the BCO of Implementation Project>>ActivityList>>Fine Tune>>Supplier>>Payment Term of Procurement in the Repository Explorer.

Payment Terms.png

 

My objective is to find out whether "Calculated Due Date Based on" is Invoice Date or Receipt Date using CashPaymentTermsCode.

 

Thanks

Fred

Viewing all 1333 articles
Browse latest View live


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