We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-abap] Appending zeros to use in READ_TEXT

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by Niceguy7376 (SAP )
on Aug 21 at 2:25 PM
Mark this reply as helpfulMark as helpful
Horacio,
I got your 3 options and Neal's option. Initially I thought that conversion_exit should work. But i tried it independently in SE37 and it did not.
After seeing your first option and other options of yours and Neal's option I decided to test it in the program (because you and Neal mentioned the same FM that I mentioned) by giving field names with values in it.

I tested it now and it worked. I did not want to do the append zeros or move from one field to another, if FM works fine.

Now this issue is resolved.
Ravi



From: sap-abap@Groups.ITtoolbox.com
To: peddu@hotmail.com
Date: Fri, 21 Aug 2009 15:27:30 -0300
Subject: RE: [sap-abap] Appending zeros to use in READ_TEXT


Posted by horacio zapettini
on Aug 21 at 2:17 PM
Mark as helpful
Ravi
I gave you three different solutions that would work. Please be kind and at least evaluate them
________________________________
De: Niceguy7376 via sap-abap [mailto:sap-abap@Groups.ITtoolbox.com]
Enviado el: Viernes, 21 de Agosto de 2009 03:26 p.m.
Para: Horacio Zapettini
Asunto: RE: [sap-abap] Appending zeros to use in READ_TEXT
[http://userimages.toolbox.com/user/b_1585645.jpg]
Posted by Niceguy7376 (SAP )
on Aug 21 at 2:14 PM
[http://images.ittoolbox.com/vt/icons/vote.png]Mark as helpful<http://it.toolbox.com/api/ContentVote/2946537/1/1/>
I am trying the CONVERSION_EXIT_ALPHA_INPUT and OUTPUT in SE37 individually by giving values.
let me try by passing on a defined field that has a value.
Ravi K Peddu
847-858-3125(Cell)
To: peddu@hotmail.com
Subject: Re: [sap-abap] Appending zeros to use in READ_TEXT
Date: Fri, 21 Aug 2009 14:15:17 -0400
From: sap-abap@Groups.ITtoolbox.com
Posted by R. Neal Wilhite (Senior Project Manager)
on Aug 21 at 2:05 PM
Mark as helpful
I used a where used and came up with the following:
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUTÂ = H_RETURN_TAB-FIELDVAL
IMPORTING
OUTPUT = G_BVBPAKOM_WA-PARNR.
MOVE G_BVBPAKOM_WA-PARNR TO G_BVBPAKOM_WA-KUNNR.
IE the returned to a numc 10
and then copied it to a char 10.
Have you tried that?
Neal
-----Original Message-----
From: Niceguy7376 via sap-abap <sap-abap@Groups.ITtoolbox.com>
To: R. Neal Wilhite <wilhiten@aol.com>
Sent: Fri, Aug 21, 2009 1:57 pm
Subject: [sap-abap] Appending zeros to use in READ_TEXT
Posted by Niceguy7376 (SAP )
on Aug 21 at 1:47 PM
Hi,
I need to read texts from a quotation. I have quotation number of 7 digits and line item of 4 digits. Are there any FMs that I can use to pad them with the corresponding zeros so that i can use them in the READ_TEXT FM?
I thought that the CONVERSION_EXIT_ALPHA_INPUT would work but it is coming up with lot more zeroes than the designated length 0f 10 for VBELN.
Ravi
_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_faster:082009=
__.____._
Copyright © 2009 CEB Toolbox, Inc. and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251

0 comments:

Post a Comment

T r a n s l a t e to your language