cancel
Showing results for 
Search instead for 
Did you mean: 

PO should not be print after all material mark for deletion

Former Member
0 Kudos

Dear All,

I have one requirment in which if they mark all line item for deletion of PO then purchase order shouln't be print.If internal table T_ekpo is empty then we can put the condition in our print program.Could you please tell me how can we restrict the PO for print.Bcoz if there would be some material for deletion then we can restrict for those material but now they want if all material have deletion flag then PO shouldn't be print.

Regards,

amar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

U r fetching the line item data from EKPO in that check the field LOEKZ (Deletion Indicator in Purchasing Document # 'L')

if the internal table is empty than through the error message or dont call the form .

Let me know updates

Answers (1)

Answers (1)

former_member217544
Active Contributor
0 Kudos

Hi Amar,

May be Iam confused. Do you need to print only the header data or you should not print smartform at all in that case?

Regards,

Swarna Munukoti

Former Member
0 Kudos

I dont want to print in that case.