Skip to Content
0
Former Member
Apr 16, 2010 at 03:27 AM

Reg: fetching the data from the table

83 Views

Hi friends,

i want to take the field value RESWK from the table EKKO by linking

the field of EBELN from the table VIQMEL.

i am going to take the print out by using the tcode QM15 using standard program RQQMRB01 (Non Confirmation Report: NCR )

In that print out i want to display supplying plant for a STO order.

i didnt get any QM table which will have supplying plant data.

so, i am going to take the supplying plant field by linking EKKO and VIQMEL table in script.

In driver program of this script (RQQMRB01),EKKO table is not used.

so, i cant move EBELN value from VIQMEL table to EKKO table in the script.

my query:

/: IF &VIQMEL-EBELN+0(2)& EQ '66'.

/: &EKKO-EBELN& EQ &VIQMEL-EBELN&

/: ENDIF.

While debugging the script, i am getting message 'Text command &EKKO-EBELN& is not defined'

Once i get the value of EBELN from VIQMEL to EKKO,then only i can fetch the field RESWK.

So, how can i fetch the field value of a table which is not mentioned in the driver program of the script.

Thenks & Regards,

Sakthivel.VT