Document assignment

Hi,all
When I used function "BAPI_DOCUMENT_CHANGE2" to assignment a document to a BOM's material,what are object type and objcect key in structure objectlinks?

Hi,
Checkout this code
DATA: lt_files LIKE bapi_doc_files2 OCCURS 0 WITH HEADER LINE.
DATA: i_docdata LIKE bapi_doc_draw2 OCCURS 0 WITH HEADER LINE.
DATA: i_docdatax LIKE bapi_doc_drawx2 OCCURS 0 WITH HEADER LINE.
DATA: ls_return LIKE bapiret2.
DATA: i_originidmax TYPE c.
i_originidmax = '0'.
CALL FUNCTION 'BAPI_DOCUMENT_GETDETAIL2'
EXPORTING
documenttype = 'SED'
documentnumber = '0000000000000000001011484'
documentpart = '000'
documentversion = '79'
* GETOBJECTLINKS = 'X'
* GETCOMPONENTS = ' '
* GETSTATUSLOG = 'X'
* GETLONGTEXTS = ' '
getactivefiles = 'X'
getdocdescriptions = 'X'
getdocfiles = 'X'
* GETCLASSIFICATION = ' '
* GETSTRUCTURE = 'X'
* GETWHEREUSED = ' '
* HOSTNAME = ' '
IMPORTING
documentdata = i_docdata
RETURN = ls_return
TABLES
* OBJECTLINKS =
* DOCUMENTDESCRIPTIONS =
* LONGTEXTS =
* STATUSLOG =
documentfiles = lt_files
* COMPONENTS =
* CHARACTERISTICVALUES =
* CLASSALLOCATIONS =
* DOCUMENTSTRUCTURE =
* WHEREUSEDLIST =
Regards
Sudheer

