Iam trying to create a contract using 'BAPI_CONTRACT_CREATEFROMDATA'.
iam populating header with document type,sales org,division and distribution channel.iam also populating CONTRACT_HEADER_INX for respective fields.
iam populating item with item number, material, high level item and target quantity.
for partner iam populating partner role as SP-ship to party, partner no.
i did use BAPI_TRANSACTION_COMMIT.
its giving an error saying enter ship to or sold to party.
iam working on 4.6c version.
is there any other BAPI or FM to do this?if not could some one help me in sorting this out please.
thank you very much.