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

Configuring SAP Web Dispatcher to Support SSL - Trust Manager

$
0
0

Configuring SAP Web Dispatcher to Support SSL - With Trust Manager


Information:


The SAP Web dispatcher lies between the Internet and your SAP system. It is the entry point for HTTP(s) requests into your system, which consists of one or more SAP NetWeaver application servers. As a “software webswitch”, the SAP Web dispatcher can reject or accept connections. When it accepts a connection, it balances the load to ensure an even distribution across the servers. The SAP Web Dispatcher therefore contributes to security and also balances the load inyour SAP system. (SAP)

 

 

Our missions this year is to focus on the security side of SAP system, we make many activities to make the SAP system more protected, more secure.

 

Introduction:


One of our web service applicationused SAP Web Dispatcher and we want that incoming connection will use HTTPS. For this we must configure SAP Web Dispatcher as an SSL (Secure Sockets Layer) server.

 

1.png

Pics by SAP

 

2.png

Pics by SAP

 

More information regarding the Web Dispatcher:

https://help.sap.com/saphelp_nw73ehp1/helpdata/en/48/8FE37933114E6FE10000000A421937/frameset.htm

 

There are 2 ways to configure SSL for Web Dispatcher.

 

  • Using the trust manager.
  • Using the configuration tool sapgenpse.

 

This guide will help you to configure SSL for Web Dispatcher using trust manager.

 

Prerequisites:


You are familiar with the architecture and functions of SAP Web Dispatcher. In particular, you are familiar with the possible connections and how SSL is used with them. See the figure above. (SAP)

 

The SAP Web Dispatcher is installed and configured to use SSL.

 

Profile parameter:icm/server_port_ <xx> = PROT=ROUTER, PORT= <port>,TIMEOUT= <timeout_in_seconds>

 

Configuration:


Configure Environment variable


3.png

Picture 1.0 - environment variable SECUDIR

 

  • Variable value = d:\usr\sap\SID\W00\sec

 

The reason we set the environment variable SECUDIR is because we will use thesapgenpseforCredentials and for export the certificate.

 

Creating the SAP Web Dispatcher's PSEs Using the Trust Manager


4.png

Picture 1.1 - trust manager


Go to transaction code STRUST right click on the File and choose create. (You have to be in edit Mode).


5.png

Picture 1.2 - Create (RSA)


  • Change the name – Full FQDN of WD
  • Change the Algorithm to RSA with SHA-1 (I used the old algorithm)

 

In cryptography, SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function. SHA-1 produces a 160-bit (20-byte) hash value known as a message digest. A SHA-1 hash value is typically rendered as a hexadecimal number, 40 digits long. (Wikipedia)

 

https://en.wikipedia.org/wiki/SHA-1

 

6.png

Picture 1.3 – Save the PSE

 

Save the PSE to local file.

 

Sending the Certificate Requests to a CA.


Click on File and choose the PSE we download before

 

7.png

Picture 2.0 - PSE you saved in the previous procedure

 

Click on Create certificate request, save the certificate reques to local file and send it to the CA for request response.

 

8.png

Picture 2.1 - certificate request

 

9.png

Picture 2.2 – Export certificate request

 

10.png

Picture 2.3 - Pics by SAP

 

After you get back the certificate response from the CA, Choose file and import the certificate response.p7b

 

11.png

Picture 2.4 – Import certificate response

 

12.png

Picture 2.5 – certificate response

 

13.png

Picture 4.3 – Add to certificate list

 

Click on Add to certificate list Save and replace

 

14.png

Picture 4.4 – the certificate is in the list

 

Now you can see the certificate is signed and valid.

 

Creating Credentials for the SAP Web Dispatcher


The SAP Web Dispatcher must have active credentials at runtime to be able to access itsPSEs.

Put the SIDPSE.pseinthe secdirectory

 

15.png

Picture 5.0 – PSE in the SEC directory

 

Run the following command:

 

sapgenpse seclogin -p SAPSSLS.pse -x abcpin -O ABCadm

 

16.png

Picture 5.1 - The following command line opens the SAP Web Dispatcher's SSL server PSE and creates credentials for the user SIDadm

 

Profile parameter


Add the following parameter to the WD profile


17.png

18.png

Picture 5.2 – Profile parameter

 

Restart the WD!


Test the SSL connection

 

19.png

Picture 6.0 – Certificate is issued

 

Export P12 certificate for F5 - Option


20.png

21.png

Picture 6.1 – Export the certificate


SAP Sources:


https://help.sap.com/saphelp_nw74/helpdata/en/49/3db10a19341067e10000000a42189c/content.htm

 

https://help.sap.com/saphelp_nw74/helpdata/en/49/4590d23a293b5be10000000a42189b/content.htm

 

https://help.sap.com/saphelp_nw74/helpdata/en/49/4561a6f4383659e10000000a42189b/content.htm

 

https://help.sap.com/saphelp_nw74/helpdata/en/49/458f193a293b5be10000000a42189b/content.htm

 

https://help.sap.com/saphelp_nw74/helpdata/en/49/458f193a293b5be10000000a42189b/content.htm

 

 

I hope this document will help you Feel free to ask questions

 

Thanks Naor.



Process Multiple Files Sequentially and load into staging table.

$
0
0

Hi All,

 

I have requirement we are extracting the Multiple files from on of the source folder( D:\Source). the folder contains files such as .CSV format

 

Ex:


Test-20160616-00000049.csv

Test-20160616-00000050.csv

Test-20160616-00000051.csv

Test-20160616-00000052.csv

 

I need to extract this files one by one ( Sequentially ) and load into staging table( DB2 database). My guess is I have to use while loop in this scenario to loop files one by one. can you please give the script to do this process.

 

Thanks

Murali

Additional Customs Tariff Number

$
0
0

Hello Team,

 

I am looking out for the help on Additional Customs Tariff number? I have defined tariff number but not able to assign to product as no specific Transaction node exist. Could you please help me to understanding on assignment of the same?

 

Thanks & Regards

 

Rahul

/SCWM/PACK and Z-functionality

$
0
0

Dear experts,

 

i have a scenario in wich the standard transaction /SCWM/PACK has to be exstended by new functionlality.

I already changed the GUI-Status and have added a new button (green flag on the picture below), but it seems there no enhancment-spot or something to imput my own code into the PAI-Modul.

 

Now I'm thinking about adding of a new tab with my own subscreen:

 

Unbenannt.JPG

 

Does anyone know if the standard offers any kind of possibilities for such a extentions/enhancments? Or could you give any alternative how to build a new functionality into that screen?

 

I would apreciate any kind of help.

 

Thanks in advance and BR.

 

Denis.

Input parameters in HANA DTPs from Composite Provider, Virtual Provider on HANA Views

$
0
0

Hi experts,

we are having an issue with implementing filters on mapped input values from HANA attribute views in HANA Optimised DTP.

 

Here's our attribute view with filter by input parameter:

AT.PNG

 

In BW we have tried to use composite provider and virtual provider to get data in BW objects. When we check HANA Execution the folowing error occurs:

 

trans.PNG

 

I've set RSADMIN parameter RSDRV_HANA_INPUTPARAM_ALLOWED to X,

and by now I don't know what else to do.

 

SAP BW 7.4 SP13

 

 

Thanks in advise!

How do we connect Sap Hana view in Sap Fiori launch pad ??

$
0
0

Hi,

 

Can you please any one help me in this ...

 

How do we connect sap hana view in SAP fiori launch pad..

Accumulated average purchasing price report

$
0
0

Dear Gurus,

 

for fiscal reasons I need to explain the moving price for purchased materials over a period.

I look for a report where for each purchased material (ZROH) there is all the receiving documents with price and quantities, forming the average price I have at the end of the period for that material.

I found some reports where I have the analysis for 1 item only, but no one with a overall analysis.

thanks for your help

 

Mauro

Merging Code in Data Services when multiple Development environments exist

$
0
0

We have multiple Data Services development environments to support a Project that is being worked on. After so many weeks we need to merge the code from these two Development areas so that we can promote them through the rest of our environments.

 

We were doing a manual merge where we would just open up the two jobs from the different environments and make the changes again evaluating
what needed updated/modified. As you can imagine this can be a painful process.

 

We have also tried exporting a job/data flow to a atl file and do a compare using a compare tool but that didn’t work as well as we would have hoped.

 

The best luck we have found so far is exporting to an xml file and merging that way. We have only just begun to try this though so we are
not to confident that we won’t run into problems this way as well. We did get one simple change to merge successfully but we lost the designer layout when we reimported the xml file.

 

So we are wondering if there is a standard way to do merges in Data Services or at least a best practice.


JCO_ERROR_SYSTEM_FAILURE: (3) IDOC_ERROR_METADATA_UNAVAILABLE

$
0
0

hello,

we are working with SAP PO 7.4 single stack.

we implemented some interfaces ERP to C4C and viceversa.

Everything working fine but we have a strange case.