Similar Messages

  • Accounting Documents - Assignment feild  error

    Hi All,
      I am creating a   contract, line item of contract having an item category relevant for time based revenue recognition.
    1) When I am billing the contract, the accounting document assignment field (line items) is populated with the contract numberu2026..this is because of the order to Billing documents   copy controls
    2) But the assignment field of accounting document line item of the revenue recognition is not getting populated with Contract Number. It is getting populated with the reference field (xblnr)u2026 for the Advance Income account G/l & revenue Account  G/l , and blank(with out any value)  for Unbilled Receivables  G/l.
    What are the configuration settings/developments to be done to populate the Assignment field of revenue recognition accounting document with contract number
    Please note that sort key for the unbilled receivable G/l account (B/s u2013 asset) is u201Cblank- no valueu201D and revenue account g/l, advance income (B/s u2013 liability) is u201C009-external document nou201D and customer Number    sort key   is u201C999-sales order)
    Please advice...
    Thanks
    Sireesha k

    HI,
    I think we can't make the changes in mass for accounting documents.
    Regards,
    Meenakshi

  • Bom item data - Document assignment not getting saved in table STPO

    Dear All,
                  As per out customer requirement, they want to display assigned drawing documents of Bom items in CS11. But it is not reflecting in cs11 eventhough we have assigned documents in Bom item detail overview Document assignment tab page. Moreover this is not getting saved in table STPO.
                   Waiting for solutions
    Thanks & Regards
    Dhananjay Kulkarni

    Please understand my customers requirement,
                               Presently they are assigning drawing document of each mat in material master. And if they want to see the drawing of each component of bom through Bom maintenance then they double click on component in bom, goes to mat master then additional data then document data and then drawing. In this way they need to open minimim 5 windows, which they want to make minimum 2 windows.
              In bom they are having more than 300 components. This is not possible to define document as component with item category D of so many components. One more idea I given to them is to club all drawings in one document and define that document as component with item category D, but in this way they can't identify  the individual drawing with part name.
              One more idea I given to them is to assign drawing document of individual component in item overview - Document assignment tab page from where they can open the drawing but it needs to open minimum 3 windows. So they are ready to assign drawing document in item overview - Document assignment tab page but they want, it should reflect in CS11 document column, from where they can easily open the drawing document.
              One more thing I observed that, assigned document to item overview - Document assignment tab page is not getting saved in Table STPO. I can't see this field content in STPO, which may be the reason that it is not reflecting in CS11.
             Is anything missing from Document management system?
    Please think and reply friends it's Urgent.
    Thanks & Warm Regards
    Dhananjay Kulkarni

  • Use of field "design documents assigned" in material master

    hi,
    kindly help me to use the field "design documents assigned" in material master. whenever i creat material master (MM01) in basic data2 view this field comes with grey/black No Link indicator. how to use this and for what .
    regards
    roshan s.

    Hi Roshan,
    Insted of using this field u can assign Document directly to the Additional Data tab.
    TO attach the document to Material Master go to Additional data ---> Document data, assign Document.
    You can confirm it by pressing F1 key by selecting that Field.
    Regards,
    Dhaval
    Edited by: Dhaval Choksi on Jul 10, 2008 3:26 PM

  • Question about Documents Assignment

    At the T_code:MM02, I maintain a  material with a document assingment of 5000000001,but as I put the the material in a BOM,the document couldn't appear in the BOM item which label named "documents assignment".Can anyone tell me the reason?
    best reguards,
    Liangcong Huang

    Hi Huang,
    As documents are linked through object links,Material Master,BOM Header & BOM Item are three different objects.
    Firstly the documents which are linked in Material Master the same has to be viewed without attaching in BOM,
    docuble click on component where it leads to material master display screen and see the document.
    Secondly from DMS, documents cannot be linked to BOM Header and BOM Item.Even though if u want to link ,attach documents while u create BOM
    Regards
    Bhanu

  • Document assignment to Material Master & BoM

    Hi Experts,
    If I assign a document (Document type DRW) to material master X in MM02, later I include this material X in the BoM of material Y, would this document appear in the CS03 screen- for Y -> component item details for material X ->document tab or not?
    I think it will not appear  in BoM component if we assign document to MM02, we need to assign this in CS02.
    Please advise.
    Regards,
    Abhilash

    Abhilash,
    If you want to see the document in cs03 which you allready created in MM02, dubble click on item number it will show you the material display, where you can see that document. This document is related to material master data. OR you need to assign the document in BOM.
    You can assign the document in BOM in three ways,
    1) Attach document as an item in the item overview,
    2) Attach document to an item and 
    3) Attach document to the header material.
    1) Attaching document as an item in the item overview:
    -go to the `General Item Overview' screen
    -select the tab page `Document'
    -enter item category `D'
    -dropdown and select the document you want to attach 
    -the system automatically selects the respective document type, document part, document version and document description
    -the system also enters component quantity `1' and component unit of measure as `PC' by default.
    2) Attaching document to an item:
    -go to the `General Item Overview' screen
    -select the particular item by F2 
    -the item all data screen appears 
    -go to tab page `document assignment'
    -dropdown and select the `document type' you want to attach u2026dropdown and select the document you want to attach 
    -the system automatically selects the respective document part, document version and document description
    3) Attach document to the header material:
    -go to header overview screen 
    -go to tab page `document assignment'
    -dropdown and select the `document type' you want to attach 
    -the system automatically selects the respective, document part, document version and document description
    Pre-requisitesu2026
    -create document by transaction CV01N  
    -Customizing settingsu2026in document management customizing determines which objects can be assigned to documents per object type.
    -go to IMG -> cross-application components -> document management -> control data -> define documents type
    -select the document type for example `DRW'
    -select the sub dialog `define object links'
    -select new entries and enter following objectsu2026
    -'STPO_DOC' and screen `257'(linking document to BOM header) u2026'STKO_DOC' and screen `258'(linking document to BOM item) u2026now documents can be linked to BOM header as well as BOM item.
    Tara

  • Freight - Marketing Documents Assign a Project Code

    Hi All,
    I have a customer that uses project codes and profit center functionality in SAP Business One. They flag transactions to record the relevant project codes and profit centers for extended reporting requirements. So far we have had no issues but we have encountered one lack in functionality which I can't seem to configure in SAP Business One. The issue is that we cannot assign a project code when recording additional charges / freight during a marekting document in SAP Business One. However you are able to assign a profit center? Is this a limitation of the product and if so will this be addressed in future versions? Does anybody know?
    Any feedback / ideas will be greatly appreciated!
    Thanks
    Andre Pienaar

    Hi
    Whole Marketing Document can be assigned to project, even freight is having separate  profit center.
    If u want to include more features in B1 pls post ur queries here:
    Forum: SAP Business One Product Development Collaboration:/community [original link is broken]
    Giri

  • Table for Document assigned to WBS

    In which table Document and WBS assignment is captured?
    Thx

    Hello,
    PRPS is separate table for WBS element. If you want to see it in DMS then check in object link field name in DRAW.
    Hope you are aware about the standard objects in SAP and their respective tables.
    Regards,
    Ravindra

  • Copy prices between documents assigned to different pricing procedures

    Different pricing procedures are assigned to sales document & Billing document -- however some of the condition types are common in the two procedures-- would the pricing get copied for the those common conditions if the copy control is set to copy (pricing type "G")
    Appreciate your responses.

    Pricing Type = G is to copy the pricing and redetermine taxes so it should based on if that is all in the copy control. We do not have a different pricing procedure for both, we just copy the values from the order and/or the freight document.
    When I have these types of questions, I always run a test order in dev and it answers many questions. Good Luck.

  • Document assign to QM notification

    Dear all,
    Can we attach any document to QM notification type Q1? I want to attach photographs via D.M.S to the
    QM Notification.
    kindly advice.
    Regards,
    Anil

    Hi Atul,
    Thanks for the reply.
    You are correct that w/o DMS we can do attach.
    My further question is how do we know that a notification have been assigned a document?
    from list system should show me the notifications for which the documents have been assigned.
    Regards,
    Anil

  • Setting access privileges to document / assigning global preferences

    Good Morning,
    I have just finished designing my first document in Web Intelligence (as this is my first Business Objects experience).  The report will be moved to prod soon but there are two issues which are still pending.  I have looked for solutions everywhere but have come across nothing. 
    Issue 1:
    The way I designed the report is for the report to be opened in Interactive mode and in a new browser window.  But in testing the report with different users I have discovered that each user must set his preferences individually to attain my desired effect.  Is there a way where I can assign these document options globally?  So that the user does not have to tinker with his/hers setting.
    Issue 2:
    The way in which the report will be published is through a link in one of our intranet's page.  I wish to have only certain users use the report.  How can I assign access rights to the report.  Lotus Notes is my company's e-mail system.  Does Web Intelligence have the ability to work with Lotus Notes groups?  If not,  can I create a user group through BOBJ and have only this group be able of accessing/modifying the report?
    I would like to thank you in advance for all your help/expertise.
    Thanks
    Joaquim

    Hi,
    Issue 1: As per my knowledge I think Each user has to set it manually.
    Issue 2: For your WebI report you can assign users/ User groups to access. For that go to  CMC -> reports -> select your report -> Assign privileges to users/ User groups.
    Cheers,
    Suresh Aluri.

  • Assignment field in FAGLL03/FBL3N different from document assignment field

    Hi
    We posted a vendor (say, vandor A) invoice through FB60. There was no input in the "Assignment" field in vendor line item and therefor it is blank in FBL1N.
    A part of the invoice amount is to be retained as retention money. To do this we transferred the amount of retention through a special GL created for this purpose (transfer from vendor A to vendor A) such that the retention amount gets posted in a reconciliation account created for retention. Transfer is done through T-Code F-51 and vendor name is given in the "Assignment" field. 
    However, in FAGLL03 and FBL1N the vendor code (and not the name as was the input) is getting displayed. But while viewing the document we find the vendor name in the assignment field.
    We noticed that the field defined as "sort key" for this particular reconciliation account is getting reflected in the assignment field of FAGLL03 / FBL3N. For other reconciliation accounts the input in the assignment field is correctly getting displayed in FAGLL03 / FBL3N
    Awaiting your valuable inputs and advice.
    Thanks in advance
    Aninda

    Hi Aninda,
    If the fields was correctly customized as a special fields according to
    the notes and the reports of note 215798 have been run, the field
    should be displayed unless it was not inserted in the original document.
    The assignment BSEG-ZUONR will get value from the sort key in vendor
    master data. However the BSIS-ZUONR will get value from the GL account
    sort key in FS00 (see note 334466).
    F1 help on 'Assignment' provides details for customizing:
    The assignment number is an additional information reference field in
    the line item.
    The program can display the account line items sorted according to the
    content of this field.
    You can either enter the field contents manually, or have the system
    define them automatically in the master record via the sort key field.
    You define the rules for the layout of the assignment number field in
    the Implementation Guide (IMG) under Determine Standard Sorting for Line
    Items.
    If the account is a reconciliation account, you will need note 676338
    If you display multiple split lines, implement note 1237389.
    1-In the main screen of FAGLL03 you see at the bottom, list output.
    Choose the apropriate layout.
    2-For saving this layout , whjen viewing the results of FAGLL03, you
    click on settings -> layout -> current.
    Then you click with the right mouse button to display the technical
    names. Add 1-U_ZUONR and after you can save this layout to be used
    in step1.
    If the notes are applied and the customizing is set, the field should
    be displayed.
    Also check the following links:
         http://wiki.sdn.sap.com/wiki/x/ZQ3cCw
         http://wiki.sdn.sap.com/wiki/x/SwLpCw
    I hope I could be of assistance.
    Kind Regards,
    Fernando Evangelista

  • RMMAIN-create document-Assign document as copy

    Dear friends,
       I am working with Sol Man 4.0 SP 12. In RMMAIN transaction, i have uploaded some documents in "Project Preparation" phase. The same document i want to link to "Blueprint" Phase.
    So i am selecting "Blueprint" phase node. In "Project documentation" tab, i want to create a document with the option of Assign document----->As copy.
    If i execute this option, i am getting following error.
    <b>"Folder Class IWB4FOLDER is not valid for objects of Info object class SOLARGEN"</b>
    please guide me to solve this error.
    Regards
    Senthil

    Hello,
    Have you tried using the icon next to the create document. YOu can assign a document as a copy or a link through the icon with a plus sign. Let me know if this works. Thanks!
    Grace

  • BOM -  documents assignment (ramanujan)

    Dear ramanujan,
    You have written----
    Simple documents like excel, word, pdf can be attached to Bom header or item directly without having DMS.
    How?
    What are the steps required?

    Sandeep,
    Extrmely sorry for misleading you. It is only possible for material. In MM02 there is a button for services for object where in you could create an attchment without DMS. But the same is not available for BoM when I checked it. It is possible only through DMS.
    Sorry about this...
    Rgds
    ram

  • SAP SD Material Determination not reflected in assigned sales document type

    Hi Experts,
    I have implemented customized material determination, with requirement to change the UoM of the entered material, from GJ to MJ. I have assigned the procedure to 3 document types:
    1. sales order type
    2. credit memo request
    3. debit memo request
    However, this setup is only reflected in the 1st sales document assigned with the procedure. It is not reflected in the credit or debit memo request.
    I have turned on the material determination analysis in sales order. Per my checking during credit memo request creation, the analysis indicated that the condition is found successfully. But the UoM did not change in the document.
    Please assist.
    Thank you.
    HJMY
    Edited by: HJMY on Sep 20, 2011 1:24 PM

    Hi Ravi,
    Thx for your reply.
    But I am creating credit/debit memo request without reference to billing.
    When I create credit/debit memo request, the material determination is triggered.
    Per my test today for credit memo request, I found that the material determination is triggered.
    However, the substition UoM is not reflected in the credit memo request document.
    The result is reflected only in sales order.
    Please help.
    Edited by: HJMY on Sep 21, 2011 3:28 AM

