Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Transfer Data set problem

rajesh_tummala5
Explorer
0 Likes
492

Dear Experts,

I am writing EKKO data extracted from SAP to application server. I am separating each field with a pipe separator '|'. i am using a string and concatenating each field into the string separated by '|' but the string does not contain all the fields of the table.

Here's my code. Though i am concatenating every field of ekko table my output wf_string contain only fields up to KTWRT field.

Is field of type string have any character limit?.

Thanks,

Rajesh.

DATA: wf_string TYPE string.

 CLEAR: fs_ekko.
  LOOP AT int_ekko INTO fs_ekko.
    CLEAR: wf_string, fs_ekko1.
    MOVE-CORRESPONDING fs_ekko TO fs_ekko1.
    SHIFT fs_ekko1 LEFT DELETING LEADING space.
    CONCATENATE
    fs_ekko1-mandt
    fs_ekko1-ebeln
    fs_ekko1-bukrs
    fs_ekko1-bstyp
    fs_ekko1-bsart
    fs_ekko1-bsakz
    fs_ekko1-loekz
    fs_ekko1-statu
    fs_ekko1-aedat
    fs_ekko1-ernam
    fs_ekko1-pincr
    fs_ekko1-lponr
    fs_ekko1-lifnr
    fs_ekko1-spras
    fs_ekko1-zterm
    fs_ekko1-zbd1t
    fs_ekko1-zbd2t
    fs_ekko1-zbd3t
    fs_ekko1-zbd1p
    fs_ekko1-zbd2p
    fs_ekko1-ekorg
    fs_ekko1-ekgrp
    fs_ekko1-waers
    fs_ekko1-wkurs
    fs_ekko1-kufix
    fs_ekko1-bedat
    fs_ekko1-kdatb
    fs_ekko1-kdate
    fs_ekko1-bwbdt
    fs_ekko1-angdt
    fs_ekko1-bnddt
    fs_ekko1-gwldt
    fs_ekko1-ausnr
    fs_ekko1-angnr
    fs_ekko1-ihran
    fs_ekko1-ihrez
    fs_ekko1-verkf
    fs_ekko1-telf1
    fs_ekko1-llief
    fs_ekko1-kunnr
    fs_ekko1-konnr
    fs_ekko1-abgru
    fs_ekko1-autlf
    fs_ekko1-weakt
    fs_ekko1-reswk
    fs_ekko1-lblif
    fs_ekko1-inco1
    fs_ekko1-inco2
    fs_ekko1-ktwrt
    fs_ekko1-submi
    fs_ekko1-knumv
    fs_ekko1-kalsm
    fs_ekko1-stafo
    fs_ekko1-lifre
    fs_ekko1-exnum
    fs_ekko1-unsez
    fs_ekko1-logsy
    fs_ekko1-upinc
    fs_ekko1-stako
    fs_ekko1-frggr
    fs_ekko1-frgsx
    fs_ekko1-frgke
    fs_ekko1-frgzu
    fs_ekko1-frgrl
    fs_ekko1-lands
    fs_ekko1-lphis
    fs_ekko1-adrnr
    fs_ekko1-stceg_l
    fs_ekko1-stceg
    fs_ekko1-absgr
    fs_ekko1-addnr
    fs_ekko1-kornr
    fs_ekko1-memory
    fs_ekko1-procstat
    fs_ekko1-rlwrt
    fs_ekko1-revno
    fs_ekko1-scmproc
    fs_ekko1-reason_code
    fs_ekko1-force_id
    fs_ekko1-force_cnt
    fs_ekko1-reloc_id
    fs_ekko1-reloc_seq_id
    fs_ekko1-zdummy
    fs_ekko1-pohf_type
    fs_ekko1-eq_eindt
    fs_ekko1-eq_werks
    fs_ekko1-fixpo
    fs_ekko1-ekgrp_allow
    fs_ekko1-werks_allow
    fs_ekko1-contract_allow
    fs_ekko1-pstyp_allow
    fs_ekko1-fixpo_allow
    fs_ekko1-key_id_allow
    fs_ekko1-aurel_allow
    fs_ekko1-delper_allow
    fs_ekko1-eindt_allow
    fs_ekko1-otb_level
    fs_ekko1-otb_cond_type
    fs_ekko1-key_id
    fs_ekko1-otb_value
    fs_ekko1-otb_curr
    fs_ekko1-otb_res_value
    fs_ekko1-otb_spec_value
    fs_ekko1-spr_rsn_profile
    fs_ekko1-budg_type
    fs_ekko1-otb_status
    fs_ekko1-otb_reason
    fs_ekko1-check_type
    fs_ekko1-con_otb_req
    fs_ekko1-con_prebook_lev
    fs_ekko1-con_distr_lev

     INTO wf_string SEPARATED BY '|'.
    TRANSFER wf_string TO p_file.
    CLEAR: fs_ekko.
  ENDLOOP.

1 REPLY 1
Read only

Former Member
0 Likes
408

Moderator message - Please search before asking. Problems with files written to the application server not showing the full width has been asked and answered many times before. post locked Rob