Skip to Content
0
Former Member
Nov 22, 2008 at 06:32 AM

sample code How to set the values to the table attributes in BAPI

20 Views

hi all

i have one requirement as follows.

there are some attributes in Table which is part is of BAPI. now i want to pass the values to the table attributes in BAPI from webdynpro for java

now i want to hardcode the values to the table attributes in BAPI from webdynpro programming . is it require to create the instance of the table before pass the values to the table attributes.

for example if it is the input parameter we can hardcode the values of that parameter in webdynpro as follows...

wdContext.nodeBapi_Gl_Acc_Getlist_Input().currentBapi_Gl_Acc_Getlist_InputElement().setCompanycode("W100");

now in the same way i want to hardcode the values of table attributes in BAPI from webdynpro for java..

can you please provide the sample code for the same??

is it require to create instance of the table from webdynpro or we can directly hardcode like above as an example??

Regards

Suresh babu