Skip to Content
0
Former Member
Jul 17, 2007 at 11:26 AM

How to populate multiple entries to Bapi Table

89 Views

Hi all,

How to populate multiple entries to Bapi Table.....

Here is the code(in component controller)

Z_Recr_Apply_Point_Input request = new Z_Recr_Apply_Point_Input(WDModelScopeType.TASK_SCOPE);

int size = wdContext.nodeApplicants().size();

for(int i = 0 ; i < size ; i++)

{

String isselected = wdThis.wdGetContext().nodeApplicants().getElementAt(i).getAttributeAsText("Appl_Number");

if(isselected == "true")

{

com.models.veteranpoint.Zrecr_Aplno appid = new

com.models.veteranpoint.Zrecr_Aplno();

appid.setAppl_Number(wdContext.nodeApplicants().

getApplicantsElementAt(i).getAppl_Number());

request.addApplicants(appid);

}

}

I want to pass the selected input field to bapi..

Please tel me where i pass the input field...

Please correct my code...

Thanks & regards

Mathi s