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 exit during fi document creation through iDoc

Former Member
0 Likes
2,959

Hello Friends,

iDocs have been implemented to create invoice documents. These are triggered by the SRM system and sent to R/3. Manually these are done with F-02. I want to add text to certain line items in the document created by iDoc. I tried to do this using BTE processes 1012 and 1030. None of these worked. What kind of user exit or BTE can I use and how?

Thanks in advance.

Ali

Hello Friends,

iDocs have been implemented to create invoice documents. These are triggered by the SRM system and sent to R/3. Manually these are done with F-02. I want to add text to certain line items in the document created by iDoc. I tried to do this using BTE processes 1012 and 1030. None of these worked. What kind of user exit or BTE can I use and how?

Thanks in advance.

Ali

8 REPLIES 8
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,941

What do you mean by "None of these worked", how did you try to add the texts actually ?

Regards,

Raymond

Read only

0 Likes
1,941

The BTEs did not work. I implemented BTEs for processes 1012 and 1030. These seem not to get called during iDoc.

Read only

0 Likes
1,941

Sorry. It is 1120, not 1012.

Read only

0 Likes
1,941

Hi Ali,

Maybe You can look for validations and substitutions in tcode "GGB0" and "GGB1".

Please see the link below for substitutions using GGB1

http://wiki.sdn.sap.com/wiki/display/ERPFI/Creating+user+exits+for+substitutions

Hope this helps

Do revert back in case of any issues

Read only

Former Member
0 Likes
1,941

Hi Ali,

I am currently facing a similar issue.

Did you manage to get the BTE working for the document creation through iDoc? If yes, how?

Thanks a lot in advance,

Miguel Angel.

Read only

0 Likes
1,941

I have found the issue...

BTE 1030 is not triggered during the idoc posting (ACPAY).

I am using BTE 1050 now and everything works fine.

Regards,

Miguel Angel.

Read only

Former Member
0 Likes
1,941

As you are using idocs you can try creating the text using exits in idoc processing function module. For example if your inbound process code is pointing to function module "IDOC_INPUT_INVOIC_FI", then search for user exit in this function module.

Read only

0 Likes
1,941

Hi Mrugesh,

The function module used in my inbound process (Idoc ACPAY) is "IDOC_INPUT_ACLPAY".

I've already found a solution using another BTE (1050).

Anyhow, thanks a lot for the answer.

Regards,

Miguel Angel.