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

C4C Data Migration Issues - Accounts/Customers

$
0
0

Hi All,

 

Good Morning, Hope everyone is doing good.

 

While loading data (Customer)into C4C using migration template i see the below error. The data is hardly 5000 entries, does any one has the similar issues before? What are the next steps to resolve this?

 

Thanks,

C Balakrishna


Custom BO for each Employee

$
0
0

Hello all.

 

I´m trying to develop a custom BO to record two dropdown lists and two dates using Screen Scenario with Object-Based Navigation.
I created all screens and I´ve embedded de OWL into an embedded component and this in COD_Employees.TI
With this I can save this datas but are common for all Employees. But what I wantis to createfor each employeetheir own records and display only this.
Someone couldtell mewhichway I should to follow

Use of other solutions' BOs

$
0
0

Dear experts,

 

I want to use custom BOs of another deployed solution of mine (both solutions are in the same deployment unit): I want to reference (an retrieve) them via associations and in this context I also need the OVS controls of the other solution.

 

Problem: In my solution in development the BOs are not recognized; do I have to address a certain namespace?

 

Thanks for your answer in advance!

 

Kind reagards -

 

Markus

Supplier Invoice Creation via ABSL Not Working

$
0
0

Hello everyone,

 

I've been working on mass uploading supplier invoices using a combination of ABSL, XML file input and proxy BOs. Unfortunately I can't get it to upload, despite the debugger log showing supposedly no errors by the end of processing. Anyone able to assist? Proxy BO, accompanying mass-enabled AfterModify script and debugger logs as attachments.

 

What's strange is that if I don't set any breakpoints the last thing I see in the log is it exiting the AfterModify script with, supposedly, no errors, but if I have any breakpoints I get the following window when it exits the script:

 

Debugging cannot be continued.png

 

Points to note:

  • if I uncomment the lines:

Account Assignment Info.png

 

         Then in the debugger it says "balance sheet account is not permitted with cost centers", as shown in the file 'SIUploader Debugger Log (with                  Account Info)'. What does that mean?

  • the values of the variables in the XML input file that are stuck into the proxy BO and used to create the supplier invoice are all correct, these have been quadruple-checked with the customer.
  • First three files are attached, the rest will be in dummy replies as the SCN only allows for three attachments!

 

Lewis

Production Bill of Material --- Line Item Details Text

$
0
0

Hello everyone,

 

I've been attempting to access the text stored in a certain embedded component and have come to a roadblock. The EC in question is the 'Line Item Details Text' field, found in Planning and Production Master Data > Production Bills of Material > View All in ByDesign. I think I've found the appropriate field in the Repository Explorer --- ProductionBillOfMaterial > ItemGroup > ItemGroupItem > ItemGroupItemChangeState > TextCollection > ItemGroupItemChangeStateTextCollectionTextCollection > Text.TextContent > GetFirst > Text > content.

 

However, I'm trying to get multiple different instances of this field, for the following reason: I want to be able to, on the Supply to Production Task form, retrieve the aforementioned Line Item Details Text (from the appropriate Bill of Material) for each item in the form table , and display it in a column in that row. I've managed to get it to fetch the line item text for the first item printed on the form, but have had no such luck with getting the correct text for each individual item.  My current code doesn't seem to work (see below), and instead crashes the ByDesign system. Can anyone help?
Get PBOM Line Item Details Text.png

How-to use Excel for the XML file input?

$
0
0

Hello all,

 

Following our discussion with Gerhard Steinhuber on the very nice tutorial from Horst Schaude , "How to upload mass data via XML File Input" , I am starting this new discussion.

 

In the comments section of this previous cited tutorial, Rufat Gadirov explains how to use a generated XML from Eclipse instead of your XSD file as your source in Excel.

 

However, in spite of all the instructions, I am still facing the same issue in Excel when I try to save my file as XML : "The XML maps in this workbook are not exportable".

 

What I try to do is to create one or more Sales Orders with multiple Items in it from a XML File Input, using excel to enter data.

The part with the File input is working (if I directly upload my file to the webDAV, it creates a sales order instance with multiple items).

 