Maybe you are looking for

  • Best OS for mid 2009 MacBook Pro?

    Hi everyone, I have a MacBook Pro from mid 2009 with the following specs: 2.8 GHz Intel Core 2 Duo 4 GB 1067 MHz DDR3 I had OSX Lion on it with no problems, but recently decided to upgrade to Mountain Lion to be able to use the Messages app on the co

  • Help with hp b t 500

    I have a dell d620 laptop , OS vista business 32bit, hp photosmart 7360, and just purchased the hp bt 500 blue tooth adapter for my printer. The problem I am having is the BT 500 shows up on my blue tooth devices in vista. In device manager I have ex

  • Help me pls.. it's urgent!

    Hi ladies and gentlemen, i've got a problem here. well, i'm writing a program where it can read from a file and display it on text area which this problem had been settled. the onli problem i hv now is how to read the text from this file or from text

  • Need help with advanced Query

    I am stuck on a query and hope someone can help me out with it. Basically I am trying to get the average score by team who has competed in four or more events. So far I have my query doing a join to pull in the teams name and their category. What I w

  • HTML 5 photo website

    Hi, I am a professional photographer and am looking to remake my website.  My current site is in flash and I notice that the majority of photographer's sites are in flash.  I love the flash photo gallery on this website.  http://www.margecasey.com/da