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

Creating a Down Payment

$
0
0

Hi,

 

We are currently looking for a way to create an invoice of type Down Payment, but did not find success so far.

 

There are two options that I've investigated :

  1. use standard ABSL coding such as what is described in the Repository Explorer documentation, along with this helpful thread: Generating a Customer Invoice through SDK
  2. use the ManageCustomerInvoiceRequestIn inbound webservice

 

None of them allowed me to create an actual down payment. I was able to create a standard invoice though.

 

When using the webservice, I tried setting the PricingProcedure to PPGDP1 or PPNDP1, but got the error "could not copy tax details and price components". There was obvisouly a discrepancy somewhere, even when setting the price component type code to 7GDP or 7NDP. (gross down payment or net down payment). Using the standard PPSTD1 with a price component of type 7PR1 was working as expected.

 

When using standard ABSL coding, I tried setting the InvoiceProcessingType to "CDP" instead of the recommended "CI". This resulted in an error of type "invoice processing type missing".

 

Please note that in both cases I only use one item without a product reference (I added General Ledger and Taxation characteristics as instructed), and only one price component with the amount of the down payment.

 

Does anyone here have experience making this work? There is a painful lack of documentation on this particular type of invoice. I tried reproducing the values that I read in an existing, hand-created down payment (processing type, price and tax settings, etc.) but it got me nowhere.

 

Thanks !


SAP Cloud SDK : How to Pass More than 1 Opportunity Status Code in OVS on Embed Component

$
0
0

Hi Experts,

 

We have created embed component on Account screen with ALP.

We have added Opportunity Field in that ALP and we have assigned Standard OVS COD_Opportunity_SOVS.

 

Now we need to pass Status Code Open and In Process in this OVS via SDK than how we can pass this value in it so once user can click on Opportunity only Open and In Process Opportunity comes in List.

 

Kindly help me if someone know about this passing multiple value in Standard OVS.

 

Regards,

Mithun

Reuse library: how to use a generated data type?

$
0
0

Hello community,

 

to refactor a call to a web service (External Web Service Integration),I'd like to move some code to a custom Reuse Library.

 

The basic idea is similar to this helpful article: Implementing Reuse Library to perform similar validations on different Objects and raise the error messages

 

For example, the mapping of attributes from the Business Object into the related fields of the generated web service structure (Webservice.OPERATION.Request) should be moved into a Reuse Function.

 

Currently in the working ABSL implementation I'm using code similar to this:

 

var inputWS : Library::Webservice.Operation.Request;

 

inputWS.field1 = bo.attr1;

inputWS.field2 = bo.attr2;

inputWS.field3 = "constant";



From this example, I'd like to use the BO reference "bo" as import parameter (this would work) and the "inputWS" as return parameter of the Reuse Function.

 

Unfortunately in the "Create Reuse Function" popup, the Type column dropdown contains only data types of the PSM, as visible in the Repository Explorer. The generated web service data types don't appear in this dropdown list. In particular I'd like to use the data type

 

      Library::Webservice.Operation.Request

 

for the return parameter.

 

How to use this web service data type in a Reuse Function? Would it be possible at all?

 

Thanks in advance for any hints and assistance!

 

Best regards,

Christian.

Data type similar to Select-options in ABSL

$
0
0

Hello,

 

I want to fill SelectionByBusinessPartnerRoleCode element in FindByElements in QueryAccounts WSDL. When I'm trying to fill, it is asking for collection line. I'm not able to find the selection range data type for it.

 

We have to fill like shown below in SOAP UI. Similarly, I need to have selection range data type in ABSL to fill the content and Add to the element.


<SelectionByBusinessPartnerRoleCode>

   <InclusionExclusionCode>I</InclusionExclusionCode>

   <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>

   <LowerBoundaryRoleCode>Z00001</LowerBoundaryRoleCode>

</SelectionByBusinessPartnerRoleCode>

 

Could you please let me know if anyone knows which data type needs to be used?

 

Thanks.

 

Regards,

MB

Dynamic Code List

$
0
0

Dear Expert,

 

Hope you are fine,

 

When we want to craete an order, in C4C, we can chose Document Type that we want,

 

screen0.png

 

and then if we open the Accounts we can see all the accounts with different Role,

 

 

screen3.png

Now my question is that we need to define, for each Document Type we can chose specific Role

For example:Direct Order zz  we have to chose Customer Store/Outlet

 

(if we select the Account that the Role is not match with Document Type, an Error appear in the system.

 

But they asked me to do it in Dynamic way, that they can Insert whenever they want, so I can not create script that contains if else)

 

Can anyone help me?

 

 

Thanks

SAP ByD - Mass data run can not be created

$
0
0

Dear all

 

 

I have tried to create mass data run on custom business object. After I generated MDR screen. I can not create MDR record for do the scheduling job.

 

The new button on OWL screen is disabled.

 

 

 

How can I create MDR object? base on my problems.

 

 

4-15-2016 1-30-57 AM.jpg

 

Best Regards,

Krit R.

Custom Overview For Lead

$
0
0

Hi Expert,

 

I'm in a situation where i need to hide the Standard Overview for Leads, and Create my own Overview that will show Tickets, activities, campaign, survey and marketing interaction in my Custom Lead Overview.

 

I had hidden the Overview of Standard Lead using the Adaptation edit mode in UI5. However, can i know how am i able to create my own tab of Overview and show all the listed summary of tickets, activities, campaign, survey and marketing interaction in my Custom Lead Overview so that the user dont have to go to the tabs and view it one by one.

 

