‎2007 Dec 22 10:50 AM
Hi All
I am creating BAPI's so for that I am exporting a structure as a return value.
I have multiple records in my table but i want all the records to be displayed.
But Using Structure,only one record is displayed.
Pleease resolve the issue and give me correct solution.
I will reward 10 points to the best soln.
Regards
Deepanker
‎2007 Dec 22 10:55 AM
Define that structure as table(In tables tab).
This will solve ur problem.
Thanks and Regards,
‎2007 Dec 22 11:04 AM
Chandra
but still my issue not resolve bcoz structure will hold only one record.
‎2007 Dec 22 11:23 AM
Create a table type in SE11 for your structure.
Then declare your import/export parameters with reference to that table type.
‎2007 Dec 22 11:32 AM
Can u please check in debugging mode that 2-record is appending in to that structure or not.
Thanks and Regards
‎2007 Dec 22 11:34 AM
Hi,
Go in Tables tab of function module,there in parameter field give the returning table name ,in typeing field write LIKE and in associated type write ur structure name.
It will solve ur problem.
Regards,
Rajesh Akarte
‎2007 Dec 22 12:00 PM
in u r functional module...tables TAB declare itab like <structure name>
in your program append your entries to this itab.