Record Management: get logical document object from physical doc. object

Hello,
I'd like to get logical document from physical document (sdok object - stricture containing class and objid).
There is BAPI for "opposite direction": SDOK_LOIO_PHYSICAL_OBJECT_GET. By this FM I can get physical document's sdok object from logical document's sdok object.
Can anybody tell me BAPI's name for it?
I tried SDOK_PHIO_LOGICAL_OBJECT_GET, but this BAPI doesn't exist.
Best regards,
Josef Motl

Josef,
There are I don't believe there are any bapi's for this. You probably have to do this via ABAP OO. Create an object of the type CL_SRM_DOCUMENT. This is your logical (LOIO) object of your document. You have to enter the documentclass and the objectid of the document. This class has a method get_variant. This variant is your fysical (PHIO) object of the document. Use version and variant 0 so you will get the latest version object of your document.
If this isn't the answer, can you please explain where do you get the fysical object from if you haven't got the logical first?
Regards,
Tjalling-Jan

Similar Messages

  • Get Logical file name from Physical file name

    Hi everybody,
    Please how can i get Logical file name from Physical file name ?
    Thanks & Regards
    Hassan

    Hi,
    What i want is to get Logical file name from Physical file name, and not the opposite (get Physical file name from Logical file name).
    Thanks & Regards,
    Hassan

  • How to get payment document number from paid column in monthly invoice

    Dear experts
    I use SBO japan version and i need to know how to get payment document number from paid column in monthly invoice ?
    in table MIN1, only contain invoice and credit note document number, there is no payment document number
    thank you for your help
    Best Regards
    JeiMing

    Dear Gordon
    Yeah, you are right, i can use field MIentry in RCT2
    thank you
    Best regards
    jeiming

  • Logical joins differ from Physical layer joins

    Can please answer to my Question?
    1.How does Logical joins differ from Physical layer joins?
    2.What is NQSConfig.INI file and what does it contain?
    Thanks
    Chi
    [email protected]

    2) The NQSConfig.INI file contains configuration and tuning parameters for the Oracle BI Server. There are parameters to configure disk space for temporary storage, set sort memory buffer sizes, set cache memory buffers, set virtual table page sizes, and a number of other configuration settings that allow you to take full advantage of your hardware's capabilities.
    For more information about the NQSConfig.INI file parameters, refer to Oracle Business Intelligence Infrastructure Installation and Configuration Guide.
    1) Logical joins are used in Business Model, Physical joins are used in physical layer. A key property of a logical join is cardinality. Cardinality expresses how rows in one table are related to rows in the table to which it is joined. Logical joins supports outer joins. so many else to mention... just go through RPD help file.
    - Madan

  • Get Logical system name from Message type

    Hi
    I need to call Transaction  BD93 for which I need Logical system. I have created a Custom basic type for CLFMAS02.
    Now I need to find out in thhe program which logical system is configured for the custoem basic type say 'ZCLFMAS02'.
    Is ther any Function module or Logic to get Logical system details from Basic type.?

    Hi Gautam,
    Check with the tables EDP13 and EDP21, the outbound and inbound parameters tables respectively, where you can key-in the message type, basic type and get the corresponding logical systems.
    ~ Bineah

  • Getting a document file from the transcribed audio file

    I would like to know how to get a "document" file from the transcribed files created by Soundbooth. The files created by SB have 'xml' or 'xmp' extensions and I do not know what to do with these files or how to "read" them.
    I am on a macbook pro MAC OS 10.5.5. I have latest versions of Word, and Final Cut Pro.
    Any help would be appreciated. This is my first foray into the world of Adobe products.
    Thanks,
    Eric

    The Transcript XML files conform to the XML Standards, and are a "marked up" text document containing several pieces of information. You can open the file in TextEdit (on Mac) or Notepad (on Windows) and you should be able to see what sorts of metadata is saved for each word in the transcription. Each transcribed word is stored in a data block, along with its timestamp, the duration of the spoken word, and some other metadata. This information is invaluable when importing the file into other applications or databases.
    Neither Soundbooth nor Premiere Pro support exporting the transcript without the additional metadata or XML tags right now, but since it's a basic text file, it should be a very simple chore for a script to parse that file and write out each transcribed word to a new file.
    Durin

  • How to get Accounting document number from billing document number

    Hi,
    How to get Accounting document number from billing document number i.e. from VBAK- VBELN.
    Cheta Pant

    Hi,
    VBAK is the Sale Order header table, Billing document table is VBRK.
    Sales tables (VBAK,VBAP,VBRP,VBRK) do not store accounting document numbers.
    You do other way around. Just go to SE16 and enter the Billing document number in field Billing document VBELN in BSEG or BSID or BSAD table and execute, you will find the accounting document number.
    If you just want collect this information once then you can use table BSEG, but if you think to develope a report then use table BSID and BSAD.
    Regards,
    Chintan Joshi

  • Creating logical/virtual connection object  from physical connection

    Can anybody help me what is creating logical/virtual connection object and how to create it from physical connection in java ??
    Thanks in advance...

    WHile you are waiting for an answer, you might want to review the related Oracle documentation:
    For 10g, all docco is at http://www.oracle.com/pls/db102/portal.portal_db?selected=3 and docco I suspect will help you is "Java Developer's Guide" and "JDBC Developer's Guide and Reference"

  • How can I get the Doc object from any other object?

    Dear colleagues,
    in FrameScript it is dead-simple to get to the document part of any object, just add .Doc to the variable.
    How can I achieve the same with ExtendScript? I amtired of passing the document object next to AFrames or Pgfs along into subroutines, because those objects already contain the information about their document. But how do I access this?
    Thanks for pointers,
    - Michael
    PS: Almost the same is true for the page an object lives on. With FrameScript we use .Page, with ExtendScript you have to move up the object tree until you reach the UnanchoredFrame.PageFramePage…
    PPS: It would be great to see some convenience properties like .Doc and .Page implemented natively.

    I'll preface this response by admitting this far from an elegant solution, but I did write a function addressing this question, mostly as an exercise.
    If passed an object with an InTextFrame property (Pgf, AFrame, Cell, Fn) that resides in an open document, the function will return the Doc object. Otherwise, it returns undefined.
    function getParentDoc(testObj) {
        //Get object for current page
        try { var curPage = testObj.InTextFrame.FrameParent.PageFramePage; }
        catch(er) {return;}
        //Step backwards to first page in document
        var prevPage = curPage.PagePrev;
        while (prevPage.ObjectValid())
            curPage = prevPage;
            prevPage = prevPage.PagePrev;
        //Compare with first pages of open documents
        var testDoc = app.FirstOpenDoc;
        while (testDoc.ObjectValid())
            if (curPage.id==testDoc.FirstBodyPageInDoc.id) return testDoc;
            testDoc = testDoc.NextOpenDocInSession;    
        return;
    To your PPS: Rather than seeing the native framework grow bloated to address additional features, I would love to see Adobe and other developers publish libraries of useful functions and class extensions.

  • How to get the document no. from BAPI_GOODSMVT_CREATE and store in ztable?

    Hi All,
    I am using BAPI_GOODSMVT_CREATE to create goods movement .its sucessfully excuted.
    Now I want to store Document Number in Ztable which is getting from MB11(Goods movment create).
    Plz suggest how i proceed?
    Thanks in Advance...
    Regards
    Steve

    The following Exporting Parameter(s) will give you Document Number & Document Year.
    GOODSMVT_HEADRET (Doc. No + Doc. Year)
    MATERIALDOCUMENT
    MATDOCUMENTYEAR
    Regards,
    Ramki.

  • Getting IP Address information from an NSNetService object

    I have an NSNetService object that I received from doing a Bonjour discovery. This object represents a web server that I want to connect to.
    I have the following (nasty) code for doing that:
    - (void) serviceReceived:(BonjourViewController*)bvc didResolveInstance:(NSNetService*)ref;
    if (ref == nil) {
    // The resolve was cancelled.
    return;
    NSArray* addressArray = [ref addresses];
    if ([addressArray count] == 0) {
    return;
    NSData* address = [addressArray objectAtIndex:0];
    void* buffer[[address length]];
    [address getBytes:buffer];
    int ipAddress = (int) buffer[1];
    int classA = ipAddress & 0x000000FF;
    int classB = (ipAddress & 0x0000FF00) >> 8;
    int classC = (ipAddress & 0x00FF0000) >> 16;
    int classD = (ipAddress & 0xFF000000) >> 24;
    int port = [ref port];
    NSString* hostName = [NSString stringWithFormat:@"%d.%d.%d.%d:%d", classA, classB, classC, classD, port];
    NSURL* url = [[NSURL alloc] initWithScheme:@"http" host:hostName path:@"/index.html"];
    I can't just use the hostname because it's not a valid DNS entry, and the Bonjour name doesn't work with most of the libraries like:
    NSXMLParser *parser = [[NSXMLParser alloc] initWithContentsOfURL:URL];
    Oddly enough, Safari is perfectly happy with the Bonjour name "compname.local.".
    There must be a better way of getting an NSString with the dotted-quad than getting the bytes and manually picking apart the IP address from them. This code breaks as soon as we all move to IPv6.
    Any help would be appreciated,
    -Chris.
    Message was edited by: clevans
    Message was edited by: clevans

    Use an application bean if you want to keep a list of
    all the users stored on a server.
    When someone logs on, grab the ip, login name, and
    password. Store this in the application scope bean.
    Every time a page is accessed, check the ip to see if
    it has been previously stored in the bean. If so,
    load the login and password and use them for logging
    in to the page. If not, include another preset login
    page, or lik to it with the previous page stored in a
    session scope bean.
    The ips, login names, and passwords should be enclosed
    in a class (simple one with three fields). When
    someone logs on, create a new instance and send it to
    the application scope bean, where it should be stored
    in a java.util.HashMap (my favorite kind, and really
    quick).
    There should also be a way to time-out the user after
    a while of not connecting - removing their ip from the
    application scope bean. Very important if you want
    security.
    That's all I can think of for now.
    Spaceman40Close enough, however I will point out that you don't need to store the password. I am also confused why you are saying an application level bean. This needs to be a bean that can be accessed by all of our applications. If one application creates the bean all of them should be able to see it.
    I was thinking of doing this: Each application gets a session bean that looks for an entity bean with the primary key of the client's IP address. If the bean is there it gets the user ID from that and logs that user into the system. If the bean isn't there, it fires off a login procedure for the client to enter their username and password. If the login is successful it creates the bean. The session bean stays around until the user logs out of the system. The last session bean linked to that entity bean destroys it.
    Has anyone seen this before? Is there a design pattern for a last one out turn off the light in EJB?

  • Get Sales Document number from Project Defintion,WBS,N/w,N/w Activity

    dear all,
      I am working in PS module ,
    I need to get the sales document no from Project definition ,WBS element ,N/w and N/w activity .
    plz let me know any FM or the table relatio to get the Sales document Number .
    Note :
       In AFKO table i have a field called RMANR(sales Docu)  this field is always empty . Kindly
       give any other solution .
    Regards,
      Vinoth.v

    Hi Vinoth ,
    Please refer the below link for Some of the SAP-PS Master and transaction tables.
    [http://www.sapfans.com/sapfans/forum/logps/messages/1347.html]
    Project and Sales Doc Number Relation
      AFKO  and PROJ linked with field PRONR.
    WBS and Sales Doc Number relation
    VBAK                           PS_PSP_PNR                     PRPS
    VBAP                           PS_PSP_PNR                     PRPS
    You can use the Program  RSPRTBEZ to get those relation between the tables. Above mentioned table details have been taken through the same.

  • How do i get My Documents files from PC to work on my new macpro, how do i get My Documents files from PC to work on my new macpro, how do i get My Documents files from PC to work on my new macpro

    I have just purchased my first Mac after using PC for years. I dont need to move programs over but I do need to get my document files to open and be useable on the Mac. I have Office on the PC and Office for Mac on the Mac. I have tried copying the files to a portable drive, plug into the Mac and can open both Word and Excel and can edit however cannot save the edited document as it tells me the file is read only and then that the disc might be full, which it isnt as I have checked.
    Is it because the portable drive is NTFS format and the Mac wont recognise this? If so what do I do?
    Thanks hopefully

    russellfromblackburn south wrote:
    Is it because the portable drive is NTFS format and the Mac wont recognise this? If so what do I do?
    Yes, this is exactly what is causing the problem. Macs cannot write to NTFS formatted drives, only read. You must move the documents to the internal HDD/SSD of the Mac to be able to edit them.
    Or, since you say you don't want to move the documents to the internal storage, you'll need to format the external HDD as FAT32.

  • Make java.sql.Blob object from java serialized object

    I have an ImageIcon which I get from an applet. It gets passed to a servlet. Now, I want to turn the ImageIcon into a blob object so that I can insert it into a database (as/400). How do I do that?

    Hi there,
    NORMALLY this is a 2-step process:
    1.) Convert the ImageIcon into a byte-array
    2.) Write the byte-array into the database/blob
    For step 1 (this code is 'freehand'):
    =====================================
    ByteArrayOutputStream bos = new ByteArrayOutputStream();
    ObjectOutputStream oos = new ObjectOutputStream(bos);
    oos.write(myImageIcon);
    oos.close();
    byte[] data = bos.getBytes();
    For step 2:
    ============
    This is often database specific, but normally you select a column of a record for update, get the blob-object from the resultset and start writing bytes to it.
    BUTTTTTTTT Consider this alternate approach: Assuming the image that is being sent is always small in size, you may simply chose to base-64 encode it and store the resultant string in a varchar column. When you read it back, base-64 decode it. Although the encoding/decoding may appear to be an overhead, I'll bet you it's much faster than blob-level access, both for reads and writes. It's also portable (code-wise) and you can update images through a simple UPDATE statement. In fact, if your database supports it, you could even have a default value for the column (a default image)...

  • Copy object from one authorization object classe to another one

    Hello experts,
    due our revision we have the demand to copy our custom context sensitve authorization object from the old authorization class to a new one.
    Ist this generally possible? What are the impacts?
    Any ideas?
    Many Thanks!
    Marco

    > due our revision we have the demand to copy our custom context sensitve authorization object from the old authorization class to a new one.
    That is a strange revision (audit) demand... Did you challenge them whether they have ever done this before and survived as release upgrade?
    Is SAP_ALL otherwise okay for them? For example that people can write their own programs or maintain PRGN_CUST to include Z-classes again...
    Have you tried to simply remove all profile assignments to SAP_ALL and replace them with proper roles and restrict SAP*'s HR profiles to that which applies to all users which are not employees?
    You are definately barking up the wrong tree here by moving SAP objects to Z object classes and expecting it to be secure...
    Cheers,
    Julius

Maybe you are looking for

  • Effectiveness of FileVault in OS X Panther 10.3.9

    I recently had my iBook G4 stolen that had some very sensitive data on the hard drive. Fortunately, I had filevault activated on the home folder, in which the data was stored. I deleted that data shortly before it was taken, but I need to know one th

  • Condition type Purchase per delivery and per purchase order??

    Hi Guru's, Please advice. I have 3 questions: 1) Who knows a condition type in a purchase order with the goal that I can register costs per purchase order item ? Example 10 Euro for a certificate per item? 2) The same but now per purchase order 10 Eu

  • F110 t code

    Hi guru's I am an abaper I am working in FI module its very new for me. When I am runing F110 T code, payment run T code. IF the file format is ACH-CTX file format. The file will auotmatically save in /temp/ .directory (AL11) Please let me know what

  • IStat Pro widget shows gradual increase in RAM usage

    I have the iStat Pro widget on my dashboard. every time i open up the dashboard, it shows that i have less and less RAM free, which obviously worries me, since whenever I open up dashboard i am idle; im not doing anything besides reading a webpage, o

  • Multipexed channels in MODBUS with memory tag?

    Hi I have setup where an analog input module multiplexes it's four channels into one MODBUS address. I do this with the following procedure: - channel one is written to a certain MODBUS address (e.g. 30016) - then I write a number (e.g. 12) to an oth