The only missing part is the Excel data input that I cannot make work. Any help on this matter would be greatly appreciated.

 

Here is my XML file that I try to use as a source in Excel before inputing data from Excel:

 

<?xml version="1.0" encoding="UTF-8"?><p:MySalesOrderUploadedIntegrationInputRequest xmlns:p="http://001365xxx-one-off.sap.com/YUUD0G3OY_" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><MessageHeader>    <CreationDateTime>2015-03-02T12:00:00.000Z</CreationDateTime></MessageHeader>    <List actionCode="01" listCompleteTransmissionIndicator="true" reconciliationPeriodCounterValue="0">        <MySalesOrderUploaded>          <MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID>          <MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID>          <MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime>          <MyName languageCode="EN">MyName</MyName>          <MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty>          <MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered>          <MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible>          <MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit>            <MyItem>                <MyItemID>token</MyItemID>                <MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID>                <MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription>                <MyProductTypeCode>token</MyProductTypeCode>                <MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity>                <MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity>                <MyNetAmount currencyCode="token">0.0</MyNetAmount>            </MyItem>        </MySalesOrderUploaded>        <MySalesOrderUploaded>          <MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID>          <MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID>          <MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime>          <MyName languageCode="EN">MyName</MyName>          <MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty>          <MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered>          <MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible>          <MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit>            <MyItem>                <MyItemID>token</MyItemID>                <MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID>                <MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription>                <MyProductTypeCode>token</MyProductTypeCode>                <MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity>                <MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity>                <MyNetAmount currencyCode="token">0.0</MyNetAmount>            </MyItem>        </MySalesOrderUploaded>    </List></p:MySalesOrderUploadedIntegrationInputRequest>

 

 

Thank you all for your attention.

Best regards.

Jacques-Antoine Ollier

How to save the instance in standard lead from custom business object

$
0
0

Hi Experts,

 

          I am unable to save the instance(Record) in standard Lead business object from custom business object.

 

Steps:

  • created one custom business object with mandatory fields for creating instance in standard lead.
  • in quick create screen i bind  data elements to standard lead business object elements.

issue:

when i click on preview i am getting exception as Arguments not found

can you please tell me that How to save the instance in standard lead from custom business object with step by step .

XML Input - Business Config. Object

$
0
0

Hello everyone,

 

I'm having some problems using XML input files to create instances of my custom B.O.

 

Here is the code for my B.O.:

businessobject SkillBO {        [Label ("Skill ID")][AlternativeKey]element ID:ID;  [Label ("Contact ID")] element contactID:BusinessPartnerInternalID;  [Label ("Primary Skill")]element mainSkill:MAINSKILLSBCOCode;  [Label ("Secundary Skill")]element subSkill:SUBSKILLSBCOCode;  [Label ("Skill Level")] element level:SkillLevelCode;  element nextAvaibleID:IntegerValue;  association ToBusinessPartner to BusinessPartner;
}

As you can see the "mainSkill" and "subSkill" elements are of a codelist datatype. This codelist is generated by a Business Configuration Object.

I also created Business Configuration Sets to provide values for these elements.

 

I don't know what values to put in my Excel-file for these elements. I've tried the code, the actual value, etc. ...

But every time I try to upload it (after converting the Excel to XML of course) nothing happens.

 

For some reason I can't attach the XML, XLS or XSD...

If you need more information, feel free to ask.

 

Thanks & Regards,

Glenn


Advanced Filter on Custom B.O. OWL

$
0
0

Hello again,

 

I was wondering how you make an advanced filter like the one in the screenshot below.

 

AdvancedFilterProducts.png

I didn't make this filter, it was standard in the C4C system.

Is it in any way possible to create something like this for the OWL of a custom B.O.?

 

Thanks!

 

Regards,

Glenn

Use extended field in different solution

$
0
0

Hi

I have created a solution where I have extended "ServiceRequest" BO with an element  "Cust_Status".

This solution is already deployed in customer production system.

For some other requirement I have to implement a functionality which is depend on extended element in previous solution.

 

