Skip to Content
avatar image
Former Member

Disable printing, when PO is not released

Hi gurus,

I made my own printing program for purchase order printing. Now I have problem, that PO can be printed even if it is not released yet. Do you know, how to disable to print PO unless it is not released?

Thaks&regards,

Jirka

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 11, 2009 at 10:48 AM

    Hi,

    before printing the data on the smartform , populate your internal table with entries where the release status of the purchase order is 'R'.

    ie code..

    select matnr 
              ebeln 
        from ekko 
        into table <internal_table> 
        where FRGZU ='X'

    now pass this internal table to the smartform...

    hope this helps you out...

    thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 10, 2009 at 06:27 PM

    Hi,

    Check the table EKKO-FRGKE = 'R' then PO is released and then trigger the smartform to print.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 11, 2009 at 04:56 AM

    Hi Jiri,

    Whether you are printing the PO from ME9F or using any Z transaction, as you are using your own print program.

    Best Regards,

    Bhawani

    Add comment
    10|10000 characters needed characters exceeded