‎2009 Mar 09 6:54 AM
Hi All,
I have created one inbound zIDOC, which have structure containing three headers and one text segement.
Now I want to print the data of this inbound idoc as soon as it is trigrred , can any body have any idea of any FM that can be used ?
Looking for your valuable input.
Regards
Ajay
‎2009 Mar 09 7:07 AM
In the function module you have assigned to the process code, you can do the 'printing'.
So, what's the use of printing an IDoc, If I may ask?
‎2009 Mar 09 7:33 AM
Hi
Thanks for your valuable prompt response.
As I want to print the data in specific format so that has to be defined in the FM.
I am not aware of the option you mentioned . As when I defined proccess code , I didn't get any option of printing .
Can you kindly explain the same ?
Regards
Ajay
‎2009 Mar 09 7:41 AM
The process code you assigned to the inbound IDoc, has to be assigned to a function module which processes this IDoc, right? Now, if you use a function module of your own (CUSTOM FM!), you can do all the 'printing' you want.
So there is no option for printing by default (standard), but you will have to do it your self.
Another option would be to use a User exit. It seems there is a standard User exit (SIDOC001), or even a BAdI which you can use. I haven't used it myself, so can't help you there.
Edited by: Micky Oestreich on Mar 9, 2009 8:43 AM
‎2009 Mar 09 8:22 AM
Thanks.
I was thinking that there is some option available in standard, so asked you for same.
The option of FM is the one of which I am aware of.
Any ways thanks for your valuable inputs.