‎2013 Jul 24 10:31 AM
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
‎2013 Jul 24 10:57 AM
Hi Aditi
Are you trying it through SE37
Also what is the Function module?
Regards,
Venkat
‎2013 Jul 24 11:22 AM
Hi,
The function module name is CRM_ORDER_READ_OW.
Added screenshots showing the same:
There must be a simple way of adding the lines to it. But I am not aware of it.
Thanks,
Adithi
‎2013 Jul 24 12:01 PM
Hi Aditi
Click on the Icon table ( ie left side of the 0 entries)
You will get the entry window
‎2013 Jul 24 12:07 PM
Hey,
Which icon are you referring to?
I tried clicking on the Metadata button and still was not able to fill with entries.
Regards,
Adithi
‎2013 Jul 24 12:11 PM
Yes, the same Icon you highlighted.
Or,
Go to toolbar Goto --> Table Entries
Regards,
Venkat
‎2013 Jul 24 12:11 PM
Yes, the same Icon you highlighted.
Or,
Go to toolbar Goto --> Table Entries
Regards,
Venkat
‎2013 Jul 24 12:20 PM
Hey,
Now I understood why what you are showing is not seen in my case.
Because you are showing a TABLES parameter or a CHANGING parameter. But in this FM CRM_ORDER_OW the IMPORTING parameter is of Table type.
If you have a FM which has IMPORTING parameter which is a TABLE TYPE then kindly share. Maybe seeing it I might get an idea.
Regards,
Adithi
‎2013 Jul 24 12:25 PM
Hi Adithi
Even if it is of IMPORT parameter also it will work. I tested.
As long as the Data type is of Table type it should work (whether it is of import or table )
One thing I found in your screen shot, it is showing as Display Structure..
It should come as Change Structure. Please verify in your second screen shot you attached
regards,
Venkat
‎2013 Jul 24 12:32 PM
Hi Adithi,
Please refer to the screen shot DISPLAY Structure IT_HEADER_GUID
It should come as Change structure IT_HEADER_GUID.
That is the reason you are not getting the option to insert/delete rows
I have retested that whether it is a IMPORT or TABLE, As long as the data type is of table type it will
Regards,
Venkat
‎2013 Jul 24 12:46 PM
Hi Venkat,
I have added the screenshots of the IMPORTING values which shows it is of TABLE TYPE.
Is there something like you cannot test run a Function module directly?
Regards,
Adithi
‎2013 Jul 25 5:28 AM
Hi Venkatesh,
I found the answer for the query.
You can't populate Import Table with GUIDs...or better: with RAW (Hex) Fields
And CRMT_OBJECT_GUID_TAB contains only RAW GUIDs, Only way to do this is to create a dummy test Report.
Thanks for all the help.
Regards,
Adithi
‎2013 Jul 25 7:54 AM
‎2013 Jul 24 11:35 AM
Hi Adithi,
Could you try using report program CRM_ORDER_READ and test it in SE38, where in you can pass the Header GUID ?
Also please do pass the requested objects for a better performance.
Regards
Jagathshree