Skip to Content
0
Former Member
Dec 13, 2009 at 07:39 AM

Connection MESG and INOB with additional field

121 Views

Hi friends,

i'm beginner in ABAP and for this reason i create reports in ABAP query.

So i create query between tables MSEG and INOB (then INOB with AUSP).

In INOB-OBJEK - value is matnr and charg,

but value in this field is: for example

matnr charg

EK759064BK (8 free spaces) 0000000066

EK759064BK (8 free spaces) 0000000067

EK759064BK (8 free spaces) 0000000068

EK759064BK (8 free spaces) 0000000069

EK759064BK (8 free spaces) 0000000070

My idea is to create additional field with MSEG-MATNR and MSEG-CHARG and relate with INOB-OBJEK

(concatenate mseg-matnr mseg-charg into refkey.)

result is:

EK759064BK0000000066

EK759064BK0000000067

EK759064BK0000000068

EK759064BK0000000069

EK759064BK0000000070

Now my question is how to change code and create additional field like INOB-OBJEK, how to change my code so i have 8 free spaces between MATNR and CHARG?

Edited by: Marin Lyubomirov on Dec 13, 2009 9:39 AM