Skip to Content
author's profile photo Former Member
Former Member

how to modify Tender Contract using BAPI_TRADINGCONTRACT_CHANGE?

Hello dearest ABAP experts,

Good day to all.

Its been so long that I am testing how I could use this BAPI (BAPI_TRADINGCONTRACT_CHANGE) to update the batch in the item of the Tender Contract. I tried to search the net but no samples I had found. I read the documentation of this BAPI but no to avail I found a sample code to use. I tried by myself to pass items such as the table ITEMDATAIN and ITEMDATAINX where batch field is located. But to my dismay, I ended into an error on the RETURN table. The error is "Maintain external number for trading contract". When I check the Tender Contract, the field TKONN_EX is filled up. Even I debug the BAPI itself, this field TKONN_EX has a value.

I am not sure if I missed something to pass into the tables. Here are the inputs I passed:

Import Parameter

TRADINGCONTRACTNO = 10000190

Tables

ITEMDATAIN = item No ("00010)

batch ("12345678CL")

ITEMDATAINX = item No ("00010)

batch ("X")

Any suggestions are much appreciated.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2011 at 04:23 AM

    I solved it now. Thanks to all. Use extensionin table.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2011 at 04:23 AM

    closed

    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.