Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

PO should not print before release

Former Member
0 Kudos

Hi all

   I have an issue regarding smart form immediate printing.

PO should not print before release. Still automatically print out gets

generated.

Thanks

regards

Abhijeet

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi all

The issue about PO is resolved.I used below code

data : ls_output_options type ssfcompop.

  If wa_EKKO-FRGKE eq 'B' .

    ls_output_options-TDNOPRINT = 'X'.

  ENDIF.

Also passed the variable ls_output_options to smartform.

4 REPLIES 4

0 Kudos

Dear Abhijeet,

Why don't you adopt to check the Release Indicator parameter in the Coding with a Condition.

EKKO-FRGKE (Release Indicator).

Thanks & Regards

Prabhu G

Former Member
0 Kudos

put line in driver porgram

if EKKO-FRGKE = 'X'.

     Message 'PO not Released' TYPE e.

ENDIF.

it show error message in your program

& po should not print until release

another option

workflow release strategy with exits...

sujeet2918
Active Contributor
0 Kudos

Hi,

Put your check in Badi ME_PROCESS_PO_CUST.

Regards,

Sujeet

Former Member
0 Kudos

Hi all

The issue about PO is resolved.I used below code

data : ls_output_options type ssfcompop.

  If wa_EKKO-FRGKE eq 'B' .

    ls_output_options-TDNOPRINT = 'X'.

  ENDIF.

Also passed the variable ls_output_options to smartform.