Importing a model from a configurator to a custom table

Hi,
I'm new to Configurator.
Can someone please advice in detail how to import all possible combinations from a model in the configurator to a custom table?
I have created a custom table based on the items in the model.
I have also written a CIO which displays all the possible combinations in a html page when a button is clicked.
What i want is, how to connect to a database and import into the custom table.
Any Help Appreciated.
Thanks in advance.
--PK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Hi,
I read those documents (they are similar), but they don't say much about the web dynpro. There is another document saying I should add my class as an external jar to my project, but it still doesnt work. The errors I get are in the following classes:
IPublic<Custom Controller>.java
Internal<Custom Controller>.java
The errors are:
Clients (my class) cannot be resolved or is not a type
gen_modelInstance cannot be resolved
Any thoughts?
Lionel

Similar Messages

  • Unable to Import RFC Models from CRM

    Hi Experts,
        I am unable to import adaptive RFC Models from CRM System,It is giving an error.Previously i imported Bapi from R/3 system and it is working fine. Is it that we can only import Bapi from R/3 system only i.e ABAP Backend.
    I am waiting for all your reply.

    hi
    check this
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3fe9e790-0201-0010-f787-e2e78c559f38
    what content u want to get from bapi
    Organizational Model Transfer from R/3 to CRM
    bvr

  • Importing single row from an exported dump of many tables

    Hi all,
    I have a requirement to import a single row from a exported dump which has collection of tables in it.
    i have used export of a single row and import of single row(from single row export dump), now i need to import a single row from a dump containing collection of tables...
    kindly help me out with this.

    971424 wrote:
    Hi all,
    I have a requirement to import a single row from a exported dump which has collection of tables in it.
    i have used export of a single row and import of single row(from single row export dump), now i need to import a single row from a dump containing collection of tables...
    kindly help me out with this.post command line that produced the dump file.
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Import Network Model from Shapefile

    Hello,
    How to import shapefile of roads network (network data model) into oracle spatial? (Oracle+Spatial 10.2g)
    http://www.oracle.com/technology/software/products/spatial/files/shape2sdojava.zip deals only with normal (non-network) spatial data..
    Huge thanks!

    Ok, putting together your help, I managed to get myself a network model, hurray! But after this script in the end (could you peep through it and tell if anything's missing), VALIDATE_NETWORK gives me this:
    SDO_NET.VALIDATE_NETWORK('SHP_TABLE_NET')
    No Link Geom Metadata!
    How (where) would I insert that Link Geom Metadata? All I found is USER_SDO_GEOM_METADATA, but there is nowhere to insert Link data. Googled, too.
    The script, together with instructions, in case you make a nice use of it ;):
    * Import a Shapefile into Oracle Spatial as a normal vector map;
    * (ISSIT POSSIBLE TO AVOID THIS STEP? PL/SQL .sql file script? But that with DDL restrictions, clumsy variable definitions in DERLARE section etc. drove me nuts and I gave up, just asking users to do simple Find/Replace..):
    Replace all occurrences of SHP_TABLE (case sensitive, can be part of a word) in the script below with the table name of the imported map from Shapefile (copy all script from below to a text editor and perform that replace);
    * Copy/Paste (in Linux: select text and then use middle mouse button or Shift+Insert to paste it in a console) the script line-by-line, follow any severe errors (ignore ones, when it writes that table cannot be dropped when it does not actually exist :) and the like).
    -- delete any tables existing
    EXECUTE SDO_NET.DROP_NETWORK('SHP_TABLE_NET');
    DROP TABLE SHP_TABLE_PLINK$;
    DROP TABLE SHP_TABLE_EDGE$;
    DROP TABLE SHP_TABLE_NODE$;
    DROP TABLE SHP_TABLE_LINK$;
    DROP TABLE SHP_TABLE_FACE$;
    -- delete any existing geometry layer
    EXECUTE SDO_TOPO.DELETE_TOPO_GEOMETRY_LAYER('SHP_TABLE', 'SHP_TABLE_TOPO', 'FEATURE');
    DROP TABLE SHP_TABLE_TOPO;
    -- then drop existing topology
    EXECUTE SDO_TOPO.DROP_TOPOLOGY('SHP_TABLE');
    -- create new topology
    EXECUTE SDO_TOPO.CREATE_TOPOLOGY('SHP_TABLE', 0.5);
    -- insert the universal face for an empty topology
    INSERT INTO SHP_TABLE_FACE$(face_id, boundary_edge_id, island_edge_id_list, island_node_id_list, mbr_geometry)
    VALUES(-1, NULL, SDO_LIST_TYPE(), SDO_LIST_TYPE(), NULL);
    -- create an Oracle table with a feature layer
    DROP TABLE SHP_TABLE_TOPO;
    -- note, do not create unique id (PRIMARY KEY) as the data in teleatlas.dbf is inconsistent
    CREATE TABLE SHP_TABLE_TOPO(id NUMBER, feature SDO_TOPO_GEOMETRY);
    --CREATE TABLE SHP_TABLE_TOPO(id number, type varchar2(1), feature SDO_TOPO_GEOMETRY);
    -- register feature layer with topology
    EXECUTE SDO_TOPO.ADD_TOPO_GEOMETRY_LAYER('SHP_TABLE', 'SHP_TABLE_TOPO', 'FEATURE', 'CURVE');
    -- create updatable TOPO_MAP object and load the whole topology in cache
    -- since we just created the topology, the cache will be empty
    EXECUTE SDO_TOPO_MAP.DROP_TOPO_MAP('SHP_TABLE_MAP_CACHE');
    EXECUTE SDO_TOPO_MAP.CREATE_TOPO_MAP('SHP_TABLE', 'SHP_TABLE_MAP_CACHE');
    EXECUTE SDO_TOPO_MAP.LOAD_TOPO_MAP('SHP_TABLE_MAP_CACHE', 'true');
    -- copy/paste everything in one go between BEGIN and COMMIT; (including):
    -- this one will demand a considerable amount of time
    BEGIN
    FOR r IN (SELECT id, geometry FROM SHP_TABLE) LOOP
    -- associate topological primitives with features
    INSERT INTO SHP_TABLE_TOPO(id, feature)
    VALUES(r.id,
    SDO_TOPO_MAP.CREATE_FEATURE('SHP_TABLE',
    'SHP_TABLE_TOPO',
    'FEATURE',
    r.geometry)
    END LOOP;
    END;
    COMMIT;
    -- commit topology changes
    EXECUTE SDO_TOPO_MAP.COMMIT_TOPO_MAP;
    EXECUTE SDO_TOPO_MAP.DROP_TOPO_MAP('SHP_TABLE_MAP_CACHE');
    -- check how many primitives were converted (should be the same number as primitives in the DB)
    SELECT COUNT(*) FROM SHP_TABLE_TOPO;
    -- after an initial bulk load into an empty topology, initialize_metadata
    EXECUTE SDO_TOPO.INITIALIZE_METADATA('SHP_TABLE');
    -- check here what tables have been created:
    SELECT table_name FROM user_tables WHERE table_name LIKE 'SHP_TABLE_%$';
    CREATE TABLE SHP_TABLE_LINK$
    AS SELECT edge_id AS link_id,
    start_node_id,
    end_node_id,
    geometry
    FROM SHP_TABLE_EDGE$;
    -- FULL NETWORK:
    --CREATE TABLE SHP_TABLE_PATH$(PATH_ID NUMBER,
    -- PATH_NAME VARCHAR2(200),
    -- PATH_TYPE VARCHAR2(200),
    -- START_NODE_ID NUMBER NOT NULL,
    -- END_NODE_ID NUMBER NOT NULL,
    -- COST NUMBER,
    -- SIMPLE VARCHAR2(1),
    -- PATH_GEOMETRY MDSYS.SDO_GEOMETRY);
    --CREATE TABLE roads_incompl_plink$(path_id number not null, link_id number not null, seq_no number not null);
    --INSERT INTO USER_SDO_NETWORK_METADATA(
    -- network, network_category, geometry_type,
    -- node_table_name, node_geom_column,
    -- link_table_name, link_geom_column, link_direction,
    -- path_table_name, path_geom_column,
    -- path_link_table_name)
    -- VALUES(
    -- 'SHP_TABLE_NET', 'SPATIAL', 'SDO_GEOMETRY',
    -- 'SHP_TABLE_NODE$', 'GEOMETRY',
    -- 'SHP_TABLE_LINK$', 'GEOMETRY', 'UNDIRECTED',
    -- 'SHP_TABLE_PATH$', 'PATH_GEOMETRY',
    -- 'SHP_TABLE_PLINK$');
    -- MINIMAL NETWORK:
    INSERT INTO USER_SDO_NETWORK_METADATA(
    network, network_category, geometry_type,
    node_table_name, node_geom_column,
    link_table_name, link_geom_column, link_direction)
    VALUES(
    'SHP_TABLE_NET', 'SPATIAL', 'SDO_GEOMETRY',
    'SHP_TABLE_NODE$', 'GEOMETRY',
    'SHP_TABLE_LINK$', 'GEOMETRY', 'UNDIRECTED');
    SELECT SDO_NET.VALIDATE_NETWORK('SHP_TABLE_NET') FROM DUAL;
    COMMIT;

  • Appending files from server node and populating custom table

    Hello Experts-
    I am trying to a built a report for portal KM activity. In EP i have set a command which writes the user  activity in KM  to a txt file and its written to each node on the cluster to the following directory.
    /usr/sap/<SID>/J[C]<instance_#>/j2ee/cluster/server<number>/portalActivityTraces
    I am not very well versed in UNIX scripting to append these text files.
    Can any one suggest me the best way to append all these files and how to access them.
    I have XI developer access. What kind of other access would i need for me to get the collection of files and then parse it and populate a table.
    I have gone through the documentation below. It uses UNIX scripting. I want to use XI for this. Please let me know if any one have any thoughts on this.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e07edaa8-70ae-2b10-2390-f068636c8b1e?quicklink=index&overridelayout=true
    Thanks,
    Raj

    Hi,
    You have to use FTP for this. XI has capability to pick file from any remote location by using transport protocol as FTP in Sender File Adapter. Once you get the user id, password, dir path & file name from AIX then XI will pick the file from your AIX source location.
    Regards,
    Sarvesh

  • Importing data from a model to a custom table

    Hi,
    I'm new to Configurator.
    Can someone please advice in detail how to import all possible combinations from a model in the configurator to a custom table?
    I have created a custom table based on the items in the model.
    I have also written a CIO which displays all the possible combinations in a html page when a button is clicked.
    What i want is, how to connect to a database and import into the custom table.
    Any Help Appreciated.
    Thanks in advance.
    --PK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    PK,
    You probably meant to post this in one of the E-Business Suite forums. This forum is for JDev ;) Try the [url http://forums.oracle.com/forums/forum.jspa?forumID=413]Configurator Forum
    John

  • Error while importing BDC models to SharePoint from SAP

    Hi Team,
    I am facing error while importing the BDC models to SharePoint from SAP Duet environment. Please find the attached screen shot and text document for reference.
    Below are the tasks performed before importing the BDC models.
    1) SSL & STS certificated created in the SharePoint environment.
    2) Certificates are uploaded to the SAP duet environment.
    3) SSL certificate created in SAP duet environment is uploaded to Trust location in SharePoint central admin.
    Error while importing the BDC models manually through Central Admin.
    Application definition while import failed. The following error occurred: The BDC model file is not well-formed. Data at root level is invalid at. Line 1,position 1.
    C:\Program Files\Duet Enterprise\1.0>duetconfig/importbdc C:\Users\adm-in.itsupp
    ort\Desktop\Rahul\BDC\models.xml
    Starting import of models from C:\Users\adm-in.itsupport\Desktop\Rahul\BDC ...
    Attempting to import model: Account
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '48' and Position: '20'.
    Failed to import model: Account
    Attempting to import model: AccountDocumentStorageCategory
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '46' and Position: '20'.
    Failed to import model: AccountDocumentStorageCategory
    Attempting to import model: AccountDocumentTypeStatus
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '46' and Position: '20'.
    Failed to import model: AccountDocumentTypeStatus
    Attempting to import model: AccountDocuments
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '46' and Position: '20'.
    Failed to import model: AccountDocuments
    Attempting to import model: AccountTitle
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '47' and Position: '20'.
    Failed to import model: AccountTitle
    Attempting to import model: BOM
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '46' and Position: '20'.
    Failed to import model: BOM
    Attempting to import model: Contact
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '46' and Position: '20'.
    Failed to import model: Contact
    Attempting to import model: ContactTitle
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '47' and Position: '20'.
    Failed to import model: ContactTitle
    Attempting to import model: CountryCode
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '48' and Position: '20'.
    Failed to import model: CountryCode
    Attempting to import model: CustomerInquiry
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '47' and Position: '20'.
    Failed to import model: CustomerInquiry
    Attempting to import model: CustomerInquiryItem
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '44' and Position: '20'.
    Failed to import model: CustomerInquiryItem
    Attempting to import model: CustomerInquiryPartner
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '44' and Position: '20'.
    Failed to import model: CustomerInquiryPartner
    Attempting to import model: CustomerQuotation
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '49' and Position: '20'.
    Failed to import model: CustomerQuotation
    Attempting to import model: CustomerQuotationItem
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '47' and Position: '20'.
    Failed to import model: CustomerQuotationItem
    Attempting to import model: CustomerQuotationPartner
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '47' and Position: '20'.
    Failed to import model: CustomerQuotationPartner
    Attempting to import model: Employee
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '46' and Position: '20'.
    Failed to import model: Employee
    Attempting to import model: InquiryItemDocument
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '49' and Position: '20'.
    Failed to import model: InquiryItemDocument
    Attempting to import model: InquiryItemDocumentStorageCategory
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '45' and Position: '20'.
    Failed to import model: InquiryItemDocumentStorageCategory
    Attempting to import model: InquiryItemDocumentTypeStatus
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '45' and Position: '20'.
    Failed to import model: InquiryItemDocumentTypeStatus
    Attempting to import model: JobFunction
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '47' and Position: '20'.
    Failed to import model: JobFunction
    Attempting to import model: Product
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '46' and Position: '20'.
    Failed to import model: Product
    Attempting to import model: ProductDocument
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '42' and Position: '20'.
    Failed to import model: ProductDocument
    Attempting to import model: ProductDocumentStorageCategory
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '45' and Position: '20'.
    Failed to import model: ProductDocumentStorageCategory
    Attempting to import model: ProductDocumentTypeStatus
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '45' and Position: '20'.
    Failed to import model: ProductDocumentTypeStatus
    Attempting to import model: QuotationItemDocument
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '45' and Position: '20'.
    Failed to import model: QuotationItemDocument
    Attempting to import model: QuotationItemDocumentStorageCategory
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '46' and Position: '20'.
    Failed to import model: QuotationItemDocumentStorageCategory
    Attempting to import model: QuotationItemDocumentTypeStatus
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '46' and Position: '20'.
    Failed to import model: QuotationItemDocumentTypeStatus
    Attempting to import model: ReportTemplate
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '49' and Position: '20'.
    Failed to import model: ReportTemplate
    Attempting to import model: Role
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '65' and Position: '20'.
    Failed to import model: Role
    Attempting to import model: UserRoles
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '42' and Position: '20'.
    Failed to import model: UserRoles
    Attempting to import model: SAP.Office.DuetEnterprise.Workflow.UserSubscription
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '42' and Position: '20'.
    Failed to import model: SAP.Office.DuetEnterprise.Workflow.UserSubscription
    Attempting to import model: SAP.Office.DuetEnterprise.Workflow
    [ERROR] The remote certificate is invalid according to the validation procedure.
    Error was encountered at or just before Line: '45' and Position: '11'.
    Failed to import model: SAP.Office.DuetEnterprise.Workflow
    [WARNING] Duet Enterprise configuration utility has completed importing the BDC
    models but some models could not be imported. Review the logs for detailed infor
    mation on the errors which occurred during the import operation.
    Failed to import the following models -
    Account
    AccountDocumentStorageCategory
    AccountDocumentTypeStatus
    AccountDocuments
    AccountTitle
    BOM
    Contact
    ContactTitle
    CountryCode
    CustomerInquiry
    CustomerInquiryItem
    CustomerInquiryPartner
    CustomerQuotation
    CustomerQuotationItem
    CustomerQuotationPartner
    Employee
    InquiryItemDocument
    InquiryItemDocumentStorageCategory
    InquiryItemDocumentTypeStatus
    JobFunction
    Product
    ProductDocument
    ProductDocumentStorageCategory
    ProductDocumentTypeStatus
    QuotationItemDocument
    QuotationItemDocumentStorageCategory
    QuotationItemDocumentTypeStatus
    ReportTemplate
    Role
    UserRoles
    SAP.Office.DuetEnterprise.Workflow.UserSubscription
    SAP.Office.DuetEnterprise.Workflow
    C:\Program Files\Duet Enterprise\1.0>
    C:\Program Files\Duet Enterprise\1.0>
    Qucik response is much appreciated.
    Regards,
    Rahul Reddy.

    Take a look at this blog post,
    http://brainof-dave.blogspot.com/2008/08/remote-certificate-is-invalid-according.html
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Import model from Designer looses domains

    Hello,
    I have tried to import a model from Oracle Designer into Oracle SQL Developer Data Modeler, and found that the domains where not imported. As a consequence all attributes defined by domains (most of ours) are defined by the domain "Unknown" after the import.
    How can I import the domains from Oracle Designer?
    Thank you,
    Carsten
    Edited by: ckhansen on Oct 15, 2009 9:49 PM
    Edited by: ckhansen on Oct 15, 2009 9:50 PM

    Hi Philip,
    I'm using OSDM build 570 with Designer version 10.1.2.0.2. The repository is not versioned. All the domains belong to the imported application system.
    This is the import log:
    Oracle SQL Developer Data Modeler Version: 2.0.0 Build: 570
    Oracle SQL Developer Data Modeler Import Log
    Date and Time: 2009-10-16 09:11:49
    Design Name: Oracle Designer (Read-Only)
    RDBMS: Oracle Database 10g
              All Statements:           105
              Imported Statements:      105
              Failed Statements:           0
              Not Recognized Statements:      0
    Cheers,
    Carsten

  • How to import eEPC model into BPEL model of JDeveloper

    Hello All,
    Can any buddy please help me,
    I need to import EPC model from Oracle BPA architecture 11g, to BPEL Process in JDeveloper 11g,
    i am using Oracle BPA Suite 11g with Oracle 11g Backend database, and i have installed JDeveloper 11g
    Thanks
    Milind

    Add classes12.jar to j2ee/home/lib directory.

  • OWB wont import new FKs from Designer

    After importing a model from Designer and validating I found a couple of tables with FK constraints that had been defined with no columns. No problem there, went back into Designer and fixed them up.
    Now though, for those tables, OWB will not acknowledge the existance of any foreign keys for them. Not even newly created ones!
    I have tried many things including deleting the tables from OWB and reimporting new but they still show no foreign keys despite the fact that they are clearly defiined in Designer.
    Any ideas?

    OK, I figured out what's going on. Things are worse than I first thought.
    I appears that whilst the tables are coming from a physical model, the relationships come from the logical model (perhaps via the "relationship" attribute of the foreign key constraints). That suggests that if you have created a physical model from scratch, or have changed the model generated from the logical model (as I have) then importing from Designer into OWB is not a suitable approach.
    Looks like I will have to generate DDL from Designer, run it into the database and then reverse engineer from there into OWB.

  • How to convert\import eEPC model to BPEL Process and used it in JDeveloper?

    Hello All,
    Can any buddy please help me,
    I need to import EPC model from Oracle BPA architecture 11g, to BPEL Process in JDeveloper 11g,
    i am using Oracle BPA Suite 11g with Oracle 11g Backend database, and i have installed JDeveloper 11g
    Thanks
    Milind

    Create a new SOA application, then create a project inside it, type should be SOA.
    Give Composite a name and select "Composite from BPA template" as Composite template.
    In the next window, you will see your BPA Server( otherwise create a new BPA connection) ,explore to your EPC model and double click to import it.
    thanks

  • Importing of settings from CS5.5 is incomplete.

    When I installed Photoshop CS6, I opted to import the presets from CS5.5.  My custom workspace in both Photoshop and Bridge were included, but the custom actions I regularly use in Photoshop, and my Favorites in Bridge, were not.  Until the import/export option can be made more comprehensive, Is there a document available somewhere for how to manually import all custom settings, both global and in individual user profiles?  I need this not just for Photoshop, but for the entire Creative Suite.

    Hello cwcsdc,
    Preset migration only works on Photoshop presets that are saved in the default presets folder. On Mac this is on /Users/[username]/Library/Application Support/Adobe/Adobe Photoshop CS5/Presets and on Windows they are in the user AppData/Roaming/Adobe/Adobe Photoshop CS5/Presets folders.
    Best thing you can do is to copy all your presets to the respective folders within those directories. If your presets are not in these folders, they will not show up in the app UI anyways, so moving them will help you reach them easier.
    Sadly, we can't account for presets from the other apps in the Creative Suite.
    Hope this answers your questions.

  • Getting Data from Structure and Store Data into Table using Function Module

    Hello...
    we are created a function module to import 2 structures in the systems and want to read the data from the structure into a customized table when the fucntion module is called. However, whenever the function module is run, we only managed to have one data into the customized table whereas the actual results is that there will be a few records in this customized table.

    Hi,
    It should be something like this...
    TABLES ZRESMORT.
    DATA E_ZRESMORT TYPE STANDARD TABLE OF ZRESMORT WITH HEADER LINE.
    SELECT * FROM ZRESMORT.    <=====================
      DELETE ZRESMORT.              <==================  It is deleting all the records in your Z table
    ENDSELECT.    <===============================
    Loop at I_CKF_CONTRACT.  " Assuming this is the Main Table
    Read table I_CKF_PROCESS with key ." Here you will read this table to get the corresponding records of Table I_CKF_CONTRACT
    E_ZRESMORT-MORT_FT_ID  = I_CKF_CONTRACT-COMMON-CONTRACT_ID_EXT.
    E_ZRESMORT-MORT_KDATE  = I_CKF_PROCESS-TECHNICAL-KEY_DATE.
    E_ZRESMORT-MORT_TSTAMP = I_CKF_PROCESS-TECHNICAL-TIMESTAMP.
    E_ZRESMORT-MORT_FLAG   = 1.
    E_ZRESMORT-MORT_BUPA   = I_CKF_CONTRACT-BUPA-BUSINESS_PARTNER_ID.
    E_ZRESMORT-MORT_PORTFO = I_CKF_CONTRACT-BUPA-PORTFOLIO_CAT.
    E_ZRESMORT-MORT_FT_ID_DUM  = I_CKF_CONTRACT-COMMON-CONTRACT_ID.
    INSERT INTO ZRESMORT VALUES E_ZRESMORT.
    IF SY-SUBRC EQ 0.
    ENDIF.
    endloop.

  • How to MODIFY A CUSTOM TABLE  FROM A FLAT FILE

    Dear Friends,
                     I have a requirement where i have to upload data from excel file to my custom table  so i have used a FM
    'TEXT_CONVERT_XLS_TO_SAP' and i have collected data into a internal table , till here i am able to get data correctly , now i hae to upload this data into a custom table .
    the flat file is having  6 fields and the custom table is having
    8 fields , for uploading the data into this custom table from the internal table where i have collected above iam getting problem . Actually iam using a modify statement to update the custom table .
    the flat file which i have collected into the internal table is as below :
      IDNo.     Name     Date      Location   Designation  Dept
      101       Raja      4/12/2007  Delhi      Manager      HR
      102       James    4/12/2007  Delhi      Clerk          HR
    Custom table  is having the below fields
    IDNO.  Name  Date  Location Designation  Dept   Manager
    101                                                                   Raja
    now when i run the program iam getting the problem   while usign the modify statment is the ID no which is already having
    a record as  IDno = 101  and manger = Raja.......with the other fields   name , date, location,designation and dept as blank.
    if i want to fill this fields from my flat file the modify statment
    just filling all the fields  for the ID no = 101  and manager field which already having Raja as being overwritten by space .....
    becasue this field is not being there in the flat file.
    the code iam using as follows.
    The flat file is having with the below structure
    TYPES: BEGIN OF t_emp_data,
              IDNO(11) TYPE c,
             Name(13) TYPE c,
             Date(20) TYPE c,
              Location (40) TYPE c,
             Designation(40) TYPE c,
             Dept(40) TYPE c,
             end of t_emp_data.
    The Custom Table(ZEMP_DATA) is having with the below structure
    TYPES: BEGIN OF t_emp_data_table,
              IDNO(11) TYPE c,
             Name(13) TYPE c,
             Date(20) TYPE c,
              Location (40) TYPE c,
             Designation(40) TYPE c,
             Dept(40) TYPE c,
             Manager(20) type c,  -- this is the extra field in table
             end of t_emp_data_table.
    data :
    it_empdata TYPE STANDARD TABLE OF t_emp_data,
    it_empdata_tmp TYPE STANDARD TABLE OF t_empdata_tmp,
    wa_empdata_tmp  type t_empdata_tmp,
    wa_empdata type t_emp_data.
    loop at it_empdata into  wa_empdata.
      move-corresponding  wa_empdata to   wa_empdata_tmp.
      modify ZEMP_DATA  from  wa_empdata_tmp .
    endloop.
    could any one please let me know what i have to do inorder to not get the manager field data not being overwritten with the modify statment , for the IDNo. 101  . I want the data which is already ( manager = Raja) shouldnt not be get overwritten with Space.
    please help me in this regard
    Regards
    Madhuri.

    Hi,
    use a slect statement before
    "move-corresponding wa_empdata to wa_empdata_tmp."
    select manager
    from ztable
    into wa_empdata_tmp-manager
    where id = 100.
    regards,
    lavanya

  • Is it possible to import and export Config Toll Configuration  from one sys

    Hi All,
    Is it possible to import and export Config Toll Configuration  from one system to Another system (QUS/PRD), for especific service.
    Kindly let me know the pro and corn of it and step by step process
    Thanks alot for your time.
    Thanks
    AB

    Yes...It is certainly possible but then you would need to bring OS level j2ee filestructure as well and there are lots of changes at OS level in *.properties file and then at configtool level changes related to hostname, system numbers and port numbers etc.
    This is not much difficult but not impossible also if you do it very carefully. Please note that SAP DOES NOT SUPPORT THIS METHOD.
    alternatively, you can use sapinst to export-import j2ee filesystem from source to target which inturn would require to do configtool export/import and then changes at configtool level.
    Do let us know your requirement so that we cud help you in case you are facing any issues.
    cheers !!!
    Ashish

Maybe you are looking for