Application Development 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: 

PO- import po

Former Member
0 Kudos

Dear experts,

I have an issue with PO-IMPORT PO. While displaying IMPORT PO print preview i should get the value 56,000 for ocean/airfreight-val text but am getting it like 560.00. The ocean/airfreight-val and grand total displayed below like in this format.

for instance it will be displayed below the amount.

s.no material material description quantity unit rate amount

Ocean/Airfreight-val :560.00----


>i should get this value 56,000

Gran total :336,800

SMARTFORM DETAILS:

1. MAIN main window->footer window>text->ocean/airfreight-val

2.General attributes--->ocean/Airfreight-val :&JOFV(CZ)&

3.conditions---->1.JOFV NE '0.00'

2.EKKO-BSART 'ZCVD'

Please resolve my issue.......

Thanks & regards,

selva..............................

5 REPLIES 5

Former Member
0 Kudos

Hi , Try and convert the amount before displaying it in the smartform.

Transfer it to a localk variable of the desired format.

0 Kudos

Hi sap_wiz,

Where to convert the amount before displaying it in smartform. and where to transfer it to a local variable of the desired format. Please tell me clearly.

Thanks & regards,

selva.....

0 Kudos

Hi,

You must be printing the total in Text element. Before this text element add a code block.

In that code block write your code.

0 Kudos

Hi sap_wiz,

What code to be written..please tell me...where is that text element. where to add code block....don't mistake me ..am very new to this one..so i don't know...

0 Kudos

hi,

you need to convert amount to internal format. you can us ethis BAPI:

BAPI_CURRENCY_CONV_TO_INTERNAL.

Now where to write this code... have a thorough look at your smartform and see the elements of main window.

find out where the total is printed.

You need to understand the basic elements of smartforms before directly going and making changes.

there are enough links in SDN wiki for that..

like:

[http://wiki.sdn.sap.com/wiki/display/ABAP/SMARTFORM+BASICS]