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

about gl posting

Former Member
0 Likes
464

Hi!

I have a question on postings to the G/L. I have seen that one can post through transaction fb50, and perhaps other fb* transactions.

However I know other modules such as SD, MM etc do automatic posts to G/L.

Do these modules use the fb* transactions through "CALL TRANSACTION" statements?

Reason I want to know is i want to use a user exit in fb50 for sending out an Idoc upon every posting.

Regards,

Cenk

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
430

Hi Cenk,

it's wide question. I try some suggestion:

1. Transactions are the the visible parts of underlying programs. The same program usually drives many transactions. I.E. the program SAPMF05A runs a lot of transaction (including FB50);

2. G/L posting is triggered from other modules in many way, that is, finally, the meaning of an ERP system. Tecnically the calls don't occur with CALL TRANSACTION instruction but rather via Funtion module and update tasks;

3. Check accurately the requirements before insert code into standard transaction, even if in user-exit or validation. You have to be extremely aware of what should occur (is the user saving, or simply simulate, or park the document? Can the saving abort for other reason?) You really need a procedure starting from on-line transaction driven by the user, or you can work with batch processes?

...and so on

2 REPLIES 2
Read only

Former Member
0 Likes
431

Hi Cenk,

it's wide question. I try some suggestion:

1. Transactions are the the visible parts of underlying programs. The same program usually drives many transactions. I.E. the program SAPMF05A runs a lot of transaction (including FB50);

2. G/L posting is triggered from other modules in many way, that is, finally, the meaning of an ERP system. Tecnically the calls don't occur with CALL TRANSACTION instruction but rather via Funtion module and update tasks;

3. Check accurately the requirements before insert code into standard transaction, even if in user-exit or validation. You have to be extremely aware of what should occur (is the user saving, or simply simulate, or park the document? Can the saving abort for other reason?) You really need a procedure starting from on-line transaction driven by the user, or you can work with batch processes?

...and so on

Read only

0 Likes
430

I see that a batch process or online driven transaction could do this.

How is it normally done when an Idoc message is to be sent upon a G/L posting? Message Control? Can output determination generate the preferred Idoc type (ACC_GL_POSTING)?

/Cenk