Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC function module Structure compatibility

Former Member
0 Likes
894

Dear Friends,

I have one funcion module defined in R/3 system which I need to call from my EBP system.

The Function module has importing parameter of the type /ZLCRD/TAX_PROCESSING_DATA, which has been created in R/3.

If I try to create the similar structure in EBP, it says name space does not exist. Any idea about how this would have been created?

Also, if I simply define a structure with the normal z name with exactly same fields, in the same order in EBP system and pass this as the exporting parameter while calling the RFC enabled function module, would that be a problem?

Please help!

Thanks

Veena

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
656

Hi Veena,

You just have to create a structure in SE11 with the same fields as /ZLCRD/TAX_PROCESSING_DATA. You can also create a struture in your function module and pass this as the importing parameter, but this is not advisable, as this can't be reused.

Once this is done, your function module will work perfectly fine.

Regards

Anil Madhavan

3 REPLIES 3
Read only

Former Member
0 Likes
656

Better to create structure with in ur program at EBP system and pass that parameters to RFC Function module,it will not effect any other things.

Read only

Former Member
0 Likes
657

Hi Veena,

You just have to create a structure in SE11 with the same fields as /ZLCRD/TAX_PROCESSING_DATA. You can also create a struture in your function module and pass this as the importing parameter, but this is not advisable, as this can't be reused.

Once this is done, your function module will work perfectly fine.

Regards

Anil Madhavan

Read only

Former Member
0 Likes
656

Hi Veena,

Here ZLCRD is the name space. This is like a package in java, in case you are familiar with Java or it is like name spaces in XI, if you know XI.

Such name spaces have to be created by BASIS with permission from SAP.

Ideally it should not give an error if the data types match but it may give an error in case actual type names are compared. I'm not quite aware of EBP system.