Wildcard in rm with SXPG_CALL_SYSTEM

Hello everyone
I'm calling function SXPG_CALL_SYSTEM for a system command without parameters.
This command is defined in sm69 and is stated:
command: rm
parameters: -r /Gedis/Interfaces/GD1/DOC1/tre/*
extra parameters: no.
The function executes and the result i get is: 
rm: /Gedis/Interfaces/GD1/DOC1/tre/*: A file or directory in the path name does not exist.
We double- and  triplechecked the writing, and that's ok.
Could it be that the wildcard '*' can not be executed ?
Thanks in advance.
Merijn.

Well even i tried once for executing a wild card search parameter for a call to an external global data system for fetching vendor details through SXPG_CALL_SYSTEM. And we convinced the client that it was not possible and changed the bussiness requirement. Lets wait and see if someone comes up with a solution if it exists.
Virkanth

Similar Messages

  • Wildcard SSL Certificates with MFE?

    Is anyone using a wildcard SSL certificate on their mail server when using Mail for Exchange on assorted Nokia E Series mobiles please?
    We currently use a straight SSL cert and MFE works with no problem, however I've been looking into getting a single wildcard SSL certificate for our domain.
    Before doing anything I figured I'd try a website that used a wildcard certificate.
    When I did this (using an E51) I got the message "Website has sent a certificate with a different website name than requested" and was prompted to accept once, permanently, or don't accept.
    My question is whether this message would come up in a clear/obvious manner when using Mail For Exchange on a Nokia (so I can tell our users what to do when it does), and whether anyone has encountered issues using a wildcard with Nokias when using Mail for Exchange.
    If anyone has an E-Series and is using a Wildcard cert can you let me know if you've encountered any issues please?
    Thanks.

    This is interesting question. I look forward testing this myself
    What kind of cert & website you used on your own tests? Was the cert something like *.example.com? And the domain, was it https://something.example.com or https://example.com ? AFAIK wildcard doesn't match addresses consisting domain part only, so the latter one might not work.
    Help spreading the knowledge — If you find my answer useful, please mark your question as Solved by selecting Accept this solution from the Options menu. Thank you!

  • Use of Wildcard SSL cert with DRM

    DRM needs a URL to be embedded in the protected PDF document(e.g., mysite.mycompany.com).  The SSL certificate for the URL must be from a trusted provider (e.g., Verisign).  My question is will Adobe Reader accept for DRM a wild card SSL certificate (e.g., *.mycompany.com) from a trusted provider?

    Hi,
    The Operations Manager agents support two types of authentication method, Kerberos or certificate based authentication. In order to monitor servers and clients located outside the Operations Manager’s native Active Directory domain, you will need to configure
    certificate authentication using either an internal Certificate Authority or through a 3rd party Certificate Authority.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • FILE NAME WITH FILE EXTENTIONS

    HI EXPERTS!!
    I WANT TO GET THE FULL FILE NAME STRORED IN THE SERVER FOLDER. I USED  FM RZL_READ_DIR_LOCAL BUT I AM GETTING ONLY 32 DIGITS OF NAME NOT FULL NAME AND ALSO SIZE PARAMETER IS CONCATENATING WITH NAME.
    I WANT THE FILE NAME WITH FILE EXTENTIONS(TXT. .PDF ETC)..
    PLZ SUGGEST ME HOW TO GET THE SAME..
    PLZ REPLYE ME..
    MAHESH

    Hi Mahesh,
    Try the below FM in the below code.
      DATA:
        LV_PERMISSION(10),                 " Permission
        LV_H2,                             " H2
        LV_FLNM(13),                       " File name
        LV_USER(10),                       " User
        LV_GROUP(10),                      " Group
        LV_SIZE(15),                       " Size
        LV_MONTH(3),                       " Month
        LV_DAY_C(2),                       " Day
        LV_YEAR(5),                        " Year
        LV_FILE_NAME       TYPE FILE_NAME, " Filename
        LV_JUNK,                           " Junk
        RETURN_CODE      TYPE I.           " Return code
      DATA:
        CMD_PARAMS LIKE SXPGCOLIST-PARAMETERS,
                                           " External prg.parameters
        CMD_OUTPUT TYPE BTCXPM OCCURS 0,   " Log message
        STATUS TYPE EXTCMDEXEX-STATUS.     " Status
      CONSTANTS:
        LC_DIR TYPE C VALUE 'd'.           " Directory
      FIELD-SYMBOLS: <CMD_OUTPUT_LINE> LIKE LINE OF CMD_OUTPUT.
      CMD_PARAMS = PV_DIRECTORY.
      CLEAR CMD_OUTPUT.
      CALL FUNCTION 'SXPG_CALL_SYSTEM'
           EXPORTING
                COMMANDNAME                = 'Y_LS_LN'
                ADDITIONAL_PARAMETERS      = CMD_PARAMS
           IMPORTING
                STATUS                     = STATUS
                EXITCODE                   = RETURN_CODE
           TABLES
                EXEC_PROTOCOL              = CMD_OUTPUT
           EXCEPTIONS
                NO_PERMISSION              = 1
                COMMAND_NOT_FOUND          = 2
                PARAMETERS_TOO_LONG        = 3
                SECURITY_RISK              = 4
                WRONG_CHECK_CALL_INTERFACE = 5
                PROGRAM_START_ERROR        = 6
                PROGRAM_TERMINATION_ERROR  = 7
                X_ERROR                    = 8
                PARAMETER_EXPECTED         = 9
                TOO_MANY_PARAMETERS        = 10
                ILLEGAL_COMMAND            = 11
                OTHERS                     = 12.
    Check Status first then check sy-subrc
      CASE SY-SUBRC.
        WHEN 0.
          CASE STATUS.
            WHEN 'F'.
              MESSAGE I057(YS) WITH 'SXPG_CALL_SYSTEM'(002).
              GF_EXIT = GC_TRUE.
            WHEN 'E'.
              MESSAGE I058(YS) WITH 'SXPG_CALL_SYSTEM'(002).
              GF_EXIT = GC_TRUE.
            WHEN 'S'.
              MESSAGE I059(YS) WITH 'SXPG_CALL_SYSTEM'(002).
              GF_EXIT = GC_TRUE.
            WHEN 'C'.
              MESSAGE I061(YS) WITH 'SXPG_CALL_SYSTEM'(002).
              GF_EXIT = GC_TRUE.
          ENDCASE.                         " CASE STATUS.
        WHEN 1.
          MESSAGE I048(YS) WITH 'SXPG_CALL_SYSTEM'(002).
          GF_EXIT = GC_TRUE.
        WHEN 2.
          MESSAGE I049(YS) WITH 'Y_LS_LN'(003).
          GF_EXIT = GC_TRUE.
        WHEN 3.
          MESSAGE I050(YS) WITH 'SXPG_CALL_SYSTEM'(002).
          GF_EXIT = GC_TRUE.
        WHEN 9.
          MESSAGE I054(YS) WITH 'SXPG_CALL_SYSTEM'(002).
          GF_EXIT = GC_TRUE.
        WHEN 10.
          MESSAGE I055(YS) WITH 'SXPG_CALL_SYSTEM'.
          GF_EXIT = GC_TRUE.
        WHEN 11.
          MESSAGE I056(YS) WITH 'SXPG_CALL_SYSTEM'(002).
          GF_EXIT = GC_TRUE.
        WHEN OTHERS.
          MESSAGE I022(YS) WITH SY-SUBRC.
          GF_EXIT = GC_TRUE.
      ENDCASE.                             " CASE SY-SUBRC.
      IF GF_EXIT = ' '.
        READ TABLE CMD_OUTPUT ASSIGNING <CMD_OUTPUT_LINE> INDEX 1.
        IF SY-SUBRC = 0.
          CONDENSE <CMD_OUTPUT_LINE>-MESSAGE.
          IF <CMD_OUTPUT_LINE>-MESSAGE CS 'total' OR
             <CMD_OUTPUT_LINE>-MESSAGE CS 'TOTAL'.
            DELETE CMD_OUTPUT INDEX 1.
          ENDIF.
        ENDIF.
        LOOP AT CMD_OUTPUT ASSIGNING <CMD_OUTPUT_LINE>.
          CONDENSE <CMD_OUTPUT_LINE>-MESSAGE.
          SPLIT <CMD_OUTPUT_LINE>-MESSAGE AT SPACE INTO
                                          LV_PERMISSION
                                          LV_H2
                                          LV_USER
                                          LV_GROUP
                                          LV_SIZE
                                          LV_MONTH
                                          LV_DAY_C
                                          LV_YEAR
                                          LV_FILE_NAME
                                          LV_JUNK.
          IF LV_PERMISSION(1) = LC_DIR.
            CONTINUE.
          ELSE.
            LV_FLNM = LV_FILE_NAME(13).
            TRANSLATE LV_FLNM TO UPPER CASE.
            IF LV_FLNM = '1W_FIARFUNNEL'.
              PT_FILE-FILE_NAME = LV_FILE_NAME.
              APPEND PT_FILE.
            ENDIF.                         " IF LV_FLNM = '1D_FIARFUNNEL'.
          ENDIF.                           " IF lv_permission(1) = ...
        ENDLOOP.                           " LOOP AT CMD_OUTPUT
      ENDIF.                               " IF GF_EXIT = ' '.

  • Wildcard certificate in Outlook Anywhere

    I tried to fix a bit our Outlook Anywhere and set certificate for my EXPR provider to "msstd:*.domain.com" (I use *.domain.com certificate for exchange). But all Outlook clients after restart show error: "There
    is a problem with the proxy server's security certicate. The name on the security certificate is invalid or does not match the name of the target site owa.domain.com. Outlook
    is unable to connect to the proxy server. (Error Code 0)".
    I set EXPR provider to "msstd:owa.domain.com" (my exchange server address) and all works fine now.
    Why I could not switch certificate to wildcard?

    Hi,
    If you have done the following changes:
    Set-OutlookProvider -Identity EXPR -CertPrincipalName msstd:*.domain.com
    Please follow Ed’s suggestion to make sure the Wildcard certificate assigned with IIS service. We can run the following command to get more information about your certificates:
    Get-ExchangeCertificate | Select CertificateDomains,Services,Status
    If the Wildcard certificate is not assigned with IIS service, please
    use the Enable-ExchangeCertificate cmdlet and specify IIS services. Additionally, here is a related KB about this issue:
    http://support.microsoft.com/kb/923575
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Use of % for wildcard matching in cursor

    i can use the wildcard character('%') in a statement something like this :-
    where city like nvl(cit,'%') in which if the null value is encountered in the variable 'cit', then city could be anything.
    Now, my question is can i use this wildcard character('%') in a between condition like:
    where serial_no between nvl(from_serial,'%') and nvl(to_serial,'%')
    I guess we cannot use the wildcard character('%') in a between condition like we can in a 'like' statement. So, how do i use the wildcard character('%') in a between statement. Please help in resolving the problem.

    Jatin
    You are correct, wildcards only work with LIKE.
    How you write your where clause depends on what datatype is involved. Assuming serial_no is numeric:
    where serial_no between
    nvl(from_serial,serial_no-1) and
    nvl(to_serial,serial_no+1)
    OR you could do it more explicitly
    where (from_serial is null
    or serial_no >= from_serial)
    and (to_serial is null
    or serial_no <= to_serial)

  • Wildcard SSL certificates

    Hi, I was wondering if someone got CSS1150X with SSL accelerator working with wildcard SSL certificate. We have 10+ sites we would like to enable SSL and figured wildcard certificates are way to go based on the cost. Specially, since most of the wildcard certificates comes with limitation of being able to install it on only one physical machine. I assume CSS would be considered one physical machine if SSL traffic is terminated on the CSS, however, wanted to find out whether wildcard SSL certificate is supported on CSS. We are using CSS11503 and depending on whether it supports wildcard certificate, we are planning on purchasing SSL accelerator.

    Thanks for the information, Gilles. Looking at the pricing structure of SSL certificates, I wonder why wildcard certs aren't widely used as one would expect based on the cost. Well, I guess I will find out when I implement one. Thanks again.

  • Does Convergence + messaging server 6.3 support wildcard cert ?

    Hi all,
    We plan to purchase a wildcard cert to support our convergence & messaging server SSL connection.
    from the messaging guide provide. it stated we need to generate individual private key & sent to vendor to verify
    what if we are using wildcard cert, do it work in this case ?
    Cheer
    ubd

    ubd wrote:
    So means i generate 1 wildcard cert, then apply to all other server ssl connection, or i need to generate individuallyTo use the same CA signed certificate (wildcard or otherwise) with multiple applications (Application Server and Messaging Server in this case) requires that the same private key be used across the applications. To this end you will need to export/import the certificate/keys between the applications using a utility such as pk12util.
    http://docs.sun.com/app/docs/doc/819-3671/ablrh?a=view
    http://docs.sun.com/app/docs/doc/819-4428/bgbbf?a=view
    Regards,
    Shane.

  • SXPG_CALL_SYSTEM execution

    Hello everybody
    I need some help with SXPG_CALL_SYSTEM.
    I use it to in combination with unix commands TAR en GZIP.
    Everything works when i'm logged in as an admin user.
    The problem is that the commands don't do a thing when i'm logged in as a normal user.
    The return code of the function is 0, so it  means the command is executed. But it hasn't done anything.
    But i would like to get the 'no permission' exception (or any other) to verify that the commands aren't executed.
    Is there anyway to check if the user can execute this function.
    Thx in advance.
    Merijn.

    The function module [SXPG_CALL_SYSTEM|http://help.sap.com/saphelp_nw70/helpdata/en/fa/0971ee543b11d1898e0000e8322d00/frameset.htm] should already execute an authorization check. When you mention a return code 0 I'm assuming that you are talking about SY-SUBRC in ABAP (not OS level) and that you are not doing something obvious like setting all exceptions to 0 (e.g. OTHERS = 0)...
    There's function module [SXPG_COMMAND_CHECK|http://help.sap.com/saphelp_nw70/helpdata/en/fa/097208543b11d1898e0000e8322d00/frameset.htm], which can be used just for carrying out the authorization check.
    I suspect your normal user doesn't have authorization for SM49, but I'd give this a try and see what happens. Also, you might want to check the system log (SM21) and the trace file dev_cp (ST11, depending on your patch level you might need to activate trace via setting the TRACE parameter) and see if that gives you anything useful. In addition you could of course also try an authorization trace (ST01).
    That's pretty much all I can think of right now. Maybe somebody else has some better ideas or you have some further details after doing some more checks...

  • Installing a Wildcard Certificate in STRUST

    Hi,
    I am trying to install a wildcard SSL certificate using STRUST on our ABAP system.
    If I try to import it using the "Import Cert. Response" button, I get an error message saying the certificate cannot be installed. I presume this is because my private key does not match the public key of the certificate.
    How can I get a wildcard certificate working with my ABAP system? Do I need to somehow change the private key of my system?
    Thanks in advance

    Hi Stuart,
    Please check below thread it may help in your case.
    Problem importing a certificate using Strust
    https://scn.sap.com/thread/1587251
    BR
    Atul

  • Wild Carding with Record Search - Auto Suggest Behavior

    I have a property by name searchTerm which is enabled for wild card record search. When I am doing a wild card search passing bbay* to ERecSearch , it is not auto correcting to baby and returning no results, whereas when I send bbay to Endeca, it is automatically auto correcting to baby.
    Please let me know why is this different behavior noted. Do we not expect them to auto correct even when we use wild carding. Please throw some light on this and how can this be achieved

    As Pradeep said, auto-correction is one of the linguistic features that isn't supported for wildcard searching (along with stemming, thesaurus, snippeting and phrasing). One approach is to do a "cascading search", so execute a search without wildcarding first (and getting spell-correction, did-you-mean, stemming etc.), and if you don't get any matches then re-submit as a wildcarded search. This is also useful as part of a larger part number matching strategy.
    Michael

  • Using a Logical File (FILE) in an External Command (SM69)

    I have an external command defined in SM69 that runs a script on the application server. The command is called from within an ABAP program with SXPG_CALL_SYSTEM. It currently works as it should.
    The issue is that the external command is defined as:
    sh /absolute/path/to/script/file
    I have been told to instead set up a logical file in FILE so that the command would be:
    sh <MY_SCRIPT_LOGICAL_NAME>
    I've gone into FILE and defined MY_SCRIPT_LOGICAL_NAME as:
    Logical File = MY_SCRIPT_LOGICAL_NAME
    Name = Descriptive Text
    Physical File = <SYSID>actualname.scr
    Data Format = ASC
    App Area = HR
    Logical Path = SCRIPT_PATH
    where SCRIPT_PATH is also defined in FILE with the physical path of:
    /iface/<SYSID>/outboundhr/scripts/<FILENAME>
    So when I try executing the command with SM49 as defined as:
    sh <MY_SCRIPT_LOGICAL_NAME>
    I just get Exception raised: OTHERS
    If I define the command as:
    ls <MY_SCRIPT_LOGICAL_NAME>
    I get the same thing, Exception raised: OTHERS
    I'm guessing that the logical file name isn't getting translated. Does anyone know if it should in this instance? Is anyone using a logical file as part of an external command?
    Thanks much.

    I think you must use FM FILE_GET_NAME to translate the logical file name to a physical one before executing the command.
    Like:
    DATA: physical_file_name(60),
          my_script_logical_name(60) VALUE 'CLASSIFICATION',
          format(3).
    CALL FUNCTION 'FILE_GET_NAME'
      EXPORTING
        logical_filename = my_script_logical_name
      IMPORTING
        file_format      = format
        file_name        = physical_file_name
      EXCEPTIONS
        file_not_found   = 1
        OTHERS           = 2.
    Rob
    Message was edited by: Rob Burbank

  • Query of queries problem or bug

    Hello Everyone,
    I have used cfdirectory to get a list of files. As the result
    I receive query with the files.
    Then I want to search it using query of queries. I' ve found
    a problem and I wonder if it is a bug of Coldfusion or perhaps
    wrong usage of QoQ. The thing is that the files that I have are
    using '_' and then are followed by number of week. It seems that
    searching something like this '%_6' returns results *_*6. See
    attached code.
    Thanks for all answers in advance.

    > I think you'll find "_" is a single-char wildcard when
    used with the LIKE
    > operator.
    Found out how to escape it:
    WHERE Name LIKE '%[_]6%'
    I'm glad you brought this up... I didn't know about this
    until I looked @
    your issue. That's my new thing learned for the day: I can go
    to the pub
    now ;-)
    Adam

  • Configure HS talk to mysql through ODBC

    Hello
    Running 10g rel2 on Linux 64bit. Need to dblink to mysql 5.
    Configured:
    /etc/odbc.ini
    [myodbc]
    Driver = /usr/lib64/libmyodbc.so
    Description = MyODBC 2.50 Driver DSN
    SERVER = 209.71.254.40
    PORT = 3306
    USER = posman
    Password = posman
    Database = poseidon
    OPTION = 0
    SOCKET =
    Listener.ora
    (SID_DESC=
    (PROGRAM=hsodbc)
    (SID_NAME=myodbc3)
    (ORACLE_HOME=/opt/oracle/product/10.2.0/rtbrs3)
    (ENVS=LD_LIBRARY_PATH = /opt/oracle/product/10.2.0/rtbrs3/lib32:/lib:/usr/lib64)
    Tnsnames.ora
    HSODBC =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = everest.ca)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID= myodbc3)
    (HS=OK)
    inintmyodbc3.ora
    HS_FDS_CONNECT_INFO = myodbc3
    HS_FDS_TRACE_LEVEL = off
    When I do tnsping HSODBC is works.
    I create the DBLINK and that works.
    I test the dblink and it fails with
    SQL> select * from "emp"@testdb;
    select * from "emp"@testdb
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from TESTDB
    Please help

    we had problems with the * wildcard and also with aliases and synonyms for table joins.
    make them simple like this: select "column_name" from table_name@testdb;
    and make a separate view for each query then use a query to join the views in Oracle.

  • Calling DLL from ABAP (BSP) in the background

    Hello,
    We are developing a picture upload webpage (BSP). When uploading the picture has to be checked for certain attributes. This can be done by a dll supplied by a supplier. The dll has as input the location of the image (on the server) and returns a returncode.
    How can I call the dll in het background with the input parameters and get the result? SAP is on a windows system. We are not allowed to use ActiveX, also we want to do the check in the background.
    With regards,
    Frank

    I am already further.
    I created an executable with Visual Studio and have import parameters. Now with SXPG_CALL_SYSTEM I am going to try to call the executable. I get the table EXEC_PROTOCOL back where the output of the executable is called.
    I know have to found out how to save the uploaded jpg to the server.

Maybe you are looking for

  • More information re my problem with text image

    Hi All I have designed some text headings (which are in colour) with a transparent background  in fireworks and exported it (gif) to Dreamweaver. That is all good. But when I place the text image (as a background image) in Dreamweaver the text has (i

  • Availability check on storages in sales order and delivery documents

    Hi all, I'm verifying if it's possible to find a standard or a custom solution for this type of problem: I have a scenario in which there are more storages relevant for MRP (ex. 01, 02, 03, 04), and, in if I check availability in sales order or deliv

  • IPhoto 6 Colour Problems

    Having just upgraded to iPhoto 6, my iPhoto library thumbnail colours have all become v. high chroma and lurid. All photos look fine in Preview and Quicktime players, but not in iPhoto, which makes them impossible to edit correctly, as the colours do

  • How to add custom barcolor in ProgressIndicator?

    Hi, I want to add custom color to barColor property of ProgressIndicator. How user defined color can be added to barColor? Thanks, Shashi

  • Preparing Imovie for the Web

    I work for a college and we created a movie in Imovie HD6 that we would like to put on our schools website. We have been experimenting with different formats but are not having any luck. We have exported the movie as DV, AVI, MPG4 broadband and MPG4