Upload of Relationships in OM

Hi,
I have uploaded the objects using LSMW using tcode PP02.It worked successfully.Now i want to maintain relationship between objects.Can anyone pls let me know how to proceed forward with this.
When i am trying to maintaining relation using the same tcode PP02,it is always showing only one relationship that is A088 and B088.I cant see any other relationship here.
Should relationships be maintained with any other tcode.Pls guide.
Thanks
Pushyami

It depends on which object you have selected. For the object you selected maybe there is only relationship defined. If there are different types of objects, then make sure that the object type and the relationship ID are part of the source structure in the LSMW. Hope this helps.
Pramod

Similar Messages

  • Uploading BP Relationships

    Hello,
    Can anyone help me by pointing out some options available for manually uploading the BP Relationships in the CRM system.
    Appreciate any pointers on the same.
    Regards,
    Amit

    Hi,
    You can use LSMW for achieving your requirement.
    What is LSMW?
    Legacy System Migration Workbench or LSMW is SAP standard program that can be used to easily load / change master data or transactions in SAP without any programming at all. It can be used to upload data at cutover, such as: open orders, contracts, materials, vendors, stock on hand. It can also be used in a production system to make changes to existing data. Very limited authorization checks are available on the transaction, so the use of it must be very well controlled.
    One input file can be used to create all the views of the material master. For all the material types. Even if different views and fields are used for the different materials.
    Steps to take
    1. Create text file with data to be loaded
    2. Set up and run LSMW
    The following link will provide good information on LSMW Idoc method:
    [http://help.sap.com/saphelp_nw04/helpdata/en/ad/2d54a41d7011d2b42e006094b944c8/frameset.htm]
    For your scenario, you can utilise any one of the following Idocs provided by SAP based on your requirement:
    CRMXIF_PARTNER_REL_SAVE01
    CRMXIF_PARTNER_REL_SAVE_M01
    I hope this helps.
    Regards,
    Venkat

  • Relationship between Objects Not Found in PA

    Dear all,
    I have uploaded objects (Org Unit, Job, and Position) and the relationships between objects separately using LSMW.
    When i checked the update of the relationship between objects in PA30, but the relationship between objects (Org Unit, Job, and Position) did not exist, yet exists in PP02.
    I tried to upload the relationships between objects using holder (A008) in LSMW again, still I could not find the relationships in PA30, but exist in PP02.
    Then I tried to run rhinte00 and rhinte30 to link the relationship between objects. I managed to get through rhinte00, but failed to run rhinte30.
    Below is the report log when I tried to run rhinte30.
    Report log:   
    Processing mode:   Processing successful 
    Number of personnel nos. selected :   0 
    Personnel numbers with errors:

    Check the following.
    1. Check if integration is active in T77S0 table PLOGI PLOGI = Your active plan version & PLOGI ORGA = X
    2. Check if all your objects are created with this active plan version
    3. Check the feature PLOGI to see if your PA PSA etc for the employee are integrated.
    cheers
    Ajay

  • Upload Product Category for Purchasing Group

    Hi,
    I have 30000 product categories for 10 Purchasing groups.
    Each Purchasing group is linked to about 10000 product categories.
    How do I upload this relationship to the SRM org. structure (Purchasing Group --> Responsibility) through (standard SRM) program?
    With regards,
    -Pranav

    Hi,
    There is not std program to upload this relationship.You need to maintain tis relationship manually in transcn PPOMA_BBP under the responsibility tab..
    BR,
    Disha.
    Pls reward points for useful answers.

  • Relationship  IBase with BP

    Hi everybody,
    When we have uploaded the relationship between BP and IBase (by a custom program), we noticed problems.
    We have seen in the table IBPART that an IBase has 2 PARTNERSET with the same BP, which gives us a dump, when we go to the partners, in the transaction IB52, or when we use a function or a program which is connected with this relationship.
    Someone knows how to solve this problem?
    Thanks a lot.
    Virginia.

    Yes, but the fact is, as i have 2 partnesets with the same BP, every function gives me a dump because there is always a control on this table which contains partnerset.
    When there are more than 1 partnerset, for a BP, it gives me a dump.
    I need to modify the BP assigned to the set, and i don't know how to do it.
    Thanks.
    Virginia.

  • Hierarchy with Ratio

    Hello Gurus,
    I am trying to build a report where i have a hierarchy on Company codes (with multiple nodes & levels)
    & i want to see the totals aggregated to the upper level when i see the upper nodes.
    This is the normal hierarchy functioning.
    But my requirement gets tricky, when i have also maintain a ratio & aggregation should work according to that ratio.
    e.g
    Hierarchy of CC     Amount      Ratio
             C1                     $1000      100%
               -  C2               $2000        50%
                 --    C3          $1000         10%
               -  C4                $200          50%
               -C5                  $1000         100%
    Here , the eg says that C1 owns only 50% of C2 , 50% of C4 & 100% of C5. Whereas, inturn C2 owns 10% of C3.
    Hence the Balances KF of each company code should get aggregated to C1 according to the ownership ratios.
    C1 = $1000 + $2000 * 0.5 + $1000 *0.5 *0.1  + $200 * 0.5 + $1000 * 1
    Initially , i was planning to upload this relationship to a DSO & then use it in the query. However , it becomes very static... & cannot accomodate any changes in the Hierarchy structure.
    Can somebody suggest me a good way to do this which can also accomodate the dynamic hiearchy ( if the hierarchy changes)
    Thanks in advance.
    John

    Hi John,
    I too have the exact same requirement.  Please let us share what we find out?
    My scenario.  Calculate ratio of sales for sold to by line of business (LOB)
    Created hierarchy on charachteristic 0Customer and have infopackage/user exit that freshes the hieararchy by process chain.
    Hiearchy is displayed correctly in BEXweb for Sold_to
    We have multiple levels for parent account as a node level
    Sold_to can exist on multiple node levels (multiple parents)
    The requirement is to apply a ratio (percentage) to the key figures (sales, gross margin, etc) for the sold_to on each node where it is assigned.  The total percentage for the sold_to on each node adds up to 100%.  This ratio is defined in a DSO
    0SOLD_TO
    0CUSTOMER (parent)
    0AS_PRCNT_F (ratio, source table validates sum of 0sold_to and 0customer = 100%)
    I have tried creating an info-cube for LOB and also added 0AS_PRCNT_F  as a key figure to Sales Info-Cube
    Then assigned both KFs to the multi-provider. RSRT debug shows that the LOB KF is excluded.  I understand this is because multi-provider is a union not join. So won't work.
    I am also trying to create an info-set (join) on 0sold_to on the LOB  and sales infocube then assign the ratio KF from the infoset to the multi-provder, but the KF is empty in the query results.
    Any help or ideas is greatly appreciated!
    Lee Lewis

  • How can I upload multiple files in a master detail relationship?

    I would like to be able to upload several files for one record (a one to many relationship). I tried using a master detail form, but the tabular form does not support file browse. I've searched the forum and found several examples asking how to upload multiple files at once. That is not what I'm trying to do. I simply want the user to browse, select a file, provide a file name and description. Then select the next file. When they are done selecting files (it may be one file or many files) I want them to hit the submit button and I'll run a procedure that saves the files to the database.
    How can I do this? Thanks, you guys are the best. Elizabeth

    Elizabeth,
    I had this situation come up once and here's what I did, thought it may not be exactly what you're looking for.
    I created a collection to store the ID's of the files that had been uploaded, along with the key and other information. The file browse input will upload your files into the wwv_flow_files table on submit. I was storing the documents in another application table.
    The after submit process grabs the id from wwv_flow_files where the name is = to your file input.
    After you add that ID and your associated master key in the collection, your final submit process fetches the files from wwv_flow_files and inserts them into your own table.
    I can put an example on apex.oracle.com if that would be helpful.
    Thanks,
    Jeff

  • Programme for uploading the network activities & activities relationship.

    Hi Experts,
    Is there any Programme for uploading the network activities & network activities relationship.
    Regards,
    Gagan

    hi,
    if you could stick to several   standard Project templates, use BDC program to uplaod projects referring project standard templayte
    Hope this would help u.
    Regards,
    Sam L.

  • Characteristic Relationship BI-IP

    Hi,
    I am trying to create the following characteristic relationship on real time planning cube.
    Within the realtime cube I have 0fiscper and 0fiscvarnt being populated.
    I also want to calculate 0calquarter and 0halfyear1.
    For this I have created a DSO which has 0fiscper and 0fiscvarnt as the key and 0calquarter and 0halfyear1 as the data fields. I am populating 0fiscper and 0fiscvarnt during the upload and calculating 0calquarter and 0halfyear1 via a routine.
    I am now trying to create the characteristic relationship, but when I enter the DSO technical name, I get the following error message:
    DataStore object '....' does not have a data field from the InfoProvider; this object is invalid here.
    Any ideas why this happening, all the fields in the DSO exist in the realtime cube.
    Thanks
    DJL

    Hi
    For time characteristics, there are standard characteristic relationships.. dont see why need to create them.
    if it is for fiscvarnt-fiscper combination: guess no need for other things.
    Also if u r specifying DSO name in planning modeler, I guess u can look up the DSO thru F4 help.
    rgds
    Deepak

  • Can you create a website in DW then upload it to BC for commerce site?

    So confusing working from BC in DW. I originally thought that I could take my Muse or Dreamweaver websites, upgrade in order to get the ecommerce features, upload product spreadsheet, figure out how to populate the pages, and publish.
    Now it seems BC just complicates and confuses the process with its addition of modules and tags. Why does it have to be so hard? BC Gurus videos show features that don’t show up in my version. Can’t find templates to start from. Waisting hours trying to learn the relationship between the two (BC/DW). Seems like BC commerce is more work than other all-in-one packages. All I want is to take my design and make eCommerce operational.
    First mistake: Current project designed in Muse. When I upgraded from basic to commerce3, and BC started throwing in their modules, I got totally lost.
    Then, I imported BC site in DW, now I have all the mess from Muse plus BC and don’t have anything that I recognize which I can work with.
    All I need is a clear step-by-step list that will walk me through it. There are way too many videos and tutorials that are vague and unhelpful. Personally, videos take too long to sit through and try to take notes without having to pause and play - inefficient.
    Ask the question “what’s a module?” and I can’t get a clear definition.
    Same with “tag”! What is it, where do they go, I don’t even know what to ask.

    Welcome to the web industry, BC makes things a lot easier with how it is produced and the avoidance of a lot of server side development if you was to use other systems. Managing layouts, tags, modules, CSS and HTML and Javascript is kind of basics of the profession to master.
    You will find guides showing features not availible to a plan if you are only on say a webasic plan etc as you noted. Muse is really not the best thing to get into not just BC but web design with, it does not teach you anything you need to know to properly create websites, especially even remotely more complex things. There is no clear step by step I am afraid, You have guides provided on these forums, you have the BC knowledgebase and sites like BC Gurus but really its learning what things are, how things are. Learning CSS, HTML, Javascript etc and implementing as you do so.
    A module is something that renders output of content in varius forms such as a menu or a web form. It can render a list of items created by a web app and more. A tag is a set of values or rendering content within the modules like web apps or other elments such as eCommerce.
    All of this is outline and more on the guide sites such as BC Gurus and the KB:
    http://helpx.adobe.com/business-catalyst/kb/modules-quick-reference.html
    http://kb.worldsecuresystems.com/134/bc_1342.html

  • Urgent help required for  upload of vendors in commpr01

    Hi Experts,
               In the PRODUCT MASTER(commpr01) under the RELATIONSHIP> VENDOR tab>I need to upload the Vendors(Business partner id, description and product id of business partner) from a flat file.
    Is there any BAPI available to load the vendor details..
    Please help its urgent..
    Thanks in advance,
    Sundar

    Hi Sudip,
    1) create custom controller and appropriate context structure there (dataNode(Name,Phone,ID,Address,Check))
    2) create view StartView. Map data node from custom controller to node in view. Create table and bind context node attributes to appropriate table columns.
    3) create view ResultView. Map data node from custom controller to node in view. Create 2 nodes (CheckedData, UncheckedData) with supply methods. Create filtering implementation in supply methods (add checked and unchecked node elements to appropriate nodes).
    4) create new window with resultView as default view
    4) in startView in button action handler put something like
         IWDWindowInfo _windowInfo = wdComponentAPI.getComponentInfo().findInWindows("Popup");
         IWDWindowManager manager = wdComponentAPI.getWindowManager();
         IWDWindow _window = manager.createWindow(_windowInfo, true);
         _window.open();        
    So, just tried localy and it works.
    Best regards, Maksim Rashchynski.

  • LSMW for uploading assets using BAPI

    Hi.
    I am trying to upload assets from a flat file into the standard table using LSMW with BAPI.
    I could upload the assets by calling the BAPI from an ABAP report. But when I use the same BAPI in LSMW it gives an error while maintaining structure relationships.
    I created different source structures for header segment, general data and for depreciation areas on same level. While assigning these structures to target structures it asked for maintaining hierarchy between them. After I created that hierarchy I could maintain the relationships properly. But the read program was not generated.
    Please help me in this.
    Thank you.

    Hi Savitha.
    Thanks for the reply.
    The identification field need to be defined in case of data maintained for several source structures in one file. I am maintaining the data for each source structure in a separate file.
    Still it is giving me the same problem that is not generating the read program.
    If I dont maintain the hierarchy in source structures then it is generating the read program but then gives error while converting the data.
    Don't know how to proceed.

  • Upload file and link to sales order in SAP via rfc (C#)

    Hello all,
    In my company we have the possibility to attach files to sales orders, e.g. pdf files with the printing details.
    These files are added by the GUI user, this works fine.
    Now we have an extra order creation stream in which a pdf file has to be added to the SO without user interaction.
    In a previous question I had a little question about the linking, that has been solved, I will post the test program later.
    I now can link front end files (pdf's in this case) to the sales orders and it works fine.
    Now we are developing a frontend in C# (build by a third party) which creates a sales order via a RFC. We also want that RFC to include the PDF file and link it to the created order.
    In the interface of the RFC I included a table with 255 char lines. That is the same as in the example program. the problem is that our partner is yet unable to fill the interface in exact the same way as the example program does, so the linked pdf file is corrupted.
    Does anyone have hints how C# should fill the interface table, or how I can change the interface?
    code snippid table declaration for pdf table:
    IT_PDF     LIKE     ZETEX_TAB_PDF
    and
    structure ZETEX_TAB_PDF consists of
    LINE     CHAR255
    the sample program (see other topic on where I got it)
    REPORT  zzfb_brc LINE-SIZE 260.
    * Report  Z_RMTIWARI_ATTACH_DOC_TO_BO
    * Written By : Ram Manohar Tiwari
    * Function   : We need to maintain links between Business Object and
    *              the attachment.Attachment document is basiclally a
    *              business object of type 'MESSAGE'.In order to maintain
    *              links, first the attachment will be crated as Business
    *              Object of type 'MESSAGE' using Message.Create method.
    *              Need to check if we can also use FM
    *              'SO_DOC_INSERT_WITH_ORIG_API1' or SO_OBJECT_INSERT rather
    *              than using Message.Create method.
    * I took this program and removed all the parts for adding URL's and
    * notes.
    * Include for BO macros
    INCLUDE : <cntn01>.
    * Load class.
    CLASS cl_binary_relation DEFINITION LOAD.
    CLASS cl_obl_object      DEFINITION LOAD.
    PARAMETERS:
    *  Object_a
       p_botype LIKE obl_s_pbor-typeid DEFAULT 'BUS2032',    "SO
       p_bo_id  LIKE obl_s_pbor-instid DEFAULT '0000757830', "example number
    *  Object_b
       p_docty  LIKE obl_s_pbor-typeid DEFAULT 'MESSAGE' NO-DISPLAY,
       p_msgtyp LIKE sofm-doctp        DEFAULT 'EXT'     NO-DISPLAY,
    *  Relationship
       p_reltyp  LIKE mdoblrel-reltype DEFAULT 'ATTA'.
    TYPES: BEGIN OF ty_message_key,
            foltp     TYPE so_fol_tp,
            folyr     TYPE so_fol_yr,
            folno     TYPE so_fol_no,
            doctp     TYPE so_doc_tp,
            docyr     TYPE so_doc_yr,
            docno     TYPE so_doc_no,
            fortp     TYPE so_for_tp,
            foryr     TYPE so_for_yr,
            forno     TYPE so_for_no,
           END OF ty_message_key.
    DATA : lv_message_key TYPE ty_message_key.
    DATA : lo_message TYPE swc_object.
    DATA : lt_doc_content TYPE STANDARD TABLE OF soli-line,
           ls_doc_content TYPE soli-line.
    * Create an initial instance of BO 'MESSAGE' - to call the
    * instance-independent method 'Create'.
    swc_create_object lo_message 'MESSAGE' lv_message_key.
    * Upload the pdf file, for now from the frontend, in the future from
    * the server.
    DATA:
    *  dsn(40) TYPE C VALUE '/usr/sap/trans/convert/1.pdf', "server location
    l_lines TYPE i. "filelenght
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename   = 'c:tsimple.pdf'
        filetype   = 'BIN'
      IMPORTING
        filelength = l_lines
      TABLES
        data_tab   = lt_doc_content.
    * no exceptions, the file is there in this example
    clear l_lines.
    loop at lt_doc_content into ls_doc_content.
    l_lines = l_lines + 255.
    endloop.
    compute l_lines =   l_lines
                      + STRLEN( ls_doc_content ).
    ** the coding for the server input, for later
    *OPEN DATASET dsn FOR INPUT IN BINARY MODE.
    *IF sy-subrc <> 0.
    *  EXIT.
    *ENDIF.
    *READ DATASET dsn INTO ls_doc_content.
    *WHILE sy-subrc EQ 0.
    *  APPEND ls_doc_content TO lt_doc_content.
    *  READ DATASET dsn INTO ls_doc_content.
    *ENDWHILE.
    *CLEAR ls_doc_content.
    *CLOSE DATASET dsn.
    * define container to pass the parameter values to the method call
    * in next step.
    swc_container lt_message_container.
    * Populate container with parameters for method
    swc_set_element lt_message_container 'DOCUMENTTITLE' 'Some title'.
    swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.
    swc_set_element lt_message_container 'NO_DIALOG'     'X'.
    swc_set_element lt_message_container 'DOCUMENTNAME' p_docty.
    swc_set_element lt_message_container 'DOCUMENTTYPE' 'PDF'.
    swc_set_element lt_message_container 'DocumentSize'    l_lines.
    swc_set_element lt_message_container 'DocumentContent' lt_doc_content.
    swc_call_method lo_message 'CREATE' lt_message_container.
    * Refresh to get the reference of create 'MESSAGE' object for attachment
    swc_refresh_object lo_message.
    * Get Key of new object
    swc_get_object_key lo_message lv_message_key.
    * Now we have attachment as a business object instance. We can now
    * attach it to our main business object instance.
    * Create main BO object_a
    DATA: lo_is_object_a TYPE sibflporb.
    lo_is_object_a-instid = p_bo_id.
    lo_is_object_a-typeid = p_botype.
    lo_is_object_a-catid  = 'BO'.
    * Create attachment BO object_b
    DATA: lo_is_object_b TYPE sibflporb.
    lo_is_object_b-instid = lv_message_key.
    lo_is_object_b-typeid = p_docty.
    lo_is_object_b-catid  = 'BO'.
    *TRY.
    CALL METHOD cl_binary_relation=>create_link
      EXPORTING
        is_object_a = lo_is_object_a
        is_object_b = lo_is_object_b
        ip_reltype  = p_reltyp.
    * Check if everything OK...who cares!!
    COMMIT WORK.

    I woudl suggest you check ORDERS05 IDOC type (ORDCHG message type).
    FM - idoc_input_ordchg

  • Legacy data upload for Training & Event Management

    As per the requirement, the legacy /history data for training events is to be uploaded in the system. To start the process the data templates were prepared for uploading training objects like D (Business Event Group), L (Business Event Type) and E (Business Event) and these were uploaded. Also the relationships A003 between D & L and A020 between E & D were also maintained. As a part of training history the attendees were also maintained (uploaded) using the relationship A025 between E & P objects. However when we go to PSV2, then the tree structure does not reflect the name of the person who attended the event.
    Please suggest and advice.

    Hi Nitin,
    I have a query regarding the Legacy data. I wanted to ask you that how did you structure the Historical BEG and BET.
    Did you create different BEG for the Current and the Legacy data.
    But in that case there could be BET's common in both the current and legacy data with different object ids
    For e.g. Under Current BEG and Historical BEG  I may have a BET Technical Programmes with diffrent Ids say 60000000 and 60987655. This may create a problem when running reports.
    Pls tell me strategy that you have used for creating the catalog.
    Regards
    Yashika Kaka

  • OSA - ERROR while downloading \ uploading appraisal template

    Hello!
    May be some of you came across the same problem: when appraisal template using object Q as reference object for VB or VC is being uploading into the other client it is copied with error. The relationship 607 between objects is not ceated in the other client, so the object is not correct. Is it a standard solution
    Thanks Ekaterina

    Hello, once more!
    I am inclined to think that lack of relationship  607 between objects VB and Q while uploading appraisal template into other client is due to a programm error but we failed to find relativa SAP Note, may be someone came across the problem?

Maybe you are looking for

  • Some colours do not show up on Firefox?

    They show up on the Safari, but not on the Firefox. Is there anyway I can make them show up on the Firefox? Here are the colours: ad855b d8800e c13b06 e97518 816c4e b9ab94 c88c5f Thanks.

  • Mapping feature for queries that cannot be expressed using JDO QL

    In the "Java Data Objects vs. Entity Beans" thread at theserverside.com, there was a question concerning the ways to use a query that cannot be expressed using JDO QL (for example SQL requests having no equivalent) . Among the possibilities mentionne

  • Does JAX-WS support JMS transport?

    I was looking at this article for JMS transport support in JAX-WS https://jms-ws-transport.dev.java.net/ In the example at https://jms-ws-transport.dev.java.net/source/browse/jms-ws-transport/samples/fromwsdl/etc/AddNumbers.wsdl?view=markup , in the

  • PLD : User details

    Hi, I wan t o print user default details ie.  Address, Tel.1, Telephone 2, in Sales Quotation PLD. I am trying to pick the data from OUDG table but  nothing is being displayed Thanks, Uday

  • Chart /  graph package

    Hi, can anyone suggest some good charting / graphs apis/tools that could be used for browser ( image based or through applets ). Thanks