Sitemap

Amicuk Programming Answers

ABAP script of process char string

-0001-11-30   Views:0

Advertisement

Hi ABAP experts, I would like to write a ABAP script to remove additional spaces present in a string. The additional spaces present in a string will be removed and replaced with one single space character. I am not a ABAPer, so can I have your help?

Hi ABAP experts,
I would like to write a ABAP script to remove additional spaces present in a string. The additional spaces present in a string will be removed and replaced with one single space character. I am not a ABAPer, so can I have your help?
For example,
String: "abc     def        ghi"   
ABAP Process: remove additional spaces and replace with one single space character.
Expected result: "abc def ghi"
Appreciate your help,

The replay answer
Advertisement
Hi,
  You can try this way.
1.take an Internal table.
2.Split the String at space into internal table.
3.Then condense the Contents of the internal table.
4.Concatenate each row separated by space.
This will solve your problem.
Thanks & Regards,
Vamsi.

Go to See the other 5 answers

ABAP script of process char string

Category:DefaultRelease time:-0001-11-30Views:130

Hi ABAP experts, I would like to write a ABAP script to remove additional spaces present in a string. The additional spaces present in a string will be removed and replaced with one single space character. I am not a ABAPer, so can I have your help?[More]

Parameter  to shell script using Runtime.exec(string)

Category:DefaultRelease time:2015-10-11Views:130

Hi all, ( Speciall hi to dheeraj tak ) Briefly : How do i pass an arguement to a non - java executible being called using Runtime.exec. In detail : i am using Runtime.exec to call a shell script : The code is as follows: String callAndArgs[] = {"/hom[More]

How can I get an unsigned char string with nulls from a dll into LabVIEW 6i?

Category:DefaultRelease time:2015-10-11Views:130

The following ethernet packet data is contained in an unsigned char * string returned from my dll (it's formatted on printing): Received A 230 Packet On Adapter 0x008F0070 Ethernet Dest: 01.E0.BB.00.00.15 Src: 00.E0.BB.00.DD.CC Type: 0x8868 000000: 0[More]

GETWA_NOT_ASSIGNED error while running abap prog in process chain

Category:DefaultRelease time:2015-10-11Views:130

Hi. I am getting a runtime error GETWA_NOT_ASSIGNED while running an ABAP program in process chain. But when i execute pro in SE38 , it's not giving any error. Please any one can suggets what will be error.Hi,   i also used to get error for a program[More]

Error "Error in ABAP statement when processing an internal table. table."

Category:DefaultRelease time:2015-10-11Views:130

Hello, I am facing the error when tried for GR from SRM portal for my shopping cart and for others created shopping cart. The error is "Error in ABAP statement when processing an internal table. table." I have the central receipient role. Couold[More]

Executing Abap Queries in Abap Code and processing the result

Category:DefaultRelease time:2015-10-11Views:130

Hi, I want to execute ABAP Queries (designed by sq01) in an abap report and processing the result in an internal table. How could it be work? Thanks a lot for your responses, with kind Regards Reinhold StroblHello, GO to SQ01 and select your query. G[More]

Photoshop cs4 file/scripts/image processing settings

Category:DefaultRelease time:2015-10-11Views:130

I have recently started freelancing for a local newspaper, as you can imagine i could have up to 100 images to process at the end of the day. I started using file/scripts/image processing in photoshop cs4 to automaticly size my images. this is indeed[More]

PowerShell script to find a string of characters in office documents in Doc Libraries and List Item attachments?

Category:DefaultRelease time:2015-10-11Views:130

Hi there, For SharePoint 2010 site - Does someone have the PowerShell script to find a string of characters in Office/Word/Excel/PDF documents in document libraries or the ones attached to List Items? Thanks so much in advance.Hi, According to your d[More]

How to integrate an ABAP program in process chain

Category:DefaultRelease time:2015-10-11Views:130

Hello Experts : I need to call an ABAP program in PROCESS CHAIN from a different system, using Process type "ABAP program", option "scheduled program". Sombebody have the step by step or some examples Regards, DianaIf you search this f[More]

Call ABAP Program in Process Chain

Category:DefaultRelease time:2015-10-11Views:130

Dear BW Gurus, I need to call an Process chain which includes ABAP Program. The ABAP Program doesn't have the variants but it accepts the inputs from the user and sets into a YXXXX table. I am not getting how to proceed in this regard. Kindly guide.[More]

Document level scripting from process workflow

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, is there some way to add a "document level" script from process workflow in Livecycle Workbench? That is, I have a script i want to add to a pdf in my process workflow. How can I do that? Is there some service/function/script I can use t[More]

Hot
will nokia 6600 support gif images? when i send a gif image to my nokia 6600 it automaticaly chage the picture format to jpeg.. i wanna set a gif image as my mobile operator logo.. as Mr.Petrib told me.. i change the operator logo using FExplorer and [More]
With Safari 3.x when I clicked on a LINK, a new Window or a new Tab would open... Do I have to hold down the friggin' APPLE in order to do this? PLEASE, say it ain't so...In Safari 3, you had to hold the Command key while clicking a link to open it i [More]
I have at least five websites marked "keeped me logged in", including Facebook, Apple, and even the region and language notice on YouTube keeps reappearing for me to accept it every single time, but every single time I close the window - I'm bei [More]
I know it is possible to use the iMac 27 inch i3 as a display for other Apple computers using the DisplayPort built into the back. My question is if it is possible to do the same with an Apple TV. Can I use my 27 inch iMac as a TV for an Apple TV sec [More]
I found that if you 'open' an empty (0 byte) file using TDMS open, you will not get any error messages when you open it, nor when you call functions such as "Get properties" or "List content", also no error when you close the TDMS file [More]
Hi all, I am created a bapi and under tables tabstrip i have given  3 tables, Inside the bapi , i have written a perform statement which returns these 3 tables . PERFORM bapi_sales TABLES it_valid it_error it_errorc USING testrun. how can we create f [More]
Hi, We are doing HTTP to HTTP scenario,we have some requirement that we have to use bpm in between so i.e we have made sender and receiver asynchronous,our sender and receiver are same, can we use http test client for the same?how will i get response [More]
We have a few tables that have a different degree of paralellism from their indexes. I read that the table and indexes should have the same degree. Is that a best practice? If so, what are the issues if the DOP is different on the tables and the inde [More]
Hi, There is a problem with the restrictions of the objects, specifically with the filters of infopackages, in PROD. All fields are inactive in filter and i can't change any of them. Where could i find some settings to change filter to 'modifiable'? [More]
Before downloading Yosemite, I had it to where I could turn on my Macbook pro w/ retina, and it automatically goes to my account without needing to put in a password. I am the only user, and I have the guest set to off.  But I can't figure out how to [More]