‎2008 Jan 03 6:22 AM
I want to write a program to change the fb02 xref3.
Please let me know whether there is a BAPI? Or how to do it using the BDC cos in the BDC the page down is not capturing properly.
Thanks
Edited by: Ann G on Jan 3, 2008 7:33 AM
‎2008 Jan 03 6:42 AM
Hi,
Do u want to change xref3 for a particular document, or is this a routine job.
if this is a one time activity , then write a prog to update bseg table with changed xref3 value.
if this is a routine activity then call the document number in the recording and then click on
more data to change xref3.
tc
saji
‎2008 Jan 03 6:50 AM
Its not a routine job. The tables BSID should also be changed then if Im writing a program I need to know exactly all the tables where xref3 is attached in order to update. Please do let me know of a Bapi or a way to do it in bdc.
Thanks
‎2015 Oct 14 11:04 AM
HELLO
Use the procces RWBAPI01 and the FM ZSAMPLE_INTERFACE_RWBAPI0 .
Inside the FM u can put the code that you want to change the XREF3 field .
There is a BTE related to the above process .
My example code inside the FM was :
DATA : WA_EXTENSION TYPE BAPIACEXTC ,
WA_ACCIT TYPE ACCIT,
LV_TABIX TYPE SY-TABIX.
READ TABLE EXTENSION INTO WA_EXTENSION INDEX 1 .
if wa_extension-field1 is not initial or wa_extension-field2 is not INITIAL.
LOOP AT IT_ACCIT INTO WA_ACCIT .
WA_ACCIT-STODT = WA_EXTENSION-FIELD1 .
"""" If the KOSTL field has a value (VAT code)
"""" pass the header text to the line text field .
if wa_accit-ktosl is not initial.
wa_accit-sgtxt = wa_extension-field2.
endif.
MODIFY IT_ACCIT FROM WA_ACCIT INDEX SY-TABIX.
ENDLOOP.
endif.
Hope it helps
‎2015 Oct 14 11:13 AM
Hi
Try to use FI_DOCUMENT_CHANGE function
Or
Try with BDC for fb09
Regards,
Venkat
‎2015 Oct 14 11:28 AM
Hi
Try to use FI_DOCUMENT_CHANGE function
Or
Try with BDC for fb09
Try for BDC FB09 - this will be easy for you
Regards,
Venkat