BAPI Object Links Classification

Hello,
I am using BAPI_DOCUMENT_CREATE2 for creating document info records, which works great. I make an object links to an equipment number and you can classify this object link in CV02N with class 048 object link. This also works in transaction CV02N, but how can i classify the object links in the BAPI?
Kind regards,
Nick

Dear Nick,
to achieve this the BAPI_DOCUMENT_CREATE2 is not the correct one. This BAPI only allows to create document info records and do nearly the same actions as in CV01N.  But here it is not possible to classify object links.
For this specific case the following BAPI sequence could be useful:
BAPI_OBJCL_GETDETAIL - read the existing classification data
BAPI_OBJCL_CHANGE    -  edits the classification data
BAPI_TRANSACTION_COMMIT - necessary to write the whole changes to the database.
Instead of BAPI_OBJCL_CHANGE you can also use BAPI_OBJCL_CREATE to generate an assignment.
Further information on these BAPIs you will find in transaction BAPI under Cross-Application Components >> Classification.
Best regards,
Christoph

Similar Messages

  • Could you please help how to acheive Object Link Classification

    I have found that object link classification (Class type 048) is possible for R/3 objects.The classification button gets activated after choosing "Addition functions" from SPRO settings for DMS document types.
    Our scenario goes like: We have created two docuement types Baseline(BSL) and SB(Service Bulletin).Inside BSL docuement we are maintaining several SB docuements as "Document Info Record(DRAW)".
    When under Object Link tab, we are going to "Customer(KNA1)" or "Equipment(EQUI)" tab , we can see object link classification button however it is not visible inside "Document info record(DRAW)".
    Could you please guide me through this - why it is so and if possible what settings need to be done.

    Welcome to the Apple Community.
    Photostream in the cloud only keeps photos from the last 30 days (subject to a 1,000 photo limit). When photostream syncs the photos to your device they will stay there until deleted, which means you may well have more photos in your photostream album on your device than there are in photostream in the cloud.
    The consequence of this is that if you turn photostream off and on again on your device (or enable it for the first time), it will only be populated with photos from the last 30 days, which may not be all the photos that were previously in the photostream album on that device.
    I have asked for your email address to be edited out. Posting your address in an open thread is a sure way to be bombarded by unwanted email, remember it will be here long after you have resolved your problem, for automated detection software to find.
    If you want people to contact you, enable others to see your email address in your profile.

  • Bapi's for object links

    Hello Guru's
    I am working on the layout for the approval forms in crprojects, as i know it now the approval phase is linked to initiative phase in the portfolio tab i.e. approval phase is a line item in portfolio document.
    The requirement is that i need to fetch data from this linked initiative document and also from the sales quote which is present in the object links.
    Any help or suggestions on the required tables/bapi's are helpful to me as i am facing a deadline of 10th of June.
    Regards
    Atush Rohan

    This has been resolved by me.

  • Object link is not created for batch  through BAPI_DOCUMENT_CREATE2

    Hi ,
    I am trying to create  document for batch object through program using bapi BAPI_DOCUMENT_CREATE2.
    In transaction CV01N while creating document  there is a provision to to link your material with Batch. I am able to create it through CV01N. But, While creating through program I am not able to create the object link. I am able to create link for material,vendor,PO.. but not for BATCH objects. The table where link objects values to be passed is OBJECTLINKS.
    I have tried all possible combination but unable to create a batch object link to a material through BAPI_DOCUMENT_CREATE2.
    Thanks,
    Sandeep

    Hi,
    Please explain detailly about FM BAPI_DOCUMENT_CREATE2
      Thanks
      Madhavi

  • Object link to PP material/serialnumber combination

    Hello,
    I am looking for a solution to link a document info record to a material number / serial number combination. This material number / serial number is unique and has a equipment number. In DMS it is possible to link the document to an equipment, but then i have the problem i cannot search for the serial number in DMS which is linked to this equipment. The material/serialnumber is in the table: EQUI / SER05 /
    Can we somehow fill in the object link the material / serialnumber combination?
    Best regards,
    Nick

    Depends on the way you design it. Thats the whole thing about designing zscreen, you can design them the way you want to.
    Personally, I'd avoid doing screens at all costs, there are always other ways to build the functionality in with classification and its normally safer for changes to build them on these because you aren't impacting on other document types or areas.

  • BAPI_DOCUMENT_CREATE2 -Updating object links

    Hi I am using this bapi to create documents through CV01n.
    but, problems is i could not update this OBJECT links tab. I want to populate Customer no. I am trying by sending through Object links structure, but no use.
    What mght be the Problem?
    Pls. Help Me.
    Regards,
    Krishna.

    Hi,
    Please read the Function module documentation. An example is given there.
    **.... Object links
       DATA:    lt_drad  LIKE bapi_doc_drad OCCURS 0 WITH HEADER LINE.
    **.... Object link to material master
    CLEAR lt_drad.
    REFRESH lt_drad.
    lt_drad-objecttype = 'MARA'.
    lt_drad-objectkey  = 'M4711'.
    APPEND lt_drad.
    You can find the entries for the object type 'OBJECTTYPE' in the table TCLO (MARA for material). The object key 'OBJECTKEY' is made up of the key fields of the SAP object that is also is in the table TCLO.
    Edited by: Neenu Jose on Nov 3, 2008 9:41 AM
    Edited by: Neenu Jose on Nov 3, 2008 9:42 AM
    Edited by: Neenu Jose on Nov 3, 2008 9:44 AM
    Edited by: Neenu Jose on Nov 3, 2008 9:47 AM

  • Cprojects and object links to other project phases

    Hi experts,
    Have anyone of you some ideas how to creating a object link to another phase in another project? Are there possibilites for enhancing the the type of objects link via a BAPI or something in cProjects 4.0?
    Thanks, Camilla

    Hi Camella,
    You can try this in IMG activity
    "Make Settings for the Linked SAP Objects". But you need to try copy an existing entry and change relevant tables parameters
    I have done this for R/3 Transaction in cProjects 4.0 + ECC 6.0 and Iam sure it will work for Project Phase also
    Pls,let me know the version you are trying this feature
    regards,
    Ramakrishna

  • Easy DMS & Object Link

    Hi all,
    in the transactional SAP while I'm creating a new version of a DIR the system allows me to inherit (via copy) the object links included in the DIR of departure.
    By contrast the Easy DMS does not cover this feature.
    Suggestions? I have to implement some custom FM?
    Thanks a lot,
    Marco.

    Hi Marco,
    this difference between the DMS transactions in the backend and EasyDMS has the same reason as the 'Status-Log' issue you mentioned in your other post.
    For creating a new version EasyDMS uses the DMS  BAPI_DOCUMENT_CREATEFROMSRC2 which is called in batchmode. The BAPI  is not able to handle any pop-up as normally there cannot be made any user input during the BAPI works. Therefore the behavior in EasyDMS is the same and no pop-up is displayed. This is due to the following coding:                                                                               
    Main Program     SAPLCV117                                               
    Source code of   LCV117U06                                               
    FUNCTION         CV117_LINKED_OBJECTS_SELECT                                                                               
    IF pf_batchmode IS INITIAL.                                              
      REFRESH gt_screen_drad.                                                
      LOOP AT lt_tdwot_show.                                                 
        CLEAR gt_screen_drad.                                                
        MOVE-CORRESPONDING lt_tdwot_show TO gt_screen_drad.                  
        gt_screen_drad-tbl_sel = 'X'.                                        
        APPEND gt_screen_drad.                                               
      ENDLOOP.                                                                               
    Here the field 'pf_batchmode' is filled with 'X' which is harcoded       
    in the following coding for the BAPI use:                                                                               
    CALL FUNCTION 'CV117_LINKED_OBJECTS_SELECT'                              
         EXPORTING: pf_batchmode = 'X'                                       
                    pf_dokar     = pf_doctype                                
         TABLES:    pt_drad      = lt_drad.                                                                               
    I hope this information could be usefull for you and I regret that I cannot offer you another reply. This behavior is not a bug this means to be the standard behavior in EasyDMS due to the use of BAPI DOCUMENT_CREATEFROMSRC2.
    Best regards,
    Christoph

  • Error message when searching for an object link within EasyDMS

    Hello,
    I have a problem with the easydms system. Everything works fine except searching in the object links. When I want to define an object link and I don't know the name of the object I try to find it with the help of the search function within easydms (within the object links).
    But the search always delivers an error message:
    "Missing authorization check to display master data"
    Does anybody now what to do?
    Thank you for your help.
    Best regards,
    Markus Sigl

    Hi Markus,
    When you try to do this the  BAPI 'BAPI_HELPVALUES_GET' is used. There are some authorization checks that are being performed for the object. These authorizations are maintained in the table BAPIF4T.
    For the above said test data, you are trying to get the help values for
    the relevant field (e.g. EBELN: po_number).However,in table BAPIF4T the corresponding authorization for the data element ebeln is not maintained. And so you are getting this error.
    So, when you maintain the below record in the table BAPIF4T,you will
    have the corresponding authorization and you will not get the error
    anymore.
    sample entry:
    Object type - ' '
    Object type component - ' '
    BAPIF4T-DTEL - 'EBELN'
    BAPIF4T-FNAM - 'PLM_HELPVALUES_AUTHCHECK'
    Best regards,
    Christoph

  • BAPI object - FATAL ERROR.

    Receiving xMII Workbench errors due to possible BAPI coding discrepancies in BAPI object CSEP_MAT_BOM_READ.
    Am getting a FATAL ERROR RADIO BUTTON in xMII work bench with Jco connector to R3 systems.
    However the same BAPI Object CSEP_MAT_BOM_READ passes properly in the xMII Workbench with JCo connector to system S10 client 53.
    In xMII workbench wheni run the transcation am getting
    [INFO ]: <?xml version="1.0" encoding="UTF-8"?><Rowsets DateCreated="2007-06-19T10:15:44" EndDate="2007-06-19T10:15:44" StartDate="2007-06-19T10:15:44" Version="12.0.0 Build(58)"><FatalError>JCOProxy error: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. </FatalError></Rowsets>
    Can any one tell me why am getting this fatal error. Am new to xMII and this issue is very urgent. I did open a CSS before and waiting for the response..
    Thanks
    Subbu

    Hi Jeremy
    We are on Version 12 build 75.
    In xMII workbench, when I click on Actions and then ERP system interface, SAP JCo interface, I right click and configure for a particular R/3  with CSEP (mentioned above) RFC name and search pattern after configuring for this r/3 I quit and come back to click on Links, here under requests or links I dont get any fatal error.
    But for the same CSEP ** when I do for another R/3 system and click on links and under requests and reponse I get a Fatal error listed.
    and when I place the cursor over the request I get the following message.
    fatal error , jco proxy error, Inavlid_character _error. An invalid or illegal XML character is specified.,</Fatal error>
    Any help appreciated!

  • Issue while creating Object Links

    Hi Gurus,
    We are trying to upload documents by creating link  to sales order through BAPI_DOCUMENT_CREATE2..
    When we try to upload documents by creating the object link to sales order we are getting the error message as
    "The link to SAP object is not allowed for document type".
    Manually we can able to create document and link to sales order..
    Pls let me know when we run BAPI is there any seperate configuration required for the document type and object links
    Regards
    Bhanu

    Thanx

  • Adding new field to detail data screen of object link

    Hi All,
    I've a requirement of adding a new field to the detail screen of object link. But the field is a combination of 3 other standard fields.
    Please let me know how could i realise this functionality?
    Thanks in advance.

    Hi Srini,
    Thanks for your Reply
    I have kept 01 against the field BSEG-AUGDT and selected the preselect check box also.
    But still that field is not visible in the dynamic selection screen.
    Thanks
    Ajay.D

  • OLE objects linked to MS Word/MS Excel do not update in InfoView

    I am facing the following problem:
    - Embedded a Word document as linked OLE object into a crystal report and stored it to Enterprise repository.
    - When opening the report with CR Developer from my workstation, links are updated and changes made in the .doc file are reflected, the report is updated
    - However when displaying and refreshing the report in InfoView changes aren't reflected.
    The OLE link (type document) is set to update automatically. I tried to store the report to the enterprise repository with and without data. Yet no difference - no update in either case. Neither scheduling nor opening and refreshing the report in InfoView helps.
    I further inserted an OLE object linked to a bmp image, and for the image refreshing works, even in InfoView
    So am I doing something wrong?
    Some threads in this forum indicate that only OLE linked pictures (bmp, jpg) can be refreshed dynamically, e.g.
    [Dynamically change path to OLE file]
    Others indicate that it is also possible to dynamically refresh OLE objects linked to .doc, e.g.
    [Re: Link to Word document doesn't refresh when running from Infoview]
    - Is it at all possible to dynamically display the contents of .doc or .xls files in a CR when viewing and refreshing the report in InfoView (without the need to reopen and resave the report with CR Developer first) ?
    - We are using BOE XI3.1 SP3 and Crystal Reports 2008 SP3.  On the BOE server Crystal Reports Developer is not installed. Can this be a prerequisite for the OLE links to update in InfoView?
    - Any other suggestions?
    Thanks
    Konrad

    Hi Don,
    Thank you for the quick reply.
    - You say that this works in CR Designer. That's right. As described above, even I can open the report with CR Designer and the links are getting updated.
    - However if I do not reopen and resave the report with Designer ... if I just open and refresh the report in InfoView to get the updated information from the files ... changes are not shown. I face this problem ONLY with ole links to .doc and .exe. OLE links to image formats such as .bmp do work. WHY?
    My files are already stored locally to the BO server and the (changed) image files are read and updated from exactly this directory. But not the linked Excel and Word files...
    Thanks
    Konrad
    Edited by: Konrad Hartl on Jan 25, 2011 8:04 PM

  • Is there a limit on number of object links to DIR, and any impacts of this

    Hello All,
    Can you please let us know if there is any limit on the No of Object links to be maintained in the Object Link tab of DIR,
    Our major Concern comes as there is One DIR logo / symbol, which is maintained in most of the Material Master around 1000s
    and also the same DIR is used in all the Service and maintenance Notification as an Attachment, so the list of Object link in DIR Object link tab  is going beyond control above 10000s,
    i wanted to know if there is any limit on no of Object links to be maintained in DIR object links, and is there any impact on DMS functionality if the list is ever increasing,
    ( also can i know if there is any workaround that the DIR is only displayed going in to Material master or Notifications but the same is not listed in the DIR object links tab as here it is going on increasing,)
    Thanks and kind regards
    Kumar S

    Hello Christoph and Every one,
    Thanks for the responses given, and providing a hint not to have many Object links, as it could be an performance issue going to the DMS DIR Object link TAB,
    But in this particular case we are not assigning the Objectlinks going by the DMS Object links TAB, but it is done in other way round, going by the Equipment or Notification Screens,
    There are few Health and safety document ( Which is created as a DIR in DMS) which needs to be assigned in  Most of the Equipment and the new notifications created, and this document DIR is assigned from the Equipment and notification Screen,
    And we may not be interested to go to the DIR to browse and Assign the Object Links, so as we do not frequently go and check the DIR or Use DIR Object link TAB for Object Link assignment will it in any ways cause performance Issue here??
    And also as asked earlier can we have a one way attachment like the DIR is Visible in the Equipment or Notification Screen, but the DIR is not adding up the Equipment or Notification details in its Object links TAB, (by development or it is totally illogical to ask for)
    Thanks and Kind regards
    S Kumar

  • Opening a new window when clicking on object links

    Hi,
      I have installed business package for crm and configured the object links, but when i click on object links, it is opening a new window, but i want it to be opened in the same window form which that link was activated.
    could you please help me in this regard
    Thank you

    Hello Koduru,
    you should have a look at the work protect modus settings of the user.
    Regards
    Gregor

Maybe you are looking for

  • Changing the default bookmarks save location

    Heya, If i right-click a website and click "Bookmark this page". It brings up the bookmark panel with the default folder "Bookmarks Menu" is there any way i can change this default ? "I dont mind if it goes deep into the firefox:config, system or reg

  • Reg:Bapi for mass creation of production order/confirmation

    Dear Experts, I wanted to know with the following BAPI is it possible to create Multiple production orders for different semifinshed Materials along with material availability check and other functions similar to CO01 transaction. I knew there are st

  • Signal express tektronix

    I'm using Labview signal express tektronix edition and connecting my tektronix tds3054B to it by ethernet. When I typed in my oscilloscope ip address to the program, it can't acquire for the signal. I think I have all the required driver and VISA. He

  • Call PLSQL function in Controller...

    Hi, Is there a way to call a PLSQL function in the controller? We have a function, which determines if we are in production or not. We then set a url based on this info.

  • Import hangs on last song of album

    I'm trying to import an album and it gets as far as :01 left in the last tune, but then I get the beach ball of death spining forever. I've tried force quitting, but then when I restart, the song isn't imported. Any suggestions?