10-15-2013 6:54 PM
Hi all,
I need to find an enhancement at the time the document is already in database,
could you help me with that?
I tried BTE 00001030 but the info is not in BKPF, BSEG, etc.
Thanks in advance!
10-16-2013 12:49 AM
Hi,
Can you explain your requirement in more detail? Why do you want to query database during posting of same document?
Thanks,
Vinod
10-16-2013 12:49 AM
Hi,
Can you explain your requirement in more detail? Why do you want to query database during posting of same document?
Thanks,
Vinod
10-16-2013 12:55 AM
According to some validations when a document is posted through F-28 I'm gonna send a .txt file with some data related to the document, and I also need to insert a row in a Z table.
Did I explain myself?
10-16-2013 1:08 AM
Hi.
Then, I would suggest to call your logic in a UPDATE TASK Z-FM in the same BTE you are using. Update tasks are executed after the transaction commit happens. So, it ensures that posting is complete before executing your logic.
Thanks,
Vinod.
10-16-2013 1:20 AM
I tried that but I got a dump with CALL_FUNCTION_NO_VB =/
Do I need to do something extra in order to call my Z function in UPDATE TASK?
10-16-2013 1:23 AM
Hi,
Yes. FM should be defined as an UPDATE FM and call should be like CALl FUNCTION 'z fm name' IN UPDATE TASK. Please change the FM attributes in SE37.
Thanks,
Vinod.
10-17-2013 5:14 PM
01-08-2024 5:08 PM
Can you please tell me which BTE from1030 have you used for this requirement I have same requirement to update custom table on posting the invoice with invoice and clearing document details. Please help me .
Please let me know if any details required
10-17-2013 1:54 PM
Hii,
Set a break point at BF_FUNCTIONS_FIND function module and then execute the transaction F-28, all
BTE's related to it will be called in the FM.
Regards,
Haresh.