10-29-2013 8:56 AM
Hello Folks,
I need to pass data to screen fileds (custom fields) into BDC session generated by IDOC INVOIC02, Since these fileds are custom fields,maintaining T076K / OBCC. I have extended the IDOC and added extra segment and loaded data into it.
Parent segement :E1EDK01
Child Segment: ZINVOIC01_01
I tried using exit EXIT_SAPLIEDI_002 but its not triggered when i tried to debug from WE19.
Please let me know if anyone has faced similar issue.
Thanks in advance.
Regards
Aradhya.J.M.
10-29-2013 9:14 AM
Hi Aradhya
The posting function module creates a BDC. So you can add the bDC code for your field in EXIT_SAPLIEDI_102 in table document_data,tax_data and additional_data
Thanks
Nabheet
10-29-2013 9:14 AM
Hi Aradhya
The posting function module creates a BDC. So you can add the bDC code for your field in EXIT_SAPLIEDI_102 in table document_data,tax_data and additional_data
Thanks
Nabheet
10-29-2013 9:37 AM
Hello Madan,
Thanks for your reply,
I have deployed my custom code into exit EXIT_SAPLIEDI_102, problem is when i try to debug from WE19 execution is not going into that exit.(Means exit is not triggering )
if verarbeitung = 'FI'. --> condition is true
* ----- Ergänzen der Daten vor der Buchung -----------------------------
call customer-function '102'
exporting idoc_contrl_index = idoc_contrl_index
importing i_fimsg = user_msg
tables idoc_contrl = idoc_contrl
idoc_data = idoc_data
document_data = beleg_daten
tax_data = steuer_daten
additional_data = zusatz_daten
exceptions others = 01.
else.
*-- MM --
call customer-function '112'
exporting idoc_contrl_index = idoc_contrl_index
importing i_fimsg = user_msg
tables idoc_contrl = idoc_contrl
idoc_data = idoc_data
t_bbkpf = xbbkpf
t_rbseg = xrbseg
t_rbset = xrbset
exceptions others = 01.
endif.
10-29-2013 9:43 AM
Please create a project in CMOD for enahcnement FEDI0001 and activate it then it will trigger.
10-29-2013 10:28 AM