Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Explain me this code

Former Member
0 Likes
496

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;

1 ACCEPTED SOLUTION
Read only

JanStallkamp
Advisor
Advisor
0 Likes
471

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

3 REPLIES 3
Read only

Former Member
0 Likes
471

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

Read only

JanStallkamp
Advisor
Advisor
0 Likes
472

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

Read only

Former Member
0 Likes
471

abc