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

Дополнительные поля в MIRO


Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
ilya1
Участник
Участник



Joined: 04 Dec 2012
Posts: 1

PostPosted: Tue Dec 04, 2012 12:18 pm    Post subject: Reply with quote

Что-то уж как-то больно сложно, да еще и через апдейт таск.. Very Happy

Я немного иначе в миро сделал, тоже топорно, но проще.

1. Расширение RBKP.
2. Расширение LFDCB001 экран SAPLXM08(0400). На него свои 2 поля.
3. 2 глобальные переменные в ZXM08ZZZ.
4. 2 модуля
Code:

MODULE pai_0400 INPUT.
  FIELD-SYMBOLS: <fs> TYPE mrm_rbkpv.

  ASSIGN ('(SAPLMR1M)RBKPV') TO <fs>.
  CHECK sy-subrc = 0.
  <fs>-zzispr_num   = g_zzispr_num.
  <fs>-zzispr_date  = g_zzispr_date.
ENDMODULE.                 " PAI_0400  INPUT




Code:
MODULE pbo_0400 OUTPUT.
  ASSIGN ('(SAPLMR1M)RBKPV') TO <fs>.
  CHECK sy-subrc = 0.
  g_zzispr_num  = <fs>-zzispr_num.
  g_zzispr_date = <fs>-zzispr_date.
ENDMODULE.                 " PBO_0400  OUTPUT


5. Эхашмент в объявлении типа mrm_rbkpv. Группа типов MRM
Code:

*------- Header of logistics invoice with table of taxes -----------
TYPES: BEGIN OF mrm_rbkpv.
        INCLUDE STRUCTURE rbkp_v.
TYPES: rbtx LIKE rbtx OCCURS 0,
       thead  TYPE thead,              " Note header
       tnote  TYPE tline    OCCURS 0,  " Note lines
       h_rbvs TYPE mrm_rbvs OCCURS 0,  " vendor split
       h_rbws LIKE rbws     OCCURS 0,  " extended withholding tax
*       bupla  LIKE accit-bupla,        " Business place Korea
       wwert  LIKE accit-wwert,        "  Umrechnungsdatum für Kufix
       mrm_zlspr TYPE mrm_zlspr,       "  Log. Zahlsperre
       xcpdd TYPE xcpdd,               " CPD Dialog bearbeitet
       adrnr TYPE adrnr,               " CPD Adresse
       penrc TYPE penrc,               " Cause for late Payment
                                       "(PS/USA)
       bapi_extblnr TYPE re_belnr,     " External doc. no. for BAPI when
       bapi_process TYPE c,         " changing fiscal year / flag
                                       " that doc. comes from BAPI
       retnt TYPE wrbtr,               " netto sum retentions
       rettx TYPE wrbtr.               " tax sum retentions
        INCLUDE STRUCTURE mrmivext_data_header. "Extension data "NCF IV
        INCLUDE STRUCTURE mrmivext_data_itemheader.             "NCF IV
TYPES:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1) Typ MRM_RBKPV, Выход                                                                                                                              S
*$*$-Start: (1)---------------------------------------------------------------------------------$*$*
ENHANCEMENT 1  Z_MIRO_MRM_RBKPV_TYPE.    "active version
*
  TYPES:
    ZZISPR_NUM  TYPE RBKP-ZZISPR_NUM,
    ZZISPR_DATE TYPE RBKP-ZZISPR_DATE.
ENDENHANCEMENT.
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
Goto page Previous  1, 2, 3
Page 3 of 3

 
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.