Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_QUOTATION_CREATEFROMDATA2 how to specify Item Details->Text

Former Member
0 Kudos

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

2 REPLIES 2

former_member217544
Active Contributor
0 Kudos

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://search.sap.com/ui/scn#query=BAPI_SALESORDER_CREATEFROMDAT2++item+text&startindex=1&filter=scm...

http://www.sapfans.com/forums/viewtopic.php?f=21&t=284755

Regards,

Swarna

0 Kudos

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