Quantcast
Channel: SCN : All Content - SAP NetWeaver Technology Platform
Viewing all 1967 articles
Browse latest View live

Way to create OData from RFC and consume into SAP UI5 application - Part II

$
0
0

Now we have to do below configuration after first part.

 

Please click on the selected button and do the below configuration.

31.JPG

Now we have to do the below mapping.

32.JPG

 

Step 14: Now we have to do the mapping for the node SalesOrderItemCollection.

Open the node and select as below.

 

33.JPG

 

And then provide below details in the pop up.

 

Target System

Local

Data Source Type

Remote Function Call

Data Source Name

BAPI_EPM_SO_GET_DETAIL

 

34.JPG

 

And now we have to do the mapping. Now open the ITEMDATA node and do the below mapping.

35.JPG

 

We have to add one more row as below and do the below mapping.

36.JPG

 

Now we have to press generate button to generate the run time objects.

37.JPG

 

To test the service open the selected node and double click and press the Gateway Client button.

38.JPG

 

And after providing the query as below and execute the requested query, we will get information like below.

39.JPG

 

Step 15: Now we have to do the ASSOCIATION , please provide the below details in the required input fields.

And in the required fields we have to provide below information.

 

Name

SalesOrderSalesOrderItems

Principal Entity

SalesOrder

Principal Entity Cardinality

1

Dependent Entity

SalesOrderItem

Dependent Entity Cardinality

M

 

40.JPG

 

Step 16: Now we have to create referential constraint for the association. To do so, please do the below, double click on the Referential Constraints.

And make a entry like below.

41.JPG

 

Now generate the project once again.

Step 17: Expand the node as below.

42.JPG

 

And double click on the Navigation Properties and do the below configuration.

 

Name

SalesOrderItems

Relationship Name

SalesOrderSalesOrderItems

 

43.JPG

 

Now re-generate the project and test with below query and get result as below.

44.JPG

 

Step 18: Now we will consume our OData service into SAP UI5 application.

Create one SAP UI5 Application and do the below coding in the view.

 

 

createContent : function(oController) {

 

 

var sServiceUrl = this.getUrl("/sap/opu/odata/SAP/ZGW100_XX_SO_SRV");

var oModel = new sap.ui.model.odata.ODataModel(sServiceUrl,true,"Service-User","Password");

 

//Create an instance of the table control

var oTable2 = new sap.ui.table.Table({

title: "Table OData Example",

visibleRowCount: 7,

firstVisibleRow: 3,

selectionMode: sap.ui.table.SelectionMode.Single,

navigationMode: sap.ui.table.NavigationMode.Paginator,

 

id:'table1'

});

//Define the columns and the control templates to be used

oTable2.addColumn(new sap.ui.table.Column({

label: new sap.ui.commons.Label({text: "So Id"}),

template: new sap.ui.commons.TextView().bindProperty("text", "SoId")

 

}));

oTable2.addColumn(new sap.ui.table.Column({

label: new sap.ui.commons.Label({text: "Currency Code"}),

template: new sap.ui.commons.TextView().bindProperty("text", "CurrencyCode")

 

}));

oTable2.addColumn(new sap.ui.table.Column({

label: new sap.ui.commons.Label({text: "Gross Amount"}),

template: new sap.ui.commons.TextView().bindProperty("text", "GrossAmount")

 

}));

oTable2.addColumn(new sap.ui.table.Column({

label: new sap.ui.commons.Label({text: "Net Amount"}),

template: new sap.ui.commons.TextView().bindProperty("text", "NetAmount")

 

}));

oTable2.addColumn(new sap.ui.table.Column({

label: new sap.ui.commons.Label({text: "Tax Amount"}),

template: new sap.ui.commons.TextView().bindProperty("text", "TaxAmount")

 

}));

 

oTable2.setModel(oModel);

oTable2.bindRows("/SalesOrderCollection");

 

oTable2.placeAt("content");

 

 

}

 

 

 

getUrl : function(sUrl) {

   if (sUrl == "")

return sUrl;

   if (window.location.hostname == "localhost") {

return"proxy" + sUrl;

   } else {

return sUrl;

   }

}

 

