Skip to Content
0
Former Member
Aug 26, 2009 at 01:14 PM

For all entries

33 Views

the below given coding is given sy-subrc = 0 .

here T_ZISUBPTOPREMISE1 is an internal table of type database table ZISUBPTOPREMISE , having structure

BPEXT BU_BPEXT --- Primary Key

PARTNER BU_PARTNER

VKONT VKONT_KK

TPLNR TPLNR

VSTELLE VSTELLE

BPKIND BU_BPKIND

TITLE_MEDI AD_TITLETX

NAME_FIRST BU_NAMEP_F

NAME_LAST BU_NAMEP_L

BU_SORT1 BU_SORT1

BU_SORT2 BU_SORT2

STR_SUPPL1 AD_STRSPP1

STR_SUPPL2 AD_STRSPP2

STREET AD_STREET

HOUSE_NUM1 AD_HSNM1

HOUSE_NUM2 AD_HSNM2

SELECT

PARTNER " Business Partner Number

BPKIND " Business Partner Type

BPEXT " Business partner number in external system

BU_SORT1 " Search term 1 for business partner

BU_SORT2 " Search term 2 for business partner

TITLE " Form-of-Address Key

NAME_FIRST " First name of business partner (person)

NAME_LAST " Last name of business partner (person)

FROM BUT000 INTO TABLE T_BUT000

FOR ALL ENTRIES IN T_ZISUBPTOPREMISE1

WHERE BPEXT = T_ZISUBPTOPREMISE1-BPEXT .

What should be the reason behind it?