2010 Oct 21 6:28 PM
Hi,
I am using ACC_DOCUMENT01 for inbound idocs.
I need to read value of one of the idoc segments for example, E1BPACEXTC and during inbound update/populate some custom fields on BSEG table.
Do you know if there are any user exits to handle this scenario? if SAP doesnt provide any userexits, then what are other options to achieve this functionality.
Thanks for help !
Best regards,
Yogita
Hi,
I am using ACC_DOCUMENT01 for inbound idocs.
I need to read value of one of the idoc segments for example, E1BPACEXTC and during inbound update/populate some custom fields on BSEG table.
Do you know if there are any user exits to handle this scenario? if SAP doesnt provide any userexits, then what are other options to achieve this functionality.
Thanks for help !
Best regards,
Yogita
2010 Oct 21 9:03 PM
hello,
Check the function module is fired with message type to create IDOC...
In that try to find subroutine where it is filling entries for EDIDD
SAP provides user exit for each segment entries, you can able to find suitable user exit in that routine
Thanks
2010 Oct 21 9:30 PM
Since it is calling internally the BAPI BAPI_ACC_DOCUMENT_POST and you want to update custom fields there are two ways.
1. Best is implement BADI INVOICE_UPDATE to pass custom fields to ACCIT.
2. Create substitution for the same.
Nabheet
2010 Oct 22 7:00 AM
There are two ways to do this.
1) You can use Business transaction event RWBAPI01. Refer to this Wiki post more information. [Business Transaction Event - RWBAPI01 - For Accounting Document Interface |http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=195726664].
2) You can create implementation for BADI: ACC_DOCUMENT.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |