‎2006 Sep 11 4:47 PM
Hi all,
Am trying to implement a BAPI that rerutrns a PDF to a webdynpro. I create the PDF from a smartform through FM 'CONVERT_OTF_2_PDF'. Now this FM returns a table of type TLINETAB, and when a try to put a parameter of the same type in my BAPI i get the following message "Data type TLINETAB cannot be used for methods". Do you guys know what type should I use for the BAPI to return the PDF?
‎2006 Sep 11 4:59 PM
‎2006 Sep 11 4:59 PM
‎2006 Sep 11 5:21 PM
Thank you Sirdhar for replying. TLINE is a structure, but i need to return a table, if i eventually use TLINE I would be able to return just one line. Do you have any other ideas. I know i can convert my table to an xstring, but again BAPIs do not return xstrings. Thanks for your help.
‎2006 Sep 11 5:47 PM
Are you creating a custom BAPI fm? You should not have any problem adding a tables parameter LIKE TLINE in the tables tab.
Regards
Sridhar
‎2006 Sep 11 6:05 PM
I added the TLINE like you said, it works fine. You got your reward points, thanks you for your help.