SXPG_COMMAND_EXECUTE: ADDITIONAL_PARAMETERS contains Blanks

Hi to all,
I want to start a shell-script with SXPG_COMMAND_EXECUTE on Linux. Therefor I have maintained a command with SM69.
I have to fill ADDITIONAL_PARAMETERS with a list of parameters which are passed to the shell-script. Unfortunately some parameters contains blanks, such as a material description.
How do I have to call SXPG_COMMAND_EXECUTE so that a parameter "AA BB" or "CC   DD" conserves as one parameter when it is passed to the shell-script and the shell-script can recognize these as one parameter and not as two or more.
Maybe someone has a suggestion for another solution to handle this problem.
Thanks in advance
Karl-Wilhelm

Hi,
thanks for the answer. But thats doesn't match my problem. What I want is to start a shell-script with parameter whereas some parameters might include one or more blanks. Like for examples a script with only one parameter:
shell-script 'this is a parameter'
What I found out while testing with SM49 is, when I put the parameter into apostrophe than the parameter is passed as a single parameter to the script. But SM49 elsewell SXPG_COMMAND_EXECUTE condense more than blank to only one blank. And the apostrophe remain in the parameter.
SM49:
shell-script 'This   is a parameter'
The shell-script gets the parameter 'This is a parameter' , whereas the apostrophe ' and the start and at the end is part of the parameter.
Using the function modules SXPG_RFCDEST_OPEN_INT, SAPXPG_START_XPG and SAPXPG_END_XPG instead of SXPG_COMMAND_EXECUTE solves the problem of condensing the blanks to one blank. But the apostrophe is still part of the parameter. And I have to consider that the apostrophe might be originally part of the parameter.
And I have to solve this problem.
Regards
Karl-Wilhelm

