Quantcast
Channel: SCN : All Content - All Communities
Viewing all 8338 articles
Browse latest View live

SAP Mobile Platform - Creating an OData application

$
0
0

Hi team,


 

We have created a sample odata implementation project in eclipse with the help of this documentation.In Eclipse -> Preferences ->SAP mobile Platform tools->Server: the server connection is set to "https:xxx.xxx.x.x:8083". When we deploy the project, a service is created in the gateway management cockpit with URL "https:xxx.xxx.x.x:8083/gateway/odata/SAP/SAMPLE;v=1:".

We have created a Database DESTINATION with destination URL "<db url>" and database driver "com.microsoft.sqlserver.jdbc.SQLServerDriver".On testing the destination connection, it returns success. The destination is then assigned to the service.

 

We are facing the following issues while implementation :

 

1. When we open the service document link, it is opened with the entityset that we have created in the odata implementation.

 

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xml:base="https://xxx.xxx.x.x:8083/gateway/odata/SAP/IG_JDBC_SQLSERVER;v=1/">

<workspace>

<atom:title>Default</atom:title>

<collection href="Addressbook">

<atom:title>Addressbook</atom:title>

</collection>

</workspace>

</service>

 

But when we append the entityset name as the last path component in  the service url, we get an error message "Could not perform the operation, contact your system administrator."

 

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

<code/>

<message xml:lang="en-US">

Error Message : Could not perform the operation, contact your System Administrator. Check the log file for details : Transaction ID :0a2ae612-9065-483e-b053-d03deb637acf

</message>

</error>

 

2. We have created a native sample odata application for Android and iOS platforms. Login through MAFLogOn was unsuccessful using the following credentials:

 

          Server Address : xxx.xxx.x.x

          Port                   : 8083

          Username         : smpAdmin

          Password          : <password>

 

But we were able to successfully login using the following credentials:

 

          Server Address : xxx.xxx.x.x

          Port                   : 8080

          Username         : smpAdmin

          Password          : <password>

 

But the odata store initialization is failed. We are getting an unknown network error.

 

04-13 16:19:33.068  23004-23004/com.cabot.SMPDemo W/System.err﹕ com.sap.smp.client.odata.exception.ODataNetworkException: Unknown network error occured

04-13 16:19:33.069  23004-23004/com.cabot.SMPDemo W/System.err﹕ at com.sap.smp.client.odata.online.OpenExecution.run(OpenExecution.java:111)

04-13 16:19:33.069  23004-23004/com.cabot.SMPDemo W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)

04-13 16:19:33.069  23004-23004/com.cabot.SMPDemo W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)

04-13 16:19:33.069  23004-23004/com.cabot.SMPDemo W/System.err﹕ at java.lang.Thread.run(Thread.java:818)

 

 

Following are the details and configurations of the server:

 

O/S                      : Windows 7

Database Server : MSSQL-Server

Database Driver  : sqljdbc4

 

Please advise us to resolve these issues.


unit testing

$
0
0

hi experts,

 

      can any one plz tell how is unit testing done in real time. wht is the whole process .

 

    wht is the diff between the header data table and item data table ex: vbak and vbap.

PU12 - Error in Layout Conversion - Unknown Operator

$
0
0

Hi Experts,

 

I am having en error while generating my TemSe file in PU12. I created my interface in PU12 and exported data perfectly. My client asked my to add a field in data. I added that field and created a change validation for that. Since then the interface has stopped working. Even if i revert my changes it is not working. I deleted the whole interface and started from scratch and still it is not working.

 

Please guide me in resolving the issue. The error during layout conversion is E018 - Unknown Operator Found. I am not able to find anything relevant SAP notes/ SDN discussions. One SAP Note is present but that is irrelevant as that is for 4.7 version and we are much ahead of it.

 

Regards,

Anuj

System status not displaying updated product version

$
0
0

     HI dear SAP,

 

I have successfully upgraded my server from SR2 to EHP6 using SUM. Upgrade was done perfectly with no issue, but the problem is when i am checking my system status it is giving the following screen.

 

But all the components are updated fine as per SAP standard. So kindly suggest me if any one faced similar type of problem.

 

 

2015-04-14 15_10_29-Installed Software.png

 

Cheers

HSK

bsi

$
0
0

Hi  experts,

 

How  can i  connect BSI tubs to SAP? What is the intermediate language which is understood by BSi?

 

thanks & regards

 

Rahul

PT Deduction in Tamil nadu from half yearly to monthly

$
0
0

Hi Experts,

 

Please provide the PCR for deducting the PT from half yearly to monthly for Tamil nadu State.

 

Regards,

Sai

Database option and Recovery order

$
0
0

