Application Development 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: 

User exit for FB60 after POSTING the Document.

Former Member
0 Kudos

Hi,

I have requirement with FB60 transaction where i have to display the error message to the user if the amount of the invoice is greater than some threshold value( this will be maintained in the custom table) to park the document .

I have created project with enhancement SAPLF051 using the exit EXIT_SAPLF051_002 it is triggering only when parks the document .

But my requirement is i need an enhancement which trigger after user posts the document.

Please help me...

regards

paveee.....

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Following are the available user exits for fb60 transaction...

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 sen

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

FEDI0001 Function Exits for EDI in FI

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)

If you still not find appropriate exit, go for badi's...

1)To search for a badi, go to se 24 display class cl_exithandler.

2) double click on method get_instance,

3) get a break point on case statement. execute and start the required transaction in new session.

4)look for variable exit_name. It would show the available badi's.

<b>Please do reward if useful</b>

Regards

Dinesh

7 REPLIES 7

Former Member
0 Kudos

Hi

Following are the available user exits for fb60 transaction...

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 sen

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

FEDI0001 Function Exits for EDI in FI

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)

If you still not find appropriate exit, go for badi's...

1)To search for a badi, go to se 24 display class cl_exithandler.

2) double click on method get_instance,

3) get a break point on case statement. execute and start the required transaction in new session.

4)look for variable exit_name. It would show the available badi's.

<b>Please do reward if useful</b>

Regards

Dinesh

Former Member
0 Kudos

Hi,

go to se18 transaction and use the BADI name GLT0_AFTERSPLIT_VAL.

Use the Method VAL_EXECUTE and pass parameters which is specified for this method.I have used previously this BADI while posting documents for FB60 ,FB01,i should raise an error message for my requirement

Check this BADI,may be helpful for you.

Thanks.

Regards

s.anilkumar

0 Kudos

Hi anilkumar ,

Thanks for response.

I saw that BADi definition in SE18. But i am not getting how to use it in my program.

My requirement is I have to check the amount field value( in FB60) against the threshold value ( that will be maintained in the custom table) . if the value entered in the FB60 transaction is greater than the value in the custom table then i need to raise an error message saying that please park the invoice with some message text.

how i have to achieve this functionality with ur BADI.

Please can u help me in putting some sample program.

full points will be awarded.

regards

paveeeee.

0 Kudos

Hi anil.

I have created the implementation for the BADI GLT0_AFTERSPLIT_VAL. and i checked whether this BADI is getting triggered when we are posting the document in FB60,

But .posting in FB60 is not stopping at the breakpoint.

Do u have any suggestions.

regards

Paveee

0 Kudos

Hi

Try the BTE 1030 (trx FIBF): it's triggered when a document is posted

Max

0 Kudos

Hi max,

Can u help give me giving more details how to use this BTE for my requirement .

( my requirement is i have raise an error message when the amount value in the FB60 is more than Valuex ( this will be maintained in the custom table ).

Please help me ...Points are sure....

regards

paveeeee

Former Member
0 Kudos

Hi,

All FI transaction you can check in this enhancement F180A001, which almost stops for all transaction.

List of Userexits for FB60

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)

FEDI0001 Function exits for EDI in FI

<b>Reward points</b>

Regards