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

SMARTFORMS-CALCULATIONS

Former Member
0 Likes
385

HELLO EXPERTS,

I WANT TO PRINT TOTAL NON GOODS WITHOUT VAT.THE CONDITION IS

. Total Goods v/o VAT is a summation of VBAP-NETWR for non-service items (Goods are HW, SW, Media and anything else you can stick in a box. Non-Goods are services, freight, surcharges, fees). Include all parts where Material Type (MARA-MTART) does not equal ‘ZSVC’. However, if the part is the header level of a sales BOM, look at the pricing condition records for ZP11 for each component of the BOM where the Material Type (MARA-MTART) does not equal ‘ZSVC’ (this gives the amount to be allocated to each line item). Also show the currency type VBAK-WAERK.

PLEASE SUGGEST ME HOW CAN WRITE LOGIC AND WHERE CAN I PUT THE LOGIC.?

THANKS&Regards

raghu

1 REPLY 1
Read only

Former Member
0 Likes
339

Hello Raghu.

I will give u a idea.

Since you can use the loop and abap code in the code node.

What you have to do using the master data with the material type.

Calculate the price and then transfer this value to the variable that you have to define in the parameter tab of the smartform.

and print it.

I hope it will help you. Let me know if you needs more.

Points for help.

Regards

Vikas