‎2008 Jul 12 10:50 AM
var fields = xfa.layout.pageContent(xfa.layout.page(this)-1, "field", 0);
var total = 0;
for (var i=0; i <= fields.length-1; i++) {
if (fields.item(i).name == "PRICE") {
total = total + fields.item(i).rawValue;
}
}
this.rawValue = total;
‎2008 Jul 12 12:49 PM
Hi.
This is the forum named ABAP, General. As the name indicates this forum is about ABAP. The general does not mean that in general all questions are on topic here. It means that it is the place for ABAP-question not matching into any of the more specific ABAP forums like ABAP Objects. I'm very sure, that your source code is not ABAP. Therefore your question is not at the right place. Please ask in a more appropriate forum.
Best regards,
Jan Stallkamp
‎2008 Jul 12 12:10 PM
Hi Ankesh,
Rewrite the code in ABAP language and debug the code... if you still dont understand then copy the ABAP code and then paste in the Thread...
That would be the better way to ask the question.
Regards
Narin
‎2008 Jul 12 12:49 PM
Hi.
This is the forum named ABAP, General. As the name indicates this forum is about ABAP. The general does not mean that in general all questions are on topic here. It means that it is the place for ABAP-question not matching into any of the more specific ABAP forums like ABAP Objects. I'm very sure, that your source code is not ABAP. Therefore your question is not at the right place. Please ask in a more appropriate forum.
Best regards,
Jan Stallkamp
‎2008 Jul 24 7:49 AM