cancel
Showing results for 
Search instead for 
Did you mean: 

How to call the RFC from R/3 to SRM, when we use webdynpro abap? (Urgent)

Former Member
0 Kudos

Hello

We use SRM Server 5.5 with classic scenario.

We want to call RFC in R/3 from webdynpro ABAP.

How can we do that?

We are developing the web report using webdynpro abap.

So we need some of R/3 data such like PR(EBAN)and PO(EKKO,EKPO).

When user choose the search parameter, report diplay the Shopping cart, PR and PO data on webdynpro. So we call the R/3 RFC to display the PR, PO data.

But I tired to call the RFC in R/3, We could not call it.

How to call the RFC from R/3 to SRM, when we use webdynpro abap?

Thank you,

Best Regards,

SH.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you want to call any FM from other system, this Function Module must be remote-enabled.

This indicator you can find in transaction SE37 -> name_of_FM -> Attributes Tab -> Processing Type.

Check 'Remote-enabled module' save and activate.

Now, you can call this FM like this:


  CALL FUNCTION 'REMOTE_GETLIST'
    DESTINATION logsys
  EXPORTING ...
  IMPORTING...

Where logsys is a name of logical - remote system like backend (R3DCLNT200).

Regards,

Marcin Gajewski

Former Member
0 Kudos

Thank you for your reply.

But ..

We have already done the following action.

Is there any configuration for Webdynpro Abap such like RFC connection..?

Thank you,

Best Regards,

SH.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

<b>Please look at the following threads as well -></b>

<b>SAP uses META Function modules in SRM to get data from R/3 back-end.</b>

<u>For getting Purchase requistion data, use the function modules -></u>

META_REQUISITION_CHANGE        Change purchase requisition               

META_REQUISITION_CREATE        Create Requisition                        

META_REQUISITION_DELETE        Delete/close purchase requisition         

META_REQUISITION_GETDETAIL     Display requisition details               

META_REQUISITION_GETITEMS      Display requisition items                 

META_REQUISITION_GETRELINFO    Get Releasease Info for requisitions

<u>For getting Purchase order data, use the function modules -></u>

META_PO_CREATE                 Create purchase order                     

META_PO_DELETE                 Delete reservation                        

META_PO_GETDETAIL              Display purchase order details            

META_PO_GETITEMS               Display purchase order items              

META_PO_GETRELINFO             Display purchase order release information

Hope this will definitely help. Do let me know.

Regards

- Atul