cancel
Showing results for 
Search instead for 
Did you mean: 

RE:Creating Table in Webdynpro Java

Former Member
0 Kudos

Dear all,

We are creating a medical claim in which we have to enter multiple values as input into a table.We have created a function module and imported into model,binding to context is done .

We are have to things in the application

1.cltyp(dropdown box)

2. Table

i am writing the following code to initilize the dropdown as

input.setCltyp(wdContext.currentZhrg_Ep_Med_InputElement().getCltyp());

but when we are trying to initilize the table its giving as error.

we are not able to give inputs as the table is in disable mode.

Please treat as Urget and reply asap

ravi.s

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi Ravi,

I was faced the same problem previously, the solution for this problem is

1. first check the Cardinality of context binding

2. and then check the Object intialization(like create object for that particular BAPI elements(root nodes and sub nodes) in COmponent controller init() mentod)

for Example find out the below code:

" Bapi_Catimesheetmgr_Insert_Input in = new Bapi_Catimesheetmgr_Insert_Input();

wdContext.nodeBapi_Catimesheetmgr_Insert_Input().bind(in);

in.addCatsrecords_In(new Bapicats1()); "

in the above code

Bapi_Catimesheetmgr_Insert_Input is root node and sub node is "Catsrecords_In is a sructure for the Bapicats1".

then only ur table will be in enable mode.

try above code once using ur BAPIs

I hope it will helpful to u

"Please award points for helpful answers"

Thanks

Anu

Former Member
0 Kudos

Hi Ravi,

Can you check the cardinality of the node that you have bind to the table. Either you have to create context element at runtime or set the cardinality of that node to 1 To N.

Regards

Ramesh.

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

I have created the application in the same way, but we are not able to enter values into the table.