How to populate TEMKSV using BDC object in Emigall

Hi,
I need to migrate contact persons into ISU.  So I created a BDC using BUA1 and it imports data fine.
BUT, I can't get the key generated to store in TEMKSV.  I tried populating the Application Area with R1, Message Number with 425 (which is what I get when I save in BUA1) and message variable 1 (also tried 2, 3 & 4). 
I get a short dump telling me that the return field was not found or the message variable is initial.
Can anybody point me in the right direction here?  I'm not sure what I'm doing wrong, and can't find anything in the docs about this specifically. 
Thanks
CN

Good question Jurgen.  The short answer is that my contact persons are not actually business partners.  The data I'm trying to load is c/o mailing addresses.  Ah, but you say, I can load mailing addresses as just that.
So here's the long answer.  My primary problem is that I need to be able to assign an address to a piece of equipment in Plant Management, so that I can send a letter in regards to the equipment.  In some cases I have dozens of mailing addresses in use for a single customer. 
While ISU allows me to have many addresses for a BP, the PM side uses the SD customer and I can't have multiple addresses for an SD customer.  But, I can have many SD contacts related to an SD customer.  So my plan is to migrate these specific mailing addresses into IS-U contact persons, relate them to my IS-U BP, use some creative magic from my APAPer to replicate them as SD contact persons related to my SD customer.  Then I will be able to attach the SD contact person (and thus the mailing address) to the equipment.
It seems like a round-about solution but we haven't been able to come up with a more elegant solution.

