Leading zeroo in front of kunnr number from kna1 after selecting from kna1
hi
i and selecting kunnr from kna1 table which is char 10
i want to place leading zeros in front of customer number after selection from the table
pls suggest the way to do so
also let me know the funtion module to remove leading zeros
regards
Arora
hi
arora
first export reuired value to fm
and get the import value into another intermediate varable
and pass this intermediate variable to the required select statement where condition
REPORT zvcrconversionroutines .
PARAMETERS v_matnr LIKE mara-matnr MATCHCODE OBJECT zmara .
START-OF-SELECTION.
SELECT SINGLE matnr FROM mara INTO v_matnr
WHERE matnr EQ v_matnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_matnr
IMPORTING
output = v_matnr
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = v_matnr
IMPORTING
output = v_matnr
IF sy-subrc EQ 0.
WRITE :/1 v_matnr.
ELSE.
WRITE: /2 'invilad material'.
ENDIF.
reward for use ful points
regards
Nagesh.Paruchuri
Similar Messages
-
Append 0 in front of a number from 1 to 9
Hi,
I am trying to create a textfield that accepts the months of a year expressed in a MM format. The unfortunate thing is that when I go to the Format tab and set the Format category as Number, when I type in 01 representing Jan, it will remove the 0 in front.
How do I use Javascript to append 0 in front when it is from 1 to 9 and not append when it is from 10 to 12?
Thanks for reading!To fully understand this code you need to be versed in core JavaScript, Acrobat-specific JavaScript and Regular Expressions...
You can read about JS here:
https://developer.mozilla.org/en/JavaScript/Reference
or here:
http://w3schools.com/js
Acrobat-specific JS reference can be found here:
http://www.adobe.com/devnet/acrobat/javascript.html
There are many excellent tutorials about this subject here:
http://acrobatusers.com/tutorials
Here's a short description of what the keystroke code does:
event.rc is the property of the event object that determines whether or not to accept the keystroke.
event.change is the value of the keystroke.
So what this line says is this:
Accept the keystroke if:
- It is blank (for example, when the user deletes a character) OR
- if it is composed of a single digit (expressed with a Regular Expression) -
Fetch Sales order number and PO number from ship to party and sold to party
HI,
I need to get Sales order number and PO number
from ship to party and sold to party.
I have only ______sold to party and ship to party and req del date_______ in selection screen as mandatory
Please let me know
SreekanthHi,
You can do this:-
SELECT VBELN FROM LIKP
INTO TABLE T_DELIVERIES
WHERE KUNNR = SHIP TO PARTY
AND KUNAG = SOLD TO PARTY
AND LFDAT = DEL DATE.
You will get a table containing the list of deliveries.
Use VBFA to get the sales orders from deliveries.
SELECT VBELV FROM VBFA
INTO TABLE T_SALESORDERS
WHERE VBTYP_N = 'J'
AND VBELN = T_DELIVERIES-VBELN.
T_SALESORDERS WILL give you list of sales orders.
From Sales Orders you can get Purchase orders through EKKN Table.
Using EKKN pass T_SALESORDERS-VBELN and get corresponding EBELN.
Regards,
SUbhashini -
How to fetch the latest change number from CDPOS Table..?
Hi All,
im trying to fetch teh change number from CDPOS with the below select, but my requirement is always i wants to fetch the latest change number.
SELECT SINGLE objectid changenr FROM cdpos
INTO wa_cdpos
WHERE objectid = wa_e1kna1m-kunnr
AND ( tabname = 'KNA1' OR tabname = 'KNVV')
AND fname = 'AUFSD'
AND ( value_new = '01' OR value_new = space ).
Please let me know how to achive this..?
Ashoktry this way
" SELECT SINGLE objectid changenr FROM cdpos
" INTO wa_cdpos
SELECT objectid changenr FROM cdpos
INTO table t_cdpos
WHERE objectid = wa_e1kna1m-kunnr
AND ( tabname = 'KNA1' OR tabname = 'KNVV')
AND fname = 'AUFSD'
AND ( value_new = '01' OR value_new = space ).
SORT t_cdpos by changenr Descending.
read t_cdos index 1. "this is the latest change
Prabhudas -
Forgetting to enter zeroes in front of the number
Post Author: ANTJIM
CA Forum: Deployment
I am new to CrystalReport XI and any of its versions. How do you write the script so that if enduser forgot to enter zeroes (ie.,00504), the application will know to pull the data on number 504 from {Log.TicketNumber}? Thanks.It just happens on calls.It doesn't cause any issues when calling.I don't
store contacts with "+1" in front of their name.Can you ask if it's just a
software issue or a carrier issue?
In a message dated 3/27/2015 9:29:52 A.M. Eastern Daylight Time,
[email protected] writes:
(https://community.verizonwireless.com/)
A message from the Verizon Wireless Community
(https://community.verizonwireless.com/)
(https://www.verizonwireless.com/wcms/consumer/explore.html)
(http://www.verizonwireless.com/wcms/consumer/shop.html)
(http://www.verizonwireless.com/b2c/myverizonlp/) (http://www.verizonwireless.com/support/)
I just bought the Nexus 6.Everytime I go to make a cell or receive a call
there's a +1 in front of the number?Any way to turn the +1 off?
created by Verizon Wireless Customer Support
(https://community.verizonwireless.com/people/vzw_customer_support) in Android - _View the full
discussion_ (https://community.verizonwireless.com/message/1239836#1239836) -
Cannot edit phone number from dialer
How can you edit a phone number in the dialer if it originally came from a text message?
I would like to add *67 to the front of the number.
-
Hello,
I am using a simple expression to make a calendar, going from 1 to 31
Until the number 10 i would like to display a 0 in front of the number.
Unfortunately everything I am trying doesn't work.
Here is the expression:
v=time/thisComp.frameDuration;
t = (v%31)+1;
if (t >0 && t < 10){
value=""+"0"+t;
}else{
value=t;}
I am on AE CC with Mac maverick.
Thanks
NIcoI assume this is being applied to a Text layer?
Your expression seemed to work ok for me, but here's how I would generally do something like this:
v=Math.round(time/thisComp.frameDuration);
t = (v%31)+1;
padLength = 2;
t = t.toString();
while (t.length < padLength) {
t = "0" + t; -
Since downloading the new operating system on my iPhone 4S, I'm having trouble with my phone messaging. I enter a number or input a number from my contacts and send my message. I then receive a error message stating the message can't be sent and it shows a set of "1s" were added in front of the number I entered. Ex: 1 (1) xxx-xxx-xxxx. Does anyone know why this is happening and how I can fix it?
I realize this. When calling prepaid cus service it only gives you the option to input your #. If you dont the system hangs up on you. When I input my number the system doesnt recognize it and hangs up on me.
-
Remove VAT number from account
To remove a VAT number from my account, the Adobe website only provides a "click here to contact" (in Dutch), leading to this forum. So here's the question: How do I remove the VAT number from my account so I can pay the appropriate tax now that I ceased my business?
Hi there
I have removed your VAT number from your account.
Kind regards
Bev -
How to retrive ship to number from bill to number
Hi ,
I have to retrive ship-to-number from bill-to-no,
Could you plz give me the idea.
Thanks & Regards
Suresh.Simple logic would be
Take the sales order number from VBRP based on billing document..
select single * from vbrp into vbrp
where vbeln = your billing number.
if sy-subrc eq 0.
here sales order number is VBRP-AUBEL
now get the data from VBPA Table
select single * from VBPA into vbpa
where vbeln = vbrp-aubel
and parvw = 'SH' or 'WE' .
if sy-subrc eq 0.
vbpa-kunnr is Ship to number..
endif.
Thanks
Seshu -
Hi, I want to iMessage an American phone number from the uk, how do I do this?
Hi, I want to iMessage an American phone number from the uk, how do I do this?
make sure you have the phone number entered in international format in your contacts. In settings/phone turn on dial assist. Then enter the US number as +1 (area code, if it has one) (phone number).
With dial assist on the + gives you the dial out code to make an international call, 1 is the country code for USA,for a mobile number it will not have an area code but if it has a leading zero leave it out, then the phone number without any leading zero -
I have a confirmation number from American Airlines for a flight with my family all under my name and for some reason I cannot add all of our tickets to Passbook. To clarify, I went to the American Airlines app and put in the confirmation number along with my name which pulled up my boarding pass only. Although I was able to add this boarding pass to Passbook, I was not able to add any of the other boarding passes for my children to Passbook that should have also been under the flight reservation. In fact I couldn't even see them in the American Airlines app. I tried to use their names and the same confirmation number but nothing happened, and nothing else seems to be working. How can I add all of these boarding passes to my Passbook?
Fair enough.
I started doing this before unlimited data and emails on phones was a common commodity, on my Samsung Blackjack.
I then continued it due to its convenience. My only counter argument is this:
Even when emails are set to immediately push, I am always notified earlier by this forwarding message (sometimes by several minutes/hours due to the fact that it is not dependent on my being connected to 4G or wifi to receive it.
Also, to contradict snozdop's point that both methods use data and battery, I say this - when I use the forwarding method, the information comes in a pure text format and therefore uses considerably less information than an HTML and CSS rich email, with embedded images and such -also, unlimited text messages aids curve costs.
I will, however, give this method a go. In any case, a solution to my original question would still be greatly appreciated.
Thanks guys. -
How can you get your ipod touch serial number from apple beacause my ipod was stolen
how can i get my ipod serial number from apple
http://support.apple.com/kb/HT2526?viewlocale=en_US
Basic troubleshooting steps
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD
Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
In Memory of Steve Jobs -
My friend switched his phone number from an iPhone to a Blackberry. My phone still wants to use iMessage to send him a text and won't let me send it as a text unless I turn off iMessage on my phone. Is there a fix for this?
jengrz wrote:
My friend switched his phone number from an iPhone to a Blackberry. My phone still wants to use iMessage to send him a text and won't let me send it as a text unless I turn off iMessage on my phone. Is there a fix for this?
TechCrunch posted a solution today that applies to this problem, I think.
Go to: https://supportprofile.apple.com/MySupportProfile.do
Click your old iPhone and "unregister" it.
More info here:
http://m.techcrunch.com/2012/01/05/i...d=tc_home_art& -
How to find PO number from ORDRSP Idoc.
Hi,
Can anybody let me know how to find the PO number from the Idoc ORDRSP.
Scenario is as below:
SAP system1 will send PO to SAP system2.(Idoc type ORDRS05).
When SO is created in SAP system2, it will send a confirmatory Idoc of message type ORDRSP.
From this I have to find the PO number as I can find only VBLNR.
Points assured for workful solutions.
-B S BHi BSB,
CHECK THIS CODE
DATA : BEGIN OF itab_status OCCURS 0,
idoc LIKE edids-docnum,
date_stauus LIKE edids-logdat,
status_counter LIKE edids-countr,
status LIKE edids-status,
descrp(70),
ponumber LIKE ekpo-ebeln,
mess LIKE edidc-mestyp,
END OF itab_status.
DATA: text111 LIKE e1mbxyi.
DATA: text11 LIKE e1edp02.
IF itab_status-MESS = 'WMMBXY'.
select single * from edid4 INTO ITAB where segnam = 'E1MBXYI' AND
HLEVEL = '02' AND DOCNUM = itab_status-idoc.
MOVE : ITAB-SDATA TO TEXT111 ,
text111-EBELN TO itab_status-ponumber.
ELSE.
YOUR CASE FALLS IN THIS CATEGORY****
select single * from edid4 INTO ITAB where segnam = 'E1EDP02' AND
HLEVEL = '03' AND DOCNUM = itab_status-idoc.
MOVE : ITAB-SDATA TO TEXT11 ,
text11-BELNR TO itab_status-ponumber.
ENDIF.
endif.
LET ME KNOW IF YOU NEED ANYTHING ELSE.
THANKS
VENKI
Maybe you are looking for
-
How to get my mail through without opening the mail app...
Hi I have a tendancy to when ive finished using with my apps on my Mac I always go to top left and press quit itunes or quit mail etc if i do that to mail, obviously when a email comes through i dont get it straight through unless the mail program is
-
Why won't Live Paint work for me?
Synopsis: Illustrator won't let me use Live Paint, or rather, Live Paint won't let me use it. I tested it out on a random file by creating shapes with some of the tools and it worked fine. However, with any image I try to use, it won't work. This is
-
In file to file scenario i got an error in the communication channel like Sender Adapter v2703 for Party '', Service 'FILE2FILE50872_SEN_BS': Configured at 2008-02-14 02:33:17 IST History: - 2008-02-14 21:44:50 IST: Retry interval started. Length: 10
-
Value Help Not Working and Values Not Showing in BPS0
I have custom characteristics transported from a BW 3.5 system to a NW2004s. I have maintained master data and activated master data. When I try to do the value help selection from inside maintain, I don't see the characteristic values. In BPS0 th
-
String question regarding "\"
i am trying to read in a CSV (coma separated value) file containing text like this "2007/10/04","22:47:24","C:\test\tp2c266b.BAT","deleted","","" "2007/10/04","22:48:06","C:\Program Files\Common Files\Symantec Shared\CCPD-LC\symlcrst.dll","changed","