the interface SAP to C4C with Idoc COD_REPLICATE_SALES_ORDER01 not work.

 

in SM58 I have this error:

 

(3) IDOC_ERROR_METADATA_UNAVAILABLE: Matching meta....

 

 

 

 

when i check in LOG VIEWER i find this:

 

JRA] serverExceptionOccurred. Server XI_IDOC_DEFAULT_PID, Managed_Application_Thread_39, connectionId=1-srvbedci.blmgroup.com|sapgw00|XI_IDOC_DEFAULT_PID, Exception: com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: (3) IDOC_ERROR_METADATA_UNAVAILABLE: Matching meta data for segment definition "E201BAPIADDR1000" was not found when processing IDoc no. 0000000000040258 of type "COD_REPLICATE_SALES_ORDER01" . (raised by system srvbodci|a_rfc)

 

It's strange because in my Idoc i don't have segment E201BAPIADDR1.

I have this one: E102BAPIADDR1


Either in PO and in ERP:

 

 

 

I uploaded again Idoc structure in PO ESB.

I refreshed CPA cache refresh.

I searched in sap notes but I not found anything.

 

Any suggestion?

 

thanks in advance

 

Alessandro

Condition Type to COPA ( +/- Indicator Usage)

$
0
0

Hello Experts,

 

In our Transportation Management Project, we have a charge type Fuel Surcharge that is passed from TM box  to ERP box. We map this charge type to MM condition type when we transfer the FSD document. The fuel surcharge MM condition type (FUS) can have positive or negative value. Another condition LH (linehaul) will have always a positive value. They both are mapped to same G/L account. The cost element has cost element category as 11 and in KE4IM the +/- indicator is checked for FUS condition type.Both condition types (LH & FUS) are mapped to the same value field.In PA, the system is always adding up LH and FS condition type value irrespective of FUS is positive or negative.

Also, there is another condition type FUT (it can have +/- value as well) which is mapped to a different G/L account.Cost element category is 11. This condition is mapped to a different value field. in KE4IM, +/- indicator is checked for this condition type. In COPA, this always comes with + sign.

In our PA reports, the formula is: LH - FUS - FUT

 

I looked into SAP 33178 and it talks about making changes in a program which was supposed to be in section 2.1.2  which is not there !!!

 

Where I am going wrong?

SAP Lumira on-Premise integration with SAP Hybris Marketing on Cloud

$
0
0

Hi Experts,

                 We need to build some lumira objects connecting to SAP Hybris marketing Cloud and we didn't find any documentation about the integration between these two technologies, Can anyone tell us about the propper maner to achieve this integration? exists a connector between these two SAP solutions?

 

Thanks in advance.

 

Best regards,

Martin

New Plant - PP Configuration

$
0
0

Hello,

 

I want to create a new plant which will have production on it.

 

what are the customization needed in order for the production to work properly?

 

 

Thank you,

A

Problem getting VIZ Charts to consume my JSON data

$
0
0

Experts,

I am working on a very basic viz chart SAPUI5 example.  My preferred JSON that I want to use to populate the chart looks like this:

 

"data": [

{"object": {

    "ave":".173",

    "name":"Fergie Jenkins",

    "team":"Chicago Cubs",

    "OnBasePercentage":".250"

}}

,

{"object": {

    "ave":".300",

    "name":"Alfonso Soriano",

    "team":"Chicago Cubs",

    "OnBasePercentage":".375"

}}

,

{"object": {

    "ave":".130",

    "name":"Gaylord Perry",

    "team":"San Francisco Giants",

    "OnBasePercentage":".205"

}}

]

 

The above JSON doesn't work with these dimensions:

 

    var dataSet = new sap.viz.ui5.data.FlattenedDataset({

        dimensions: [

          { axis: 1, name: 'Player', value: "{name}" },

          { axis: 2, name: 'Team', value: "{team}" }

        ],

        measures: [

          { name: 'Average', value: '{ave}' }

        ],

        data: { path: "/data" }

    });

 

Is there a way to tell this dimensions construct that I have a parent node in my JSON for each record of "object"?  I tried {object.name}, but that did not work.  Is there a syntax change I can make to reference the field values that would include the "object" reference somehow?

 

My chart works fine when I use the following JSON without the "object" wrapper, but this is not my preferred format:

 

"data": [

{

    "AgentryObjectName": "",

    "ave":".173",

    "name":"Fergie Jenkins",

    "team":"Chicago Cubs",

    "OnBasePercentage":".250"

}

,

{

    "AgentryObjectName": "",

    "ave":".300",

    "name":"Alfonso Soriano",

    "team":"Chicago Cubs",

    "OnBasePercentage":".375"

}

,

{

    "AgentryObjectName": "",

    "ave":".130",

    "name":"Gaylord Perry",

    "team":"San Francisco Giants",

    "OnBasePercentage":".205"

}

]

 