Now we have to do few modification into web.xml file. Please add the below snippet of the xml tags into web.xml

45.JPG

 

<context-param>

<param-name>com.sap.ui5.proxy.REMOTE_LOCATION</param-name>

<param-value>http://<host of Gateway Server>:<port></param-value>

</context-param>


Now we have to run the application, to fetch the data from SAP ECC via OData in SAP UI5 application.

After run we will get screen like below.

 

46.JPG


Invalid name: appropriate prefix not found; choose another name or another name server

$
0
0

Hello All,

 

I am getting below issue after Generate the code of PI service/interface in CAF dc in NWDI.

Invalid name: appropriate prefix not found; choose another name or another name server

 

Created CAF DC in existing Software Component.

 

       

Imported PI Service from ESR (Import - Create WebService Provider). PI interface structure has been generated in CAF DC

 

 

Now using Generate option I have generated CAF generated classes, but I am getting Invalid Name issue.

 

    

 

After that Generated classes are generated and also properly Activated the code.

 

Error Log Details


 

 

Can you please help me about this issue?

 

 

 

Regards,

Rami Reddy

Enterprise structure

$
0
0

I am trying to learn ABAP in the context of the SAP PM module and the trial install and MaxDB do not have a logistics section or an enterprise structure when using Tcode SPRO... Can anyone tell me how I get one to experiment with?

Shane

Report CL_SQL_C

$
0
0

Hello Experts,

 

on our ERP-System I see a job running for a long time. The report is CL_SQL_C (ddic).

Can anybody can tell my what this job is doing? Is it normal that it's running for more than 11.000 seconds?

 

Thanks in advance

Regards

Martin

Invitation: #SAPSysArchs - SAP Fiori & SAP Portal Architecture Call - Wednesday 17th February 17:00 CET

$
0
0

http://scn.sap.com/servlet/JiveServlet/showImage/38-136675-869323/TimeLine.png

 

 

Invitation for SAP System Architects, Development Architects, Application Architects

and Basis Architects and everybody who is interested, to join the next #SAPSysArchs

call:

 



     Subject:                    SAP Fiori & SAP Portal


     Date:                         Wednesday 17th February - 17:00 CET


     Meeting Url:               https://sap.emea.pgiconnect.com/C5236419


     Conference Code;      Participant Passcode: 329 122 3879


     Local Dial-in Numbers are here

 

 

 

Following on from January's #SAPSysArchs call on SAP Gateway, the February call will be

about the complimentary subject of SAP Fiori & SAP Portal.

 

As before, the goal of the call is a peer architectural discussion on the subjects of SAP Fiori

and SAP Portal, what they are, how they fit together and the future the SAP Portal has in a

SAP Fiori world.

 

The call will open with a short ppt presentation introducing the subject of SAP Fiori and SAP

Portal, and subsequently, the floor will be opened for peer discussion on these subjects.

 

We are very lucky, as SAP Fiori and Portal Product Manager Aviad Rivlin has very kindly

accepted to join the call and act as the authority on the subject.

 

The call will be a unique opportunity for peers from SAP Customers and SAP Partners to

understand, in the Fiori world where the Portal fits in, what SAP's plans are for the two to exist

harmoniously and why SAP Customers should continue to invest in their SAP Portals when

there is SAP Fiori.

 

As has been explained here previously, the point of the call is to discuss real SAP system

architecture challenges facing real people at real companies. The call is less a lecture and

more a discussion.

 

Please take the opportunity to think of interesting questions and challenges on the subject of

SAP Fiori and SAP Portal and feel welcomed to post the questions here in advance of the call

(in the chat under the blog) or bring the questions and challenges to the call. The benefit of

posting challenging SAP Fiori and SAP Portal architecture questions here in advance is for

challenging subjects it will give Aviad the chance to prepare and the other peers the chance

to give feedback on their thoughts ahead of the call.

 

The goal of the call as usual is to learn from peers through open common discussion and

solution sharing on contempory SAP system architecture challenges.

 

Looking forward to all feedback and attendance.

 

Let's have some fun and fully understand how Fiori and Portal fit together and why we should be

investing in our Portal strategy.

 

 

About #SAPSysArchs

 

