on 02-02-2009 9:40 AM
Hi All,
I have a problem with a sap script (PO) everytime when an item is deleted (on me23e) it doesn't display on the on the print preview and the client wants to see on the preview with a sign indicating the deleted item.
SELECT ebeln ebelp pstyp packno txz01 loekz
FROM ekpo
INTO TABLE it_ekpo
WHERE ebeln = po_no
AND loekz NE 'L'
AND loekz NE 'S'.
This is how it has been read from the ekpo.... Is there something that I need to change?
Thanks in advance.
Regards,
Fred.
Hi,
In EKPO table the field 'loekz' indicates the Deletion status.
So u can consider the deleted line item also.
u change u r query like this.
SELECT ebeln ebelp pstyp packno txz01 loekz
FROM ekpo
INTO TABLE it_ekpo
WHERE ebeln = po_no.
In it_ekpo table u can get all the line item(including deleted items).
Then u cn print the data.
Hope this will helps u.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.