Skip to Content
author's profile photo Former Member
Former Member

Program Help

I'm just wondering if anyone can help. I'm very new to the programming lark. I've got the below program

SELECT aamatnr bbmatnr aalifnr aainfnr

aaerdat aaernam ccerdat ccernam

ccvdatu ccbdatu

FROM eina AS aa INNER JOIN makt AS bb ON aamatnr = bbmatnr

INNER JOIN eord AS cc ON aamatnr = ccmatnr AND aalifnr = cclifnr

INTO CORRESPONDING FIELDS OF TABLE it_ir_v_sl

WHERE aa~matnr IN s_matnr AND

cc~flifn EQ 'X'.

SELECT * FROM a017 INTO wa_a017

FOR ALL ENTRIES IN it_ir_v_sl

WHERE matnr = it_ir_v_sl-matnr AND

lifnr = it_ir_v_sl-lifnr.

ENDSELECT.

-


I want to write fields

matnr,

maktx,

infnr,

lifnr,

erdat,

ernam,

datab, - from table a017

datbi, - from table a017

erdat,

ernam,

vdatu,

bdatu.

But i'm not sure how to get the two internal table that i've pulled the info into to fit together so i can write this out.

If anyone can help on this, it would be a great help.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 07, 2009 at 02:12 PM

    In fact, you will get a swift response had you posted this in the following link

    [ SAP Community Network Forums » ABAP Development » ABAP, General |;

    thanks

    G. Lakshmipathi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.