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

BAPI_SALESORDER_CREATEFROMDAT2 - BAPE_VBAP enahancements - Additional data

Hi to all,

I'm creating Sales Order by using BAPI_SALESORDER_CREATEFROMDAT2. I need to add custom field in additional data B Item .

In BAPI there is a property structure "extensionin" to fill. I've also extended with append structure the table VBAP and the

structure BAPE_VBAP and BAPE_VBAPX.

Please note the in VBAP the fields are in currency domain while in BAPE_VBAP are CHAR.

The fields in the order aren't filled. Can anyone tell me why ?

Thanks in advance

Andrew

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 14, 2011 at 08:56 PM

    Hi Andrew_70,

    fields must be customized as editable - otherwise BAPi will refuse to fill them.

    Regards,

    Clemens

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 15, 2011 at 03:10 AM

    Andrew,

    Can you please post the code how are you filling Extension tables in BAPI ? I guess you must be missing something there.

    Also, is there any constraint to have BAPE_VBAP also have same data type (CURR) as it is in VBAP. I guess it should be ideally same.

    BR,

    Diwakar

    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.