Ekrem Güngörmez
Dec 14, 2017
ERP
1181
Calling "BAPI_INCOMINGINVOICE_CREATE" multiple times causes short dump. First calling is successfull, not the others.You receive a short dump /BOBF/CX_FRW_FATAL if several invoices are created.
Implement the SAP Note 2452239. You will get rid of clear problem of attribute "mv_transaction_state" of class "/BOBF/CL_TRA_TRANSACTION_MGR"
Read More »
Ekrem Güngörmez
Mar 16, 2017
ERP
12458
Step by step explanation of how to add a new tab to BP screen.
Add new fields to standard structure incl_eew_kna1. incl_eew_kna1 is included in KNA1. Fields will be in KNA1 automatically.
Add same fields to incl_eew_kna1_x. Make sure that data element must be char1 for ex. bapiupdate.
Create a Z function group. IN top include define varibles:
TABLES:
kna1.
constants:
table_nam
Read More »
Ekrem Güngörmez
Jan 17, 2016
ERP
3442
With ABAP on HANA we can define variables/internal tables/structures/field symbols easily and quickly. Lets see some examples of data declarations.
Here is a simple data declaration for a variable.
SELECT SINGLE ebeln FROM ekpo INTO @DATA(lv_ebeln)
WHERE banfn = ’100000’
AND loekz = @space.
An internal table/structure definiton.
Select matnr, spras, maktx
into table @data(lt_makt)
from makt
where matnr in @lr_matnr.
Loop at lt_makt into data(ls_makt).
..
End
Read More »
Ekrem Güngörmez
Dec 07, 2015
ERP
3755
WS_REVERSE_GOODS_ISSUE function module is used to reverse goods issue. Here is an example of function module.
lv_tcode = 'VL09'.
lv_vbtyp = 'J'.
CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'
EXPORTING
i_vbeln = p_vbeln
i_budat = p_budat
i_tcode = lv_tcode
i_vbtyp = lv_vbtyp
TABLES
t_mesg = lt_mesg
T_VBAPF
Read More »
Ekrem Güngörmez
Oct 27, 2015
ERP
3014
To update custom fields on mara with BAPI_MATERIAL_MAINTAINDATA_RT, EXIT_SAPL1001_003 must be activated
and custom fields must be mapped in user exit but writing code in user exit is not enough. Also a customization is neeeded.
Go to t-code SPRO press F5.
Logistic general-material master-field selection
and click to assign fields to field selection groups.
add your custom fields here and assign a number for them. Check note 568513 for details.
Try to update fields again and enjoy the
Read More »