FM for linking a document to a material

Hello all,
   Please tell me what function or method to use to assign a  document to a material. A inconvient solution for me is using BDC data in trans. MM02.
   Your helpful answer will be rewarded.
   Thank you!
Bogdan

Hi Sinha,
Your solution seems to be the right one, but is not working.  Do you have an ideea why? here are the some test value:
DOCUMENTTYPE                    Z01                      
DOCUMENTNUMBER                  E0100                    
DOCUMENTPART                    000                      
DOCUMENTVERSION                 00                       
OBJECTLINKS ( 1 record  ):
D OBJECTTYPE OBJECTKEY                                                                               
MARA       000000000950700189                                                                               
the others fields are empty.
Thank you a lot!
Bogdan

Similar Messages

  • Restriction of a document on the material plant views

    Hello everyone,
    I would like to link a document to a material, but to restrict this link only to the views related to plant level.
    The document must not be reachable in the views "Basic data 1" and "Basic data 2", but must be reachable in the view QM for instance.
    I have seen in SPRO (path : Cross-Application Components > Document Management System > Control Data > Define document types >  Define object links) that it is possible to link the document to MARC table only.
    It sounds good regarding my requirement but unfortunately it doesn't seem to work as expected.
    Can someone has an idea on this issue ?
    Thanks a lot.

    Hi,
    If it is PO extend the structure KOMPBEA with the item category PSTYP column...
    If it is SO use the structure KOMPBV1
    Try this..in the routine..
    SY-SUBRC = 4.
    **If sales order.
    CHECK KOMPBV1-PSTYV = 'ZZZZ'.
    **If purchase order.
    CHECK KOMPBEA-PSTYP = 'Z'.
    SY-SUBRC = 0.
    Hope this helps.
    Thanks
    Naren

  • Linking two documents in deski

    Hello Experts
        I am new to BO i am trying to link two documents in Deski But i am facing some problem.Can anyone explain me what are steps we need to do for linking two documents.
    Regards,
    Shanmugam

    Hi,
    Following information might be helpful in resolving your query.
    When  link Report1 to Report 2 (universe1.column = universe2.column) so that Report 1 displays only those rows having the Office Number in Report2.
    Cause
    Report pulling data from different universes with different dadabases.
    Resolution
    To get this data by editing the query in the querypannel with  "Select Query Results" operand ,place the universe2.column in condition pane and run the report the we can get correct results from different universe with different databases.
    Regards,
    Sarbhjeet Kaur

  • Purchase order item - link to document

    Hello!
    As you know it is possible to link a SAP document to every position of a purchase order.
    My problem is that I want to fill this fields automatically with the data of the material master data (additional data) when the PO is created. Do you have any idea of how I can manage this?
    Is there any user exit I could use?
    Kind regards,
    Barbara

    Hi Diwakar,
    I'd like to link the documents of a material.
    You can find the fields in the material master data under additional data.
    Register sheet document data.
    Type
    Document
    Version
    Kind regards,
    Barbara

  • Error when creating link to documents from material

    Hi all,
    while creating the purchase order the error message "Error when creating link to documents from material 61260224060" is displayed.
    why this error message is displayed.?
    Regards,
    GaneshRaja

    Hello Ganesh
    Please check material master - view 'Bases data 2'.
    There is checkbox 'No link'. You can activate this checkbox if you are not storing any drawing/designe docuemnt for this material.
    Try to do this and check out again.....
    If this helps you in resolving your issue, i would appreciate if you reward the answer with suitable points.
    Best Regards
    Avinash

  • Styling links for a PDF document

    Hello!
    I am trying to style my links for this PDF document. They should signal "go forward" or "more information here" in the simplest, most minimalistic manner. Now, I know I've seen symbols like these before, I just can't for the life of me remember where. Anyhow here's my attempt at recreating them:
    The blue text gets underlined when the mouse hovers it. The symbol stays the same though.
    So what do you guys think? How'd you wanna improve them?
    Many thanks!

    Also, yesterday the lines around my text field and text boxes....mysteriously disappeared.
    Can someone pls tell me how to get them back as I use them to line up my objects.
    Thanks~
    Tammie

  • Hi, Want link for HRMS functional documents.

    Hi There,
    i'm new to HRMS.
    can any one give me links for some simple documents
    for HRMS functional.
    Thanks
    Bachan

    Search on metalink and OTN. There are also many old threads which discuss the same and have links. Search is your friend :)
    --Shiv                                                                                                                                                                                                                                                                           

  • Can I use Bridge CS6 as a central image database for linking to multiple documents?

    Can I use Bridge CS6 as a central image database for linking to multiple documents?

    It's only really good for Adobe document formats, if you want to be able to view and/or tag documents.

  • BAPI for read FI documents in material document

    Hi all,
    with transaction ME23N i can display Material Document and in the tab 'Doc. info' i can display FI Documents if i click on the button. I'm looking for a BAPI to read this FI documents from the material document.
    Thanks for your help.
    Cheers

    If you mean that you need to know what BAPI's a particular transaction uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use. 
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    1. Find out the package of the transaction. 
    Start Va01 go to system --> status. 
    Double click on transaction 
    Package is VA 
    Open this package in SE80 
    Open business engineering-->Business object types 
    Find the BO which sounds the most appropriate 
    I would suggest BUS2032 Sales Order 
    Double click. 
    Open methods. 
    Find the released method with from data or something similar in the name 
    , Createfromdat2 
    Position the cursor in it and click the program button 
    Scroll down to find the bapi used in this method 
    With this way you can also find out programs and FM's 
    2. Start va01 go to system-->status 
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order 
    createfromdat2

  • Table for link between Accounting document and Billing document

    Which is the table for link between Accounting document and Billing document ?
    Thanks & Regards

    Ø Go to SE16N, enter table BSAD
    Ø In the Reference Field (VBELN) enter the Billing Document no. 
    Tips:
    Ø Make sure that only those billing documents will be considered whose accounting documents actually exists
    Ø No Accounting documents will be displayed for Credits, Free of charge orders and those acc. Documents which have been cancelled.

  • USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT

    Hi,
    Pls advise any USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT.
    Regards,

    Hi,
    There is another user exit for updating material document data Upon posting  is MB_CF001
    I hope this will fullfill you.
    Prem

  • Make material as a mandatory field for a particular document type in PR

    Hi,
        Currently we are in SAP 4.6c version. There is a business requirement for making material as a mandatory field for a particular document type of purchase requisition as they don't want the user to raise non material purchase requisition using that document type. The field for material is currently not available in the configuration for Define Screen Layout at Document Level for purchase requisition.
    So could you kindly let me know the possible options to prevent user from raising a non material purchase requisition using that document type. If not could you kindly suggest me the user exits available at the time of saving purchase requisition which i could use so that we can write a code to check if the material number is entered or not. If not entered prevent the user from saving the purchase requisitions.
    Also it would be helpful if you could let me know how the fields for enjoy transaction (like material,document type) can be made available for selection in the configuration for Defile Screen Layout at Document Level for purchase requisition.
    All you help in the solving the above problem is highly appreciated.
    Thanks & Regards
    Ram

    Hi,
    Check below method works out for you, if you do not want to proceed with any ABAP development.
    Have a custom field selection key with Material Description field as "Mandatory" and "Display" in Basic Data, Item selection group.
    Assign this to your PR document type which need material as mandatory. With this you are making user to enter material indirectly as mandatory & user will not have an option of entering text which avoids indirect / service procurement.
    "Material Group" option won't help as User can have default settings with some value and it updates even in display mode of field.
    Regards,
    Ram
    Edited by: Ramprashanna S on Jan 11, 2012 11:51 PM

  • Need Link or Document for MSS

    Hi all,
    I need to work on MSS. please help me by sending the  link or document for MSS.
    Thanks
    sumitra

    MSS config http://help.sap.com/Business_Packages/EN/0b/c26b1be7700043b17cba4334a4b58c/frameset.htm
    ESS SCREEN ELEMENTS:
    DEFINE HEADERS:
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => HOME PAGE FOR SELF-SERVICE => HEADERS AND AREA GROUP PAGES => DEFINE HEADERS
    DEFINE AREA GROUP PAGES:
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => HOME PAGE FOR SELF-SERVICE => HEADERS AND AREA GROUP PAGES => DEFINE AREA GROUP PAGES
    DEFINE AREAS:
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => HOME PAGE FOR SELF-SERVICE => AREAS => DEFINE AREAS
    DEFINE SERVICES:
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => HOME PAGE FOR SELF-SERVICE => SERVICES => DEFINE SERVICES
    INFOTYPE VIEW INDICATOR:
    Service Specific Settings :Maintain feature
    SAP EASY ACCESS => PE03 => IVWID
    Define Roles - Subtypes and Application Data are defined here. SAP Customizing Implementation Guide (IMG) -> Personnel Management > Employee Self-Service -> General Settings -> Service- Specific Settings -> Own Data -> Define Active Subtypes and Application case
    DEFINE ACTIVE SUBTYPES AND APPLICATION CASE
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => OWN DATA => DEFINE ACTIVE SUBTYPES AND APPLICATION CASE
    CREATE RULE GROUP (Configuration steps for Time Management)
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME => LEAVE REQUEST => PROCESSING PROCESSES => CREATE RULE GROUPS
    In Leave request create Rule group - V_HRWEB_RULE_GRP
    ADJUST WEBMO FEATURE
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME => LEAVE REQUEST => PROCESSING PROCESSES=> CREATE RULE GROUPS
    "Feature is used in Customizing for the Web application to store different regulations for employee groups. We can store regulations to display Data"
    Assign workflow template to each Leave type - where WF ID for new request WF ID for cancellation request and WF ID for Change request are given here. SAP Customizing Implementation Guide (IMG) -> Personnel ManagementàEmployee Self-Service -> Service- Specific Settings -> Working Time -> Leave Request -> Processing Processes -> Specify Processing Processes for types of Leave -> Define Absences/Processing process
    Specify how leave is displayed and default values:SAP Customizing Implementation Guide (IMG) -> Personnel Management -> Employee Self-Service -> Service- Specific Settings -> Working Time -> Leave Request -> Lay out of web application -> Specify how Leave is displayed and default values
    DEFINE PROCESSING TO EACH RULE GROUP
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME => LEAVE REQUEST=> PROCESSING PROCESSES => DEFINE PROCESSING PROCESS FOR EACH RULE GROUP
    PROCESSESS FOR TYPES OF LEAVES
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS = > SERVICE SPECIFIC SETTINGS => WORKING TIME LEAVE REQUEST => PROCESSING PROCESSES => SPECIFY PROCESSING => PROCESSES FOR TYPES OF LEAVES
    QUOTA OVERVIEW / TIME ACCOUNTS
    CREATE RULE GROUP
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME ACCOUNTS => CREATE RULE GROUP
    MAINTAIN WEBMO FEATURE
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME ACCOUNTS => CREATE RULE GROUP
    SPECIFY DISPLAY OF ABSENCE QUOTAS
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME
    TIME ACCOUNTS => SPECIFY DISPLAY OF ABSENCE QUOTAS
    SPECIFY THE CALCULATION OF REMAINING LEAVES
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME
    TIME ACCOUNTS => SPECIFY CALCULATION OF REMAINING LEAVE
    DETERMINE LAST DAY OF THE WEEK
    Maintain LDAWY feature (To maintain Last day of the working day)
    SAP EASY ACCESS => PE03 => LDAYW
    SETUP DATA ENTRY PROFILES
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME => RECORD WORKING TIME => SETUP DATA ENTRY PROFILES
    Display view of CATS entry profile:SAP Customizing Implementation Guide (IMG) -> Personnel Management -> Employee Self-Service -> Service- Specific Settings -> Working Time -> Record Working Time -> Define Field Selection and select Data entry selection
    SELECT ALLOWED ABSENCE TYPES
    (Here we define the absence types that the employees are allowed to enter in CATS Regular. To do this, deactivate all absence types that are only to be processed by the clerk in the SAP system.)
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME=>RECORD WORKING TIME => SELECT ALLOWED ABSENCE TYPES
    TIME STATEMENT
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME => TIME STATEMENT => ENTER NAME OF HR FORM FOR THE => TIME STATEMENT
    TEAM CALLENDAR
    SPECIFY ABSENCES TO BE DISPLAYED
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC => SETTINGS => WORKING TIME => TEAM CALENDAR => SPECIFY ABSENCE TO BE DISPLAYED
    Assign Processing processes to each leave type:SAP Customizing Implementation Guide (IMG) -> Personnel Management-> Employee Self-Service -> Service- Specific Settings -> Working Time -> Team Calendar -> Specify Absences to be Displayed u2192 Define Absences/Processing Process
    SPECIFY COLOUR DISPLAY FOR EACH ABSENCE
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC => SETTINGS => WORKING TIME => TEAM CALENDAR => SPECIFY ABSENCE TO BE DISPLAYED
    SELECT EMPLOYEES TO THE TEAM CALLENDAR
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC => SETTINGS => WORKING TIME => TEAM CALENDAR => SELECT EMPLOYEES
    DEFINE LAYOUT OF TEAM CALLENDAR
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC => SETTINGS => WORKING TIME => TEAM CALENDAR => DEFINE LAYOUT OF TEAM CALENDAR
    Creating User ID's for ESS: Through TCODE SU01 define the user name.Assign User through Communication Infotype(0105)
    MSS config http://help.sap.com/Business_Packages/EN/0b/c26b1be7700043b17cba4334a4b58c/frameset.htm[http://saphrexpert.blogspot.com/search/label/ESS]
    Edited by: SajKhan on Jun 1, 2009 11:01 AM
    Edited by: SajKhan on Jun 1, 2009 11:02 AM

  • Automatic Link of  Documents in purchase requisition and purchase order

    Dear guru.
    I have created a document in CV01N and I have linked it in document data view of a material master(MM02).
    For every purchase requisition and purchase order position created for this material I need that the system execute an automatic link to this document.
    How can I do that ?
    Thanks

    Hello,
    You can only derive the attached documents from the preceding documents only (for example. Purchase Requisition). Deriving the attached document from the material master is not a standard scenario. This scenario is not in the system. You need to manually attach it.
    bg, Gabor

  • Link DMS Document to Report

    Hello I created a PDF documentation for a report and
    want to link it with a SAP report (called by transaction SA38)
    I created a DMS document by transaction CV01N
    created document links to report, transaction and
    developement object R3TR/PROG/<report name>
    and also transaction R3TR/TRAN/<transaction>
    I released the document (status).
    But I do not know how to make this documentation
    available from selection screen of report.
    Can anybody help me with this task?
    Thank you
    Matthias
    [other Keywords: CV02N CV03N]

    Hi Matthias
    Whenever you create a DIR  for Example with parameters
    Docuemnt Number   - 100005
    Document Type - DRW
    Part - 000
    Version - 00
    You can Link this DIR with Standard SAP Object such as Material Master ( MARA ) , Vendor Master ( LFA1 ) , Customer ( KNA1)  in DC10 ( Define Document Types > Define Object Links ).
    In this Standard SAP Object are available that can be linked to Document Type. If the Object you desire to link to SAP DMS DIR is not available the you will have to do ABAP Developement to link your desired object to DIR in SAP DMS.
    Check this Link
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/b2/c043a66fab11d1949500a0c92f024a/content.htm
    Check your Object which you want to link to SAP DMS. if not the Follow the procedure given in link.
    Hope this information is usefull to you.
    With Regards
    Mangesh Pande

Maybe you are looking for