Application Development 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: 

Select EKKOand EKPO data using SELPA

Former Member
0 Kudos

hi, can any one show me an example on selecting data from ekko and epko using SELPA like in Tcode ME2N?

Thanzs in Advance to all

Best Regards

Jaime Cordeiro

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Jaime,

Please look at ME2N Inside ,you may get answer if you search SELPA .

This transaction uses Logical database ,Try to go SE36 and see what are the select query's available in LDB - ENM

Thanks

Seshu

3 REPLIES 3

Former Member
0 Kudos

Hi ..

Can you explain it clearly.

EKKO and EKPO does not have a field called SELPA

Thanks,

chaithanya.

Former Member
0 Kudos

You can debug here to find out how sap program is getting values from EKKO

Prg: SAPDBENM

FORM: put_ekko

Snapshot of the code:

SELECT (L_TAB_FIELDS-FIELDS) INTO CORRESPONDING

FIELDS OF EKKO FROM EKKO

WHERE EBELN IN EN_EBELN

AND EKORG IN EN_EKORG

AND BSTYP IN EN_BSTYP

AND (<b>REPORT_SEL_1-WHERE_TAB</b>)

ORDER BY PRIMARY KEY.

Thanks

Pavan

Former Member
0 Kudos

Jaime,

Please look at ME2N Inside ,you may get answer if you search SELPA .

This transaction uses Logical database ,Try to go SE36 and see what are the select query's available in LDB - ENM

Thanks

Seshu