cancel
Showing results for 
Search instead for 
Did you mean: 

Different Header needed in smartform output

Former Member
0 Kudos

Hi Guys,

This is my continuation post with earlier post of 3 copies from a smartform.

I used the code in the smartform as below


If sfsy-copycount = '001'.
  V_TEXT = 'CUSTOMER COPY'.
elseif sfsy-copycount = '002'.
 V_TEXT  = 'CUSTOMER1 COPY'.
endif.

I passed ls_composer_param-tdcopies = 2.

I am getting 2 copies.

But I am not getting 2 different headers.I am getting only the first header.

Plz let me know.

Thanks,

Prasad.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

just type 'break-point' right before your code, activate smart form.. and execute..

it will stop at that code.. check whether the value of copycount is changing..

my gut feeling is that value of copycount is not changing..

break-point.

If sfsy-copycount = '001'.

V_TEXT = 'CUSTOMER COPY'.

elseif sfsy-copycount = '002'.

V_TEXT = 'CUSTOMER1 COPY'.

endif.

Former Member
0 Kudos

I got it resolved sujamol.

Actually i did not considered the window as copies window.

That was the actual problem

Thanks,

Prasad.