ABAP Select data from SAP table BBPS_CTR_PA_NOV_BADI into internal table
Get Example source ABAP code based on a different SAP table
Below is a number of ABAP code snippets to demonstrate how to select data from SAP BBPS_CTR_PA_NOV_BADI table and store it within an internal table, including using the newer @DATA inline declaration methods. It also shows you various ways to process this data using ABAP work area, inline declaration or field symbols including executing all the relevant CONVERSION_EXIT routines specific to BBPS_CTR_PA_NOV_BADI. See here for more generic Select statement tips.
Sometimes data within SAP is stored within the database table in a different format to what it is displayed to the user. These input/output conversation FM routines are what translates the data between the two formats.
There is also a full declaration of the BBPS_CTR_PA_NOV_BADI table where each field has a char/string type for you to simply copy and paste. This allows you to use processing that is only available to these field types such as the CONCATENATE statement.
DATA: IT_BBPS_CTR_PA_NOV_BADI TYPE STANDARD TABLE OF BBPS_CTR_PA_NOV_BADI, WA_BBPS_CTR_PA_NOV_BADI TYPE BBPS_CTR_PA_NOV_BADI, GD_STR TYPE STRING. DATA: lo_typedescr type REF TO cl_abap_typedescr. DATA: lv_fieldname type fieldname. FIELD-SYMBOLS: <FIELD> TYPE any. FIELD-SYMBOLS: <BBPS_CTR_PA_NOV_BADI> TYPE BBPS_CTR_PA_NOV_BADI. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_BBPS_CTR_PA_NOV_BADI. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM BBPS_CTR_PA_NOV_BADI INTO TABLE IT_BBPS_CTR_PA_NOV_BADI. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM BBPS_CTR_PA_NOV_BADI * INTO TABLE @DATA(IT_BBPS_CTR_PA_NOV_BADI2). *--Further methods of using ABAP code to select data from SAP database tables *You can also declare the header/work area using the in-line DATA declaration method READ TABLE IT_BBPS_CTR_PA_NOV_BADI INDEX 1 INTO DATA(WA_BBPS_CTR_PA_NOV_BADI2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_BBPS_CTR_PA_NOV_BADI ASSIGNING <BBPS_CTR_PA_NOV_BADI>.*To update a field value using a field symbol simply change the value via the field symbol pointer
<BBPS_CTR_PA_NOV_BADI>-CLIENT = 1.
<BBPS_CTR_PA_NOV_BADI>-PARTNER_GUID = 1.
<BBPS_CTR_PA_NOV_BADI>-P_GUID = 1.
<BBPS_CTR_PA_NOV_BADI>-PARTNER_FCT = 1.
<BBPS_CTR_PA_NOV_BADI>-PARTNER_NO = 1.
ENDLOOP. LOOP AT IT_BBPS_CTR_PA_NOV_BADI INTO WA_BBPS_CTR_PA_NOV_BADI. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_BBPS_CTR_PA_NOV_BADI-ATTRIBUTES, sy-vline,
WA_BBPS_CTR_PA_NOV_BADI-MAINPARTNER, sy-vline,
WA_BBPS_CTR_PA_NOV_BADI-ADDR_TYPE, sy-vline,
WA_BBPS_CTR_PA_NOV_BADI-ADDR_ORIGIN, sy-vline,
WA_BBPS_CTR_PA_NOV_BADI-DEL_IND, sy-vline,
WA_BBPS_CTR_PA_NOV_BADI-PERS_NO, sy-vline.
ENDLOOP. *Add any further fields from structure WA_BBPS_CTR_PA_NOV_BADI you want to display... WRITE:/ sy-uline. * Aternatively use generic code to Write field values (and NAME) to screen report DO. ASSIGN COMPONENT sy-index OF STRUCTURE wa_BBPS_CTR_PA_NOV_BADI TO <field>. IF sy-subrc <> 0. EXIT. ENDIF. WRITE:/ 'Field Value', <field>, sy-vline. gd_str = <field> . lo_typedescr ?= CL_ABAP_DATADESCR=>DESCRIBE_BY_DATA( <field> ). lv_fieldname = lo_typedescr->GET_RELATIVE_NAME( ). WRITE:/ 'Field Name', lv_fieldname. ENDDO. *Redo loop but convert all fields from internal to out value LOOP AT IT_BBPS_CTR_PA_NOV_BADI INTO WA_BBPS_CTR_PA_NOV_BADI. *Write horizonal line to screen report. WRITE:/ sy-uline. *Convert all fields to display/output versions using conversion routines PERFORM convert_all_field_values CHANGING wa_EKKO. ENDLOOP. *&---------------------------------------------------------------------* *& Form convert_all_field_values *&---------------------------------------------------------------------* FORM convert_all_field_values CHANGING p_EKKO LIKE wa_EKKO. DATA: ld_input(1000) TYPE c, ld_output(1000) TYPE C.
*Conversion exit ALPHA, internal->external for field PERS_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-PERS_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-PERS_NO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADDR_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-ADDR_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-ADDR_NO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ISOLA, internal->external for field LANGU_P CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-LANGU_P IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-LANGU_P.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CITY_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-CITY_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-CITY_NO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field DISTRCT_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-DISTRCT_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-DISTRCT_NO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PBOXCIT_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-PBOXCIT_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-PBOXCIT_NO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field STREET_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-STREET_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-STREET_NO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ISOLA, internal->external for field LANGU CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-LANGU IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-LANGU.
WRITE:/ 'New Value:', ld_input.
*Conversion exit SXIDN, internal->external for field E_MAIL CALL FUNCTION 'CONVERSION_EXIT_SXIDN_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-E_MAIL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-E_MAIL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field HOMECITYNO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-HOMECITYNO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-HOMECITYNO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ISOLA, internal->external for field LANGU_CR_P CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-LANGU_CR_P IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-LANGU_CR_P.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field COUNTY_CODE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-COUNTY_CODE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-COUNTY_CODE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field TOWNSHIP_CODE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-TOWNSHIP_CODE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-TOWNSHIP_CODE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PARTNER_SRC_SYS CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-PARTNER_SRC_SYS IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-PARTNER_SRC_SYS.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PARTNER_ID CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-PARTNER_ID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-PARTNER_ID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTPS, internal->external for field VALID_FROM CALL FUNCTION 'CONVERSION_EXIT_TSTPS_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-VALID_FROM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-VALID_FROM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTPS, internal->external for field VALID_TO CALL FUNCTION 'CONVERSION_EXIT_TSTPS_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-VALID_TO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-VALID_TO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CTR_NUMBER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_BBPS_CTR_PA_NOV_BADI-CTR_NUMBER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_BBPS_CTR_PA_NOV_BADI-CTR_NUMBER.
WRITE:/ 'New Value:', ld_input.
ENDFORM. *&---------------------------------------------------------------------* *& Form process_as_string_field_values *&---------------------------------------------------------------------* FORM process_as_string_field_values CHANGING p_EKKO LIKE wa_EKKO. TYPES: BEGIN OF T_BBPS_CTR_PA_NOV_BADI_STR,
CLIENT TYPE STRING,
PARTNER_GUID TYPE STRING,
P_GUID TYPE STRING,
PARTNER_FCT TYPE STRING,
PARTNER_NO TYPE STRING,
ATTRIBUTES TYPE STRING,
MAINPARTNER TYPE STRING,
ADDR_TYPE TYPE STRING,
ADDR_ORIGIN TYPE STRING,
DEL_IND TYPE STRING,
PERS_NO TYPE STRING,
ADDR_NO TYPE STRING,
TITLE_P TYPE STRING,
FIRSTNAME TYPE STRING,
LASTNAME TYPE STRING,
BIRTH_NAME TYPE STRING,
MIDDLENAME TYPE STRING,
SECONDNAME TYPE STRING,
FULLNAME TYPE STRING,
FULLNAME_X TYPE STRING,
TITLE_ACA1 TYPE STRING,
TITLE_ACA2 TYPE STRING,
PREFIX1 TYPE STRING,
PREFIX2 TYPE STRING,
TITLE_SPPL TYPE STRING,
NICKNAME TYPE STRING,
INITIALS TYPE STRING,
NAMEFORMAT TYPE STRING,
NAMCOUNTRY TYPE STRING,
LANGU_P TYPE STRING,
LANGUP_ISO TYPE STRING,
SORT1_P TYPE STRING,
SORT2_P TYPE STRING,
DEPARTMENT TYPE STRING,
FUNCTION TYPE STRING,
BUILDING_P TYPE STRING,
FLOOR_P TYPE STRING,
ROOM_NO_P TYPE STRING,
INITS_SIG TYPE STRING,
INHOUSE_ML TYPE STRING,
COMM_TYPE TYPE STRING,
TITLE TYPE STRING,
NAME TYPE STRING,
NAME_2 TYPE STRING,
NAME_3 TYPE STRING,
NAME_4 TYPE STRING,
C_O_NAME TYPE STRING,
CITY TYPE STRING,
DISTRICT TYPE STRING,
CITY_NO TYPE STRING,
DISTRCT_NO TYPE STRING,
CHCKSTATUS TYPE STRING,
POSTL_COD1 TYPE STRING,
POSTL_COD2 TYPE STRING,
POSTL_COD3 TYPE STRING,
PO_BOX TYPE STRING,
PO_BOX_CIT TYPE STRING,
PBOXCIT_NO TYPE STRING,
DELIV_DIS TYPE STRING,
TRANSPZONE TYPE STRING,
STREET TYPE STRING,
STREET_NO TYPE STRING,
STR_ABBR TYPE STRING,
HOUSE_NO TYPE STRING,
HOUSE_NO2 TYPE STRING,
STR_SUPPL1 TYPE STRING,
STR_SUPPL2 TYPE STRING,
STR_SUPPL3 TYPE STRING,
LOCATION TYPE STRING,
BUILDING TYPE STRING,
FLOOR TYPE STRING,
ROOM_NO TYPE STRING,
COUNTRY TYPE STRING,
COUNTRYISO TYPE STRING,
LANGU TYPE STRING,
LANGU_ISO TYPE STRING,
REGION TYPE STRING,
SORT1 TYPE STRING,
SORT2 TYPE STRING,
TIME_ZONE TYPE STRING,
TAXJURCODE TYPE STRING,
ADR_NOTES TYPE STRING,
TEL1_NUMBR TYPE STRING,
TEL1_EXT TYPE STRING,
FAX_NUMBER TYPE STRING,
FAX_EXTENS TYPE STRING,
E_MAIL TYPE STRING,
BUILD_LONG TYPE STRING,
REGIOGROUP TYPE STRING,
HOME_CITY TYPE STRING,
HOMECITYNO TYPE STRING,
PCODE1_EXT TYPE STRING,
PCODE2_EXT TYPE STRING,
PCODE3_EXT TYPE STRING,
PO_W_O_NO TYPE STRING,
PO_BOX_REG TYPE STRING,
POBOX_CTRY TYPE STRING,
PO_CTRYISO TYPE STRING,
DONT_USE_S TYPE STRING,
DONT_USE_P TYPE STRING,
HOUSE_NO3 TYPE STRING,
LANGU_CR_P TYPE STRING,
LANGUCPISO TYPE STRING,
PO_BOX_LOBBY TYPE STRING,
DELI_SERV_TYPE TYPE STRING,
DELI_SERV_NUMBER TYPE STRING,
COUNTY_CODE TYPE STRING,
COUNTY TYPE STRING,
TOWNSHIP_CODE TYPE STRING,
TOWNSHIP TYPE STRING,
PARTNER_SRC_SYS TYPE STRING,
PARTNER_ID TYPE STRING,
EXCLUDED TYPE STRING,
VALID_FROM TYPE STRING,
VALID_TO TYPE STRING,
DUMMY_EEW_PDBSF TYPE STRING,
DUMMY_EEW_PDBCF TYPE STRING,
REL_PARTNER_NO TYPE STRING,
REL_PARTNER_TYPE TYPE STRING,
BIDINTENT_IND TYPE STRING,
SURR_PURCH_GUID TYPE STRING,
BIDDING_TYPE TYPE STRING,
CTR_NUMBER TYPE STRING,END OF T_EKKO_STR. DATA: WA_BBPS_CTR_PA_NOV_BADI_STR type T_EKKO_STR. DATA: ld_text TYPE string. LOOP AT IT_EKKO INTO WA_EKKO. MOVE-CORRESPONDING wa_EKKO TO WA_EKKO_STR. CONCATENATE: sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-CLIENT sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PARTNER_GUID sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-P_GUID sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PARTNER_FCT sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PARTNER_NO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-ATTRIBUTES sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-MAINPARTNER sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-ADDR_TYPE sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-ADDR_ORIGIN sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-DEL_IND sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PERS_NO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-ADDR_NO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TITLE_P sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-FIRSTNAME sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-LASTNAME sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-BIRTH_NAME sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-MIDDLENAME sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-SECONDNAME sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-FULLNAME sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-FULLNAME_X sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TITLE_ACA1 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TITLE_ACA2 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PREFIX1 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PREFIX2 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TITLE_SPPL sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-NICKNAME sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-INITIALS sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-NAMEFORMAT sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-NAMCOUNTRY sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-LANGU_P sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-LANGUP_ISO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-SORT1_P sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-SORT2_P sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-DEPARTMENT sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-FUNCTION sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-BUILDING_P sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-FLOOR_P sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-ROOM_NO_P sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-INITS_SIG sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-INHOUSE_ML sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-COMM_TYPE sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TITLE sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-NAME sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-NAME_2 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-NAME_3 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-NAME_4 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-C_O_NAME sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-CITY sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-DISTRICT sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-CITY_NO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-DISTRCT_NO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-CHCKSTATUS sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-POSTL_COD1 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-POSTL_COD2 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-POSTL_COD3 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PO_BOX sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PO_BOX_CIT sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PBOXCIT_NO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-DELIV_DIS sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TRANSPZONE sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-STREET sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-STREET_NO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-STR_ABBR sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-HOUSE_NO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-HOUSE_NO2 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-STR_SUPPL1 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-STR_SUPPL2 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-STR_SUPPL3 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-LOCATION sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-BUILDING sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-FLOOR sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-ROOM_NO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-COUNTRY sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-COUNTRYISO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-LANGU sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-LANGU_ISO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-REGION sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-SORT1 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-SORT2 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TIME_ZONE sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TAXJURCODE sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-ADR_NOTES sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TEL1_NUMBR sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TEL1_EXT sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-FAX_NUMBER sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-FAX_EXTENS sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-E_MAIL sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-BUILD_LONG sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-REGIOGROUP sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-HOME_CITY sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-HOMECITYNO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PCODE1_EXT sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PCODE2_EXT sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PCODE3_EXT sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PO_W_O_NO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PO_BOX_REG sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-POBOX_CTRY sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PO_CTRYISO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-DONT_USE_S sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-DONT_USE_P sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-HOUSE_NO3 sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-LANGU_CR_P sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-LANGUCPISO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PO_BOX_LOBBY sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-DELI_SERV_TYPE sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-DELI_SERV_NUMBER sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-COUNTY_CODE sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-COUNTY sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TOWNSHIP_CODE sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-TOWNSHIP sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PARTNER_SRC_SYS sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-PARTNER_ID sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-EXCLUDED sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-VALID_FROM sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-VALID_TO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-DUMMY_EEW_PDBSF sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-DUMMY_EEW_PDBCF sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-REL_PARTNER_NO sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-REL_PARTNER_TYPE sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-BIDINTENT_IND sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-SURR_PURCH_GUID sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-BIDDING_TYPE sy-vline
WA_BBPS_CTR_PA_NOV_BADI_STR-CTR_NUMBER sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.