Skip to Content

Isuue BAPI_CONTRACT_CREATE with ITEM_NO number

Experts,

I put 0010, 0030 ,0040 into parameter ITEM_NO to create a contract with the BAPI_CONTRACT_CREATE ,

But the result out is item no:0010 0020 0030.

Please give me advise !Thanks!

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Jan 19, 2018 at 05:39 PM

    I guess your system is configured to assign the line numbers automatically in 10 increments, so your input is ignored and numbers are assigned according to the configuration.

    The only context where I've seen different numbers is creating a document with reference. In that case configuration can be set to preserve the original item number, if possible.

    Going forward, please ask first an SD person locally and do some analysis in your system before posting on SCN.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 25 at 12:00 PM

    try to use parameters:

    ls_header-ITEM_INTVL = '00001'

    ls_headerX-ITEM_INTVL = 'X'

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 25 at 12:01 PM
    use the bapi parameters, it was proved:
    
    header-item_intvl = '00001'.
    headerx-item_intvl = 'X'.
    
    
    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.