Hi All, How to know the below options on Sybase. A. Database option:  Are the database options for Sybase ASE database currently set: 1. ddl in tran 2. allow nulls by default 3. allow wide dol rows 4. enforce dump tran sequence 5. full logging for all   B. Database recovery order:  Is the recovery order of the following databases as follows: 1. saptools 1 strict 2. 'production database' 2 strict 3. saptempdb 3 strict Please let mw know. Regards, karthik

Table with AL document and its size?

$
0
0

Hi all,

 

is there any standard SAP table with a document type (archivelink document) and its size.

How can I find out about these?

 

Thanks


Functional Location: Address

$
0
0

Hello,

 

I create a Functional Location with the BAPI_FUNCLOC_CREATE. The BAPI do not associate an address. So I try to create the address with the functions ADDR_INSERT, ADDR_NUMBER_GET, ADDR_MEMORY_SAVE and ADDR_MEMORY_CLEAR (call in this order). The address was create, it is in the table ADRC, but there is no link to the functional location. There  is no entry in the table ILOA or in the transaction IL03. I don't unterstand this. I give the number of the functional location and other keys with the parameters address_handle and adress_reference, but this key was ignore.

 

How can i create a address in the funcional location? With the ADDR* Functions or are there any other functions/BAPIs?

 

regards Myriam

Update Query for UDF from SQL

$
0
0

Hi Experts,

 

I have created a UDF on the AR Invoice Header. And i wrote and SQL query to update the UDF with the sum of the AR Invoice quantity.

 

Below is the error and the query i wrote. Can anyone edit or help me correct it so that it works as planned.

 

Urgent response will be appreciated.

 

 

Regards

Justice

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Enrollment Print Form Not Showing up in ESS

$
0
0

Hi Experts,

                  I am having an issue with the Benefit's Enrollment form not showing up in the ESS for the Adjustment reasons. We are currently not using the Standard Open Enrollment event, I have created a new Adjust reason 'OPN'  for 'OPEN'. Shown below is my launchpad Configuration. Please throw some light on what i missed in my config.

Note: all other functions are working fine for the Adjustment reason Including Confirmation statement.

Adjustment Reason:

Step1.png

LPD_CUST:

Step2.png

Thanks,

Vishnu

Restrict access to ECP button in CJ20N Transaction

$
0
0

Hi,

 

In our scenario we want to restrict usage of ECP to certain users. But users can use ECP in CJ20N transaction Screen.

 

How to restrict access of ECP in CJ20N?

 

Thanks

Connection error between SAP BW as source and IDT

$
0
0

Dear SAP BI Platform experts ,

I have to set a connection between IDT -Information Designer Tool and the SAP BW/OLAP as a source system ,

But I have tried with the BO CMC and with in the IDT ,But I am getting the below error -

""""Server <Name> not found or server may be down (FWM 01003 )

Error : Failed to log on host <Name > ,User <Name > could naot reach CMS <Name>,

Specify the correct host and port and check for network issues (FWM 20030)

 

Cause of error :

Could not reach CMS <Name> ,Specify the correct host and the port and check for network issues"""""

 

Please help me on the above issue and let me know your views on how can do the investigation .

Could you please provide me the step by step process.. for how to capture this logs from the server

need to mention each folder and how to capture these logs..

 

Regards ,

Pradeep Gorpadu

Difference between OB41 & OBC4

$
0
0

Hi,

 

I was posting using F-02.. but got error message "Rules for posting key 40 and acct 100000 set incorrectly for "XREF1" field"

 

When I did research found that field status in OB41 & field status in OBC4 where mismatching.....

 

Can you please advice the difference between both transaction codes.

 

 

Thanks,

Umesh

Master/Master/Detail Fiori App extention. (Problem with searchField & Filter update).

$
0
0

The goal was to extend PP Fiori App: "Confirm Production Operations" adding barcode scan functionality into Second Master's Search Field (Operations), but that problem is relevant to most of the Master/Detail SAP Fiori Apps (available here: SAP Fiori, Demo Cloud Edition ).

1 cpp app.png

 

I've accomplished that with SAPUI5-extension app ( http://help.sap.com/fiori_bs2013/helpdata/en/86/edc8521804a91ae10000000a44538d/content.htm ), replacing i2d.pp.prodops.confirm.view.S5 with it's copy zi2d.pp.prodops.confirm.view.extS5, adding just one "SCAN" button and corresponding _onScan method to the extS5 controller:

2 scan.png

What should "Scan" Button do:

  • Scan barcode - Done (Scanning works perfectly in SAP Fiori Client, with Cordova barscanner plugin).
  • Update searchField with scanned text/number - Not realized (partially done) (see below).
  • Update Filter with search field - Not realized.


