‎2020 May 06 11:50 PM
I am using BAPI_SAG_CREATE to create scheduling agreement in S/4. Even if i give an item number as 00001 , 00002 etc it takes the number as 10 and created the document. I need the item number to be '2'. (just one item created but the item no is 2)
How can i do that, how can i assign my own item nos?
thanks in advance.
‎2020 May 12 4:15 PM
Hi bhakti64
In your document's header definition please put the Item Interval value as 1.
DATA:
ls_head TYPE bapimeoutheader,
ls_headx TYPE bapimeoutheaderx,
ls_head-item_intvl = 1.
ls_headx-item_intvl = 'X'.Hope this helps.
regards,
Mateusz