cancel
Showing results for 
Search instead for 
Did you mean: 

Disable printing, when PO is not released

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

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