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

My USEREXIT is not updating MSEG table

Hello,

I am trying to use a userexit to modify a value from table MSEG, the exit is passing 3 tables (including MSEG under TABLES parametes), and there is no IMPORT neither EXPORT parameters.

I have changed one of the fields from MSEG but as soon as I leave the exit the field lost the value assigned.

The strange thing is if I set a break-point in the exit it does not stop!!!!!!

I know is passing and executing my code because for purposes of testing I have exported to a cluster table and it's executing it.

Any idea? Should I need BADIs or BTE?

Thank you!

Add a comment
10|10000 characters needed characters exceeded

Related questions

7 Answers

  • Posted on Jun 11, 2005 at 11:45 PM

    Hi,

    Which user-exit do you use ?

    Krzys

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2005 at 05:14 AM

    If the user-exit is for checking purpose only (see the description of user-exit) then you can't change values there.

    It will only be used for raising errors and exceptions.

    you might need to search for another user-exit or BADI where you should be able to change the values.

    You might pass the values from one exit to other though by using global varibales of Z Function Modules created within the same function group but called from different user-exits.

    Cheers,

    Ram

    Message was edited by: Ram Manohar Tiwari

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2005 at 06:34 AM

    HI

    what type of use-exit you are using like field-exir or menu-exit .

    if you r using the field-exit then you can not use the break-points and many other statements.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2005 at 07:17 AM

    HI,

    In case your break-point doesn't work,

    genarate the project in 'CMOD'.

    You must generate the program, the function-group an the

    project itself.

    If You only modify the include using SE38 it won't work!

    BR

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2005 at 09:39 AM

    Hello,

    Some of the relevant user-exits are called in the update task, which is probably why you can't use your breakpoint.

    You say you are receiving table parameters. Table parameters can be changed, however this change might not be relevant to the flow of the calling programs - your user-exit might be for checking/logging purpuses etc. If you can change the parameters you maybe forgot to use the keyword MODIFY or something like that...

    See the documentation for your user-exit for details.

    Regards, Joerg

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 13, 2005 at 11:25 AM

    P000925:

    Please activate Userexit include and main program If it is not. Still it's not stoping at your break-point that means your userexit is not in the <b>Dataflow</b> of that <b>transaction</b>. Please give more details which userexit,transaction and so on.

    Regards

    Suresh Babu Karanam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2005 at 11:49 AM

    Please post your query with more precise descriptions of what you need to know.This will help one and all to help you out...

    For example in your question :

    1.You need to mention the exit in which you are trying to code.

    2.Check for the Documentation before posting your question.

    3.If your code is executing properly then the break-point should reach the code at all conditions.Use update debugging mode if it doesnt work in the normal way.

    4.You have to anlayse carefully and then only look for secondary options if the primary option is not working.

    Take these tips and keep them in mind before you post any question...

    😉

    Nishanth

    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.