Similar Messages

  • Use OBJCLASS object of Emigall for  Class & characteristics creation in FL

    Hi Fritz,
    Good day,
    I want to use OBJCLASS object of Emigall for
    Class and characteristics cration of Functional Location, The object is
    desiged for Equipment only,
    I read the document of this object which says
    that it can be modify to use for functional location as well by changing
    some rule, I tried by changing the field "Name of database table for
    object" from the standard which is made for DEVICE/EQUIPMENT
    I need your help to modify the rule to use this object for class and
    characterstic creation for Functional Location, the migration object field is set to Device
    which I want to change to FUNCLOC  but that field is not modifiable.
    Can you help me Fritz
    Regards,
    Robert

    Robert,
    Yes you are right. The following changes have to be made:
    HEADER-OBJECT_TYPE need to be set to IFLOT (Fixed Value or Transfer field rule)
    DATA-FIELD need to be set to TPLNR  (Fixed Value or Transfer field rule)
    DATA-VALUE need to be set to either CONNOBJ or DEVLOC (Via KSM field rule)
    Kind regards,
    Fritz

  • How to populate data into view object

    Hi all,
    I am quite new with ViewObject.
    I have one data table which is binding with view object.
    I want to populate data into view object from my managed bean.
    how can i achieve this kind of scenario?
    actually i try to get view object as in the following. but i get only null.
    ViewObject viewobject = DCIteratorBinding.getViewObject();
    With Regards,
    Wai Phyo

    Hi,
    You could use the following code snippet to get handle to view object from the iterator.
    FacesContext fc = FacesContext.getCurrentInstance();
    BindingContainer bindings =
    (BindingContainer)fc.getApplication().evaluateExpressionGet(fc,
    "#{bindings}",
    BindingContainer.class);
    DCBindingContainer bc = (DCBindingContainer)bindings;
    DCIteratorBinding iterator =
    bc.findIteratorBinding("<ITERATOR_ID>");
    ViewObject viewObject = iterator.getViewObject();
         // Perform operations on the view objectThanks,
    Navaneeth

  • How to Populate table using values from a muti-select list

    I have a muti-select list in a page, the user can select some of the values from the muti-select list. How to populate a table in a process using the selected values.
    Thanks.
    XP

    XP,
    you can also have a look at the following thread.
    Re: Shuttle Control In APEX 3
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • In RFC how to uploading data using bdc

    Hi, Experts
    In RFC how to use bdc program for uploading data
    any example plz.
    my requrement for tcode ME21.
    thank you in advance.
    with best regards
        sai

    Thank u  reply
    my requirement is in function moudle 
    ( Program will be called from non-sap system with the data in the form of table as per the structure given above. Then the program will do the some validation for the data.  If data validated correct, BDC will be run for creating DO
    condition is )
    ex:
    if T_itab –KNTTP = ‘K’,
    Run BDC for transaction ME21.
    ( in that you should not use upload and ws_upload )
    in put paramer is taking value for structure (non- sap ) run the bdc update in sap system.
    plz any sample program
    regards
    sai

  • How to attach document using Generic Object Service

    Hi all,
    How can i create attachment to the parked invoice using Generic Object services? i want function modules which are used to do it.
    Actually I want to do this from the business object method. I am having word document as one of the workitem step. once i get this document I need to attach this document to the parked invoice so that users can see that document by view object list.
    Its urgent.
    thanks.

    Hello,
    Check your configuration of document type assignement to required business document - object type, Archivelink table, content repository in OAC3 transaction.
    Goto respective business document > Click on GOS > Create > Store business document - Here you can see defined document type with desctiption. Double click on this the assign your document to this business document. Save it.
    This will help in attaching the document to your required business document.
    To verify you can check the archivelink table or by transaction OAAD.
    Hope this will help you.
    -Thanks,
    Ajay

  • How to upload data useing BDC

    hI SAP Guru's
        here i have to upload non-sap data  to sap , in the controling how to MAP the fileds and which T.code have use to please guide me

    Dear Purna,
    You would first need to identify the transaction for which you want to upload the data. For example KE51 to Create Profit Center. You could use BDC or BAPI methods. You can use LSMW tool as well.
    you would need to map SAP fields with the corresponding legacy field. You would prepare a layout for the legacy file and accordingly design BDC.
    Steps:
    1. Fetch Data (Download/Read Dataset/Select from Tables)
    3. Massage data as per SAP format.
    3. Validation Check
    4. Pass valid data to BDC (Call Transaction/Session) or BAPI
    5. In case of session method - session log is generated. In case of Call transaction you can use an internal table with structure BDCMSGCOLL to get messages. In case of BAPI the messages will be returned in return table (strcutre BAPIRET2/BAPIRETTAB).
    Hope this will help.
    Regards,
    Naveen.

  • Looking for a better design: how to populate db result to object with lists

    I have a query that returns from the db an arrayList of class CarBean:
    carID, model, color, rentUserID, fname, lname, dateRentStart, dateRentEndThe query is with reference to a particular car that N people (rentUserID) rented and the user (the system user) wish to know how many rentals were made for this carID.
    I wish to populate the result into ONE class name CarRental which looks like this:
    private Car; //model
    private List<RentUser> rentals; //all info relating to rentUserso, my question is this, what creative way (Design Pattern, maybe?) is there to populate all the objects (CarBean) from the arrayList into CarRental?
    In my solution I'm doing something like this:
    Iterator<CarBean> itr = list.iterator();
    CarRental carRental = new CarRental();
    List rentals = new ArrayList();
    while (itr.hasNext())
        CarBean cb = itr.next();
        carRental.setCarID(cb.getCarID);
        //for the list of users:
       User u = new User(); 
       u.setUserID(cb.getUserID()); 
       rentals.add(u);
    carRental.setRentals(rentals);* please consider a more complicated query that the end result of ONE object should have X arrayList and other M objects in it
    thank you!

    Just to make sure I understand, here's a simple version of your question. Please correct anything I have wrong.
    Your design will have two classes: Car and Renter. A Renter is a Person who rents a Car on a given day:
    package model;
    public class Renter implements Serializable
        private Long id;
        private String name;
        private Address address;
        // Details left for you.
    }You'll also have a Car:
    package model;
    public class Car implements Serializable
        private Long id;
        private String make;
        private String model;
        private int year;
        // Details left for you.
    }It sounds like you want to have a one-to-many relationship between Car and Renter. I think you have a couple of choices:
    You can embed a List<Renter> as a data member inside the Car class, or
    You can encapsulate the relationship between a Car and a Renter in a separate class like a Contract.
    I kinda like the second option because it reifies a nice concept.
    As far as the database goes, I'd recommend following an idiom from Spring- their RowMapper interface:
    package persistence;
    public interface RowMapper
        Object map(ResultSet rs);
    }Encapsulate the mapping from ResultSets to Objects that way.
    Or use Hibernate, TopLink, or another ORM tool.
    %

  • How to populate the form bean object for multiselect box in struts

    hi, i am using two multi select boxes,one to populate the data by getting from the data base and another to fill the items selected from the first select box to store the values in the database..i need the information (how to declare the select boxes and how to write the form bean getters and setters for this one.) regarding this..

    http://forum.java.sun.com/thread.jspa?threadID=5147813&messageID=9553925#9553925

  • How do I effectively use my Object Libraries ?

    I have created a generic form which allows users to search a name in a database table. I have created an Object Libarary and added the Blocks, Canvas, etc. to this OLB file.
    My concern is reusing this object in several applications without having to customize each time I attach it to a new form.
    Does anyone have experience with reusing Object Libraries? If so, how do you make modifications to your OLB file so that it propagates to the other forms using it?
    Thanks,
    Bob

    Rather than having to post to loads of people, the note is available on metalink.oracle.com and the note number is NOTE:63373.1 and the title is:
    Oracle Froms & Object Libraries - An overview.
    If you have problems getting this from metalink then post me back and we will try something else.
    Regards
    Grant
    p.s. Support could send it out as well.

  • How to change workcenter using bdc

    hi,
      can any one help me that how to change Workcenter while creating production order.
    plz its urgent.
    plzzzzzz
    Gowri

    Gowri,
    Before calling BDC upload u have to do the validations,So put a logic for which Items u have to change WC.
    try to use any BAPI to overcome TC issue.
    Sample program here.
    data: str type c length 1,
    var type c length 30,
    cntr type i.
    data: begin of record,
    AUFNR(012),
    FLG_OVIEW(001),
    GLTRP(010),
    GSTRP(010),
    ARBPL(008),
    KTSCH(020),
    end of record.
    DATA: itab LIKE record OCCURS 1000 WITH HEADER LINE.
    PARAMETERS textfile LIKE rlgrap-filename DEFAULT
    'c:\prdord.txt'.
    End generated data section ***
    START-OF-SELECTION.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    filename = textfile
    filetype = 'DAT'
    TABLES
    data_tab = itab
    EXCEPTIONS
    conversion_error = 1
    file_open_error = 2
    file_read_error = 3
    invalid_type = 4
    no_batch = 5
    unknown_error = 6
    invalid_table_width = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
    WRITE:/ 'Upload From',textfile,'to itab is not successful'.
    EXIT.
    ENDIF.
    LOOP AT itab.
    IF sy-subrc <> 0. EXIT. ENDIF.
    perform bdc_dynpro using 'SAPLCOKO1' '0110'.
    perform bdc_field using 'BDC_CURSOR'
    'CAUFVD-AUFNR'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'CAUFVD-AUFNR'
    itab-AUFNR.
    perform bdc_field using 'R62CLORD-FLG_OVIEW'
    itab-FLG_OVIEW.
    perform bdc_dynpro using 'SAPLCOKO1' '0115'.
    perform bdc_field using 'BDC_OKCODE'
    '=TERM'.
    perform bdc_field using 'BDC_CURSOR'
    'CAUFVD-GSTRP'.
    perform bdc_field using 'CAUFVD-GLTRP'
    itab-GLTRP.
    perform bdc_field using 'CAUFVD-GSTRP'
    itab-GSTRP.
    perform bdc_dynpro using 'SAPLCOKO1' '0115'.
    perform bdc_field using 'BDC_OKCODE'
    '=VGUE'.
    perform bdc_field using 'BDC_CURSOR'
    'CAUFVD-GAMNG'.
    perform bdc_field using 'CAUFVD-GSTRP'
    itab-GSTRP.
    perform bdc_dynpro using 'SAPLCOVG' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'AFVGD-KTSCH'.
    Here is where i need to check whether the 'AFVGD-KTSCH'containing value 'SEWING' then the itab value should be placed in the below screen-field.
    perform bdc_field using 'BDC_CURSOR'
    'AFVGD-ARBPL(02)'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'AFVGD-ARBPL(02)'
    itab-ARBPL.
    perform bdc_dynpro using 'SAPLCOVG' '0100'.
    perform bdc_field using 'BDC_OKCODE'
    '=FREI'.
    perform bdc_field using 'BDC_CURSOR'
    'PSFC_DISP-AUFNR'.
    perform bdc_dynpro using 'SAPLSPO2' '0300'.
    perform bdc_field using 'BDC_OKCODE'
    '=OPT1'.
    perform bdc_dynpro using 'SAPLCOVG' '0100'.
    perform bdc_field using 'BDC_OKCODE'
    '=BU'.
    perform bdc_field using 'BDC_CURSOR'
    'PSFC_DISP-AUFNR'.
    CALL TRANSACTION 'CO02' USING bdcdata MODE 'A'.
    if sy-subrc eq 1001.
    write:/ ITAB-aufnr,ITAB-arbpl, ITAB-gstrp.
    write 'Not Updated'.
    else.
    write:/ ITAB-aufnr,ITAB-arbpl, ITAB-gstrp.
    write 'Updated Successfully'.
    endif.
    REFRESH bdcdata.
    *else.
    write 'Improper Text File Format'.
    *endif.
    endloop.

  • How to populate LOV using Runtime values

    Hi!!
    I am using jdeveloper 11.1.1.5
    I had created GlJrnlHd VO as a af:form and GlJrnlLnVO as a af:table I had also created a viewlink between TwoTable
    I have an LOV in GlJrnlLnVO [GjlAcct] When my user clicks the Lov the values in the LOV must be shown using the below queryy
    select * from gllvlacct where glalplant = :plant [This plant must be get from the Runtime i.e., Plant of GlJrnlHd]
    How can i acheive this.,

    Hari,
    There is something not clear in your use case.
    >
    I have an LOV in GlJrnlLnVO [GjlAcct] When my user clicks the Lov the values in the LOV must be shown using the below queryy
    select * from gllvlacct where glalplant = :plant [This plant must be get from the Runtime i.e., Plant of GlJrnlHd]
    >
    Do you mean that once the user try to select from LOV, it should be filtered based on :plant value?
    Does :plant value comes from an attribute in the current row?
    Do you want to change the values in LOV once the :plant value have changed?
    Are you asking about cascade LOV?
    Edited by: M.Jabr on Jan 12, 2012 8:44 AM

  • Check how many licenses currently used - Business Objects 11

    Hi there,
    We are coming up against the "all your licenses are currently used" problem from time to time so we're trying to narrow down some of the possibilities..
    Is there any way through the central management console to check (after a report has just been run through the RAS) how many licenses are currently used? Like I can see, how many sessions are open, how many documents are open, connections etc. but do any of these correlate to licenses?
    Any help appreciated.
    Thanks,
    J,

    Adobe Licensing Website | Serial numbers | Orders | Accounts

  • Populate and see database objects in portal

    We have 2 servers.
    - A database server1
    - Application server2.
    we've installed 10G and import all data (from 8.7.1) in our database server1.
    We've installed the mandatory Infrastructure database and application server 10G in our application server2.
    Now we need to use Portal.
    How to populate and see database objects which are in database server1 using Oracle Portal in the application server2.
    Thanks
    Rgds
    Lausanne

    We have 2 servers.
    - A database server1
    - Application server2.
    we've installed 10G and import all data (from 8.7.1) in our database server1.
    We've installed the mandatory Infrastructure database and application server 10G in our application server2.
    Now we need to use Portal.
    How to populate and see database objects which are in database server1 using Oracle Portal in the application server2.
    Thanks
    Rgds
    Lausanne

  • Attach Documents using Generic Object Services

    With reference to Manual Bassani's SDN Contribution of code examples on how to attach documents using Generic Object Services - we have found that since implementing ECC 6 the following code no longer works (at the end of page 9):
    CALL CREATE ATTACHMENT SERVICE FROM TOOLBAR
    WHEN 'ATTACH'.
    CALL METHOD MANAGER->START_SERVICE_DIRECT
    EXPORTING
    IP_SERVICE = 'CREATE_ATTA'
    IS_OBJECT = OBJ
    EXCEPTIONS
    NO_OBJECT = 1
    OBJECT_INVALID = 2
    EXECUTION_FAILED = 3
    OTHERS = 4.
    It is necessary to use IP_SERVICE = 'PCATTA_CREA' to get this to function correctly.
    The original document can be found at [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3]

    Check the Naimesh Patel Blog he explain very well
    http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html

Maybe you are looking for