Skip to Content
author's profile photo Former Member
Former Member

Question for Enhancement MWMTO001

Dear ABAP experts,

I am Functional consultant & erquest you to kindly help me.

We are doing a enhacement using SAP STD enhancement MWMTO001 Enhancements for end of transfer order generation this comes under SMOD;

and this has component Function module in it EXIT_SAPLL03T_001, User Exit at End of TO Creation (in Update Task).

When I double click on this function module it is having below code

FUNCTION EXIT_SAPLL03T_001.

*"----------------------------------------------------------------------

*"*"Globale Schnittstelle:

*" IMPORTING

*" I_LTAK_VB LIKE LTAK_VB STRUCTURE LTAK_VB

*" TABLES

*" T_LTAP_VB STRUCTURE LTAP_VB

*"----------------------------------------------------------------------

INCLUDE ZXLTOU01.

ENDFUNCTION.

and the include ZXLTOU01 is also having somme code and it is also active

*&---------------------------------------------------------------------*

*& Include ZXLTOU01

*&---------------------------------------------------------------------*

* Program Name : IDOC Extension for WM Information *

* Item Confirmation *

*&---------------------------------------------------------------------*

* Only for Japan Wharehouses

IF i_ltak_vb-lgnum(2) EQ 'JP'.

DATA: l_zsyst TYPE t327a-zsyst.

LOOP AT t_ltap_vb.

CLEAR l_zsyst.

SELECT SINGLE zsyst

INTO l_zsyst

FROM t327a

WHERE lgnum EQ i_ltak_vb-lgnum

AND vltyp EQ t_ltap_vb-vltyp

AND nltyp EQ t_ltap_vb-nltyp.

* Only Execute for This Partner Profile

* SVF Forms

IF l_zsyst EQ 'WM001LJP'.

UPDATE ltap SET kzsub = ''

WHERE lgnum EQ i_ltak_vb-lgnum

AND tanum EQ t_ltap_vb-tanum

AND tapos EQ t_ltap_vb-tapos.

ENDIF.

ENDLOOP.

*

ENDIF.

I have created Functional specs but unfortunately our ABAP team is not good enough to catch it. Meaning they are asking me what ahould be the break point etc more technical things that I am not aware.

Can you please help me to point out where we put a breakpoint so that it can stop while saving the transfer order.

Appreciate your Help

Kind Regards

Hiren Panchal

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on May 15, 2015 at 03:45 PM

    Hello Hiren,

    Matter is not really where to put the breakpoint.

    The place would be "IF i_ltak_vb-lgnum(2) EQ 'JP'." and it must be an "external" breakpoint because it seems that your function is called in update task.

    To be able to stop on it, they must activate "update debugging", that is accessible in debug mode at this place:

    In most of SAP transaction, part of processing are managed in update task (asynchronous parallel process). When you activate this kind of debug (update debugging), at database commit, a debugger window will appear and then you will be able to stop at external breakpoints using F8 key...

    Please advise they to read more about update task, update debbuging and SM13 transaction.

    I hope my explanations are clear and not too technical...

    Regards


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.