11-30-2007 5:27 PM
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
11-30-2007 6:08 PM
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
11-30-2007 5:47 PM
Hi ..
Can you explain it clearly.
EKKO and EKPO does not have a field called SELPA
Thanks,
chaithanya.
11-30-2007 5:54 PM
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
11-30-2007 6:08 PM
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