2007 Apr 05 8:12 AM
HI,
need to write a report for these fields.
PO number (EKPO_EBELN), Article number (EKPO_MATNR), Vendor part number (EKPO_MFRPN), Description (MAKT_MAKTX), Quantity in Base unit of Measure (EKPO_MENGE) and Quantity in BuyPack unit of measure and Net price (EKPO_BPRME).
Give me it ASAP.
Regards,
Chow.
HI,
need to write a report for these fields.
PO number (EKPO_EBELN), Article number (EKPO_MATNR), Vendor part number (EKPO_MFRPN), Description (MAKT_MAKTX), Quantity in Base unit of Measure (EKPO_MENGE) and Quantity in BuyPack unit of measure and Net price (EKPO_BPRME).
Give me it ASAP.
Regards,
Chow.
2007 Apr 05 8:19 AM
Hi..
decalre an itab with fields given below.
selecting records based on Select-options for S_ebeln.
<b>select EKPO_EBELN
EKPO_MATNR
EKPO_MFRPN
EKPO_MENGE
EKPO_BPRME
MAKT_MAKTX
from ( ekpo inner join makt on
ekpomatnr = MAKTmatnr )
into table itab
where ebeln in s_ebeln.</b>
**********printing ouput***
loop at itab.
write: itab - fields
endloop.
2007 Apr 05 8:28 AM
Naidu,
DATA : Begin of I_EKPO occurs 0,
MATNR LIKE EKPO_MATNR,
MFRPN LIKE EKPO_MFRPN,
MENGE LIKE EKPO_MENGE ,
BPRME LIKE EKPO_BPRME ,
MAKTX LIKE MAKT_MAKTX,
End of I_EKPO.
select EKPO~EBELN
EKPO~MATNR
EKPO~MFRPN
EKPO~MENGE
EKPO~BPRME
MAKT~MAKTX
from ( ekpo inner join makt on
ekpomatnr = MAKTmatnr )
into table I_ekpo
where ebeln in s_ebeln.
Don't forget to reward if useful..
2007 Apr 05 8:33 AM
2007 Apr 05 8:35 AM
Hi,
Do the following steps.
Declare an internal table with these fields.
Select the data of these fields from data base table EKPO into this internal table.
loop the internal table. writhe each field by using write statement in proper format.
<b>or</b>
To display in ALY build field catalog for these fields and supply field catalog internal table and data internal table to any of the ALV function modules like REUSE_ALV_GRID_DISPLAY.
Regards
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |