Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Isuue BAPI_CONTRACT_CREATE with ITEM_NO number

0 Kudos
755

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!

3 REPLIES 3

Jelena_Perfiljeva
Active Contributor
0 Kudos
363

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.

0 Kudos
363

try to use parameters:

ls_header-ITEM_INTVL = '00001'

ls_headerX-ITEM_INTVL = 'X'

0 Kudos
363
use the bapi parameters, it was proved:

header-item_intvl = '00001'.
headerx-item_intvl = 'X'.