on 05-23-2008 1:38 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Pl go through
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2brfc
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.