Together we are all #SAPSysArchs, everybody in the SAP Business who is involved in SAP

System Architecture decisions.

 

A global peer group enabling sharing of discussions, questions, philosophies, throughts and

experiences.

 

#SAPSysArchs face many challenges including pressure of having to be the subject matter

expert, the final internal technical authority, and without always having access to support.

 

Where is the documentation, there is not enough architecture documentation around SCN

or SMP, we're lucky if a Master Guide gives some architectural insight.

 

Architect's don't blog, why ? Often blogging architecture solutions, philosophies, ideas, could

risk sharing company's secrets combined with pride of not wishing to be publicly challenged.

 

What to do ? #SAPSysArchs creates a peer group where on a monthly basis peers can have

an open discussion on a contempory subject, and compare thoughts.

 

Less a lecture and more a discussion, there are mountains of documentation on SCN, SMP,

TechEd, the #SAPSysArchs calls are primarily an opportunity for open peer discussion, where

attendees brings their challenges and throughts.

 

Real challenges faced by real people at real companies, rather than PowerPoint Presentations.

 

Good architectural design and decisions bring many benefits including:

 

     . creating competitive advantage by

 

          . enabling End User productivity, enabling End Users to be productive and keeping them

          productive

 

          . reducing costs

 

          . reducing time

 

Every company is different, running at different speeds with different budgetary and business

pressures.

 

What is the best architectural decision for one company, may not for a variety of reasons be the

best architectural decision for another.

 

However, enabling #SAPSysArchs to share and compare in peer discussions will benefit all.

 

The New SCN SAP NetWeaver Architecture Category - An Introduction

 

 

 

p.s. Martin Steinberg and Christian Braukmueller have I missed anything :-)

Setup RFC SERVER_EXEC on Explicit Host

$
0
0

Dear SAP Experts,

 

I have problem with setup RFC SERVER_EXEC on explicit host. I have ECC system with several application servers.

RFCSDK was installed in all application server. By default activation type is "Start on Application Server". All application server can access this RFC using connection test.

The problem is we have requirement to run this RFC only in one of application server (let say app2). I have tried change the activation type to "Start on Explicit Host" and mention app2 as target host.

When i tried to test the connection, error message appeared like below:

SMGW:

 

Is there any thing that i missed to enable this RFC? Please help give me suggestion to solve this error.

 

Thanks in advance.

Best Regards,

Husin

SAP NetWeaver 7.5 / PI_BASIS 750

$
0
0

Good morning all, I have installed a SAP NetWeaver Version 750 on Windows Server 2012 R2. Now I want to install BI_CONT 757 and the recommended restrictions like SAP Note 1943931 is to install the PI_BASIS 750. But I can't find the download. Can anyone help? Thanks in advance

Allowed to publish on pecl.php.net server? SAP NetWeaver Library

$
0
0

Hello together,

 

gkralik is currently working on a PHP7 extension for the NW RFC library.

https://github.com/gkralik/php7-sapnwrfc

 

My quesion is, if it's allowed to make the NW RFC library public available here

http://windows.php.net/downloads/pecl/deps/

 

If that would be allowed, it would be possible to publish the extension on PECL (the official PHP extension site)

http://pecl.php.net

 

The NW RFC library is needed for that, since PECL provides also Windows builds.

 

This would have the benefit that the SAP NW RFC gets a "first class" citizen in PHP on Unix and Windows.

 

Maybe we could reduce the files to the only needed ones (if that helps to get the files on that server)

- some header files

- and sapnwrfc.lib + libsapucum.lib

 

 

Thanks in advance, for answering (hopefully positivie) my question.

 

 

Best regards

Martin


SAP JAVA Note details REALESE SP PATCH

$
0
0

Hi experts,

 

I going to apply some notes, for example I want to update SAP_XIIGW_APPL software component by this note 2247644

In note says that you can update SAP_XIIGW_APPL component with version 7.50 with for SP000 to patch 0004, for SP0001 to patch 0002..

 

o3.png

What does it mean?

For example I have SAP_XIIGW_APPL 7.50 with SP001 and patch level 0001.

1. So I have to update to SP001 patch 0002 or to SP003 patch 0000 ?

 

2. What is the difference between SP001 and SP003 ?

 

Please, help me!

MM new features in EHP 7

$
0
0

Hi,

I would like to know about the new features in MM for EHP 7 version please.

Redirect to EXT server in Web Dispatcher

$
0
0

Hi Guys,

 

I have a typical requirement, so here it goes

 

I have web dispatcher and an EXT server, when I give www.abcd.com it should redirect to EXT server. The JAVA application severs configured to the web dispatcher are working fine but when trying the redirect to the EXTERNAL server (EXT) isn’t working.


Can someone guide me how to achieve the requirement?


Thanks in advance,

Kaushik G

S/HANA SP01 update : PREP_GENCHECKS/CHECK4NOTES_PACKAGES error

$
0
0

Hello,

 

 

 

We are
running SAP S/4 Hana on premise (Netweaver 7.50 )1511 SP00 and are patching the system to SAP S/4 Hana 1511 SP01

We are using Software Update Manager 1.0 SP 15

We encountered the following error :


=== Type: error === Source: PREP_GENCHECKS/CHECK4NOTES_PACKAGES === Title:
Missing Notes ===
The SAP Notes listed below contain corrections that are essential for a correct
procedure. You can only continue with the procedure after you have implemented
the SAP Notes or the specified Support Packages

  the Note
Assistant to download the following SAP Notes and implement them if
applicable.
In this system, you can ignore notes that are classified as "can not be
implemented" or "obsolete" by the Note Assistant . However, we
recommended to
transport these inapplicable SAP Notes and the implemented SAP Notes into the
system landscape. If you do not transport the inapplicable SAP Notes too, the
SUM execution in the follow-up systems will stop in this phase because these
SAP
Notes are not at the latest level.
Use report SCWN_TRANSPORT_NOTES as described in SAP Note 1788379 to transport
the SAP Notes.
If you prefer to import the corrections using Support Packages, reset the
procedure and import the specified Support Packages in a separate queue using
the Support Package Manager.
ABAP Patch |Note |Support package
====================================================
SAPK-75001INSAPBASIS|0002257142|SAPK-75002INSAPBASIS
----------------------------------------------------
SAPK-75001INSAPBASIS|0002257143|SAPK-75002INSAPBASIS
----------------------------------------------------
SAPK-75001INSAPBASIS|0002275092|SAPK-75002INSAPBASIS
----------------------------------------------------
SAPK-10001INS4CORE |0002257142|SAPK-75002INSAPBASIS
---------------------------------------------------
SAPK-10001INS4CORE |0002257143|SAPK-75002INSAPBASIS
----------------------------------------------------
================================================================================
============
======
=== Type: info === Source: PREP_GENCHECKS/REQ_FRONTREQ_PRE === Title: Update
front end software ===
*INFO* : The front end software could be updated at any time before or during
the upgrade. It must be updated before the start of the shadow instance in
phase
*START_SHDI_FIRST* .
Refer to the upgrade manual if you do not know how to perform the update
procedure.

    

No missing  sap note is being displayed in the log  However, We followed instructions provided by sap note 2255834
- SUM prompts for Notes with status "Cannot be implemented" during the phase PREP_GENCHECKS/CHECK4NOTES_PACKAGES

 

 

We applied the sap note highlighted in RED :

2016-02-10 15-25-25.png

The status of the iplemented notes has been set to "Completely Implemented"

2016-02-10 15-34-17.png

 

 

 

Still, no matter what we do, we are still getting the same error and are unable to proceed
with the upgrade . I stopped HANA , stopped S/4 Hana, , it didnt help.

 

Thank you for your attention.

TMS Alert Message

$
0
0

Hi experts,

 

we are getting the bunch of error / warning message in tms alerts.

 

Error message :  TMS_TP_ANALYSE_FEEDBACK

 

Have attached the detailed log.

 

There is not much information available on this error.

 

Getting this message in the ERP system.

 

This is ChaRM enabled environment and there is no issues with the transports.

 

Any idea why we are getting this error ?

 

The following SAP notes 1227689 and 1177611 are not applicable to us.

 

TP version :  380.29.43

Product version : ERP 6.0

Database : MSSQL

 

Solman Version : 7.1 with SP11

 

 

