cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe form: Output should not be generated when there is no data in itab

Former Member
0 Kudos

Hi,

I have generated a adobe form with the table details, I am able to see the data in the adobe form when there is a data, which can be seen in SPOOL since i am running this program as a batch job.

Now i am able to see the empty adobe form ( without data) in the spool though there is no data in itab.

here, my question is I do not want to see any output (spool )when there is no data.

Please do the needful..

Thanks in Advance

Ram Ganji

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

Because of master page,you will get atleast one page.

in your driver program itself,check the internal table that you are passing to form.

if it is initial don't cal the form.

Thanks.

UmaS.

OttoGold
Active Contributor
0 Kudos

UmaS is right. You provided no feedback. Did you resolve your problem? why didn´t you provid any feedback and didn´t close the thread? Otto

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In the context of your form.

click on the table you are displaying.

you will see conditions tab at the bottom.

just put a condition there

eg. mara-matnr = initial.

The table will not be printed when the value of matnr is initial.

Former Member
0 Kudos

HI Ramakrishna,

Do one thing,keep the entire form in one subform,write simple logic using formcalc or javascript.

example..

if u have 4 fields in the table,take one output field( example MATNR).

example code:

take heirarchy.

page1.subform1.table1.row1.rawvalue = " "

then subform1.presence = "hidden"