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

REPORTS

Former Member
0 Likes
410

• How to Developed a report to display list of purchase order details.

4 REPLIES 4
Read only

Former Member
0 Likes
393

USE Tables EKKO and EKPO and select what field you need in your report

Read only

Former Member
0 Likes
393

you can use BAPI

BAPI_PO_GET_LIST

or

BAPI_PO_GETDETAIL

Read only

Former Member
0 Likes
393

Hi,

goto transaction SE38

type a name of report starting with 'Z'

click CREATE.

using select-options and select query you can achieve what u want.

U will need to use table : EKKO.

**reward useful answers.

Regards,

Vaibhav.

Read only

Former Member
0 Likes
393

Hello Sudhakar,

EKKO -- Purchasing Document Header

EKPO -- Purchasing Document Item

These are table where you can get information about purchase orders.

Find the code for displaying purchasr order details at header level.

REPORT zsample .

TABLES: ekko.

DATA: g_t_ekko TYPE STANDARD TABLE OF ekko WITH HEADER LINE..

SELECT-OPTIONS: s_ebeln FOR ekko-ebeln.

*SELECT **

FROM ekko

INTO CORRESPONDING FIELDS OF TABLE g_t_ekko

WHERE ebeln IN s_ebeln.

LOOP AT g_t_ekko.

WRITE: / g_t_ekko.

ENDLOOP.

Reward If Helpful

Regards

--

Sasidhar Reddy Matli.