10-20-2005 2:42 PM
Hi experts...
While iam trying to modify VF03(Invoice)sap script iam getting problem.If i open one billing document it is showing corrently...if i open another, the alignment is getting distrubed, because of some discriptions are having more length.Where to fix this problem?
I have adjusted in the main windiow but no use.Do i need to change in Internal table(if any)?
Kaki
10-20-2005 2:44 PM
10-20-2005 2:46 PM
Hi,
You can use the tab which can be defined in the paragraph. For example 10CH, 15CH, 22CH etc
Or check what can be the maximum available length for that field to display in the SAPScript and then use the offset option get rid of mis allignment.
E.g. &MAKT-MAKTX+0(20)&
Cheers
Vinod
10-20-2005 6:01 PM
hi,
if u r having a problem in printing a currency field or quantity field, try using Condense option for
eg: &v_netpr(C)&.
Vamshi
10-20-2005 11:35 PM
Kaki,
Rich is right. You need to define your Paragraph Formats properly. From SE71, go to the Paragraph Formats. There should be a button toward the bottom right of the screen called "Tabs". Here is where you define your tab settings (ie your 'columns').
Within your SAPscript editor use your Paragraph Format, and to use a 'tab', you need to enter ',,'.
eg:
Paragraph Format is Z1 with tabs at 10CH, 20CH and 30CH
Z1 &MARA-MATNR&,,&MARA-MTART&,,&MARA-BISMT&,,&MARA-MAKTX&
this is the same as saying:
WRITE:/ MARA-MATNR.
WRITE: AT 10 MARA-MTART,
AT 20 MARA-BISMT,
AT 30 MARA-MAKTX.
Hope this helps.
Cheers,
Pat.
10-21-2005 2:43 AM
Patrick,
In our SAP system, your sets not use. We use Unicode system, and logon with ZF - Chinese Traditional.
In PO item's short text I entry some chinese chars, others entry some english chars, but in the form can't align.
For example, the short text from first position, and end the 80 position, behind it is the delivery date, the date from 89 position.
in the paragraph formats, I set:
Paragraph format Z1, the tab at 89CH and left. in the editor is
Z1 &wa_ekpo-txz01(80)&,,&wa_ekpo-eindt&
but list as follow:
Short Text Delivery
Éú®aÉú®a 2005/08/12
0.8mmë½âƬ 2005/10/31
6182 ëÆ÷ßBµ××ù³ÉÆ·ßBÒÑÑb 2005/11/21
Can you help me?
10-21-2005 3:03 AM
Hi Mingkang,
Unfortunately I do not have any experience working in non English systems. It sounds like your problem could be due to Chinese Traditional language is a 2 byte language. Not sure how to handle this. But I'm sure there is someone on SDN who has encountered this issue before.
Would recommend you start a new thread asking specifically about aligning 'ZF' language SApscripts.
Sorry I can't help you any further on this issue.
Pat.
10-21-2005 4:47 AM