Skip to Content

Can I use a user exit when create documents via BAPI

Hello my dear ABAP Guru´s

I'm a functional SD consultant and have the doubt about how can use a User Exit when create Sales Order using a BAPI?

the user exit will change the CeBe in each material, according reading from a Z table.. but the cretation of the sales order are created using the BAPI /AFS/BAPI_SALESORD_CREATEFDATA

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 25, 2016 at 10:55 PM

    You don't mention what user exit you are planning to use but as long as the user exit is not part of the screen handling, e.g. called in PAI/PBO, you should be fine. I am assuming here that the module specific BADI you mention calls the standard BAPI_SALESORD_CREATE_FROM_DATA/1/2 internally.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 26, 2016 at 04:11 AM

    Hi Dave,

    Please put the break point at required user-exit and try to create sales order using BAPI ,if break point triggers you can use that user exit otherwise not.

    Thanks.

    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.