2013 Nov 28 11:54 AM
Hi Experts,
Actually am new for smart forms.
I want to Develop Smart form For Estimated Invoice(Proforma Invoice).
I want to trigger this form from VF02/Vf03.
Actually i found one standard print program (J_1IEXCP) for this form, but they are using scipts. how to develop in that form smartform.
Please tell me the approach how to proceed.
Actually am trying to copy standard print program into ZXXX program but in that print program they are using script logc like open_form.
Actually what is the procedure to develop print program.
2013 Nov 28 12:04 PM
Explore and you will get several tutorials for smartforms. The complete steps are mentioned if you try to search.
For start check this link : http://www.saptechnical.com/Tutorials/Smartforms/GettingStarted/SimpleText.htm
Thanks,
Sumit
2013 Nov 28 2:18 PM
am asking about prit program ...not form side, am very well about form side
2013 Nov 28 2:26 PM
Why do you want to use Smartform if there are SAP Scripts already?
Any how, you have to create your own Print program and Smartform. Assign an output type to it and configure that in TNAPR or VV63 ( I dont remember the transaction code exactly but it starts with VV**)
2013 Nov 28 5:12 PM
Hy Srinath,
I have developed the same form Proforma a few days ago. You will need to make a copy of the standard smartforms YBAA_SDINV. Adjust the form with your layout and complement with the information that you need. The huge information you can find in import strucuture of the form IS_BIL_INVOICE.
The next step is create a new type message to call your form on VF01 transaction.
For more information how the type message works:
http://www.saptechnical.com/Tutorials/ALE/MessageControl/Page3.htm
2013 Nov 28 5:28 PM
HI Srinath,
if you have the SAP script then First convert the SAP script into the Smartform and Then create the Z copy of the smartform and Do start changes.
Regards.
Nishant Bansal.
2013 Nov 28 5:37 PM
Hi Srinath,
Basically, for VF01/VF02/VF03 printing configuration will be done in NACE transaction either by functional or technical guy.
As an abaper you just develop the driver program and smartform and give to functional people or
you also can configure to invoice output type. This output type will be configured at invoice document type level.
My suggestion is do your own coding by referring the standard program data retrieval and then delete all the code which are not relevant for you (Script related coding) and then call the smartform function module and pass your parameters.
Hope this help.
Thanks
Saikrishna