Similar Messages

  • Error changing data type to date in column containing blanks

    I am pulling data from an OLAP cube into PowerPivot. My data set contains several date columns wich are formatted as YYYY-MM-DD string values. After successfully importing the data, I am trying to set the data type of these columns to date.
    Apparently, when the column contains blank values, the conversion fails:
    The following system error occurred:  Type mismatch. Datatype conversion failed for [Table: 'SO fact table', Column: 'Shipping Date LastDateDate', Value: ''].
    When the column contains no blanks, the conversion succeeds.
    Would anyone have an idea for working around this issue ?
    Is there some MDX magic that I could use in my query in order to cast blank dates to something that PowerPivot would accept to convert, or to make the conversion to the date format right at the source ? 

    Hello,
    I did a quick test with data from Excel sheet formatted as text containing ISO date values with one blank value, in Power Pivot I then changed it to type "Date" and it works without an issue; so it must have an other reason:
    You can try to use the
    DAX function "DateValue" to convert the values
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to Avoid Errors in Max Function When Data Contains Blank Cells

    I have a column with duration values. However, it also contains some blank cells. These "blank cells" have formulas in them, but as the cells they reference too are blank the formula doesn't produce a result.>/p>
    I want to get the max value from this column. When I simply do =MAX(column-name) I get an error, presumably because some of the cells are blank. This table is going to be highly dynamic, so I don't want to limit the range of the MAX() function to only those cells with values.
    So does anyone know a solution for this, please? If I was some how able to create a formula which returned the range of cells with actual values, then I could use that in the MAX() function. Or, if I could somehow tell the MAX() function to ignore blank cells, but I'm not sure either of these are possible.
    Thanks,
    Nic

    I don't see a problem with "blank" (null string) cells mixed with duration cells.  MAX works fine with this mix of cells. But if the "blank" cells are numbers, not text, that gives an error.
    A formula always produces a result. A formula cannot result in a blank cell. The closest you can get to "blank" is a null string (the result of two quotes next to each other with nothing between them) . So the question is, what is the result that you are calling "blank"?

  • Thumbnail of the pdf contains blank section where there were images. However, the text is displayed.

    Hi there,
    I was trying to get thumbnail images of the pdf pages using coldfusion 10 cfpdf. Thumbnails have been generated for most of the pdf files. However, for one particular pdf file, the text in the pdf file were displayed properly but the image section was blank for the generated thumbnail image. I have tried genearting a normal image (tiff format) of the pdf page but the tiff file also has blank section in the place of images. I came across the below page and found that the image in the pdf might be of jpg 2000 format.
    http://stackoverflow.com/questions/1033503/cfpdf-thumbnail-problem-not-showing-background- images
    This has been a know issue in the Coldfusion 8. But I am unable to get the information about this issue in the Coldfusion 10 version. Could anyone please help me to resolve this problem?

    There are a few options for you here. In the Inspector>Metrics Tab, when you click on the picture, it will display the name. Then you can use the find feature of the Finder to locate the picture. If you have Keynote set to save files as Packages, you can right click the file in the Finder (or control click) and then select Show Package Content. This will show you all the files that make up your Keynote and you can copy the pictures out of there into a new folder. Finally, if you can't find them any other way, you can select and copy the picture in Keynote, then open Preview and command-n (or File Menu>New from Clipboard) and then save the file to where ever you want so you can find it.

  • Can I order a book containing blank pages?

    I'd like to give someone an iPhoto album as a gift, but with some blank pages at the end so that my friend can add a few of her own prints in the future. Is this possible? Would the blank pages have placeholders or something to hold the prints?
    Also, can anyone direct me to the UK prices for the albums? This link was mentioned in a post but it now appears to be dead:
    http://www.apple.com/uk/ilife/iphoto/books/prices.html
    iMac G5 2.1 GHz, 1.5 GB RAM   Mac OS X (10.4.3)  

    Hi Ryan,
    i just came across this Apple kb pertaining to the blank pages.
    http://docs.info.apple.com/article.html?artnum=93283
    For the book pricing try this:
    Highlight your book
    click on the "themes" button
    In the next window click on the "Options and Prices" button

  • Af:inputText problem : how to display text containing blank spaces

    Hi,
    I have a inputText in af:table with clickToEdit mode, when I commit a value from input text
    for e.g
    "This is______________ a ________text with_________lot________of_______blank spaces"
    (_ undescore represents spaces)
    it get saved perfectly fine to db, but when I am in display mode , it removes all spaces leaving one space
    "This is a text with lot of blank spaces"
    seems like problem is with while displaying, component is not rendering more than one blank spaces
    Message was edited by:
    user626222

    Hi Frank,
    Thanks for your response,
    I am using inputText in af:table with editingMode="clickToEdit"
    so, when its in edit mode, it deplays the correct value as its saved in db
    as soon as you come back to view mode , it eliminates extra spaces replaces with one space
    Thank you

  • I have updated firefox 9.0.1. when i open my yahoo email, i can see my email but contain blank. When i open my email through Internet Explorer, i don't have problem like this. I can read it.

    email contents blank

    I moved the file formhistory.sqlite to another file folder. I then started Firefox up again to see if it worked or if I needed to start it in Safe Mode. No need for Safe Mode. It now works exactly as it should. Thank you so much!!

  • All the emails I am receiving contain blank sender and subject lines and contain no data.

    All the emails I have received over the past 4 days are blank.

    Your folder might be corrupted.
    Move any emails that you want to keep into a new folder. '''There is a possibility of losing emails during a repair of a corrupted folder.'''
    Right click the problem folder. Select Properties. Then Repair Folder.
    Read this article about system maintenance to help prevent this in the future.
    http://kb.mozillazine.org/Keep_it_working_-_Thunderbird

  • Create directory on SAP application server with blanks

    Hi,
    is it possible and if so how to create within ABAP a directory on a Linux based SAP application server that contains blanks.
    We've tested with SXPG_COMMAND_EXECUTE but didn't succeeded.
    A working code snippet would be great.
    Thanks and kind regards
    Florian

    Hi
    Try with Tcodes SM49/SM69.
    Thanks,
    Sreeram

  • "blank" unknown album can't be deleted

    A unknown album showed up out of nowhere in my pictures and contains "blank" pictures that look greyish and when you click on one it comes up black with no options like a normal picture. I've tried deleting the pictures individually and as an album with no luck. I've updated and restarted my phone and also deleted all of the pictures off my phone and they are still there.

    have you tried using the "File Explorer" application ?
    Want to contract me? You can follow me on Twitter @RobGambino
    Be sure to click Like! for those who have helped you.
    Click Accept as Solution for posts that have solved your issue(s)!

  • ODS Key Fields allows blank values in Transformation

    Dear Experts,
    I have two layers:
    1. Datawarehouse layer (purpose is to represent exactly data at the backend)
    2. Consolidation Layer
    Scenario 1:
    In Datawarehouse layer, the fiscal variant is a key field in ODS and I have two other key fields i.e. combine to form a composite key.
    When I load the data from PSA to this ODS, I have a record which contains blank value for the fiscal variant. It successfully loads into the Datawarehouse ODS.
    Sceanrio 2:
    In the consolidation layer, i have 4 key fields out of which fiscal variant is one of them. Now when I load the data from the datawarehouse ods to consolidated ods, it throws an error saying:
    Diagnosis
         An exception fiscvarnt_missing was raised while executin
         module RST_TOBJ_TO_DERIVED_TOBJ .
    System Response
         Processing the corresponding record has been terminated.
    The transformation mapping for the fiscal varaint in both sceanarios is 1:1 mapping with the rule type 'Time Characteristic'.
    My questions is:
    1. Why different behaviour during scenario 1 and sceanario 2
    2. Solution to the above issue
    Thanks
    Jain

    Thanks J.S.
    Yes the format selected in the field for the datasource is 'Internal'.
    When loading the data from R3>PSA>ODSX(Datawarehouse Layer), I have no problems even when the field is blank.
    When loading from ODSX-->ODSY(Consolidated Layer) the empty (blank) field for that records throws error.
    Any ideas?
    Jain

  • Download file to SAP server including blanks in its name

    Hello,
    after going live with a developed application for downloading documents from KPRO to SAP server the users found out that they need filenames which contain blanks. (Don´t ask why!   )
    This results now in the effect that e.g. they will download a file to the SAP server which is named
    map_doc 1234 abc.pdf
    Using the function module CV120_KPRO_CHECKOUT_TO_SERVER
    the file is downloaded as
    map_doc
    and this is wrong!
    CV120_.... is using OPEN DATASET which is obviously cutting the filename after the first blank.
    I tried to correct that by adding function module ARCHIVEFILE_SERVER_TO_SERVER (found hint here on SDN) but this one is running into the same problem.
    Does anybody know how to fix that problem?
    Is there any possiblity to rename files on the SAP server to names including blanks?
    Your help is really appreciated!
    Best regards
    Dirk

    Hi Ankesh,
    using  ' '   together with OPEN DATASET results in shortdump with TRANSFER for file content!
    So this is no way!
    Using ' ' providing the CV120.... function module does not work, because the FM erases them before
    using OPEN DATASET .
    regards
    Dirk

  • How to suppress Blank records

    Hi All,
    I am having a tab delimeted .txt file which contains blank records which need to be supressed otherwise i get empty XML tags in the output as shown below.
    - <Header>
      <PERNR />
      <BEGDA />
      <ENDDA />
      <SCHKZ />
      </Header>
    Actually i am getting a tab in PERNR field. I tried the createif function but its not working .Can anyone help me out in this

    Hi,
    The following way is one way if you are using sender file with content conversion.
    NameA.fieldContentFormatting
    &#9679;     Specify trim to remove all the leading and subsequent blanks for a value found. This is the default.
    &#9679;     Specify nothing to ensure that the value remains unaltered.
    The second way is..
    if target structure is 0..unbound then
    source -- exists-- createIf -- target node
    or write UDF to handle input string is null then return
    ResultList.SUPPRESS in you UDF.before that the target parent node/node should be having occurrences 0..unbound/0..1
    please clarify
    Regards
    Chilla..

  • Printing blank spaces using dbms_output.put_line

    There is one string getting generated dynamically. Upon generation, it may or may not contain blank spaces in the beginning. Then I am trying to print this on standard I/O using DBMS_OUTPUT.PUT_LINE. But if there are some leading spaces in the string, they are ignored. Is there any other way to print the exact string as it is?

    hi..
    it's depend on your client configuration.. you can configure the wrap option at the serveroutput parameter...
    set serveroutput on size 100000 for wrap;
    begin
      2    dbms_output.put_line('  Hello world.');
      3  end;
      4  /
      Hello world.
    PL/SQL procedure successfully completed.

  • XSQL Command-Line, parameters with blanks

    Is it possible to use XSQL Command-Line with parameters containing blanks (space characters).
    In an URL parameter spaces can be encoded with "+" or "%20", but this does'nt seem to work with XSQL Command-Line parameters.
    -- Peter

    I can't make this work on Unix (solaris), but I can see it is a shell script problem, not a XSQL problem.
    The normal syntax for Unix shell script would be
    $ script.sh foo="one two"
    but the standard Oracle-supplied xsql unix shell script sets environment and passes all command-line parameters to the java program with
    oracle.xml.xsql.XSQLCommandLine $*
    and thereby the quotes disappear.
    The problem is not really big, since I could just do
    oracle.xml.xsql.XSQLCommandLine test.xsql "foo=one two"
    after setting classpath. Anyway, if anybody knows how to make the xsql script work with quoted parameters, let me know.
    -- Peter

Maybe you are looking for

  • Adding New Text Comment in Traditional Chinese shows Error

    When adding New Text Comment in Traditional Chinese , it pops up a window with "Error, but instal the latest version of Traditional Chinese Language Support Package may fix the error", but I have installed the latest one (Adobe Acrobat Reader DC 2015

  • InfoPackage Selection - Logical OR

    Is there any way to enable a Logical 'OR' in an InfoPackage on 2 fields? When both fields are populated by respective ABAP routines, the result condition turns out a Logical 'AND'. I have two timestamp fields, in InfoPackage Selection TS1 and TS2 int

  • Password protect photos

    Is there a way to protect selected photo files with a password?

  • N97 photo Browser question

    I've moved all the pics from ny N95's SD card to the mass storage in my N97. I copied across the year/month file structure into the images/camera folder but when I first enter the photo browser app they all show up in a location called Download. That

  • Sql query format involving a funtion that returns multiple/array of values

    Lets say u have two types of functions... FUNCTION 1 function my_name ---- in package spec      return varchar2; function my_name -----in package body return varchar2 is begin return 'this is my name'; end my_name; select package.my_name from dual; -