Skip to Content
author's profile photo Former Member
Former Member

Problem with printing

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2010 at 12:56 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Brad Bohn

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.