Application Development and Automation 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: 
Read only

Smartform Print status

Former Member
0 Likes
1,176

Hello Experts,

When i print my PO(me23n) smartform i need to display the print status as Original or Re-Print.

if it has already printed then it should show RE-PRINT on the top corner of the SMART FORM Printout.

Can any one suggest me how to check the status of the printed documents and display accordingly

i.e Original or REPRINT.

Thanks

Dan

Hello Experts,

When i print my PO(me23n) smartform i need to display the print status as Original or Re-Print.

if it has already printed then it should show RE-PRINT on the top corner of the SMART FORM Printout.

Can any one suggest me how to check the status of the printed documents and display accordingly

i.e Original or REPRINT.

Thanks

Dan

7 REPLIES 7
Read only

Former Member
0 Likes
1,031

Just a clue ,,

I am querying NAST table for NAST-MANUE field.

If NAST-MANUE = SPACE.

i am displaying is as a ORIGINAL (1st time) .

else.

i am displaying is as a Re-Print .

Is this correct?

Read only

0 Likes
1,031

The number of copies printed is stored in NAST-ANZAL

if NAST-ANZAL gt 1 then its copy or original

Read only

0 Likes
1,031

Check for NAST-ANZAL field .

If it is 1 , then - ORIGINAL , else GT 1 , then - DUPLICATE

Thnx

Anil

Read only

0 Likes
1,031

>

> I am querying NAST table for NAST-MANUE field.

> If NAST-MANUE = SPACE.

> i am displaying is as a ORIGINAL (1st time) .

> Is this correct?

Well, this is not entirely accurate. This field simply means that an entry was created manually by the user. This could be a copy and could be an original if, for example, a condition record was missing and a user created the output manually. However, in about 99% of the cases this will be the correct assumption.

The suggestion to use ANZAL is completely wrong. This field is simply for the number of copies to be printed. Could be 3 on the first run and 1 on the second, you never know.

In the invoice form interface SAP added a standard parameter IS_REPEAT to handle this. Check if it is available for the purchase order.

Actually the whole original/re-print thing is kind of shady. For example, there could be a printer jam and the users would have to re-print to get an original. How would you handle this?

Read only

0 Likes
1,031

Hi Jelena,

In my Nast table the ANZAL field is showing 0 even if i have 1, 2 or 3 copies.

Where do i see the std parameter IS_REPEAT ? what is that interface you are refering here ?

I am using my own layout and print program to get a different output from PO.Its called PO GR complete, Invoiced PO..etc

Pls suggest..

Thanks to others who suggested the use of ANZALas well

Thanks

Dan

Read only

Former Member
0 Likes
1,031

Good to some extent by if we use NAST-VSTAT, NAST-KSCHL combinations

Read only

Former Member
0 Likes
1,031

Hi ,

Incase if nothing works , there is a last option of maintaining a bespoke table with po number or whatever as primary key and try to write a code in smartform to set the flag 'x' or a count 1 for the execution. So everytime check the bespoke table to see the status. This is the worst case that you can opt for if you dont find any other option.