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 at f-02

Former Member
0 Kudos

Hello I need an exit at FI document posting where I can get the FI document number. (BKPF-BELNR). While creating the document, the substitution exits are not satisfactory because the doc. no. is not given yet. So what can I do to write to an external Z table the new FI document number.

Thanks for all advices in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Max, thank you for your help.

But would you mind if I ask further about BTE's?

is there any guide that you can suggest?

I entered into FIBF and saw the lovely 00001030, but what should I do then?

Shall I write my own function module and add to the table BF31 ?

-


Hi

U can use the BTE 00001030 (trx FIBF), this exit is triggered just before posting the document, here the system has just given the number.

Remember if you need to update a your table you should use a process in UPDATE TUSK.

Max

10 REPLIES 10

Former Member
0 Kudos

Check with below user exits :

GLFLEX01 User Exits for the Flexible General Ledger

GLFLEX02 Flexible General Ledger: Data Summarization at Co.Code

GLFLEX03 Enable Overwrite of Existing Account Assignments

GLMAST01 Enhancement for Master Data - ALE G/L Accounts

GLPLAN00 Enhanced authorization and master data validation

GLX_MD01 Customer-specific user exits

GLX1028 User exit for BAPI_GLflex_GetDocItems (EXIT_SAPL1028_00

Thanks

Seshu

Former Member
0 Kudos

Hi

Check for any BTE's(Business Transaction Events). These are generally call to function modules with the name

OPEN_FI

Regards

Shounak

Former Member
0 Kudos

Hi

U can use the BTE 00001030 (trx FIBF), this exit is triggered just before posting the document, here the system has just given the number.

Remember if you need to update a your table you should use a process in UPDATE TUSK.

Max

Former Member
0 Kudos

Hi Max, thank you for your help.

But would you mind if I ask further about BTE's?

is there any guide that you can suggest?

I entered into FIBF and saw the lovely 00001030, but what should I do then?

Shall I write my own function module and add to the table BF31 ?

-


Hi

U can use the BTE 00001030 (trx FIBF), this exit is triggered just before posting the document, here the system has just given the number.

Remember if you need to update a your table you should use a process in UPDATE TUSK.

Max

0 Kudos

Hi

U can read the documentation of BTE (trx BERE), I believe you should find all information you need.

Anyway you need to create a copy of fm SAMPLE_INTERFACE_00001030 and insert the code to update your Z-TABLE.

Then u have two options:

- A) Assign your fm to event 00001030 by trx BF31

- B) Create a your own prduct by trx BF24, then assign your fm to event 00001030 and your product.

I prefer the soultion B because it allow to create several products and use the event for several and different situations, the solution B allows to use the event just one time.

Max

Former Member
0 Kudos

HI,

Check this link for step by step process to implement BTE.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef...

THanks

Naren

Former Member
0 Kudos

Thank you very much for your efforts.I got it, but the last small question to ask, I just checked and this 1030 is working for document posting, but I also want to use the exit for document parking as well. Do you know any BTE also for parked documents number?

Former Member
0 Kudos

Hi again Max, thank you very much for your help,

I got, how to use 1030 thanks very much, but if you don't mind I have another question. I also want to use this exit for document parking. this bte 1030 is not working for parking, is it? (I checked but it did not enter.) Do you know anyone useful to grab the parked document number as well?

0 Kudos

Hi

Excuse me but I was at home

Anyawy I've used another BTE (just like the 1030) to get the document number: 1050.

The 1030 seems to be triggered only the document is posted directly by FI, the 1050 is triggered when a fi document is posted by MIRO.

Max

Former Member
0 Kudos

Hi Max,

thanks for returning.

in fact, I still use f-02 or finance posting but I do not save the document and create an FI document, however I use "park document". I creates another document number, and I want to get that document number. 1030 is very useful in document saving at f-02, however at this situation I need an exit or DTE which works for "document parking" as well. If you have further knowledge, I would like to hear otherwise don't care no problem. Good bye.