Skip to Content
avatar image
Former Member

How to through customized error into log when PGI is performed in delivery

Hi Gurus,

When I click on Post Goods Issue(PGI) button in VL02n, If delivery contains any errors, It stops the PGI process and write the errors into log.

In my case I want to through custimized message into error log when PGi is performed.

Is there any FM that can be used to do so.

Can anybody help me regarding this.

Regards,

Ravi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 22, 2008 at 06:05 AM

    Hi Ravi ,

    try BADI LE_SHP_GOODSMOVEMENT-->and see its documentation.

    regards

    prabhu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Here I am using the User exit, SAVE_DOCUMENT_PREPARE.

      I want to throw an error message when PGI is performed in Background through any transactions like VL23.

      After throwing the error message PGI needs to be stopped. I am able to throw the error message but not able to stop PGI.

      Any suggesions, Please

      Regards,

      Ravi

  • avatar image
    Former Member
    Oct 20, 2008 at 08:23 PM

    Thanks guys, Automatically system will write to the log.

    Sy-batch condition should be at the top always.

    Regards,

    ravi

    Add comment
    10|10000 characters needed characters exceeded