cancel
Showing results for 
Search instead for 
Did you mean: 

Table to get data from the field KOEIN

Former Member
0 Kudos

Hi All,

Can anyone tell me the table from which I can pull data from the field KOEIN in an invoice. I tried tables KONV, KONP, VBRK, VBRP. None of them have this field.

Is there any other way of pulling in value from this field?

Thank you,

Shanu Jain

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

not answered. closing the thread.

0 Kudos

Hi,

You check in Tables WDFR1 or WDFR_POS to fetch KOEIN.

Regards,

Ravi

Former Member
0 Kudos

Hi,

I checked those tables but they are not linked to invoices in any way so I am not able to relate that field in the program during coding.

Is there any other table?

Thank you,

Shanu Jain

eduardo_hinojosa
Active Contributor
0 Kudos

Hi,

Check report LV61AA17 (in program SAPLV61A). You have this coding:

form konditionswaehrungen.

  • determine unit of condition rate

if xkomv-krech ca percental.

move '%' to tkomvd-koein.

move '3' to tkomvd-koei1.

else.

move xkomv-waers to tkomvd-koein.

move xkomv-waers to tkomvd-koei1.

endif.

if xkomv-kbetr eq 0.

clear tkomvd-koein.

endif.

  • determine unit of condition start value

  • Konditonsausgangswert-Einheit ermitteln

tkomvd-awein = komk-waerk.

tkomvd-awei1 = komk-waerk.

if xkomv-krech ca absolute or xkomv-krech ca formula.

tkomvd-awein = space.

tkomvd-awei1 = '0'.

endif.

if xkomv-krech ca relative.

tkomvd-awein = xkomv-kmein.

tkomvd-awei1 = '3'.

endif.

if xkomv-krech ca time.

tkomvd-awein = xkomv-kmein.

tkomvd-awei1 = '5'.

endif.

  • absolute discount

if xkomv-krech ca absolute.

clear: tkomvd-koein,

tkomvd-kbetr,

tkomvd-kawrt,

tkomvd-awein.

endif.

endform.

So, I think that it's related with structure KOMV, ie: with tables KONP and KONH (KONH-KONWA)

I hope this helps you

Regards,

Eduardo