Thank you.

 

Best Regards,

 

Richie

How to read code list mapping from PDI

$
0
0

Hello Experts,

 

I would like to read from the PDI the code list mapping related to the Distribution Channel. I don't want to create a custom codelist with the ECC values.

How is possible to read a code list mapping from the ABSL?

 

 

Thanks in advance,

Kind Regards,

Stefania.


Can not find "Save and open" script

$
0
0

Hello,

 

I have created two fields in CustomerQuote.xbo, TaxNumber1 and VAT Number. I wrote a script that is EV. before save for cheking if taxnumber1 is duplicated or no. and it works,

But, this script is not working when I click "Save and Open"

also I can not see any event with the name of Save and Open.

 

 

Screen4.png

Does anybody know what can I do?

 

 

Regards

 

Sepide

Data Migration for SAP C4C Edge Edition

$
0
0

Hi Expert,

 

I need to Migrate for my customer from Salesforce to SAP C4C Edge edition.

 

I had seen the discussion Data migration to C4C from SFDC and was very helpful and i did manage to download the Files.

 

My only question is, is there a template for SAP C4C Edge? If yes, how to i get it?

 

And how to i upload it to SAP C4C Edge? Is it by Settings > Data > Import CSV?

 

Your help would be greatly appreciated.

 

Thanks in advance.

 

Regards,

 

Richie

Creating My Team search query for custom objects

$
0
0

Hi Experts,

 

I have a custom object and I wish to build My Team type search queries as available for standard objects. In standard objects this work even for a deep structure for instance

 

A is a manager of B,

B is a manager of C

 

For instance

if A selects My Team query he should be able to see objects created by A, B and C

if B selects My Team query he should be able to see objects created by B and C

 

This works in standard but I cannot find anything in the UI designer which influences this. Please share any tips/tricks to achieve this scenario.

SAP Cloud SDK : Error Handling on List Modification Strucutre

$
0
0

Hi Experts,

 

I have requirement in Account BO and we have created embed component with Advance List Panel and Add record via List Modification form.

 

Now Is it Possible to raise message if any fields is Null value or blank value while click on "Add" button from List Modification Form.

Or

How to Handle error or message on List Modification form Via ABSL code.

 

Regards,

Mithun

How to create a node/array/list of elements in SalesArrangement object extension ?

$
0
0

Hello,

 

I created a SalesArrangement object extension .xbo to enhance it and create a fielity program.

 

I need a new node/array of elements but it's impossible to create a node in this object extension.

 

So i had the idea to create a new custom business object for fidelity and link it to the extension but I can't add association either to SalesArrangement.

 

So how can i do ?

 

Thank you in advance.

ObjectIdentifierMapping WebService to retrieve material ID

$
0
0

Hi All,

I am trying to find internal material ID for external material number using webservice on

ObjectIdentifierMapping

Unfortunately the ObjectID is empty for local object it returned UUID only .

Any clue how should I proceed in this case ?

Is this a bug or feature

Chears Ognian

Not execute before save action in extension(XBO) PDI

$
0
0
  1. At the moment that I release an Outbound Delivery document you can see the system raises a standard error, for example in this case because the logistic area doesn’t have enough stock (but can be another kind of error).
  2. In my customer solution I have ABSL code in the before save action. However, this is being executed even if the system raises a standard error.

out.jpg

 

My need is that the ABSL code shouldn’t be executed at the moment the system raises an error. Only when the document - by standard - will be save because doesn’t have any error.


Error while testing External Web Service Integration

$
0
0

I'm getting an error when I try to test an external webservice from Studio. After performing the steps to create an external webservice integration with SOAP, When I right-click on the .wsid file and choose "Test Service Operations" and chose the communication scenario and submit request, I get an error "A technical error error occured AP-RC-BDS-WS".

 

I'm not able to call the service visa the ABSL script as well. When I debug, I get an error in the response CommFault as,

 

"SoapfaultCode: 5 Server Error."

 

I'm able to successfully test the web service from SOAPUI.

 

 

Regards,

Srikanth

SAP ByD - Custom CodeList apply to many solution

$
0
0

Dear all

 

 

Is it possible to create custom codelist  and make it available for many customer specific solution ?

 

 

For now, I have to re-create the code list every time when I need to develop new solution. It is difficult when I need to maintain the content in the codeList. I have to do it multiple time for every solution that has been applied the codeList.

 

 

 

 

Best Regards,

 

Krit R.

How can i put the id and the name of a task on the same column

$
0
0

Hello experts,

 

I want to put the id and the name of the task on the same column like this example :

exp1.png

Thanks in advance

 

Best Regards,

How to use "Business Configuration Set" in script

$
0
0

Hello every one,

 

I have craeted a Custom Code list and then BCS  that contains, Order Type and Partner Role and Desription.

 

111.PNG

Here when we want to craete a new salesOrder, we can define a DocumentType. and then chose the Account.

 

 

112.PNG

 

113.PNG

 

 

I want to say that if we chose Ho.re.ca. Order DocumentType, in the account we have to chose one of the accounts that has the "Customer" role.

 

But I do not know in my script how can I say if this.DocumentType = order type of BCS ,...

 

 

Can anyone help me with this?

 

Thanks

List Problem

$
0
0

Hello,

 

I am a beginner on ByDesign development and i need help.

i want to create a list like that one joined on the picture.

Thanks on advance.

 

Best Regards,Sans titre.png

Viewing all 1101 articles
Browse latest View live


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