|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Innovative Method to Print Service Ticket Directly in CRM
By Mansoor Ahmed, KESC Limited
ABAPers I am again here and I hope you are doing great. Here is yet another
innovative idea in CRM. Function Module that is being used in this article is
not even there on Google. Do give that a try.
title suggests this article is again related to the printing of duplicate
service ticket. But this time the approach is somewhat different. If you read
this article regarding printing
of duplicate service ticket then you would probably get what is the change.
almost same but the different comes while using standard function module.
We need a selection screen as shown below. Better make this
select option as obligatory.
we need to declare some data which is required for calling Standard function
module. Here is how you would do it.
we need to get the GUID of the service ticket, can be easily accessed from
CRMD_ORDERADM_H (service ticket header table)
here is something which you won’t find on Google. Just try Googling this
function module CRM_TEMPLATE_SINGLE_READ.
I can bet you won’t get any result as shown below.
will use this Function module to extract service ticket information. Only
difference between CRM_TEMPLATE_SINGLE_READ
and CRM_OUTPUT_SINGLE_READ is
the name of the Smartform. All you need to give is the GUID of the ticket and
you are done. For example:
give us all the data residing in service ticket form. Just a note: This function
module can also be used to serve reporting purpose but for the time being I am
using it as printing purpose.
I will call my smartform by passing all the tables and will print it.
will give me output as follows.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards