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
Requirment : We cancel sales order that have been created but not fulfilled within 7 days. At present, we do this manually.  Can we configure to have the system auto cancel the sales order after the said period?  selection screen u2022     Sales orga [More]
I recently had to change my email to a new one due to a move.  I have updated my apple ID to the new email address, but my IPad 2 still lists the old email address whenever I try to do a download or update to it.  How do I get my IPad to switch to th [More]
When I send a text message to someone they keep asking me who sent this message?  Please explain what I need to change.I am not sure what you mean. Do you mean the From field? You can change it by tapping it, it will give you options based on the oth [More]
I recently upgraded my home network, ditching the Linksys WRT54G router I had in favor of a new Airport Extreme Base Station. everything has been working fine, but all of a sudden I noticed that my Vonage adapter wasn't connected and was spitting out [More]
Hi Forums, I have a A300 PSAGDA-02000R and was wondering if is possible to add a second HDD to it. after I removed the panel to inspect where the second HDD goes I discovered that there was no connectors, so I was wondering if you can purchased or ha [More]
Hi Experts, I need to know the creation of dropdown list box values and the checkbox to use in screen painter. I have 3 values to insert as:- INR,USD,EUR if user selects INR/USD/EUR, then it will store into the table field. And also want to know the [More]
Hey guys i need some help I used to have 2 sticks of ddr333 and have now upgraded to ddr400,when i had the 333 PAT was no problem,now with my new RAM i can run it on ultra-turbo but still no PAT,why??? Please help me solve this problem. Thanks!Quote [More]
Hi, we are developping Async RFC -XI-file ,so for that we need to schedule  an ABAP report in sender SAP R/3  to trigger FM  like REPORT Z_SEND_DATA_TO_XI. PARAMETERS: DEST LIKE RFCDES-RFCDEST DEFAULT '(RFC Destination you defined in SM59)'. <<your [More]
I have a program that compares DAQ values to a threshold value. If the value surpasses the threshold, an led blinks. The problem is, if the value then goes back below threshold the blinking will stop, as a result of the comparison being False. What I [More]
Hi,   I want to generate a input file template for batch input of BOM by t-code: SXDB by the following steps:    T-code: SXDB --> input tansfer object: 30 ==> the follow the menu: goto: record fields --> input transaction code: CS01, then create [More]