09-28-2011 11:57 AM
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.
09-30-2011 5:23 AM
09-30-2011 5:23 AM