2011 Apr 28 10:35 PM
Hi,
I created invoice, in display Tran EA40.
I am unable to see bill preview getting message as
Test print: Cannot be archived
to display preview, what setting should i do?
Thanks,
Sam
2011 Apr 29 11:01 PM
To get the print preview, as Nirmalya said, first check which application for you used for invoice. If its a custom application form which used form class as IS_U_BI_BILL (which is a common practise), check out put form type used in application form (in attribute).
Since the out put type can be of many types (base on clients requirement) like, smart form, sapscript, PDF based form, Data dispatch, collection etc.. you may need some customization in form design (in user uxit) to get your print preview set up.
2011 Apr 29 8:18 AM
Hi Sam,
This message comes from tcode EA40 if you click on the 'Simulate Bill' option or directly the 'Bill preview' icon. It is basically a success message with the message class and number as EB 152. It is called from program SAPLE22A in the Include LE22AI01.
So this success meesage will be coming always from EA40 if you click on the 'Simulate Bill' option or directly the 'Bill preview' icon. Since it is a test print because if you click on one of these two options, print date in ERDK table will not be updated and the print document can not be archieved. For your information a print document can be archieved if the retention period is covered and the document is printed already (which means the print date in ERDK is populated with a date). To populate the print date you need to print the invoice through tcode EA60.
To dispaly the bill preview you need to attach a smart form or SAPscript with your custom bill application form. The layout of the smart form (Tcode: SMARTFORMS) or SAPscript (Tcode: SE71) should be designed in print workbench module. Then only you will be able to display the bill preview. You can attach the smart form/SAPscript with your custom bill application form through Tcode EFRM. You can display bill preview by using an appliaction form with form class IS_U_BI_BILL. In EA40 click on the simulate bill option and in the pop up change your custom application form name with a standard application form name of form class IS_U_BI_BILL.
Hope it will help you.
Thanks.
Nirmalya
2011 Apr 29 11:01 PM
To get the print preview, as Nirmalya said, first check which application for you used for invoice. If its a custom application form which used form class as IS_U_BI_BILL (which is a common practise), check out put form type used in application form (in attribute).
Since the out put type can be of many types (base on clients requirement) like, smart form, sapscript, PDF based form, Data dispatch, collection etc.. you may need some customization in form design (in user uxit) to get your print preview set up.