Business transaction - get info about attached documents

Hello,
I'm looking for some FM to get infos about the documents in the business transaction. I need to know if a folder has been created, if a document has been attached in this folder...
If you also know a FM to create some folders, it is also welcome.
Thanks and Regards,
Frédéric

Dear Frederic,
you can try something like the following code (it checks if a document with the name LOGO is assigned to a Businesspartner and works in a same way for business transactions:
DATA:
    lt_documents      TYPE skwf_ios,
    lt_doc_phios      TYPE skwf_ios,
    lt_properties     TYPE sdokproptys.
DATA:
    ls_sibflporb      TYPE sibflporb.
FIELD-SYMBOLS:
    <lfs_document>   TYPE skwf_io,
    <lfs_phio>       TYPE skwf_io.
* get all documents to the businesspartner
  ls_sibflporb-instid  = lv_partner_guid.
  ls_sibflporb-typeid  = 'BUS1006'.    "#EC NO-TEXT .
  ls_sibflporb-catid   = 'BO'.         "#EC NO-TEXT.
  CALL FUNCTION 'SKWG_OLS_BO_LINKS_GET'
    EXPORTING
      BUSINESS_OBJECT              = ls_sibflporb
*     RELATION                     = 'WCM_LINK'
*     CSPC                         = ' '
    TABLES
      IOS                          = lt_documents.
*  try to find the right document (name = LOGO)
  LOOP AT lt_documents ASSIGNING <lfs_document>.
    REFRESH lt_properties.
*    Eigenschaften lesen
    CALL FUNCTION 'SKWF_IO_PROPERTIES_GET'
      EXPORTING
        IO                       = <lfs_document>
      TABLES
*       PROPERTIES_REQUEST       =
        PROPERTIES_RESULT        = lt_properties.
*    Property "KW_RELATIVE_URL" have to be LOGO!!!    READ TABLE lt_properties WITH KEY name = 'KW_RELATIVE_URL'
                                      value = 'LOGO'
               TRANSPORTING NO FIELDS.
    CHECK sy-subrc EQ 0.
* do something......
   ENDLOOP.
Regards,
André

Similar Messages

  • How to get info about the mobile, like screensize...

    hi,
    i need some info about the device my midlet is running on.
    how is it possible to get info about the screensize, screentype(color/black) and perhaps devicetype or modelname?
    i already read it somewhere but i didn't find the source again.
    tia
    mmkl

    thx,
    the example below shows some basic information.
    Display myDisplay = Display.getDisplay(this);
    Displayable dis = myDisplay.getCurrent();
    int high = dis.getHeight();
    int width = dis.getWidth();
    boolean isCol = myDisplay.isColor();       
    int nubCol = myDisplay.numColors();more detailed information about model, aren't available through the standard api, on blackberry's there some restricted apis that provide these device-type and other detailed information...
    for more basic information, just look at the class-methods from display and displayable...
    mmkl

  • Get info About Interconnect in 10gR1 (10.1.0.4)

    Hallo,
    I need as much info as possible on cluster interconnect.
    I get info about OCR configuration for DATABASE cluster interconnect from
    $oifcfg getif
    and from Alert.log and querying X$KSXPIA.
    How can I get info about CLUSTERWARE cluster interconnect?
    Thanks

    ottocolori wrote:
    I need as much info as possible on cluster interconnect.By looking at the Interconnect from the o/s level. Oracle only uses the Interconnect at IP layer (via the standard Berkely socket interface). (assuming that CRS is not configured for using RDS* instead)
    It does not care what the Interconnect is.. or how it works.. or how it is configured. It deals with the Interconnect via the o/s kernel's IP stack API (i.e. sockets).
    If you want to look at the Interconnect layer itself, you need to do it from the o/s layer. Like using ethtool to configure or query the Interconnect interfaces. And using the s/w tools provided by the Interconnect layer. For example, Infiniband provides a range of ib commands at o/s level to query and configure IPoIB (IP over Infiniband).
    * RDS is a low latency protocol that can be used instead of IP protocol suite as the Interconnect protocol

  • How to get info about web service caller inside Web Service

    Hi..
    I want to know that can we get info about Web Service Caller inside called web service..
    Info Like IP Address, User Id, User Name
    Regards,
    Ajay Sharma

    Hi,
    I tested following code using JDevloper 11g
    @Resource 
        WebServiceContext wsc;
        @WebMethod
        public String webMethod() {
                    MessageContext msgCtxt = wsCtxt.getMessageContext();
            HttpServletRequest req = (HttpServletRequest)msgCtxt.get(MessageContext.SERVLET_REQUEST);
            System.out.println("Client IP = " + req.getRemoteAddr());
            return req.getRemoteAddr();
        }It is giving me IP address but when i tested this web service from another computer there also it is giving my machine address instead of the machine IP from where the web service is called.
    What is wrong in my code ?
    Regards,
    Ajay
    Edited by: Ajay Sharma on Dec 31, 2012 1:06 PM

  • How can i get info. about sun systems in real life situation

    Hi
    infact i m not so experienced ? but i have got certification and nowadays i m improving myself and applying for jobs. please tell me how can i get info about the sun systems in real life situation. i mean that how can i get details like that mostly companies use which systems ? what is the trend of companies and how i can get detail of history of sun systems?
    Thanks in advance

    hmm.......... its very difficult to explain. an its more difficult simulate....well my suggession is to get in to some job with your present knowledge and try to learn more from there....

  • Get info about if you use WindowsGUI or HTMLGUI in ABAP

    Hello all,
    I'm now wondering if I can get info about if you're using GUI for Windows or GUI for HTML in ABAP report.
    If you know anything on this, please help me.
    thanks in advance,
    Hozy

    Call FM GUI_HAS_ACTIVEX to check if gui is a normal sap gui and supports ActiveX objects
    and FM GUI_IS_ITS               to check if is a web gui

  • Getting info about a particular property of an object....

    Hi ,
    How to get info/help about a particular property of an object...???? I mean that if all the properties of an object displayed in the property palette(for example an iterator) how to get info about and only about RefreshCondition property , without having to activate the whole on-line help and search it in there.....????? Pressing F1 , on it , displays general help about the Property Inspector....
    NOTE : I use JDev 10.1.3.
    Many thanks ,
    Simon

    If you'll look carefully at the property inspector window you'll notice two bars at the bottom - if you pull them up then the second one contains help text for each property you stand on.
    Note that this only works for properties that have the help in them.
    I think for the pagedef items it doesn't show much info, but try for example standing on JSF objects in your page.

  • Infos about attachment

    Hello,
    Which FM, method can I use to get information about the attachment of a business transaction.
    I would like to now the name of each attachment (file name) and the size of each attachment.
    Thanks in advance,
    Kind Regards,
    Frédéric

    Method GET_FILE_INFO
    Importing
    LOIO                   
    PHIO                   
    Exporting
    FILE_NAME              
    MIMETYPE               
    FILE_TYPE              
    FILE_SIZE              
    BAD_IOS                
    DOC_TYPE

  • Get Info about Enum TypeDef as Variant using Hidden Gems in vi library

    Hi, 
    I am using LabVIEW 2013 SP1.
    I need to input different strict type definition enums into a subvi, so I have decided the subvi input to be Variant and to use the Hidden Gems in vi library in order to get details about the typedef and the data selected (enum string selected).
    I found the Hidden Gems in vi library very useful, see the image attached.
    However, I would like to have the path of the strict type control but I get an error, and also, in order to get the enum string I can use the enum U16 'data' and select the corresponding index from the 'EnumNames' array, but... as you can see in the image it seems like the variant "knows" what enum string I have selected, but trying to convert it to anything other than U16 produce an error.
    Maybe there is someone that know how to solve these inconveniences ?
    Amitai.

    What additional info in the TypeDef do you need that you can not get from the Variant?
    What is it that you need to do inside the sub VI that you could not do with either the Enum string or it's integer Value
    I use some extensive Variant processing in my code and I have never needed to reference back to the TypeDef of an Enum
    If you are running 64 bit you could use a U64 to unflatten the Enum (But would you ever have 1E19 items in your Enum!)
    You can unflatten with any interger (U8, U16 U32 U64 I8 I16 I32 I64) and they will all work as long as it is large enough to hold the highest number you are likly to see. A I8 will only work up to 127 items. But who has more than 127 items in their Enum.
    Even type cast an Enum to a Float.
    Even with the TypeDef you will not be able type cast or unflatten a variant back to the original Enum
    So you have to work with your Enum as either it's Selected Sting or as an I32 (you could use I16 )

  • How to get info about Composition/Candidate window?

    Hi All,
    I'm working on an application which should be able to take multi-language input (especially chinese, japanese, and korean).
    When we type something in Chinese/Japanese, there will be Composition and Candidate Window popped up. I want to know whether there is a way to get/set some attributes/info about those windows.
    Specifically, I want to be able to position the Composition/Candidate Window anywhere I want...
    I've tried the active client tutorial for the on-the-spot and below-the-spot input, but I still haven't find a way to get a 'handle' to the windows...
    Can anyone help? Thanks in advanced :)

    I do not think the individual temp file percentages is of much use. What you usually want to know is how much of the temporary tablespace is in use and how much is available.
    For that I think you want to compare current total usage information that can be found in v$sort_segment against total available for usage data that can be found in dba_temp_files to get the percentage of available temporary file space that is in use.
    I quickly put together the following. See if either is on any use in constructing the information you really want.
    > @t20
    >
    > select
      2    used_blocks
      3   ,total_blocks
      4   ,f.blocks                             as FILEBLOCKS
      5   ,round(used_blocks/total_blocks * 100,1) SORTSEGPER
      6   ,round(used_blocks/f.blocks * 100,1)        TEMPFILEPER
      7  from
      8    v$sort_segment
      9   ,(select sum(t.blocks) blocks from dba_temp_files t) f
    10  /
    USED_BLOCKS TOTAL_BLOCKS FILEBLOCKS SORTSEGPER TEMPFILEPER
           8960       689664    1025024        1.3          .9
    >
    > select
      2    round(used_blocks/ (select sum(blocks) from dba_temp_files) * 100,1) ||'%'
      3    as TEMPFILEPER
      4  from v$sort_segment
      5  /
    TEMPFILEPER
    .9%HTH -- Mark D Powell --

  • How get info about computer app is running on?

    I am making an application that will have a license for running on only one computer at a time. I will have a license file that will hold info about the app, its version, etc. But I also want to put info about the computer that it's being installed on (none of that info will be sent to me, just saved in the license - enrypted - so the license can't be used on a diff computer). I do NOT want the OS name and version (they can change that) but the actual computer info.
    I know some C/C++ programs can do this, but is there any way to get this info from java? Does anyone have any sample code or even just suggestions of places to look for this information? It'd be greatly appreciated!
    Thanks in advance!

    I know it's not a perfect solution - yes someone could
    decompile it, but how many people do that or know how
    to do that? Well, most semi-decent Java programmers know how to do that. Then they'll decompile and crack it and distribute it, provided that your
    program actually is something good.
    While doing what I suggest wouldn't stop
    100% of the users from pirating my software (which I'm
    attempting to make a living off of), it would stop
    MORE than if I didn't do it.Probably it'd annoy more potential customers. It's a very bad idea to piss off the customers.
    As for changing the HD, or even the computer it's on,
    that would be totally possible. The app is equipped
    with a way to invalidate the license so it won't work
    on that computer, and contact my site to invalidate
    the public key and then allow them to redo it on
    another computer/HD. It all would take only about 2
    minutes actually, so it's not even an inconvenience.As a potential customer I'd have to disagree.
    I see no problem with that.Yes, but you're the author not the customer.
    Do you or anyone else know of a way to do this, even
    if not through Java, in C (JNI) or C++?Through JNI it's possible naturally, but I don't know the specifics.
    The reason
    it's a big deal is this: for a company like MS if only
    20% of the users of their product actually pay for the
    product, they're still making millions. If only 20% of
    the users paid for mine, I wouldn't even have enough
    money to live for 3 months!Get a job? :) Sorry, but seriously having copy protection isn't really going to make a difference. If your product is really good it will get cracked, if it's a specialized piece of software that won't be circulating in the mainstream, then a simple license check would suffice.

  • How to get info about available Toshiba updates?

    I have noticed that this has taken over from the online product information button.
    I was wondering how do I know now when there is an update availabe for Toshiba specific software and hardware?

    To be honest if the system runs well und stabile you don't need any updates. On my one and half year old notebook I still use original preinstalled OS (recovery image) without any Toshiba specific updates. All I have installed are Microsoft updates.
    Anyway if you want to have info about available updates pick up info about TOSHIBA TEMPRO tool.

  • Why ? installing SolMan 7.0 MS SQL server cannot get info about acct sidadm

    While installing SolMan on Windows 2003 SQL 2005  64bit OS the install stops and will not continue
    with the following error
    NOTE: I am installing on 64bit OS as we already have on 32bit OS and need to migrate it over to 64bit
    MS SQL server cannot get informatin about account cityacct\sidadm 
    the log recommends to execute the following command in SQL
    master..xp_logininfo 'CITYACCT\sidadm'
    I get the error
    Could not obtain information about Windows NT group/user ''CITYACCT\sidadm' error code 0x5
    I am soooo stuck , I have been researching and researching even with SAP and no answer yet, has anyone had this issue and how can I get past it?
    Thank You in Advance
    Maria
    I

    Maria,
    Were you able to resolve this issue? I'm getting the same error.
    -wael

  • Where can I get info about Equium M50-236?

    Hey.
    I have check all over the internet for information about my laptop but there is no info.
    I think there must be info on Toshiba site, but no, and I think is very bad.
    My laptop is an Equium M50-236 (PSM57E-005009FS).
    The info I looking for is like: Which component/hardware I have and so on.

    Hello
    Your notebook is similar to Satellite M50-164. Both notebook have the same hardware components the same part number (PSM57E).
    More info you can find HERE
    Nothing is bad. ;) if you cannot find some info about your notebook just come here on this forum. ;)

  • I need some info about the Document Class.

    Hi,
    I need some information about the Document Class, can anybody
    tell me where I can find it.
    thanks

    Emad Zedan,
    > I need some information about the Document Class, can
    > anybody tell me where I can find it.
    The concept of the document class was introduced in Flash
    CS3. What it
    does is allow you to optionally associate a custom AS3 class
    with your FLA
    in the Flash authoring tool. Your document class effectively
    *becomes* the
    main timeline. This is your chance to influence the
    underlying behavior of
    the MovieClip or Sprite instance that serves as the
    foundation for your SWF.
    If you don't associate a custom document class with your
    FLA, the FLA is
    associated automatically with a default document class called
    MainTimeline,
    which extends MovieClip.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

