cancel
Showing results for 
Search instead for 
Did you mean: 

Spaces In SAP Script output

former_member434786
Participant
0 Kudos

Dear Experts,

My SAP scripts shows some o/p like    "  TOTAL                                            545.00 "

I would like to remove this Space and I m unable to remove it, please guide me. is there any command

Regards,

Jwalant Desai  

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

TOTAL,, &IT_TAB-KZBTR(C)&  -> Two Spaces equal (,,) to one TAB space.

You can give number of TAB spaces like above in in the Paragraph format or else use keyword SPACE to display required spaces.

former_member230486
Contributor
0 Kudos

Hi,

You just see the following screen shot,

You will get like this,

former_member434786
Participant
0 Kudos

I have already used

TOTAL      &IT_TAB-KZBTR(C)& 

this statement any other tag is needed ?

Former Member
0 Kudos

Hi,

no need for other tag ,   &IT_TAB-KZBTR(C)&  enough but check the paragraph format..

Regards,

Venkat.

Former Member
0 Kudos

Hi Jwalant,

The problem is because of Currency Field.

I would suggest you to try ,

 
TOTAL  &IT_TAB-KZBTR(8.2)&

Where 8 is total no of digits and 2 is no. of digits after decimal.

You can obviously replace 8 and 2 with ours required figure.

Hope it helps, else kindly revert.

Former Member
0 Kudos

Hi ,

Are concatenate TOTAL and VALUE(545.00). If yes, check it at once .if any separation, delete it .

apply CONDENSE in your abap code or apply &fieldname(C)& in sap script.

Regards,

Venkat.

former_member434786
Participant
0 Kudos

Dear Sir,

I tried 'Condense". Its not working.

Regards,

Jwalant

0 Kudos

Hi Jwalant,

You have to use ABAP command condense for that i.e. &fieldname(C)& in your script.

With regards,

Jayraj Joshi