SAP for Retail Discussions
Join conversations about personalization, omnichannel strategies, and operational excellence in retail using SAP for Retail software.
cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc_WPUUMS

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

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

I hope this helps you

Regards

Eduardo

View solution in original post

4 REPLIES 4

Former Member
0 Kudos

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

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

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

I hope this helps you

Regards

Eduardo

0 Kudos

Thanks Eduardo. The Note is really helpful.

Former Member
0 Kudos

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.