I have a requirement to create contracts (ME31k) in background. For this purpose I am using BAPI_AGREEMENT_MAINTAIN. However I am not able to successfully create contracts in background using this BAPI. This bapi contains BDC recording for ME31K and has recoding for a particular field
EKPO-APOMS. But this field does not exist anywhere while we are creating contracts directly through ME31K. This field is present in Additional Data of Items (materials) screen while using ME31L transaction.
Any help regarding this matter will be highly appreciated and rewarded.
Thanks and Regards,