05-13-2013 6:37 AM
I am using abovementioned bapi to create quotation, I need to know how to specify text which is displayed under "Text" tab in "Item Details" ..
Regards
Brijesh Singh
05-13-2013 7:25 AM
Hi Brijesh,
Try searching for BAPIs which has used this text parameter. For example search in scn for BAPI 'BAPI_SALESORDER_CREATEFROMDAT2' item text as this BAPI also uses the text parameter. You can follow the same logic.
For reference:
http://www.sapfans.com/forums/viewtopic.php?f=21&t=284755
Regards,
Swarna
05-13-2013 10:05 AM
Thanks Swarna, I tried this solution given below and it worked. I give TEXT_ID as N001 where N is fixed and 001 item number.
JCO.Table QUOT_TEXT= jcoFunc.getTableParameterList().getTable("QUOTATION_TEXT");
QUOT_TEXT.appendRow();
QUOT_TEXT.setValue("000010","ITM_NUMBER");
QUOT_TEXT.setValue("N001","TEXT_ID");//
QUOT_TEXT.setValue("E","LANGU");
QUOT_TEXT.setValue("EN","LANGU_ISO");
QUOT_TEXT.setValue("*","FORMAT_COL");
QUOT_TEXT.setValue("Item Text goes here","TEXT_LINE");
Regards
Brijesh Singh