Thanks, Ganesh

web dispatcher 7.45

SAP WebGUI File Browser: IE uses java applet unlike Chrome. Why?

$
0
0

We are using SAP ERP ECC 6 EHP 7. Most of our users are logged into the system via SAP WebGUI using Internet Explorer 11. All the functionality seems fine on IE 11 except attachements/file browser dialog which requires JRE (Java Applet). Now even Oracle has ditched JRE and chrome no longer using it, how can we make our Internet Explorer 11 using file browser just the way chrome uses (applet less).


Different Netweaver versions between two system not connected

$
0
0

Hi experts, we are creating and exporting an ABAP transport file (.DES extension in DATA and COFILE directories) in a SAP system with Netweaver version 7.02.

 

Is there any problem applying those files with STMS transaction (Import option) in a SAP system with Netweaver 7.04 version?

 

 

 

 

Thanks in advance for your help.

Archivelink Toolbox Change filename attached in PO

$
0
0

Dear All,

 

I relaunch an old question (2012) with no answer yet :

 

We are in ECC 6.

We have implemented SAP content Server and Archivelink to attach some documents to BUS2012.

All work properly but I would like to change the display of the attachment list : from ME23N transaction, click on attachment button and choose attachment list. The list of documents stored in SAP content server are displayed.

In the title, SAP put the description of the document type in OAC2 transaction.

and no creator name.

But I would like to change the title with the source file name,  to display the creator name and eventually other informations.

 

Do you know how to customize this attachement list (via BADI, userexit, ...) ??

 

Thanks for your help.

Add attachment to individual receipt in portal.

$
0
0

We are having a project to add attachment to individual receipt in portal.  From PR05 the documents attached should be merged and sent to content server. We have activated business functions: FIN_TRAVEL_4 Prerequisites: FIN_TRAVEL_3 FIN_TRAVEL_2 FIN_TRAVEL_1 We are at the beginning of the configuration and will need some assistance.

SAP MMC Snap-In

$
0
0
The SAP Snap-In for Microsoft Management Console (MMC) provides a graphical user interface to administer SAP systems from Windows PCs. By default it is installed with any SAP application server on Windows. The default configuration allows you to administer any locally installed SAP application server. However SAP MMC can manage any local or remote application server on Windows as of release 45B and as of release 6.40 application servers running on any OS platforms. SAP MMC versions are fully backward compatible. Therefore installing the latest version is recommended and enables the latest features and fixes. Starting with release 7.10 SAP MMC is shipped as a fully self contained standalone standard Microsoft installer package (MSI). This makes it very easy to install it on any Windows PC.
As of release 6.40 the SAPControl webservice of sapstartsrv is used to manage application servers running on any OS platform. For releases  < 6.40, SAP MMC utilizes the ISAPControl DCOM interface of sapstartsrv to administer application server running on Windows. In addition the command line tool sapcontrol can be used to administer application server via the SAPControl webservice. Do you know the SAP Management Console (SAP MC)? and the SAP Management Perspective of SAP NetWeaver Developer Studio are alternative graphical Java / Eclipse based user interfaces, providing similar features as SAP MMC.

Download Latest SAP MMC Snap-In Released Build

You have to log in to SAP Service Marketplace to access the download pages.
On SAP Service Marketplace you find the latest released versions of the SAP MMC Snap-In for the following platforms:

 

SAP internal: SAP employees can download the latest development version via our internal wiki page.

SAP MMC - Related Tools

SAP MMC automatically integrates with many SAP and third party tools to provide additional functionality like SAP logon, remote login or Database Administration. By installing these tools on your Windows PC you can add additional functionality to SAP MMC:


Related Information

Webgui Performance Optimization

$
0
0

Hello Experts,

 

I have recently configured End to End SSO configuration which let End users to login to SAP via webgui with domain credentials.

I am well aware that Webgui is slower that SAP GUI but still i want to improve it its extent to know it best throughput.

 

I would need your assistance in achieving it. I know the path to Webgui optimization goes via ITS(Kernel version is 721) so any document or SAP Note will be helpful.

 

Warm Regards,

Sumit

Viewing all 1967 articles
Browse latest View live


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