How to get the full path or name of the Layer to which Filter is applied?

Hi All,
          I have created a layer using some background image as source. How to get the name or ful path of the background image?
I checked the documentation and found GetPathNameProc(SPPlatformFileSpecification*) function, but I couldn't get the parameter SPPlatformFileSpecification*.
Is there any other way to get the file path of background layer in my custom filter?
Thanks,
Dheeraj

If this is a client side application then I'd say look into drag-n-drop tutorials.
i.e. drag file to your application, action listener fires, create File object giving you full name and path of users action.
If this is a web application then look into the "multipart/form-data" content type specifications on how to upload files.
i.e. user specifies file from <input type='file' ... /> type, submits, servlet receives data and recreates file locally on application server side.
If you are thinking that all you need to send a file to a program is the full path and name in a textbox its a little bit more complicated then that.
Good luck, hope that helps!

Similar Messages

  • Sharepoint Workflow : how to get document full path + file name into variable?

    Hi,
    Anybody knows how to get document full path + file name into a variable in Sharepoint 2010 workflow?
    Example http://sp1:80/InvoiceQueue/Shared Documents/123.pdf
    I am using List Workflow which links to a document library.

    Hi SAMSUNG,
    According to your description, my understanding is that you want to get the full path of a document in a list workflow.
    You can set the variable to the Enconded Absolute URL of the document. The screenshot is my testing. In my testing (in the red area), when the title of a document was equal to the tile of the current item, set a variable to the Enconded Absolute URL of the
    document. I used ‘Log to history list’ to check the value of the variable in Workflow History .
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to get the  Checked box which are clicked

    for(int k=0;.....
    jsp code
    <input type=checkbox name=checkbox value='<%=k%>' >
    how to get the particular Checkbox which are checked???

    String[] checkedValues = request.getParameterValues("checkbox");You'll get an array filled with the values only for the checked boxes. In other words, if no boxes are checked, checkedValues will be null or checkedValues.length == 0, not sure, going from memory.
    Hope this helps!
    Patrick

  • How to get the PDF data which i have send to Spool

    Dear Freinds,
                   My requirement is to display the output which iam getting from a custom report(ZSALARY) in the form of  PDF . So now i wanted to display the ALV output  on to my desktop (as of now) in PDF format.
    i have done the below coding please correct me why iam not getting the same data which is coming out of my report in the PDF, iam passing the same internal table.
    IF NOT it_final[] IS INITIAL.       -
    >IT_FINAL is my main internal table in the report ZSALARY
          DATA : count TYPE syprcop,
             days TYPE sypexpi,
             params TYPE pri_params,
             valid TYPE c,
          pdf_table TYPE  rcl_bag_tline,
          spoolid TYPE rspoid,
          pdf_fsize TYPE  i.
            CALL FUNCTION 'GET_PRINT_PARAMETERS'
              EXPORTING
                destination    = 'LP01'
                copies         = count
                list_name      = 'ZSALARY'   -
    tHIS IS MY REPORT NAME
                list_text      = 'ZSSPOOL'
                immediately    = ' '
                release        = 'X'
                new_list_id    = 'X'
                expiration     = days
                line_size      = 90
                line_count     = 65
                layout         = 'X_PAPER'
                sap_cover_page = 'X'
                receiver       = 'SAP*'
                department     = 'System'
                no_dialog      = 'X'
              IMPORTING
                out_parameters = params
                valid          = valid.
            NEW-PAGE PRINT ON PARAMETERS params NO DIALOG.
            WRITE : 'hi this is the test for spool'.
            NEW-PAGE PRINT OFF.
            COMMIT WORK.
            WRITE : / 'The Spool no is ', sy-spono. "system variable for spool no
            spoolid = sy-spono   .       -
    At this point i can see the spool no.
            CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
              EXPORTING
                src_spoolid   = spoolid
                no_dialog     = 'X'
              IMPORTING
                pdf_bytecount = pdf_fsize
              TABLES
                pdf           = pdf_table
              EXCEPTIONS
                OTHERS        = 0.
            CHECK sy-subrc = 0.
            CALL FUNCTION 'GUI_DOWNLOAD'
              EXPORTING
                bin_filesize = pdf_fsize
                filename                = 'C:\Documents and Settings\Administrator\Desktop\test.pdf'
                filetype                = 'BIN'
              TABLES
                data_tab                = it_final
              EXCEPTIONS
                file_write_error        = 1
                no_batch                = 2
                gui_refuse_filetransfer = 3
                invalid_type            = 4
                OTHERS                  = 5.
          ENDIF.
    if i go and on my desktop it is saying the below error "ADOBE  READER COUDNT OPEN 'test.pdf'
    because it is either not supported  file type or because the file has been damaged.
    my aim is to get the data which is there in IT_final in the PDF .....please correct me the parameters which i have given wrong. my doubt is in GUI_download  fM  in the tables should i pass it_final or
    the pdf_table coming from'CONVERT_ABAPSPOOLJOB_2_PDF'...... i tried this option iam able to open and it is just giving message which i kept before this FM i.e  WRITE : 'hi this is the test for spool'.
    what i should to get my internal table data.
    Pls help.
    regards
    srinivas.

    Dear Karthik,
              Thank you for giving me the link there by iam able to get the ouput download int he pdf
    as below code , but now a small problem for me .......i have 10 fileds in the Report ouput ....but however in the pdf output i can see only 8 fields and the two fields got truncated . Could you please tell me what
    i have to change in my below code so that i can get all the values  
    IF NOT it_final[] IS INITIAL.
    data : it_tsp01 type standard table of tsp01,
           l_wa_tsp01 type tsp01.
            CALL FUNCTION 'GET_PRINT_PARAMETERS'
              EXPORTING
                destination    = 'LP01'
                copies         = count
                list_name      = 'ZHR_BON'
                list_text      = 'ZSSPOOL'
                immediately    = ' '
                release        = 'X'
                new_list_id    = 'X'
                expiration     = days
                line_size      = 90
                line_count     = 65
                layout         = 'X_PAPER'
                sap_cover_page = 'X'
                receiver       = 'SAP*'
                department     = 'System'
                no_dialog      = 'X'
              IMPORTING
                out_parameters = params
                valid          = valid.
    SUBMIT (sy-repid) TO SAP-SPOOL
                     SPOOL PARAMETERS mstr_print_parms
                     WITHOUT SPOOL DYNPRO
                    WITH pnppernr =  p0001-pernr
                     AND RETURN.
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
              EXPORTING
                src_spoolid   = spoolid
                 no_dialog     = 'X'
                 DST_DEVICE  = params-PDEST
               IMPORTING
               pdf_bytecount = pdf_fsize
              TABLES
                pdf           = pdf_table
              EXCEPTIONS
                OTHERS        = 0.
            CHECK sy-subrc = 0.
            CALL FUNCTION 'GUI_DOWNLOAD'
              EXPORTING
                bin_filesize            = pdf_fsize
                filename                = 'C:\Documents and Settings\Administrator\Desktop\test.pdf'
                filetype                = 'BIN'
              TABLES
                data_tab                = pdf_table    "it_final
              EXCEPTIONS
                file_write_error        = 1
                no_batch                = 2
                gui_refuse_filetransfer = 3
                invalid_type            = 4
                OTHERS                  = 5.
          ENDIF.
    Please tell me how i can get the all the fields which are there in my normal alv output ......
    Case 1) .i wanted all the 10 fields in PDF  to be displayed  without truncated , I have checked in Spool ........ i found all the fields are there .....but however when i check the downloaed PDF i can see some fields are getting truncated.
    Case 2) However  if on the ALV output if the user  hides 2 fields out of 10 fields then only 8 feilds which are appearing on the output  before sending the Spool should only be displayed in PDF as well -
    > for this scenario what i have to do.
    Thanks  Once again.
    regars
    srini.

  • How to get the last wbs which is displayed  in transaction code cj03?

    Dear Experts,
       I want to get the last wbs which are displayed in  transaction code cj03, i have written below program,but i found it is incorrect. because the sort of wbs  in cj03 is not equal to table prps. the last wbs in cj03  is not equal to table prps.
    who can tell me how to get last wbs which is displayed in cj03?
      SELECT
         PRPS~STUFE
         PRPS~POSID
         PROJ~POST1
         INTO CORRESPONDING FIELDS OF TABLE WA_PRPS_TEMP FROM PRPS INNER JOIN PROJ ON PROJPSPNR = PRPSPSPHI
         WHERE PROJ~PSPID EQ P_PROJECT.
      WA_TLINE = LINES( WA_PRPS_TEMP ).
      READ TABLE WA_PRPS_TEMP INDEX WA_TLINE.
      IF WA_PRPS_TEMP-POSID = P_lastWBS.
        P_LAST = 1
    endif.
    Best Regards,
    Merry

    Hi Merry  ,
      The WBS elements are stored in the table PRPS , so please try using the conversion exit and use the data in internal format then use it in the IF condition.
    Check the FM CONVERSION_EXIT_ABPSN_INPUT and CONVERSION_EXIT_ABPSN_OUTPUT
    Regards,
    Arun

  • How to get the group key, which an approval task assign to

    Hi,
    When a user is assign to OIM Group (i.e. from User Detail >> Group Membership form), I will call an approval process (using Access Policy).
    In that approval process, I have defined two tasks.
    1) Assign Approval to Group -> NOT conditional
    2) Remove OIM Group From User -> conditional
    So, from the 1) task, I will assign this approval to a OIM Group.
    If the user click "Approva", a provisioning process will be fired.
    If the user click "Deny" (Reject), 2) task will be run.
    What I want is this.
    From this 2) task, I need to get the "OIM Approval group" key or name (which this approval is assigned to)......
    Note: I need to get this group info in the "Approval Process Task" -> "Integration" -> "Map"
    Regards,
    Chaturanga

    Hi,
    Yes. I have done that.
    Now what I want is this. If the approver "Deny" (Reject) the approval task, I will call another task in the approval process. From that task, I need to run a code, which remove the user from OIM Group.
    So, to do it, I have written a java code and created a adapter. So, as a input parameter for that code, I need to give the approval group name(i.e. the OIM group, above approval task is assign to).
    How can I get the OIM approval group, which the person who Deny the approval belongs to, from this new approval process task???
    Regards,
    Chaturanga

  • How to get the account numbers which maintains negative balance for consecutive 5 days

    Here is what I am trying to do 
    I am trying to get the accounts which has negative balance consecutively for five days
    Here in this a/c 1 and 5 has consecutive negative balance
     how to pull these accounts using sql query. 
    create table #p(cal date, ac# int, bal int)
    insert into #p values  ( GETDATE(), 1, -1),
                           ( GETDATE(), 2, 1),
                           ( GETDATE(), 3, 1),
                           ( GETDATE(), 4, -2),
                           ( GETDATE(), 5, -6),
                           ( GETDATE()-1, 1, -1),
                           ( GETDATE()-1, 2, 1),
                           ( GETDATE()-1, 3, 1),
                           ( GETDATE()-1, 4, 2),
                            ( GETDATE()-1, 5, -7),
                            ( GETDATE()-2, 1, -2),
                           ( GETDATE()-2, 2, -1),
                           ( GETDATE()-2, 3, -1),
                           ( GETDATE()-2, 4, 2),
                           ( GETDATE()-2, 5, -6),
                           ( GETDATE()-3, 1, -2),
                           ( GETDATE()-3, 2, -1),
                           ( GETDATE()-3, 3, -1),
                           ( GETDATE()-3, 4, 2),
                           ( GETDATE()-3, 5, -2),
                           ( GETDATE()-4, 1, -4),
                           ( GETDATE()-4, 2, 1),
                           ( GETDATE()-4, 3, 1),
                           ( GETDATE()-4, 4, -2),
                           ( GETDATE()-4, 5, -2),
                           ( GETDATE()-5, 1, -4),
                           ( GETDATE()-5, 2, 1),
                           ( GETDATE()-5, 3, 1),
                           ( GETDATE()-5, 4, 2),                       
                           ( GETDATE()-5, 5, -1)
                         --  drop table #p

    @ Jing
    Again not sure if it is ok to comment on other people's answers, I hope you don't take it the wrong way, but your query will not account for CONSECUTIVE days. E.g. if the acc balance goes back to a positive value, day count must be reset.
    Now I understand why people answered this so much faster than me LOL.
    Edit: Besides, the requeriment for the acc being returned is that its value was negative for 5 days (120 hours). When a given account balance first switches to a negative value, it has 0 hours in that state. It all add a day to its "negative balance consecutive
    day count" property the next time its value is checked (cal + 1). With that said, if your query worked, it would be cnt > 6 not cnt > 5.
    Thanks for pointing the issue. I have improved my query  to address it.
     I try to come up with something to my understanding to the questions. It may not interpret right  from the question itself for various reasons.  I still consider it is a great learning experience.   Thank you for your comments.
    create table #p(cal date, ac# int, bal int)
    insert into #p values ( GETDATE(), 1, -1),
    ( GETDATE(), 2, 1),
    ( GETDATE(), 3, 1),
    ( GETDATE(), 4, -2),
    ( GETDATE(), 5, -6),
    ( GETDATE()-1, 1, -1),
    ( GETDATE()-1, 2, 1),
    ( GETDATE()-1, 3, 1),
    ( GETDATE()-1, 4, 2),
    ( GETDATE()-1, 5, -7),
    ( GETDATE()-2, 1, -2),
    ( GETDATE()-2, 2, -1),
    ( GETDATE()-2, 3, -1),
    ( GETDATE()-2, 4, 2),
    ( GETDATE()-2, 5, -6),
    ( GETDATE()-3, 1, -2),
    ( GETDATE()-3, 2, -1),
    ( GETDATE()-3, 3, -1),
    ( GETDATE()-3, 4, 2),
    ( GETDATE()-3, 5, -2),
    ( GETDATE()-4, 1, -4),
    ( GETDATE()-4, 2, 1),
    ( GETDATE()-4, 3, 1),
    ( GETDATE()-4, 4, -2),
    ( GETDATE()-4, 5, -2),
    ( GETDATE()-5, 1, -4),
    ( GETDATE()-5, 2, 1),
    ( GETDATE()-5, 3, 1),
    ( GETDATE()-5, 4, 2),
    ( GETDATE()-5, 5, -1),
    ( GETDATE()-6, 5, -1)
    --update #p
    -- set bal=-1*bal
    -- where cal='2014-09-22' and [ac#]=5
    ;with mycte as ( Select *
    ,row_number() Over(Order by [ac#], cal) - row_number() Over(Partition by [ac#], sign(bal) Order by [ac#], cal) rnDelta
    from #p)
    ,mycte1 as (
    select * ,
    sum(Case when bal< 0 Then 1 Else 0 End) Over(Partition by [ac#], rnDelta Order by [ac#],cal ) cnt
    from mycte
    SELECT distinct [ac#] from mycte1
    Where cnt>=5
    drop table #p

  • How to get the date on which a material has gone into stock

    Dear All,
    Suppose that I have some 20 unrestricted stock for a material. I want to know on which date the same has gone into stock ..Maybe 15 might have gone before 2 weeks and 5 might have gone a couple of days ago.
    How can we get the details for the same .
    Thanking you in advance,
    Shankar

    Although you can look at the materia documents created for this material in recent past but that is not a way to track this kind of information. Batch management can be used for enabling tracking of this kind of information. Take for example following situation -
        1st January 100 PC IN
        10th January 50 PC IN
        1st Feburary 75 PC OUT
        2nd Feburary 25 PC OUT
    You get only this kind of information from material documents but with this information it is not possible to know what you are looking for. If this is the requirement then Batch Management should be enabled.
    Cheers,
    Sanjeev

  • How to get the Macbook app which sends camera images back if someone steals it

    There was a story run in a UK paper this week of someone who recovered their stolen Macbook because he had a programme on it that activated the camera when the laptop was in use, it then relayed the stills and moving pictues back to him and the theif was clearly identified!
    Anyone know how to get this??
    AJ

    http://www.orbicule.com/undercover/mac/index.html

  • How to get the error message which causes Synonym Invalid?

    Hi,
    I created a synonym in USER_B for a table in USER_A.
    I have given all priveleges to USER_B from USER_A.
    I created a package. In that I am using this synonym. Its working fine.
    Today I have seen that.. the synonym is showing as invalid.
    Even I recompiled the synonym. But its still showing as Invalid in PL/SQL developer.
    Here I would like to see the error message which cause the synonym invalid.
    How can I see the error message.?
    Thank you,
    Regards,
    Gowtham Sen.

    Makes perfect sense. Oracle automatically attempts to revalidate objects when you try to use them.
    SQL> create table t (
      2  col1 NUMBER);
    SQL> create or replace procedure p is
      2   x POSITIVE;
      3  begin
      4    SELECT COUNT(*)
      5    INTO x
      6    FROM t;
      7  end p;
      8  /
    Procedure created.
    SQL> drop table t purge;
    Table dropped.
    SQL> select status
      2  from user_objects
      3  where object_name = 'P';
    STATUS
    INVALID
    SQL> create table t (
      2  col1 NUMBER);
    Table created.
    SQL> select status
      2  from user_objects
      3  where object_name = 'P';
    STATUS
    INVALID
    SQL> exec p
    BEGIN p; END;
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "UWCLASS.P", line 4
    ORA-06512: at line 1
    SQL> select status
      2  from user_objects
      3  where object_name = 'P';
    STATUS
    VALID
    SQL> Even when the procedure has a problem ... the revalidation takes place.

  • How to get the "loyalty plan", which is 60 a month with unlimited talk and text. Not able to get to a store, want to do this change online

    How can I switch to this loyalty plan that is 60 a month.  Future son in law got it last month  by going to a store and complaining. I want to do this online, nothing on Verizon site that discusses this.

    Ok, I've been a customer for very many years, I'm on a fixed retirement
    income.  I need to reduce my bills, my contract ends in  Dec. I will be
    pursuing other options unless I can get some concessions from Verizon.  My
    future son-in-law was given this loyalty plan, so I know this is a
    reasonable request.  My phone number is (removed)  acct number
    (removed)
    >> Personal information removed to comply with the Verizon Wireless Terms of Service <<
    Edited by:  Verizon Moderator

  • How to get the role under which a query is published

    Hi All.
    I want to know how will I know under which role a particular query is published. I have the query name. Please provide some suggestions at the earliest.
    Thanks in advance,
    Sananda

    Hi Sananda,
    When you go to RSRREPDIR table selection screen in SE16, you will see 2 'Query' fields.  Put your query technical names in second 'Query' field and execute. From the output, collect the values in first 'Query' field (GENUNIID). Take these IDs and put them in AGR_HIER table to see menu roles against these IDs. You can download data from both these tables into excel sheets and put vlookup to find menu roles against query technical names.
    Hope it helps.
    Thanks,
    Abhishek.

  • How to get the character set which i want it to be?

    i confront a problem, when using jdbc to connect to oracle8i database on solaris; because i use getBinaryStream() to read from db in "byte" reading, seemly it would use default character set on OS or database(such as EUC,etc.), not which the client i want it to be. is there anyway to take control of such code writing(i mean to change the character set when i get byte out of database, thus the byte would use NLS_LANG the same as using sqlplus setting in user env)?

    First of all read Note 581312 - Oracle database: licensing restrictions:
    As of point 3, it follows that direct access to the Oracle database is only allowed for tools from the areas of system administration and monitoring. If other software is used, the following actions, among other things, are therefore forbidden at database level:
    Creating database users
    Create database objects
    Querying/changing/creating data in the database
    Using ODBC or other SAP external access methods
    Are you trying this on the database server itself? If yes, then you need to install the hebrew codepages as well as hebrew fonts in order to display the data correctly.
    Markus

  • How to get the information of the log related to t.code generated by basis.

    In the log generated by the basis personnel we found the details of user and corresponding t.code used details.  How to get the information reg. which document he went into using this t.code? For example me29 t.code used by 'x' user.  The log is showing time date t.code and user.  By using me29n which document he attended is the requirement. How to get this information. Let me know it pl.
    TS

    Thanks all for the help.
    Here is my solution. A mix from Julian and Thomas.
    In future I will encapsulate the code in a function module.
    DATA: BEGIN OF usr_tabl OCCURS 10.
            INCLUDE STRUCTURE uinfo.
    DATA: END OF usr_tabl.
    DATA: th_opcode(1) TYPE x.
    DATA: LV_TID LIKE  SY-INDEX.
    CONSTANTS: opcode_list LIKE th_opcode VALUE 2.
    CALL 'ThUsrInfo' ID 'OPCODE' FIELD opcode_list
      ID 'TAB' FIELD usr_tabl-sys.
    CALL FUNCTION 'TH_USER_INFO'
      EXPORTING
        CLIENT = sy-mandt
        USER   = sy-uname
      IMPORTING
        TID    = LV_TID.
    read table usr_tabl with key tid = lv_tid.
    IF sy-subrc = 0.
      CASE usr_tabl-type.
        WHEN 2.
          write :/ usr_tabl-type, 'SYSTEM'." (system)
        WHEN 4.
          write :/ usr_tabl-type, 'GUI'." (Gui)
        WHEN 32.
          write :/ usr_tabl-type, 'RFC'."(RFC)
        WHEN 202.
          write :/ usr_tabl-type, 'PLUG-IN'." (Plug-in &).
      endcase.
    ENDIF.

  • How to get the serial Numbers issued for an STO

    Hi,
    I created my own STO and mapped a serialised material for the same using transaction. I increased the stock by issuing serial numbers. The /SYCLO/MM_DOPURCHASEORDER_GET BAPI returns the PO header, item and longtext details. I want the serial numbers which are issued to the STO and the list of serial numbers for which the receipts has been done.
    I want to know how to get the serial numbers which are issued to the STO throught the standard function module. I want only the issued serial numbers not the one for which the receipts has been done.
    I tried using the standard BAPI, "BAPI_PO_GETDETAIL1" to get the serial number collection. But the FM is not returning the issued serial number as well as the list of serial numbers for which the receipts has been done. It is returning only the PO history in which the list of document number are present.
    Thanks in Advance,
    Mohan.

    Hi,
    Using the transaction "MB1C" and movement type "561", I filled the required details such as Material Number, Quantity, Storage Location and Batch. After filling all these details, when I press enter, it will ask for me to enter the serial numbers equal to the quantity specified. I entered the serial numbers by selecting the available serial numbers for that particular material by pressing F4 help.
    Please let me know if you need any more inputs in this regards.
    Thanks,
    Mohan.

Maybe you are looking for

  • How do I restore my iphoto library from backup

    Hi, I'm trying to find instructions on restoring my iPhoto library from a backup that is not based on Time Machine.  I have an external hard drive with the entire user folder information which includes all the photos.  I'd like to know if I should de

  • 2.1.0.62: Exporting query results does not work if SQL has a join

    I get an error message, when I try to export the following test case to any data format. create table test1 (id number(2), text varchar2(5)); create table test2 (id number(2), text varchar2(5)); insert into test1 values (1,'test'); insert into test2

  • HP Update Fail

    There are 3 pending updates for my desktop 400-335d recommended by HP support assistant. When I tried to udpate, it cannot be downloaded at all. Thanks for your help!

  • Facetime opens but the window doesn't appear?

    Facetime opens but the window doesn't appear. I am capable of accessing the setting a preferences from the top bar but the window is still not there. The green light for the camera also turns on. I am running mountain lion with the latest updates on

  • First Question, is this forum only in english?

    I use Adobe Creative Design Web Premium Suite CS 6.0 on my computer here. I have the second license installed om my Notebook at home. Now I become a new very fast WIN 7 Computer and I would install CS 6 before I work with this computer in 1..2 Weeks