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 R. Neal Wilhite (Senior Project Manager)
on Aug 21 at 2:05 PM
Mark this reply as helpfulMark 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
R. Neal Wilhite
SAP ABAP Enthusiast

Contributed 500 posts in a group to earn a Silver Achievement
Related Content
White Papers

In the Spotlight
Share Knowledge About SAP Scripting. Join the New Discussion Group
_.____.__

0 comments:

Post a Comment

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