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

Function Module with Table Type IMPORT

Former Member
0 Likes
669

Hi,

I have a FM which has a IMPORT parameter which is of a table type say CRMT_OBJECT_GUID_TAB.

I am trying to test run the FM but I am not able to give the test data.

Can someone help regarding this issue.

Regards,

Adithi

1 ACCEPTED SOLUTION
Read only

Former Member
621

You can't populate Import Table with GUIDs...or better: with RAW (Hex) Fields

And  CRMT_OBJECT_GUID_TAB contains only RAW GUIDs, sorry. I don't know any way to do this, except creating a dummy test Report.

Best regards,

Bastian Stritt

4 REPLIES 4
Read only

former_member206479
Participant
0 Likes
621

Hi Aditi,

Why you are unable to give test data. while executing you will get contents symbol(details view/edit) infront of your parameter. Just click on that then you able to provide test data.

Still if you facing problem give detail issue which you are facing.

Regards,

Venkat.

Read only

arindam_m
Active Contributor
0 Likes
621

Hi,

Basically its an table values so you need to add rows by clicking in the icon in the FM input screen. Other was could be like put a breakpoint in the first line of code then export the table entries say from excel to the internal table via new debugger interface.

Cheers,

Arindam

Read only

Former Member
622

You can't populate Import Table with GUIDs...or better: with RAW (Hex) Fields

And  CRMT_OBJECT_GUID_TAB contains only RAW GUIDs, sorry. I don't know any way to do this, except creating a dummy test Report.

Best regards,

Bastian Stritt

Read only

0 Likes
621

Hi Bastian,

That explains it. Quite strange that it takes input from a report but not directly.

Thanks for the reply.

Definitely helpful.

Regards,

Adithi