Skip to Content
0
Former Member
Jun 17, 2015 at 09:54 AM

Cannot find material in AUSP?

4465 Views

I have a material 000000005000002276 that has a classification (klart 001). Now I want to read AUSP with OBJEK = matnr but it doesn't find a value?

Also if I do a select like this on ausp:

SELECT objek atwrt

INTO TABLE lt_ausp

FROM ausp

WHERE

klart EQ '001' AND

atinn EQ lv_atinn AND

mafid EQ 'O' AND

atwrt NE space .

it gives me a few thousand records with material classifications. However NONE of the objek values found exists in MARA? I also tried using se16n.

This also gives me zero results in lt_mara.

LOOP AT lt_ausp ASSIGNING <lfs_ausp>.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

EXPORTING

input = <lfs_ausp>-objek

IMPORTING

output = <lfs_ausp>-matnr.

ENDLOOP.

DATA: lt_mara TYPE TABLE OF mara.

SELECT * FROM mara INTO TABLE lt_mara

FOR ALL ENTRIES IN lt_ausp

WHERE matnr = lt_ausp-matnr.


Any help strongly appreciated and rewarded!