‎2010 May 07 4:36 AM
Hello Gurus,
Good day to all, I just to ask some help on this,
1. What table in SAP that tells if a PO is already printed?
2. Can i use ABAP program to tag a PO to printed? Is there any BAPI for this?
Currently im developing RFC programs, and I really need this, I have no idea where these tables and how to update this using ABAP,Kindly give me snippet of codes if you have some, any help will be greatly appreciated, thanks in advance.
‎2010 May 07 5:57 AM
Hi,
You have to get the information from NAST table.
Select kappl objkey kschl nacha vstat
from nast
where kappl = 'EF'
and objkey = <po number>
and kschl = <print output type/message type>
and nacha = '1' "print output"
and vstat = '1' "Ouptut successfully generated"
if sy-subrc eq 0.
Output generated.
else.
output not generated.
endif.Regards
Vinod
‎2010 May 07 6:09 AM
Hi Vinod thank you very much for the info, I will try this, but how about tagging a PO number to printed using ABAP is this possible?
‎2010 May 07 6:38 AM
Hi,
I don't think there is any standard field available to store the printing indicator. You can use any unused field for storing the custom information.
Regards
Vinod
‎2010 May 07 6:47 AM
‎2010 May 07 6:47 AM
‎2010 May 07 9:39 AM