on 08-20-2007 7:20 AM
Hi all,
I have a web Dynpro application linked to RFC.
in the controller I have the .Bind command and more.
in the view I want to send the RFC some value parameter and one table parameter.
so I :
declare a variable in the type of my input node :
something like :
Zcrmf_Back_Ofice_Rep_Prep_Tran_Input tansIn = wdContext.currentZcrmf_Back_Ofice_Rep_Prep_Tran_InputElement().modelObject();
Then I set all of my parameters value
and add the parameters Table. to the node.
Everything works fine. except from the parameters table.
I can see the table is not cleaned [it always keep growing ... if I delete row from the table , it will be send again to the BAPI !!! ]
when I was trying to delete the object in the table I got null error ...
any ideas ?
try{
Zcrmf_Back_Ofice_Rep_Prep_Tran_Input tansIn = wdContext.currentZcrmf_Back_Ofice_Rep_Prep_Tran_InputElement().modelObject();
tranLn.execute();
...........
........
tranIn.modelInstance().disconnectIfAlive();
}
try this Morchi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After execute i just removed all element from this specific node.
Hadar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Morchi,
have you disconnected the model instance after using.if not just check once..
regards
Chaitanya.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.