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

Связь между FI и MM документами



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
Максим
Специалист
Специалист



Joined: 27 Sep 2007
Posts: 61

PostPosted: Thu Feb 14, 2008 9:43 am    Post subject: Связь между FI и MM документами Reply with quote

Доброе утро!
Пожалуйста, подскажите, как по финансовому документу найти материальный документ?
Back to top
View user's profile Send private message
Alex80
Старший специалист
Старший специалист


Age: 44
Joined: 24 Jan 2008
Posts: 129

PostPosted: Thu Feb 14, 2008 10:15 am    Post subject: Re: Связь между FI и MM документами Reply with quote

Максим wrote:
Доброе утро!
Пожалуйста, подскажите, как по финансовому документу найти материальный документ?

Code:
mkpf-mblnr = bkpf-awkey+0(10) AND
mkpf-mjahr = bkpf-awkey+10(4)
Back to top
View user's profile Send private message
vga
Мастер
Мастер


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

PostPosted: Thu Feb 14, 2008 6:46 pm    Post subject: Reply with quote

Code:
      CALL FUNCTION 'AC_DOCUMENT_RECORD'
        EXPORTING
          i_awtyp  = my_awtyp
          i_awref  = my_refbn
          i_aworg  = my_aworg
          x_dialog = space
          i_bukrs  = p_tb_1-bukrs
        TABLES
          t_documents = t_docs.
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.