2006 Aug 16 11:52 PM
Hi All,
I am creating contract using BAPI <b>BAPI_CONTRACT_CREATEFROMDATA</b> for VA41. It contract created fine, but only issue is Its not populating <b>CONTRACT START and CONTRACT END</b> dates on header. Do anyone know which field I should be filling in CONTRACT_HEADER_IN to update this fields.
Thanks in advance.
Regards,
Tim
2006 Aug 16 11:56 PM
Hi, please try filling CONTRACT_DATA_IN and CONTRACT_DATA_INX. If you look at the structures, they do resemble fields in the VEDA table.
Remember, these are TABLES parameters, so you will need to APPEND to the table before passing to the BAPI.
Regards,
RIch Heilman
2006 Aug 16 11:56 PM
2006 Aug 16 11:57 PM
2006 Aug 17 12:10 AM
Hi Rich,
YES! I did try CT_VALID_F and CT_VALID_T update along with CONTRACT_HEADER_INX. It updates date fields in table VBAK, but contract start/end dates are in table VEDA. Thanks for your reply.
Regards,
Tim
2006 Aug 17 12:20 AM
2006 Aug 17 12:34 AM
Rich,
Thanks I did go thru "CONTRACT_DATA_IN" fields, but i am unable to find any contract related date. Thanks for that.
Regards,
Tim
2006 Aug 17 12:36 AM
2006 Aug 17 1:09 AM
Hi Rich,
Apologies! YES you are right CONTRACT_DATA_IN/CONTRACT_DATA_INX need to be filled. I got mixed up with CONTRACT_ITEMS_IN. Thanks a lot it works fine.
Regards,
Tim
2006 Aug 17 1:10 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |