‎2006 Nov 14 4:16 PM
Hi all,
I'm trying to run BAPI "BAPI_AGREEMENT_MAINTAIN" to create contract.
If we run the TCODE me31k the required field for BAPI creation are as below:
1. vender
2. Agreement Type
3. Agreement Date
4: Purchase organization
5. Purchasing group
6. validity end
7. target number:
8. Material Number.
when I'm trying to run the function BAPI directly with the above fields in BAPI parameter (to create a create Contract). I'm getting a message that "Make an entry in all required fields".
Can anyone let me know where I'm wrong?? or any other fields are required.
Thanks in advance.
Regards,
Bhavana
‎2006 Nov 15 7:06 AM
Hi Bhavana,
you need to pass langauge,country,currency,and address details if any then only it will be created or else it will give the same error.
you need to look into IM_AGREEMENT_HEADER , here you need to pass all those details.
pass language,country,currency, address details if any. then see...
Regards
Vijay
‎2006 Nov 15 7:06 AM
Hi Bhavana,
you need to pass langauge,country,currency,and address details if any then only it will be created or else it will give the same error.
you need to look into IM_AGREEMENT_HEADER , here you need to pass all those details.
pass language,country,currency, address details if any. then see...
Regards
Vijay
‎2006 Nov 15 7:23 AM
Thanks for your response Vijay,
I've given all these details but I'm still getting the same error message.
I think problem is related with table entries of "IMT_AGREEMENT_ITEMS".
Can you please let me know which are the required field except material number and plant I need to give here.
Thanks,
Bhavana
‎2006 Nov 20 4:24 AM
Hi all,
Is "BAPI_AGREEMENT_MAINTAIN" the correct BAPI for creating a contract via ME31K?????
Regards,
Bhavana
‎2007 Apr 27 2:54 PM
Hello Bhavana,
I'm trying to create contract with this BAPI and I receive the same message as yours.
Do you finally find a solution?
Regards.
Valerie