Skip to Content

Change the contract

Hello

I need to create a new item/s to an existing contract (online its VA42 tx), so i am trying to use the 'BAPI_CONTRACT_CHANGE' and 'BAPI_CUSTOMERCONTRACT_CHANGE' BAPIs, but i stucked at

1) For Item: which is the correct field and structure for passing Billing Start Date and Billing End Date

2) in this perspective i tried tables param 'CONTRACT_DATA_IN - CON_ST_DAT' and 'CONTRACT_DATA_IN - CON_EN_DAT' is it correct? then am gettign an error saying 'Pls. pass the date rule'? what is this? i guess its/system is not asking to pass user date format (MM/DD/YYYY, DD.MM.YYYY), its some thing else

3) For Item: which is the correct field and structure for passing a new condition (in VA42, we normally enter by just gng to conditions tab and we add a new condition)?

Thank you

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 14, 2012 at 05:11 AM

    Hii,

    Just try by passing date in below FM

    CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'

    EXPORTING

    date_external = CONTRACT_DATA_IN - CON_ST_DAT

    * ACCEPT_INITIAL_DATE =

    IMPORTING

    date_internal = CONTRACT_DATA_IN - CON_ST_DAT .

    Regards,

    Ashwath

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.