Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User exits for ACC_DOCUMENT01

Former Member
0 Likes
2,087

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

3 REPLIES 3
Read only

Former Member
0 Likes
1,297

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

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,297

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

Read only

Former Member
0 Likes
1,297

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.