on 04-24-2008 2:17 PM
Hello,
I have to prefill some fields of my modelnode. I have developed some context atrributes which are not bind to the modelnode.
Now I want to fill the values of this contextnodes to the modelnode.
I have written:
IZ_Fkget_Kkm_Ertrag_Simul_InputElement x= wdContext.nodeZ_Fkget_Kkm_Ertrag_Simul_Input().currentZ_Fkget_Kkm_Ertrag_Simul_InputElement();
x.setUmsatz(new BigDecimal(20));
x.setBuchungsdatum(
wdContext.currentContextElement().getBuchungsdatum());
x.setAbt(
wdContext
.nodeUnternehmen()
.currentUnternehmenElement()
.getABTEILUNGNR());
x.setUn(
wdContext
.nodeUnternehmen()
.currentUnternehmenElement()
.getUNTERNEHMENNR());
x.setLieferanten_Nr(
wdContext
.nodeLieferant()
.currentLieferantElement()
.getLieferantennr());
If I execute now, I see that the model is execute, but not with all values. I become an error from the RFC if I have insert some false-values. But he didn't execute it right.
I have test ist with the same attributes in SE37 and the rfc works fine with this attributes.
What is the error in this case and how to fix?
Thanks,
Peter
Hi peter,
Try to debug . check whether u r passing the correct values from webdynpro side & rfc is getting correcnt values as input parameters.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.