cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase order in SmartForms

Former Member
0 Kudos

hi,

I am getting an error in ABAP program for smartform of Purchase order

In Purchase order screen (ME21N) for any field I Pressed F1 and from technical details I got the TABLE name and field name, but when I put in Smartform report it gives me the below error.....

"MEPO1211 is not define in ABAP Dictionary as a table, projection view or database view".

in SE16

"MEPO1211 is a strucute, not a table".

I wanna to know how to use structure in report instead of table.

like we use MARA table as

TABLES : MARA,

I need to print some data from the MEPO1211,

plz help me

Thanx in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Riyaz,

Structure will not contain data, for the data you have to search for Transparent tables for that field.

Take that fields data element and check for where used list in se11.

You will find some Transparent table where this field is used.

Used that table in your smartform.

Regards,

Ali

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Goto form interface double click on it and you will

find

ZXEKKO TYPE EKKO

in tables tab strip you will get these itabs

L_XEKPO LIKE EKPO

L_XEKPA LIKE EKPA

L_XPEKPO LIKE PEKPO

L_XEKET LIKE EKET

L_XTKOMV LIKE KOMV

L_XEKKN LIKE EKKN

L_XEKEK LIKE EKEK

L_XKOMK LIKE KOMK

use these and dont use the fields which are used in ME21N or 22N or 23N. this is being handled by print program you are calling

Regards

Shiva

Former Member
0 Kudos

Hi Riyaz,

take that field and

got to se84.

search for dictionary field.

there withh find the t table for that field.