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

Idoc_WPUUMS

Hi All

I have a requirement where in I need to validate the article in WPUUMS idoc.

Ex: If there are 10 articles in the Idoc and 1 article has an error (no stock), the system posts the idoc in status 51 but successfully create the billing document and article document for the 9 articles.

My clients requirement is to push the complete idoc in error, that is, no billing/article document to be created even for the article which has no issues.

Can we validate an Idoc and if any issue with article in the idoc - fail the complete idoc.

Kindly suggest ways to handle this scenario.

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 04, 2012 at 03:44 PM

    Hi

    Please, see SAP Note 1575843 - BAdIs for the POS inbound processing.

    I hope this helps you

    Regards

    Eduardo

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2012 at 07:48 AM

    Hi Shobhit,

    Change the idoc setting to not to post idoc immediately and you can use custom code which will process the idoc and there you can put a logic to fail the idoc if any one articles fail .

    Hope this helps

    - A M

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2012 at 12:10 PM

    Hi Shobhit,

    You can use any of the below mentioned user exits

    • EXIT_SAPLWPUE_110: IDoc WPUUMS01 Before Posting

    

    • EXIT_SAPLWPUE_112: IDoc WPUUMS01 Before Inbound Processing

    Also please refer to the above Note given by Eduardo for a detailed list of BAdIs that can support your requirements.

    Hope it helps

    BR,

    Aram.

    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.