Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Inbound IDOC data printing

Former Member
0 Likes
659

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

4 REPLIES 4
Read only

Sm1tje
Active Contributor
0 Likes
572

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?

Read only

Former Member
0 Likes
572

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

Read only

Sm1tje
Active Contributor
0 Likes
572

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

Read only

Former Member
0 Likes
572

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.