Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

java api - filling lookup fields in main table

Hi All,

I need to create a record in main table . The record gets created but the lookup field values are not field.

To fill the lookupfields I am using the below statement.

r1.setFieldValue(fld1, new LookupValue(rec_lookup_id));

where fld1 - is the field id

rec_lookup_id - record id of the lookup record

Kindly let me know what more needs to be done to fill the lookup fields


Edited by: Sudheendra Puthuraya on Oct 9, 2008 11:05 AM

Former Member
Not what you were looking for? View more on this topic or Ask a question