cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to deactivate Automatic FU Building in HANA TM ?

0 Kudos
1,579

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.

Accepted Solutions (0)

Answers (6)

Answers (6)

0 Kudos

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

0 Kudos

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.

0 Kudos

Hi Rafael,

Thank you for the reply.

I created the BAdI implementation for /SCMTMS/TRQ_CHECK_FUB. The BAdI is active as you can see in the screenshot, but still when create sales order the FU is getting created. I put a breakpoint in the implemented class-method, but still no luck.

Regards,

Sanket

0 Kudos

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

0 Kudos

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

0 Kudos

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