SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

Кракозябры после selecta



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
divnull
Участник
Участник



Joined: 12 Mar 2012
Posts: 2

PostPosted: Mon Mar 12, 2012 12:41 pm    Post subject: Кракозябры после selecta Reply with quote

Подскажите пожалуйста, отрабатывает такой код:
Code:

FUNCTION FAGL_FSV_TEXT_READ.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"  IMPORTING
*"     REFERENCE(I_SPRAS) LIKE  T011-DSPRA OPTIONAL
*"     REFERENCE(I_VERSN) LIKE  T011-VERSN
*"  TABLES
*"      ET_011Q STRUCTURE  FAGL_011QT OPTIONAL
*"      ET_011T STRUCTURE  FAGL_011TC OPTIONAL
*"  EXCEPTIONS
*"      TEXT_NOT_FOUND
*"----------------------------------------------------------------------

  if et_011q is requested.
*.. read fagl_011qt
    if not ( i_spras is initial ).
      select * from fagl_011qt into table et_011q
              where versn = i_versn
                and spras = i_spras.

в результате чего во внутренней таблице et_011q в поле txt45 окаываются кракозбры, хотя в fagl_011qt весь текст нормальный, язык русский, из-за чего может быть такое?
Back to top
View user's profile Send private message
Nick_Papkov
Участник
Участник


Age: 45
Joined: 22 Aug 2013
Posts: 27
Location: г. Жлобин, Республика Беларусь

PostPosted: Tue Sep 17, 2013 6:17 am    Post subject: Re: Кракозябры после selecta Reply with quote

divnull wrote:
Подскажите пожалуйста, отрабатывает такой код:
Code:

FUNCTION FAGL_FSV_TEXT_READ.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"  IMPORTING
*"     REFERENCE(I_SPRAS) LIKE  T011-DSPRA OPTIONAL
*"     REFERENCE(I_VERSN) LIKE  T011-VERSN
*"  TABLES
*"      ET_011Q STRUCTURE  FAGL_011QT OPTIONAL
*"      ET_011T STRUCTURE  FAGL_011TC OPTIONAL
*"  EXCEPTIONS
*"      TEXT_NOT_FOUND
*"----------------------------------------------------------------------

  if et_011q is requested.
*.. read fagl_011qt
    if not ( i_spras is initial ).
      select * from fagl_011qt into table et_011q
              where versn = i_versn
                and spras = i_spras.

в результате чего во внутренней таблице et_011q в поле txt45 окаываются кракозбры, хотя в fagl_011qt весь текст нормальный, язык русский, из-за чего может быть такое?


Попробуйте вариант
select *
into corresponding fields of table et_011q
from fagl_011qt
where versn = i_versn
and spras = i_spras.

_________________
Когда другие слепо следуют за истиной, помни - ничто не истина.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.