‎2007 Nov 12 9:46 PM
Hey,
I am trying to do logical database in a function module. I need to know where do i go to define which logical database to use? Becuase i get syntax error on my Get statement. The logical database i am trying to use is HR PNP .
Any useful help will be appreciated,
Thanks
‎2007 Nov 12 9:52 PM
I think we can't assign logical database to FM or FG. Because there isn't any option to put the logical database in the FM or FG's attributes.
You must have to create a executable report to have the LDB in use.
Regards,
Naimesh Patel
‎2007 Nov 12 9:51 PM
You can call the Logical database using Function Module - LDB_PROCESS. There is enough documentation available in the FM itself on how to directly use in ABAP Code.
Hope this helps.
‎2007 Nov 12 10:45 PM
I can use the function module suggested. But that FM does not work for PNP logical database. I read from a differen SDN thread that you will need to use submit report and return to use PNP logical database.
Thanks
‎2007 Nov 12 9:52 PM
I think we can't assign logical database to FM or FG. Because there isn't any option to put the logical database in the FM or FG's attributes.
You must have to create a executable report to have the LDB in use.
Regards,
Naimesh Patel