on 2019 Aug 08 8:52 AM
Hi Experts,
While defining Logistics Integration Profile, the Automatic Freight Unit Building is ticked and in display only mode.
How to un-check this configuration.
Came across /SCMTMS/TRQ_CHECK_FUB, but this BADI is not triggering while saving the Sales order and the Freight units are getting created.
Any help with this is highly appreciated.
Thank you !!
Regards,
Sanket.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Rafael,
Thank you for your reply again.
I followed the steps mentioned, surprisingly the BAdI which we implemented is not getting triggered and I really wonder why ? 😞
In spro/customizing the BAdI is active and the BAdI definition also shows that the implementation will be called, any other reason it might be the BAdI might not be called ?
Regards,
Sanket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Inadditon to setting the break point in the BADI methods, you need to do the below: so that it triggers for each BADI call.
1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
2. In 'Display' mode, go to 'Methods' tab.
3. Double click the method 'Get Instance' to display it source code.
4. Set a breakpoint on 'CALL METHOD cl_exithandler=>get_class_name_by_interface'.
5. Then run your transaction.
6. The screen will stop at this method.
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
Now if the BADI is triggered correctly the implementation can be debugged.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, now I got it, the only way to do it is using BAdI: /SCMTMS/TRQ_CHECK_FUB to override this standard behavior. It extends the standard checks that the system executes to decide whether a FU or TU must be rebuilt during business document maintenance (FWO, FWQ, OTR, DTR).
Regards
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rafael,
Thank you for your response. I checked su53, there are no authorization missing .
The table which you mentioned is pointing to some other table.
Please check the screenshot below, I want to uncheck Automatic Freight Unit Building.

Please let me know if you have any answer/clue regarding this.
Regards,
Sanket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sanket,
It seems is a lack of authorization, can you check on su53, or try to open table /SCMTMS/V_TRQTY2 on se16 and change to edit mode,
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 3 | |
| 2 | |
| 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.