How can I read previously extended element in old solution in new solution?

 

Thanks

Sunil

Extend standard web service for custom BO

$
0
0

Hello Experts,

 

I have a requirement where I have created a custom BO with some custom fields and added its embedded component as a new tab on the Lead TI.

Now we want to integrate these custom fields to the standard lead web service to replicate these custom fields into the backend CRM system.

I tried for Process Extension Scenario but it only works for the fields added to the extended bo. Could you please suggest on how this could be achieved.

 

Thanks and Regards,

Sumeet Narang

Using a SOAP Web Service [PHP]

$
0
0

Hello,

 

I created a web service in the Cloud Application Studio for a custom Business Object I made.

I now want to create a new instance of this B.O. by using an HTML Form and PHP.

 

I tested the web service using SOAPUI and successfully created a new instance of the object.

 

However, when trying to do this through a HTML Form using PHP, I get following error message:

 

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://my307371.crm.ondemand.com/sap/bc/srt/scs/sap/yygyhi4a8y_webtoleadservice?sap-vhost=my307371.crm.ondemand.com' : failed to load external entity "https://my307371.crm.ondemand.com/sap/bc/srt/scs/sap/yygyhi4a8y_webtoleadservice?sap-vhost=my307371.crm.ondemand.com" in C:\xampp\htdocs\WebToLead\sendToC4C.php:58 Stack trace: #0 C:\xampp\htdocs\WebToLead\sendToC4C.php(58): SoapClient->SoapClient('https://my30737...', Array) #1 {main} thrown in C:\xampp\htdocs\WebToLead\sendToC4C.php on line 58

 

I'm currently trying to use following PHP-code:

 

//Setup SOAP Client      $url = "https://my307371.crm.ondemand.com/sap/bc/srt/scs/sap/yygyhi4a8y_webtoleadservice?sap-vhost=my307371.crm.ondemand.com";   $client = new SoapClient($url);      //Create Header      $auth = new Authentication($username, $password);   $header = new SoapHeader("http://0003427388-one-off.sap.com/YGYHI4A8Y_", "Authentication", $auth, false);      //Call Funtion   $result = $client->__soapCall("Create", array(         "WebToLead" => array(              "LeadID" => $ID_in,               "ProductName" => $PRODUCTNAME_in,               "ContactName" => $CONTACTNAME_in,               "ContactEmail" => $CONTACTEMAIL_in,               "CreationDate" => $CREATIONDATE_in         )   ), NULL, $header);      //Result   echo "<pre>".print_r($result, TRUE)."</pre>";   if ($result->Create->Status == "Success") {          echo "Lead created.";          }

I think I might be using a wrong URL for the web service.

Does anybody know where u can find the correct URL for your created web service?

 

Thanks!

Access restriction for business objects in same solution

$
0
0

Hi All,

 

Requirement: I have one single solution with 4 modules. 1 module is common and other 3 are industry specific. When i roll it out to a customer, i what restrictions on Business Objects. So that i can roll out single or combination of modules as per requirement.

 

Hence the configuration requirement would be  as follows:

  1.    We need one core configuration for the entire solution which will have the Common Scope part included in it.
  2.    We need industry wise configuration ( could be business configuration )
  3.    Script level screen restriction.

 

We tried creating a BAC element with Business Topic and Business Options and tried to link BO's to it.  But we are finding a problem with this solution, even a user will be able to change the configuration and get access to a module which he didn't pay for.

 

 

Regards,

Rudhra Udayakumar

rudhra.udayakumar@erplogic.net

Communication Arrangement not Configured??

$
0
0

Hi, experts,

      I am getting the following error whenever I save a new Account with a business user.

 

     "Communication Arrangement has not been configured; contact your key user.".

 

      I have never encountered such kind of error before.

     

Special Thanks in advance.

 

Fred.

Configure navigation buttons in Guided Activity Floorplan (GAF)?

$
0
0

Hi everyone,

 

Currently we are on the way to create a Guided Activity Floorplan with several steps.

Therefore I had a look at page 580 in theSDK Documentation: SAP Cloud Applications Studio — Version February 2015 (1502).