Maybe you are looking for

  • DB Adapter calling stored procedure in MS SQL Server.

    Hi i am calling a stored procedure in a MS SQL Server. I configured a Datasource for MS SQL Server driver as Oracle's MS SQL Server Driver(Type 4) Versions: 7.0 and later and provide all db details of sql server. I tested the data source and was gett

  • How to query data from database and store it into Managed Bean ?

    Hi all, In our application we have requirement to store information within Managed Bean to be accessed by ADF pages. The information is stored in database tables. The question is : What is the efficient / recommended way to do that ? I do not use app

  • Can't install new nVidia driver 301.42

    I have the Lenovo U410 and the nVidia control panel tells me a new driver update is available, version 301.42 for the 610M card. I have the 295.53 installed. But when I download the driver, it says I can't install because there isn't a compatible car

  • It is timeout for RFC?

    Hello When I execute my PHP RFC by abap then it works but for small time executing because when I run the same RFC connection with more data (run about 10 min)  then I will in RFC dump: <* RfcGetData [1] : returns 0:RFC_OK >TS> Fri Nov 13 15:09:26 20

  • Why is Get-Content inserting extra subdirectories in directory path

    Can someone please look at the following 6 lines of code and explain the output I'm receiving?  I've been looking at the code segment for a week trying to figure out what could possibly be wrong and I can't.  At this point I'm convinced it's a weird