RE: [sap-abap] Appending zeros to use in READ_TEXT
Posted by
Admin at
|
Share this post:
|
0 Comments
| | Posted by horacio zapettini on Aug 21 at 2:17 PM | |
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=
__.____._ 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
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Related Content
In the Spotlight
White Papers
In the Spotlight
How Can Predictive Analytics Drive Competitive Advantage? Find out here
View this thread online
Manage group e-mails
Create an FAQ on this topic
Tell us what you think
Unsubscribe from discussion
Manage group e-mails
Create an FAQ on this topic
Tell us what you think
Unsubscribe from discussion