cancel
Showing results for 
Search instead for 
Did you mean: 

Possible to call BDC from RFC via XI ?

former_member189387
Active Contributor
0 Kudos

Hi friends,

Our requirement is to call BDC from RFC via XI . When i pass the data from XI to RFC , The value get inserted but it is not Calling the BDC .

<b> But if i directly enter the value to RFC it is working fine and Properly calling the BDC and gate pass getting created .</b>

My question is

<i><b> 1. Is it possible to call BDC from RFC via XI ?</b></i>

( we know that it is posisble to call BDC from RFC , but from via XI -- RFC-- BDC is possible or not ? )

Any help please !

Regards.,

V.Rangarajan

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

<i>XI -- RFC-- BDC</i>

>>

try refining your scenario. utilize ABAP proxy and call the RFC in the proxy

make it a XI -> ABAP proxy scenario.

former_member189387
Active Contributor
0 Kudos

Hi sabrish ,

Thanks for reply any BLOG for XI --ABAP proxy scenario ?

Regards.,

V.Rangarajan

Shabarish_Nair
Active Contributor
0 Kudos

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

try that

former_member189387
Active Contributor
0 Kudos

Hi sabrish ,

Can u please sugeest what i have done is correct or not ?

It is a synchronous scenario . I am passsing data from SQL server to RFC . RFC will call the BDC to create gatepass . When gatepass gets created , then we have get the gatepasss number , come back to SQL server and update the gate pass number which is created .

Everything is working except that BDC is not getting called so Gatepass is not created !!!

Any suggestions ?

Regards.,

V.Rangarajan

former_member189387
Active Contributor
0 Kudos

Hi ,

Is it possible to work on synchronous sceanrio with ABAP proxy ?

Regards.,

V.Rangarajan

Shabarish_Nair
Active Contributor
0 Kudos

yes u can.

your ABAP proxy is generated on basis of your Mesg. interface.

So if you have an inbound sync mesg. interface, and generate a proxy over it,

it gives u a sync. proxy.

Also note that performance wise Proxy's are a better option.

Advantage of Proxy over RFC, IDOC

/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems

former_member189387
Active Contributor
0 Kudos

Hi sabrish ,

Thanks for your reply. I am new to proxy ! .

I have t o generate proxies from my interfaces . I am using BPM over here .

I have the Following Interfaces

1. MI_track_OB

2. MI_TRACK_REQ_OB_ABS

3.MI_TRACK_REQRES_SYNC_ABS

4.MI_TRACK_RES_IB

5.MI_TRACK_RES_IB_ABS

My question is

1. From which Interface i have to generate proxy ?

2. Where i have to write the code to call the BDC to create GatePass ?

3.. It means that no RFC needed ?

It would be helpful indeed if u explain a little bit.

Regards.,

V.Rangarajan

Shabarish_Nair
Active Contributor
0 Kudos

it will be generated on the interface which will have the mesg. type to the R3 system.

former_member189387
Active Contributor
0 Kudos

please , i am not getting ?

Regards.,

V.Rangarajan

former_member431549
Contributor
0 Kudos

Debug the rfc directly in R/3. This definitely will work, and there isn't anything special about the scenario.

former_member189387
Active Contributor
0 Kudos

Hi TIm ,

Thanks for ur reply. If we debug directly entering the value from RFC it is working fine and creating the GatePass .

But when you pass from XI , it is receiving the input corretly but , it is not creating the GatePass using BDC

<b> Can't we debug when we send data from XI ? IF Can how to debug ? If we set breakpoint in RFC it iss not reaching the Breakpoint

</b>

Regards.,

V.Rangarajan

former_member189387
Active Contributor
0 Kudos

Any suggestions ?

Former Member
0 Kudos

To debug Server proxy, follow

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4098. [original link is broken] [original link is broken] [original link is broken]

Regards,

Jai Shankar

Answers (2)

Answers (2)

former_member189387
Active Contributor
0 Kudos

Hi friends ,

Problem Solved . It is Because of User Authorization from XI side for RFC.

Regards.,

V.Rangarajan

Former Member
0 Kudos

Hi,

I am facing a similar issue , can u tell me what authorixation did u give ?

Thanks

Former Member
0 Kudos

>>Is it possible to call BDC from RFC via XI ?

Possible. We have worked on a similar requirement where we have called BDC from ABAP proxy. It worked fine. So I guess there should be no problem while calling from RFC too..

Jai Shankar

former_member189387
Active Contributor
0 Kudos

Hi ,

Thanks for reply . I am not generating any proxy class . Our requirement is to read data from SQL server and Push to RFC , which will create the GatePass and returns the gatepass Number . I have to comeback and update the SQL server that gate pass number .

It is a synchronous JDBC<--> RFC Scenario .

What i am doing is correct or something else to do ?

Regards.,

V.Rangarajan