cancel
Showing results for 
Search instead for 
Did you mean: 

SAP NetWeaver Gateway Service Send import parameter RFC function

kaan_ozdogan
Participant
0 Kudos

I created netweaver service and call rfc function another subsystem.

I can get entry but I cannot send import parameter to function.

Pls help me...

Accepted Solutions (0)

Answers (2)

Answers (2)

vishnucta
Active Participant
0 Kudos

Have u tried searching properly in SCN/Google regarding what you require?????...<text removed by Moderator> below will help you.

1)http://www.saptechnical.com/Tutorials/ABAP/FunctionModule/page1.htm

2)

Regards,

Vishnu

Message was edited by: Jitendra Kansal (Moderator)

ChandraMahajan
Active Contributor
0 Kudos

Can you provide more information? you want to export parameter to RFC FM. What issue are you are facing?

kaan_ozdogan
Participant
0 Kudos

Hi,

I have rfc function it has import parameter but I cant import it.

I don't know how can I  import.

This is my function.

Orginally exporting parameters was importing but dpc is change it.

call function lv_rfc_name

          exporting
            yapi           = yapi
            sapsipno       = sapsipno
            tanim          = tanim
            hazirlayan     = hazirlayan
            ulkeno         = ulkeno
            yesilnokta     = yesilnokta
            emc            = emc
            markano        = markano
            urunkodu       = urunkodu
            sipturu        = sipturu
            revno          = revno
            dino           = dino
            uruntipi       = uruntipi
          tables
            di             = di
          exceptions
            system_failure = 1000  message lv_exc_msg
            others         = 1002.

EkanshCapgemini
Active Contributor
0 Kudos

Hi,

This is very basic of ABAP.

In every FM there are 3 main tabs: Import, Export and Table. Here these are defined in reference to the FM i.e. for Import, FM can take these values as input parameter (import). Export means that FM can output these parameters(export) and table means that these can work as i/p as well as o/p.

When you write code in ABAP to call a FM, the terms import, export and tables are defined in reference to the ABAP code. So in ABAP code, export means that our ABAP code is exporting these values to the FM(remember in FM these are import parameters). The same goes for term Import in calling code, this means that FM is giving these as o/p and we are importing these parameters in our code. Table remains the same.

So in your code, you are only exporting the values to the FM that means you are able to pass the values to the FM now if you need to take o/p values from FM, you need to import from the FM.

Regards,

Ekansh