I am new to ABAP and need to write a custom driver program for smartform for the transaction MIGO (Goods receipt),which is configured through NACE transacation. What i know is, In NACE I will have to configure the output type giving the custom Smart form name, custom driver program name and a driver program written in custom subroutine. I need to fetch multiple fields usign the subroutine, which is later passed on to the Smart Form calling the FM SSF_FUNCTION_MODULE_NAME. But how this entire thing works as it involves NAST table and various return parameters and various other tables like GOITEM, MSEG,MEP1211 etc. I think it will just be a simple select statement for each of these elements. I would like to understand how this entire thing works. Can anyone please help me with a sample code and a small briefing on the same.
THanks and Regards,