Give the syntax of Inner,outer Join?"

Answer Posted / ravi ranjan

*&-----------------------------------*
*& Report ZSELECT_STA *
*& *
*&-----------------------------------*
*& Author : Ravi Ranajn upadhyay *
*& *
*&-----------------------------------*

REPORT zselect_sta.
TABLES: mara.
TYPES:BEGIN OF it_mara,
ernam TYPE mara-ernam,
matnr TYPE mara-matnr,
meins TYPE mara-meins,
burks TYPE ekpo-bukrs,
werks TYPE ekpo-werks,
END OF it_mara.

DATA:its_mara TYPE TABLE OF it_mara,
wa_mara TYPE it_mara.

SELECT m~matnr m~ernam m~meins k~werks k~bukrs
INTO CORRESPONDING FIELDS OF TABLE its_mara
FROM mara AS m inner JOIN ekpo AS k
ON m~matnr = k~matnr.


LOOP AT its_mara INTO wa_mara.
WRITE: / wa_mara-ernam,
wa_mara-matnr,
wa_mara-meins,
wa_mara-burks,
wa_mara-werks.
ENDLOOP.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi.. sap sd is installed in my PC .i m unable to start becoz ,i have given wrong password many times and it's locked.please tell me how can i open SAP logon. tell the process at my id dst.noida@rediffmail.com please advance thanx

1500


How to upload more than 2GB file from External Source to SAP?

847


In the abap/4 dictionary tables can be defined independent of the underlying database (t/f). : abap data dictionary

699


What is difference between dialog program and a report?

587


Explain what is the difference between sy-tabix and sy-index? Where it is used?

553






Why do we use types statement in abap programming?

664


What is static attribute

1074


What are the advantages and disadvantages of different types of bdc's?

535


What is the significance of hide?

574


How to call transaction in session method without recording?

1541


What is the difference between Classic badi and Kernal badi ?

1781


Print options in smartforms?

1558


What is a database view? : abap data dictionary

639


What is the master data necessary before you can start posting in MM?

827


What are the organizational related infotypes? : abap hr

576