Skip to Content
0
Former Member
Mar 18, 2006 at 02:24 AM

Calling a sapscript form from a function module issues

688 Views

I created a FM to print a form using open_form, start_form, write_form, end_form and close_form. When I put this code in a report program...it works great. When I try to call the SAPscript from the FM all the variables are blank in the SAPScript....but populated in the FM. I do have the variables defined in the top include of the Function group. I have also even tried moving for example itab_matnr to mara-matnr ...thinking it was something about 'global' definition.... still no luck. Any help would be greatly appreciated.

Thanks!!