‎2006 Aug 10 3:26 PM
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
‎2006 Aug 10 4:39 PM
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
‎2006 Aug 10 4:39 PM
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
‎2006 Aug 10 5:22 PM
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