on 01-14-2022 7:48 PM
Hi all,
we will create freight orders from an external system and I would like to know if there is a way to block this FO for billing as soon as it is saved. (S/4 Hana embedded TM)
I'm new to TM, so maybe there can be ways to do this by customization, but I did not find it.
Specifically, I think my question is related to what class/method to use in order to achieve this requirement. Maybe I could use it the save strategy.
Thanks for any help.
Paulo Café
Hi Paulo,
if you say billing block. I assume you are referring to the carrier invoicing process. There is a standard change controller method that can set automatic execution blocks, which can easily be used as a basis to build the same bevhavior in regards to invoicing blocks, with some copy&paste and code adjustments. As a prerequisit you should be aware of the change controller framework, you can find an explanation for exmaple in the TM enhancement guide linked below section 4.4:
The standard process controller method for execution blocks is called SET_EX_BLK and is mapped to /SCMTMS/CL_CHACO_METHODS=>SET_EXECUTION_BLOCK. As mentioned with minor changes to the code you should be able to create a default invoicing block via this logic, when saving the freight order.
Regards,
Emanuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Emanuel,
Your are right, I'm refferring to the block that avoids fregiht order invoicing (Freight order --> Blocking information --> Invoicing block).
As I mentioned, I'm new to TM and there is a lot of features I'm not aware of. Change controller is one of them.
But at least, now I have a direction to follow. I will take a look at the documentation.
Thank you for the answer.
Regards,
Paulo Café
User | Count |
---|---|
12 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.