I wondered about the fact that the navigation buttons have to be configured by using a ruby script:

Configure_navigation_GAF.PNG

I have created the event handlers with operation type Script (see a.):

 

UI_Designer_HandleNext.PNG

 

b. + c. are not clear to me.

What exactly has to be written in ruby? Has anybody had experience in this?

 

Thanks in advance

 

Regards,

Daniel


Print Form - PDF Document not found

$
0
0

Hello,

 

i created a print form for a custom BO and i created a Preview-Button in the QA screen.

 

When I click the preview button, a new window appears with the following message:

 

 

In English that means something like

"No PDF document found

illegal form group code *******"

 

Can anyone help please?

 

Kind regards,

Christine Toblier

XML Input - Business Config. Object

$
0
0

Hello everyone,

 

I'm having some problems using XML input files to create instances of my custom B.O.

 

Here is the code for my B.O.:

businessobject SkillBO {        [Label ("Skill ID")][AlternativeKey]element ID:ID;  [Label ("Contact ID")] element contactID:BusinessPartnerInternalID;  [Label ("Primary Skill")]element mainSkill:MAINSKILLSBCOCode;  [Label ("Secundary Skill")]element subSkill:SUBSKILLSBCOCode;  [Label ("Skill Level")] element level:SkillLevelCode;  element nextAvaibleID:IntegerValue;  association ToBusinessPartner to BusinessPartner;
}

As you can see the "mainSkill" and "subSkill" elements are of a codelist datatype. This codelist is generated by a Business Configuration Object.

I also created Business Configuration Sets to provide values for these elements.

 

I don't know what values to put in my Excel-file for these elements. I've tried the code, the actual value, etc. ...

But every time I try to upload it (after converting the Excel to XML of course) nothing happens.

 

For some reason I can't attach the XML, XLS or XSD...

If you need more information, feel free to ask.

 

Thanks & Regards,

Glenn

SAP Cloud Application Studio Custom Business Configuration Set / View in Fine Tune

$
0
0

Hi Experts,

 

I have created the Custom BC object , Custom BC set and BC view.

 

I have created the Business Object and use the BCO in 1 of the element for display the value of BCO in dropdown.

 

Business Object Definition.

 

[Label("Company ID")] element CID : ID;
[Label("Company ID")] element Cname : LANGUAGEINDEPENDENT_MEDIUM_Name;
[Label("Company From")] element C_start : BCO1Code;

 

I have use the Below Configuration when create the BC Object  .

 

1)

Capture1.JPG

2)

Capture2.JPG

I have use the Below Configuration when create the BC Set.

 

1)

Capture3.JPG

2)

Capture4.JPG

 

After that i have created the Screen(Object Based)  for the Custom BO and once i have open the QA from end User i can not display the dropdown value under QA screen.

 

Also i can not find out my custom BC set Fine-Tune Activity under the Business Configuration - > Implementation Project -> Open Activity List - > Fine Tune.

 

Please can you tell me what step i have missed under this configuration.

 

Waiting for your response.

 

Many Thanks,

Mithun 

UI designer: mandatory fields finally working?

$
0
0

Hello everybody,

 

I just found a new behavior in the system 1502. If it was here before, I never found it.

 

Before, when you set up an extension field as mandatory in the UI Designer, only a * appeared next to the field and you needed to do your own ABSL logic in order to prevent the save.

 

Now, I found that SAP implemented a logic to prevent the saving that even bypass my ABSL custom messages from my XBO.

 

So it seems developing our own logic to raise error messages during On-Save is not needed anymore.

 

Here is a screenshot with the SAP message that bypasses mine:

New message from SAP.jpg

 

Is this really new or I just missed it?

 

Best regards.

Jacques-Antoine Ollier

XML input: Node

$
0
0

hi experts.

          I can't create an XML input file for my custom BO with node items.

          When I export the XML file from the schema, a warning pops up showing that it is not exportable.

          Is it because of the schema that I created from Service Integration?

Regards,

May T.

Viewing all 1333 articles
Browse latest View live


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