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

Problem when error message in exit Save document prepare(MV50AFZ1) on PGI

Hi,

I am using USER_EXIT_DOCUMENT_PREPARE for throwing error message during PGI. The error triggers properly, But after that if I press enter button, The program ends with an ABEND error 'Risk of posting several mat.documents for one delivery->long text'.

If anyone come across with this please help me.

Thanks in Adv.

Regards

Nishad

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Nov 18, 2005 at 10:35 AM

    Hi,

    May be you are clearing the existing details before you are triggering error.

    Check any data from tables like VBAP, VBAK is being cleared in you exit.

    Can you please put the code in your post?

    Thanks,

    Ramakrishna

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 16, 2020 at 12:13 PM

    Hi,

    Just implement the BADI LE_SHP_GOODSMOVEMENT, and populate the ct_log parameter with the error message in the implementation class method IF_EX_LE_SHP_GOODSMOVEMENT~CHANGE_INPUT_HEADER_AND_ITEMS. It perfectly works, without any issues.

    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.