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

Создание докум. для ФМ на несуществующем в системе языке



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



Joined: 25 Oct 2007
Posts: 49

PostPosted: Fri Nov 23, 2007 11:04 am    Post subject: Создание докум. для ФМ на несуществующем в системе языке Reply with quote

Привет!
Сделали расширенный синтаксическую проверку на z-функциональный модуль, выдал, что нет документации. Попробовал создать документацию, ругается, что документация может вестись только на немецком языке. А у нас нет в системе немецкого. Что делать?
Back to top
View user's profile Send private message
John Doe
Модератор
Модератор


Age: 45
Joined: 05 Nov 2007
Posts: 725
Location: КраснАдар

PostPosted: Fri Nov 23, 2007 1:45 pm    Post subject: Reply with quote

В se61 очень гибкие настройки для ведения документации. Посмотрите, что у вас стоит на классе документа "FU Функциональный модуль" и выберите там русский язык.
Точно не уверен, но может это решит проблему.
Back to top
View user's profile Send private message Blog
vga
Мастер
Мастер


Age: 200
Joined: 04 Oct 2007
Posts: 1218
Location: Санкт-Петербург

PostPosted: Fri Nov 23, 2007 2:01 pm    Post subject: Reply with quote

Была похожая ситуация. Обошел это сообщение в отладчике (в двух местах проверка языка) и документация нормально создалась в английском. Если нужно, пришлю места в коде, но только для 4.6
Back to top
View user's profile Send private message Blog Visit poster's website
Сергей
Участник
Участник



Joined: 25 Oct 2007
Posts: 49

PostPosted: Fri Nov 23, 2007 4:52 pm    Post subject: Reply with quote

Если можно, выложите пример кода. Надеюсь в 4.7 он не изменился.
Back to top
View user's profile Send private message
vga
Мастер
Мастер


Age: 200
Joined: 04 Oct 2007
Posts: 1218
Location: Санкт-Петербург

PostPosted: Sun Nov 25, 2007 2:09 pm    Post subject: Reply with quote

Обходите сообщения об ошибке в

FM DOCU_CALL
Code:
          IF DOKIL-LANGU NE LANGU.
            SELECT SINGLE * FROM T002T WHERE SPRAS EQ SY-LANGU
                                         AND SPRSL EQ DOKIL-LANGU.
            IF SY-SUBRC EQ 0.
              MESSAGE I049 WITH T002T-SPTXT.              "e049
              EXIT.                    "vorher nicht
            ELSE.
              MESSAGE E049 WITH DOKIL-LANGU.
            ENDIF.
          ENDIF.


FM EDIT_TEXT_EXIT_TD
устанавливаете dokil-masterlang = 'X'.
Code:
              IF sy-subrc EQ 0 AND dokil-masterlang NE 'X'.

                MESSAGE i225 WITH header-tdspras.
                EXIT.
              ENDIF.
Back to top
View user's profile Send private message Blog Visit poster's website
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.