0

I'm trying to write a function module and I stuck with the step below.

enter image description here

Where can define "Associated type"? I define it in SE11 as Data type->Data Element and it didn't work, then I defined it as Data type->Table type, it didn't work again. Or it already defined somewhere else?

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
İbrahim Özcan
  • 103
  • 3
  • 12
  • What does iv_jobname hold? Why do you want to create a new customer type for that? From where will you call this FM? – szako Jul 06 '17 at 11:50
  • iv_jobname is a import type and it need a associated type. it will hold the data that we send from our app. But, actually im not sure what is going on in it. İm just trying to make my own project based on https:// goo.gl/YVFY73 this project – İbrahim Özcan Jul 06 '17 at 12:09
  • İm trying to collect some datas from sm37 with odata and show it somehow. – İbrahim Özcan Jul 06 '17 at 12:11
  • 2
    Is your data element active? Is your type specification 'Type' or 'TypeRef' (use Type) – Sergio Prats Jul 06 '17 at 12:25
  • Thank you so much for your answer. Now I figure it out and so close to made it. Now, I wrote the source code and when I press the check i get an error message. ("The work area "ET_TBT" is not long enough."). ET_TBT is a table type export parameter and its based on the table which i try to get datas. I thing it should be long enough to hold the data anyway. Do you have any idea. Thanks again. – İbrahim Özcan Jul 06 '17 at 13:08

1 Answers1

0

You can easily define table parameters under the tables tab. Why do not use it ? These parameters can be used import and export parameters as well.

Thanks.

Oguz
  • 1,867
  • 1
  • 17
  • 24