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

Add Lines to Fi Document

Former Member
0 Likes
1,393

Dear Experts

I have to add extra lines to an Fi document to recuperate VAT.

I manually insert one line in FB60 with tax code Z4.

This is done in the sap business transaction event, in more detail, function Z_PROCESS_00001140 that is linked to process 00001140.

But when I add lines with a different TAX code (0%) I receive following message

Error in assigning the tax group!

This error is raised in the function CREATE_BSET_ITEM where SAP updates bseg table, where is filles out the tax group, based upon a table bset. Tax Data Document Segment. This is only populated with tax code Z4.

does anyone has an idea what I'm doing wrong?

best regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
995

Hi,

i think it's possible via table TRWPR and an

appropriate function module but it's hold for a modification by SAP.

other possible solutions:

- user exit ?

- interface ( e.g. Intranet-appl. / excel)

and posting via RFBIBL00 / BAPI

<b>*Reward points</b>

Regards

4 REPLIES 4
Read only

Former Member
0 Likes
996

Hi,

i think it's possible via table TRWPR and an

appropriate function module but it's hold for a modification by SAP.

other possible solutions:

- user exit ?

- interface ( e.g. Intranet-appl. / excel)

and posting via RFBIBL00 / BAPI

<b>*Reward points</b>

Regards

Read only

0 Likes
995

Hi

TRWPR: this should be investigated by a functional person? I will show this to him..

Do you know a user exit I could use, where I can manimulate the taxcodes?

Read only

0 Likes
995

Hi,

Transaction Code - FB01 Post Document

Exit Name Description

F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment

F050S002 FIDCC1: Change IDoc/do not send

F050S003 FIDCC2: Change IDoc/do not send

F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send

F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document

F050S006 FI Outgoing IDoc: Reset Clearing in FI Document

F050S007 FIDCCH Outbound: Influence on IDoc for Document Change

F180A001 Balance Sheet Adjustment

FARC0002 Additional Checks for Archiving MM Vendor Master Data

RFAVIS01 Customer Exit for Changing Payment Advice Segment Text

RFEPOS00 Line item display: Checking of selection conditions

RFKORIEX Automatic correspondence

SAPLF051 Workflow for FI (pre-capture, release for payment)

<b>*Reward points</b>

Regards

Read only

Former Member
0 Likes
995

I checked these but I think they are not relevant for me.

Do you know why I press simulate, I go into the routine of z_process_0001140, but when returning I my FB60 transaction, no lines are added..

When I park I do not go into the process.

I should think that I go also in the z_process_0001140