01-04-2010 1:22 PM
Hi Experts,
I have extended the basic idoc ACC_DOCUMENT03 with my custom segment.And my custom segment has z-fields(ZZSEUKO1,ZZSEUKO2,ZZSEUKO3 and ZZSEUKO4) and table BSEG also has these z-fields as well.in my inbound function module I am filling extension2 table with z-fields and their values & I am posting the document by calling BAPI_ACC_DOCUMENT_POST.
Now the problem is my z-fields are not being updated though the posting is successful by BAPI_ACC_DOCUMENT_POST .I am checking in BSEG table all the z-fields are empty, but all the standard fields are updated are sored in BSEG table.
I have also created implementation of method 'CHANGE' of BADI 'ACC_DOCUMENT'. in this badi internal table C_ACCIT ( of str ACCIT_TAB) is used for posting,I have also appended the str ACCIT_TAB with my z-fields.I am also moving z-fields and its value from C_EXTENSION2 to C_ACCIT
Can anybody tell what could be the reason? what step I am missing?
Thanks in advance.
Vineet
01-04-2010 2:18 PM
I think, you should use OPEN FI: RWBAPI01 (transaction FIBF) ...
regards, darek
01-06-2010 3:50 AM
Hi Darek,Digvijay,
Thanks for the answer.
Can you give more information how we can solve this problem by FIBF/fill_acct.
BR,
Vineet
01-04-2010 2:54 PM
Try doing the same through method FILL_ACCIT or otherwise try implementing the same through BADI AC_DOCUMENT.
In BADI AC_DOCUMENT the structure CI_COBL can be created for populating the custom fields.
11-12-2010 4:06 PM
Hi Vineet,
have you found out why your z-fields in BSEG are always empty?
I actually have the same problem, i added some custom fields in BSEG (and ACCIT for BADI_ACC_DOCUMENT_POST) and implemented the "change" method of BADI ACC_DOCUMENT. In debugging i can see everything works fine, the z-fields in ACCIT are updated correct, but when i check the entry in BSEG, the custom fields are empty.
Even when i use the BTE RWBAPI01 to fill the z-fields, it doesn't work (for other fields it does!!).
Thanks in advance
Christian
11-12-2010 7:42 PM
01-24-2011 6:54 AM
08-20-2015 2:08 PM
Hi Vanitha,
Could you please share the solution, as to how you were able to solve this issue ?
Thank you.