cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring SLD for SAP NetWeaver Composition Environment 7.1 SR5

MaryM
Participant
0 Kudos

Hello,

I'm trying to register my CE 7.1 tril version into an external SLD.

I have configured destinations SLD_DataSupplier and SLD_Client (Ping ok), but when I'm trying to do "Collect and Send Data", I get following error:

Collect and Send Data failed: Data transfer failed. Failed to Send Data. Target URL: http://zzz /sld/ds, Status: 401, Message: Unauthorized

What could be the problem here?

Thanks in advance!

MaryM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Mary,

Can you please let me know how the status:401 ,Message:Unauthorized issue has been resolved.

Even iam facing the same issue while configuring the SLD for PI 7.1

Thanks,

Sharma

Former Member
0 Kudos

This message was moderated.

mario_bisonti2
Participant
0 Kudos

This message was moderated.

C1060644
Explorer
0 Kudos

This message was moderated.

Former Member
0 Kudos

Something new for this?

Martin

Former Member
0 Kudos

HI,

To create JCo connections

1) You will need Super Administrator permissions to create JCo's.

2) Log on to the Portal.

3) Go to Content Administration à Web Dynpro

4) Since we have configured SLD, now we can see a button to "Create JCo Destination". Click it

5) Now you can observe Create new JCo Destination on right side panel.

6) Give the Following Details.

a) General Data: Name: Give the name of JCoClient: Give the Client number to which system you want to create JCo for. Click Next.

b) J2EE Cluster: Check the Use Local J2EE engine. Click Next.

c) Connection Type: Select Dictionary Meta Data. Click Next.

d) Application Server Connection: Select the existing Message Server and Logon Group.

It might sometimes happen that Message Server and Logon Group is not configured to configure them, follow the process

For Message Server:

i. Log on to SDL through portal i.e. http:///sld

ii. Choose Technical System. Click it.

iii. You will observe New Technical System button, click it.

iv. System Type: Select Web AS ABAP , if you want to connect to R/3 System and incase you are using Java application use Web AS Java

v. General: Log on to R/3 System through SAP Log on pad. Go to System à Status, check for SID, Installation Number and Database Host Name.

vi. Central Servers: Give Host Name and Port Number and Instance Number.

For Logon Group:

a. Click on Add New Logon Group, this will open a row in the table.

b. Log on to R/3 through Logon pad and get Logon Groups ids and the transaction code is "SMLG".

vii. Application Servers: Click on Add Application Server and then give Host Name and Instance Number of R/3 System.

*viii. *Clients: Give Client number (System id) and Logical Client Name (which we can get from SMLG code). And click finish.

7) Message Server Connection:

*i. *Name: Give the logon name of R/3 System

*ii. *Password & Confirm Password: Give appropriate password of R/3 System.

😎 Click Finish.

Just for further information please go through the wiki link. The content is provided by Anil Dichapally.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/configure%2bsld%2bfor%2bjco%2band%2bcreation%2...

Regards

Ashok

MaryM
Participant
0 Kudos

Thank you for answer,

In SLD I have Web AS ABAP defined, but no logon group.

I have tried to create a new logon group, but when testing the JCo connections, I get error:

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=saperp GROUP=Basic R3NAME=ERP MSSERV=sapmsERP SAPROUTER_STRING=/H/.../H/ PCS=1 ERROR Group Basic not found TIME Wed Aug 27 13:07:18 2008 RELEASE 700 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 4288 DETAIL LgIGroupX COUNTER 1

how to define a correct logon group?

Thank you!

MaryM

MaryM
Participant
0 Kudos

now Im getting an error:

500 Internal Server error

java.lang.NullPointerexception

when trying to Create or Maintain JCo Destination.

How to fix it?

In web Dynpro Content Administrator SLD Connection seems to be fine,

but in netweaver administrator i have warning: System Landscape Directory is not accessible.

Please, I urgently need a solution how to be able to create JCo destinations.

Thank you !

MaryM

MaryM
Participant
0 Kudos

Ok, people, never mind.

i solved the problem

thanks,

MaryM

Former Member
0 Kudos

hi Mary,

Can u please tell how dd u solve the problem as I am also getting the same error while creating JCO connections.

Regards

MaryM
Participant
0 Kudos

Hi Amit,

if you are referring to the java.lang.NullPointerexception error, then :

host:port/sld>technical systems>web AS Java-->JCo Destinations

I deleted every destination there, went back to create and it let me.

It helped me, I hope you can also solve your problem.

regards,

MaryM

Former Member
0 Kudos

Yes .. it is working...

Thanks

MaryM
Participant
0 Kudos

hi,

i have solved the unauthorization error.

However, when i run my web dynpro application which uses rfc model wd_rfc_flightlist_metadata_dest,

i'm getting error:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_RFC_FLIGHTLIST_METADATA_DEST' in the SLD. No such JCO destination is defined in the SLD.

As I understand I have to create a new destination... can anybody tell me the exact parameters for it,

destination name, type, url..?

Thank you.

MaryM

former_member209962
Participant
0 Kudos

This message was moderated.

former_member209962
Participant
0 Kudos

Thanks problem solved