cancel
Showing results for 
Search instead for 
Did you mean: 

SMARTFORMS

Former Member
0 Kudos

I have used a smartform 'ZMMPO_A', a copy of standard smartform '/SMB40/MMPO_A' for printing a purchase order in MM module. The form works fine.

Now I want to display the various taxes(CST, VAT etc..) in the Main window for each item. The form should display the base values of each item, tax amount for each item and the grand total will be the sum of all these values.Please give me a step by step guideline how to achieve this.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Moderator message - Locked for the same reasons the other one was. Rob

Former Member
0 Kudos

Hi..

You can do this following these steps.

1. Change the line type according to your requirement by adding suitable columns.

2. Create the required text elements.

3. You can add the tax calculation logic in the smartform's text element node itself byu creating program lines for VAT and GST etc.

It is not necessary to calculate and bring in everything from the driver program itself.

Regards,

Karthik

Former Member
0 Kudos

At first check how many columns is being printed and how many more u need to insert.

Update the line type of the table which is being displayed (that contains all your data).

The data fecthing must be in driver program depending on ypur requirement fetch the data.

After that u have to include every column according to your needs in position and paas all values in the loop(from where the line item details is being printed). You can fetch all your data in the global definition

In case u need more help please let me know the format of data (Columns being displayed) and where u need to include your columns.