Application Development 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: 

Automatic Generation of form Printing for an Order

Former Member
0 Kudos

Hi,

In an Order one line itme dates are like this <b>from 29.03.2007 to 29.03.2008</b>.

Here year is splitted into 2 parts. One is <b>1st of Jan to 30th June</b>, second one is <b>1st July to 31st Dec</b>.

So that my requirement is like this.

1) I need to print the form automatically when an Order is created.

2) Every <b>June 15th</b> and <b>Dec 15th</b> I need to print the form for that Order

automatically with some other data.

*--Similarly I need to trigger the form in this way automatically for all Orders.

How can I trigger the Form automaticall for the above requirement.

Regards,

Balavardhan.K

1 REPLY 1

Former Member
0 Kudos

simple,

create one new program not driver program . Then u have to call that FORM

1.Get all the data created during the dates.

split the data into , based on the date ranges.

2.

loop at itab1.

perform open_form

write_form

close_form

endloop.

loop at itab2.

endloop.

1) I need to print the form automatically when an Order is created.<b>---->COnfig</b>

2) Every June 15th and Dec 15th I need to print the form for that Order

automatically with some other data.

<b>---> what ? what u split ?</b>

*--Similarly I need to trigger the form in this way automatically for all Orders.

<b>---> Config+ABAP</b>

How can I trigger the Form automaticall for the above requirement

Regards

Prabhu