Any help would be greatly appreciated.  Thanks!

 

Jason Latko - Senior Product Developer at SAP

Exit for change the cost of special Stock

$
0
0

Hello people,

 

 

Somebody know a Exit for change the cost of special stock for Material Ledger.

 

 

Sincerely,

 

 

Sergio Navarrete

language field not standard available in account list overview

$
0
0

Hi,

 

We would like to export the list from the general account overview to Excel by using the export functionality in C4C.

 

We noticed that the standard field 'Language' is not available to add on the account list.

When we go to adaption we don't see the the field 'language' in the field list to add in the account list screen.

Our customer wants an overview in the account list of their accounts with the related languagues.

 

We already know that there in no standard functionality to add this field in the general overview.

Is there a workaround to export the account list witouth creating an extra custom language field?

 

A screenshot is added below

 

Thanks


Agentry custom client icon for internal App store

$
0
0

Hi,

 

This question is in the limit between the knowledge of a SAP product and iOS developer.

 

I created an Agentry custom client and everything works fine except one thing: The icon displayed in our internal app store (Airwatch) is not the custom application icon we have designed.

 

Following my own post How to create an Agentry Client for iOS using SMP SDK SP10 and Xcode 7.0, I added the icons to the assets catalogue, but instead of the icons from the Agentry Bundle, I used custom enterprise icons created by our designer. I mapped correctly each icon file to the relevant asset catalogue device setting.

 

When I install the app in any device, I see the correct custom icon, but when in the Airwatch store, the icon displayed is the original "orange-yellow" background with white figure from SAP.

 

How can I replace the original SAP icon for the app store with my custom icon? It is confusing users to get one icon in the app store and then see a different one in the device once the app is installed.

 

Kind Regards,

 

Marçal

Account assignment template in FB60 does not store Vendor account

$
0
0

Chaps,

When I save an 'Account assignment Template' in FB60, the Vendor does not get saved. (When I call back the Template, the Vendor is blank)

Is this standard functionality? Any way to remedy?

 

I was also looking for some documentation on the logic of the templates (recall, change.. depending on which user created it ..).  If you could direct me to some good posts ..

 

Thanks again for your help. I read a lot of post but couldn't find definite answer..

 

KR - Loïc

Desktop Connection for SAP CRM and NW SSO x.509 Certificate

$
0
0

Hello,

 

I implemented NW SSO in our SAP landscape and implemented it on our CRM system.

 

I want to use SSO on Desktop Connection for SAP CRM, professional edition Release 2.0 SP04.

I am trying to implement it using admin the guide's X.509 Certificate-Based Authentication section

(https://websmp207.sap-ag.de/~sapdownload/012002523100012038332015E/DCN_Admin_Guide_11_8.pdf)

 

Unfortunately I could not succeed in getting the certificate on Desktop Connection for SAP CRM - Login screen although the certificate is imported to the store.

 

CRMDesktop.jpg

 

What I did is;

* Exported NW SSO Root Certificate in x.509 format.

* Imported the Root certificate to  Trusted Root Certification Authorities store of Local Computer. (Explained in detail in )

 

Did anybody use NW SSO on Desktop Connection for SAP CRM?

 

Can you help about the issue, please?

 

Thanks and Regards,

Yuksel AKCINAR

Affordable Care Act (ACA)

$
0
0

Hello community,

 

If you have questions about ACA, you can post this on this thread. We will update this thread with tips and notes related to Affordable Care Act.

 

The main note has been released today:

 

2167502 - BEN: Main Note - Affordable Care Act (ACA)

 

Thank you,

 

Kind regards,

 

Graziela Dondoni

OData generation error in technical wizard

$
0
0

Hi experts,

 

we deployed hybris marketing 1602 on a standalone Netweaver system.

During initial configuration (CUAN_INITIAL_SETUP) the generation of OData Services fails with an exception.

The metadata couldn't be loaded.

In the mentioned transaction /IWBEP/ERROR_LOG I found: "Exception /IWBEP/CX_EQ_TECH_EXCEPTION occurred"

The affected service is CUANPMOUTLH01_Q001_EQ_SRV.

 

We already implemented the sap note 2268665 without success.

 

Do you have any idea about this?

 

Thanks,

Anne

Viewing all 3276 articles
Browse latest View live