cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with BADI SAP TM IntracompanyTransportationRequestRequest_In

Former Member
0 Kudos

Hi SAP TM Specialist;

 

We are trying to enhancing our DBTR (TM side) and we are dealing with the BAdI for “IntracompanyTransportationRequestRequest_In” and this is because it seems that the system doesn’t go throw it.

  • We have an ECC – PI – TM integration (Delivery Based Transportation Requirement)
  • we have implemented the BADI with the “Change Method” and write a “Break point” in it.

And the SXMB_MONI specify that the receiver is the same with the BADI

But After creating the Order -> Delivery in ECC TM is still processing it and the DBTR is created, it seems that the system is not reading the breaking point…

Do you know if something change in this TM BADIS implementation?

Am I doing something wrong?

Thanks a lot, any comment will guide me to the light!

Best regards,

Camilo

Accepted Solutions (1)

Accepted Solutions (1)

bharath_k6
Active Participant
0 Kudos

Dear Camilo,

To my knowledge, we will not be able to debug our custom code in standard flow If you have done any custom development in the target system inbound. To do that, we have to stop the XML message processing in target system inbound and debug for further analysis.

Please find the below link which will be helpful to debug the inbound proxy.

Loading and Testing XML file using SPROXY transaction

Thanks,

Bharath.K

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks a lot for your Help!

Now we can Debugg and write into the Badi correctly.

Former Member
0 Kudos

Hello Camilo,

You´re in the right way, maybe you have to put the break for the interface user and check again.

I´ve been using this BADI a lot...

Regards, Marcelo Lauria

Former Member
0 Kudos

Hi Marcelo;

Thanks for your quick response, we tried your recomendation but despite it the system is processing the Delivery.

First we put the break point in the program

After your recomendation we put it for the PI user.

Where do we need to debbug the program?

In TM throw the SXMB_MONI? in PI?

In a different program?

Thanks a lot!

Best Regards,

Camilo

Former Member
0 Kudos

Hello Camilo,

Is this the user connection between PI and TM?

For debug, you need to start the process in ERP and when the break is reached, a new window will be opened, just like any other debug(you dont need sxi_monitor...).

I hope this helps.

Regards, Marcelo Lauria

Former Member
0 Kudos

Dear Camilo,

We generally follow below steps for Integration debugging.

1.U need to Deregister respective respective queue from ERP side from Transaction SMQR in SAP TM.

2.Then process ur transaction in ECC.

3. Keep debugger in above method.

4. Message Queue will stucked in SMQ2. In SMQ2 you will see the option to debug inbound message.

[Removed by Moderator]

Thanks and Regards,

Kalpesh

Message was edited by: Michael Appleby