Additional task:

  • Place "Scan" button in the more appropriate area - Not realized.

 

The problem is: I cannot reach the Contol "SearchField" and change it's value programmatically.

 

There is no subHeader/Bar/contentMiddle/searchField definition for that page in i2d.pp.prodops.confirm.view.S5 XML-view,as distinct from Master-Detail Apps generated from templates in SAP Web IDE.

 

So I cannot just get reference to it by that:

 

var oField = this.getView().byId("searchField");

oField.setValue(scanned);

 

there is no relevant SAPUI5 Id for that Search Field in DOM:

<input type="search" autocorrect="off" id="__field2-I" class="sapMSFI" placeholder="Search">

 

It looks like this Search Field (and the whole sub-tree "subHeader/Bar/contentMiddle/searchField" ) is generated dynamically, but I cannot figure out where (I've found no "searchFied" creation in original S5 controller).

 

The only way I can reach this input field is:

 

$("header input.sapMSFI[type=search]").val(scanned);

 

But this method does not trigger any events to update searchField Control with input field value.

And it does not update Filter with new input field value.

 

What button do now:

3 now.png

What it should do:

4 to be.png

 

How to accomplish that?

 

How to reach dynamically created ID-less SearchField Control object and update it's value properly?

 

How to update filters with that SearchField?


How to place that "Scan" button in the more appropriate area? Like that:

5 scan button ideal.png

 

Best regards, ilia.


What is CALL 'C_DB_FUNCTION' ID 'FUNCTION' FIELD 'DB_SQL' ?

$
0
0

Hi All,

 

I have standard program SD_SALES_DOCUMENT_VIEW in this i found  below code.

Can any one please explain the functionality?

 

Code :

CALL 'C_DB_FUNCTION' ID 'FUNCTION' FIELD 'DB_SQL'

                                         ID 'FCODE'    FIELD c_fcode_next_package

                                         ID 'CONNAME'  FIELD me->con_ref->con_name

                                         ID 'CONDA'    FIELD me->con_ref->con_da

                                         ID 'CURSOR'   FIELD me->cursor

                                         ID 'BOUND'    FIELD me->outvals_bound

                                         ID 'OUTVALS'  FIELD me->parameters->param_tab

                                         ID 'OUTTAB'   FIELD <outtab>

                                         ID 'LINE'     FIELD <line>

                                         ID 'UPTO'     FIELD upto

                                         ID 'ROWCNT'   FIELD rows_ret

                                         ID 'SQLCODE'  FIELD sql_code

                                         ID 'SQLMSG'   FIELD sql_msg.

 

 

 

 

Thanks,

Venkat.

SLT Replication

$
0
0

Hi,

 

I am replicating one table from SAP system to HANA.

If I change the structure of the table in HANA,

 

will it impact the replication?

 

 

 

Thank you,

 

Regards,

Ranjith.

sap hana DATA MIGRATION OPTION

$
0
0

Hello,

 

SUM can be started from browser and from OS level also by running "./DSUgui".

So , is there a way to start SUM with DMO option for HANA migration from OS level?

 

It is known that SUM with DMO can be started from the browser but we have lower level IE - does not support.

 

URL : http://<hostname>:1128/lmsl/sumabap/SID/doc/gui/

 

Expecting a reply.

 

Thanks and regards,

Udaya sankara charan.D.

Time management & payroll india

$
0
0

Hi All,

     I have a requirement to give attendance bonus to employee..

 

if employee work for 10-15 working days attendance bonus will be Rs. 300.

if employee work for 16-20  working days attendance bonus will be Rs. 450

if employee works more than 20 days bonus will be 600.

 

this bonus wage type will auto generated (will not be maintained Manually) when employee met this condition..

 

i am bit confused how to find working days.

 

 

Note:in the above requirement we are excluding only paid and unpaid absences from the calendar days.

 

 

please provide some inputs to write PCR for this.

 

 

Thanks,

Ashok

Consume webservice from abap system using X509

$
0
0

Hello abap experts,

 

I am having difficulties consuming a secure SOAP webservice in ABAP, and was hoping one of you could help me.

The webservice uses both SSL and X509 signing, The SSL connection part is working fine, the connection is accepted by the receiving party, but the SOAP messages are not signed by the X509 certificate. I have searched around, and never found a defenitive answer, wether it is even possible.

 

I created the logical port in the consumer proxy manualy (without wsdl), and get the option to select a certificate for the SSL connection, but I never see any settings regarding transport security (X509 signing). When i researched this I do see screenshots where this settings are available, but the screenshots are always of older versions of the SOAMANAGER.

 

The system I am trying to configure this on is 7.40 SP5

 

thanks,

 

Jorg

Viewing all 8338 articles
Browse latest View live


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