cancel
Showing results for 
Search instead for 
Did you mean: 

How to get IDocs list or BAPIs in IR

Former Member
0 Kudos

Hi Every one / XI Gurus,

I am learning XI.

I am an ABAPer for past 4 years.

I have learnt XI to some extent by using SDN (some docs, links and some weblogs).

Thank you all.

I have done File to File and XML to XML (both are almost same) scenario using a weblog mentioned in SDN.

It was very good and easy for beginners.

When i am trying to do the scenario IDocs to File or File to IDoc or

BAPI/RFC to File or File to BAPI/RFC using the Weblogs available in SDN

I am facing certain problems.

I am not sure if i am correctly giving the parameters in SLD.

But when i import the SLD to IR, i am not able to view IDocs or BAPIs in the IR.

Can you please help me in setting the SLD and getting the list of IDocs and BAPIs

in the IR.

Please do not suggest me any existing weblogs because i have gone through all of them available in SDN.

Thanks,

Priyanka.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184619
Active Contributor
0 Kudos

Hi Priyanka,

While creating the Namespace u have to select the radio button Import of RFC and IDOC Interfaces from SAP system PERMITTED without it you can't import it.

as it ask for the Parameters to be filled for SAP system from which u want to import the IDOC or RFC

then click on Imported Objects and right click on the RFC and choose import the RFC.

check my posting in WIKI for File to IDOC scenario

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&

Sachin

Former Member
0 Kudos

Hi Sachin,

Thank you.

I went through your wiki earlier.

It starts directly from IR.

I think from there i am able to do the next steps because your wiki or other blogs clear

explains with screen shots.

IT doesn't show setiing in SLD.

I have created TS and BS using WEBAS ABAP and i have mentioned the LS one that i have created in SALE in R3.

Thanks,

Priyanka.

former_member184619
Active Contributor
0 Kudos

Hi Priyanka,

i sent u a mail for how to create a WEB AS ABAP technical and Business System.

Go throught this links as well

Technical System WEB AS ABAP

http://help.sap.com/saphelp_nw2004s/helpdata/en/f1/92b248db68409487661ff13239127d/frameset.htm

Business System

http://help.sap.com/saphelp_nw2004s/helpdata/en/87/7277e8fba34421a45d97a41ec27381/frameset.htm

Then Import the SWC into ur IR.

try creating a new namwpace and then follow as i posted above.

Sachin

Former Member
0 Kudos

Thanks for the Doc.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

In IR you can import the RFC from R/3 system.

Right Click on the Imported Objects and click the RFC and choose import the RFC.

Select the Radio Button Import of RFC/iDoc allowed. After U Create a Namespace

Save it And Activate

<b>The Follow the Following Steps To Do</b>

<b>Steps</b>

<b>SAP XI</b>

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (IDX1)

a) Select create new button

b) Enter the port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Load Meta Data for IDOC (IDX2)

a) Create new

b) IDOC Message Type

c) Enter port created in IDX1.

<b>SAP R/3</b>

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (We21)

a) First Select Transactional RFC and then click create button

b) Enter the destination port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Create Partner Profile (WE20)

a) Create New

b) Create the Partner no. name as same the logical system name of the destination system.

c) Select Partner type LS

d) Enter details for Type: US/USER, Agent, and Lang.

e) Click on the + button to select the message type.

f) Select Partner no. and LS which ever create above.

g) Select Message type

h) Select Process code related to the Message type.

I) save.

<b>In SLD – System Landscape Directory</b>

TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.

Ts for Third Party (Logical system):-

BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.

BS for Third Party (Logical system):-Enter the XI logical system name.

<b>In Transaction SALE</b>

Define and Assign the logical system name.

Regards

Khanna

Former Member
0 Kudos

OK Try this

1) When you define the <b>Namespace</b> for the IDOC S/W COMPONENT VERSION then u must have to <b>select the radio button Import of</b> <b>RFC AND IDOC INTERFACES FROM SAP SYSTEM AREPERMITTED</b> with out which you can't import it.

2) Specify the connection data i.e system ( ip address / name), client and save

3) Under the Namespave u will find Imported Objects select that -> select either you want to import IDOC / RFC-> RIGHT CLICK IMPORT OF SAP OBJECTS.

R u able to do it now ??

Cheers,

<b>*RAJ*

*REWARD POINTS IF FOUND USEFULL*</b>

Former Member
0 Kudos

Oops dun 4get to import your relevant sap s/w comp version from the sld

In the IR TOOLS -> TRANSFER FROM SLD ->IMPORT S/W COMP VERSION-> SELECT THE REQ COMPONENT->IMPORT.

THEN DEFINE THE NAME SPACE AS SPECIFIED IN THE ABOVE THREAD.

CHEERS

*RAJ*

Former Member
0 Kudos

Hi Raj and Monika,

Thank you for your comments.

You are correct, but what i might have done the mistake is

giving the correct parameters in SLD.

Because i should be able to import IDocs or BAPIs/RFCs once i create a namespace

in IR (if i have done SLD properlry).

But i am unable to rectify it.

Can you please brief me steps in SLD when i configure one side as SAP.

so that i should get SAP objects when i import sld in IR.

Thanks,

Priyanka.

prateek
Active Contributor
0 Kudos

U have to create WebAS ABAP Technical and Business system

Regards,

Prateek

Former Member
0 Kudos

Hi,

Check for the TS of XI in the SLD

Check for the BS of XI in the SLD

Once check the TC SLDCHECK

Please let me know if any Issue

Regards

Khanna

former_member184619
Active Contributor
0 Kudos

Hi Priyanka,

I have sent you some material on ur mail.

Sachin

Former Member
0 Kudos

Hi Sachin,

Thank you.

Thanks,

Priyanka.

Former Member
0 Kudos

Hi All,

Thanks a lot for spending your time for my question.

I am able to get now.

I have not mentioned the IS info properly in SLD i.e R/3 server name.

Now i am able to get the list.

Thannk to all again.

I have alloted the points.

Thanks,

Priyanka.

Former Member
0 Kudos

Hi

In the IR you can import the RFC from R/3 system.

Click on the Imported Objects and right click on the RFC and choose import the RFC.

Do not forget to change the option in the namespace.Click on Import of RFC/iDoc allowed.

prateek
Active Contributor
0 Kudos

<i>But when i import the SLD to IR, i am not able to view IDocs or BAPIs in the IR.</i>

U import Software Compoenents (SWC) in IR and not SLD.

After u import SWC, double click on SWC -> u have to Import RFC and IDOC by providing necessary login credentials.

We cant import idoc rfc from SLD.

Regards,

Prateek

Former Member
0 Kudos

I am not importing SLD.

I am importing the software components in IR from the menu option called import from SLD.

Thanks,

Priyanka.