Skip to Content
author's profile photo
Former Member

User exit in BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'

Hi,

I am looking for an user exit where I can write few validations and throw an error message using return table to the calling external system.

This bapi 'BAPI_SALESORDER_CREATEFROMDAT2' would be called from an external systems with required inputs. The requirement is I need to validate the inputs and throw an error message back to the external system.

Thanks in anticipation.

VK.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Jul 12, 2007 at 08:11 PM

    HI,

    Probably copy the BAPI and create a new Z BAPI and do all your validations there

    THanks

    Naren

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 21, 2007 at 05:37 PM

    Hello,

    I am trying to trigger IDOCs through VOFM routines when we cancel sales orders. I did develope a VOFM routine 901 and when a put a break point, the control is stopping at the break point in my VOFM routine, but not generating an IDOC even if sy-subrc = 0.

    Can any one please throw some light on this.

    Thanks,

    VK

    Add comment
    10|10000 characters needed characters exceeded