2012 Dec 17 2:27 AM
Dear Experts,
I am junior ABAP code and smartforms in SAP, i want to add new field for entry date of each delvery & invoice.
So, how do i do?
Could anyone recommand or give me any suggestion?
Thank,
Ratana
Moderator message : Search for available information, discussion locked.
Message was edited by: Vinod Kumar
2012 Dec 17 12:13 PM
Hi Ratana,
check if new fields are already part of existing structures in form,
if yes, yust place them on layout.
if not
extend the form interface by the new fields you require to print.
place the new fields on exiting layout
regenerate the function module of smartform
see where this function module is called and add code to fill these new fileds in function module's interface (e.g. a select to read additional data)
if you can't chance code outsinde smartform, you may not extend the interface and define local "global data" per form and implement the SELECT inside the form itself (which is not the preffered way but it works)
Hope this helps you along ...
Regards,
Matthias