cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with printing

Former Member
0 Kudos

Hi,

I have a problem. I want to print from the transaction CO02 or CO04. If I set the print mode to online, it will start my printingreport accordingly Customizing opk8. My PDF is printed.

My problem is now. If I set the print mode to update or in german 'Verbuchen', nothing happens.

Also, I see nothing in my Spool Requests.

My print report looks so:

Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code

in this called programm is a logical database defined....

I dont know why its not printing in printmodus update. Can anybody helps???

Edited by: Rob Burbank on Oct 8, 2010 10:24 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

So thats the problem i hope anybody can help???

brad_bohn
Active Contributor
0 Kudos

No one can read your post...be concise...use tags...follow the rules...

Former Member
0 Kudos

OK ,

my problem is same you see below.

I will print some production order from transaction co04 or co02. Here my lists are customized in Transaction opk8.

When i print with printmode online, my print report star correct and my pdf is printed.

But when i choose print mode update ( in German 'Verbuchung ), my print report does not start.

the print report call another report which print the data.

In customizing is written the report xy. This is a part of the coding:


report xy
....
  set parameter id 'WRK' field  tab_sel-werks.
      set parameter id 'PTY' field  tab_sel-plnty.
      set parameter id 'PLN' field  tab_sel-plnnr.
      set parameter id 'MAT' field  tab_sel-plnbez.
      call transaction zmig2_trans_zdap and skip first screen.
...

The second report will print the data and have a selection screen and a logical database.

because there are some get statements :


...
report  zpp_d_p2aplts
...
initialization.
...
start-of-selection.
get mapl.
  tab-index_map = hilf1 + 1.
  hilf1 = tab-index_map.
  move-corresponding mapl to tab_mapl.
  append tab_mapl.

get plkod.
  tab-index_kod = hilf2 + 1.
  hilf2 = tab-index_kod.
.....

i dont know why it will only print when theprint mode is online???

Can anybody helps???

Regards