Custom Module + Custom Tables

Hello people.
I even don't know if I am doing right but...
I didn't liked the idea to develop inside CommerceReferenceStore, so I create a custom module named XXXXX, this module has the same structure of CRS but is XXXXX and Store is ECommerce.
XXXXX
----> ECommerce
--------> Storefront
--------> EStore
But I discovered that CRS creates custom tables with sufix crs_ and to all modules works fine I need this tables.
My doubt is. How must I proceed with this issue? I wanna convert all sufix to (example) xxx_ to use in my custom module, to do this I must edit all .sql's inside sql folders, but what must I do to ATG/Nucleus/Dynamo execute this sqls create the tables and bind this with my store?
I discoverd too that dbini.xml inside cim folder in some modules calls this sqls.
Thank you! And I wish you all a great 2012! =D
Edited by: Onhate on Dec 30, 2011 9:04 AM

ATG does not provide any automated way to run your custom sql scripts. You can use whatever utility is appropriate for your DBMS. Once you've defined the tables, you won't need the sql files again unless you want to delete the schema and start over.
There is no right or wrong way to use the crs tables in your application. There is nothing magic about any table names, in the sense that there is no code that looks for particular name prefixes. The only requirement is that your repository definition (the xml file) must mention whatever table names you choose. ATG uses a name prefix (dps, dss, dcs, crs, etc.) to make it easy to understand which module in the product stack contributed the table to the schema. If the crs tables are a good fit for your application, then the easiest thing might be to use the sql files as is or with minor modifications. On the other hand, if your table design is significantly different or your business has its own naming conventions, it would probably be more appropriate for you to ignore the crs names and pick your own.

Similar Messages

  • Custom Infotype - Using Table control in the screen.  IN OM

    Hi,
    I am having a requriement where in I need to create a custom infotype using table control in the screen. I have to create this in OM and I am using PPCI transaction to create the info type. I am able to create the infotype with fields but not table control. Please let me know if any one of you came across and help me with the process I need to follow.
    Thanks in advance.
    Venkat.

    Hello,
    After you create the info type throug PPCi, you can directly go to the Sceen module program created automatically while creating Info type and edit the screen.
    activate it after your changes.
    Regards,
    Srujan.

  • Printing java layer error stack in a custom module!--Experts, please reply!

    Hi to all OAF experts,
    We are in a process of making a fully customized module, which is integrated with OM and other modules, and takes the place of Quoting module. There is beasically a custom module which takes the place Quoting module in Apps in Order to cash cycle. Now in the final page of this module where we submit the quote, we need to through the entire Java layer error stack, similar to what is done in stanadard quoting module. There they use AOLMessageManager class for this purpose. But since quoting module is in JTT/JTF framework and our custom module is in OAF , we were looking for alternatives.
    I was going through oaf doc and i found a class called OAExceptionUtils, which contains a method called processAOLJErrorStack(ErrorStack)
    As per the documentation it says --"Returns an OAException representing the error stack populated by the Oracle Applications user session context AppsContext. ", that is exactly what we need. But , when i use this method, i get error stack as null! Any idea y this is happening? Any alternative how to get this done!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Mani,
    What is the source (technology source) of the error?
    This is OAF.In a way we have developed entire quoting module from scrath .I believe you would be embedding the Quoting (JTF) pages on to your custom OAF pages. This is similar to how it is implemented in the Standard Sales module.
    We are using same quoting APis to create quote. Our code only goes in JTF tech only while entering in and of configurator.Is your requirement to read the java error stack (JTF Code) from the standard quoting application (embedded in your custom OAF Page) in your Custom page's controller (OAF Code)?
    Yes, we can create quotes from quoting as well as from our custom table,the only difference is that if you create aquote from quoting, it does not updates our custom tables. We want to throw the same java error which quoting throws, while submitting a code in our oaf controller. It throws even Order management error messages!Any idea how we can go about this..!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • FND_PRODUCT_INSTALLATIONS TEMPORARY_TABLESPACE IS NULL FOR CUSTOM MODULE

    We have 11.5.10 ERP system for production use. But FND_PRODUCT_INSTALLATIONS TEMPORARY_TABLESPACE IS NULL FOR CUSTOM MODULE. All seeded modules are using TEMP.
    What are the ramifications for this.
    We have 'Change control' process in place. We can not update the table on fly. We need proper justification.
    Please help me understand, how this table drives Oracle applications and its performance.
    Thanks you all. in advance.
    Gopala Medapuram

    I agree with Hussein - we have several custom schemas that are registered in FND_PRODUCT_INSTALLATIONS, some of which have the tablespace info correctly filled out while others do not. All of our customizations in all these custom schemas are working as expected. So if your customizations are working as expected, I would not worry too much about it.
    HTH
    Srini

  • Decl J2EE auth and auth with JAAS with custom module

    Hi Frank:
    I have posted another msg where I was trying the non-custom Login module with no luck. In the meantime, I tried the custom module and still having problem. When I click on dlmtest.jsp it brings up the inbuilt login module and not the custom one. My db_schema is "SECURITYTESTER" and pwd = "oracle"
    Hetre is my jazn-data.xml
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <jazn-data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/jazn-data-10_0.xsd" filepath="" OC4J_INSTANCE_ID="">
    <jazn-loginconfig>
    <application>
    <name>DBLMTest</name>
    <login-modules>
    <login-module>
    <class>oracle.sample.dbloginmodule.DBProcLM.DBProcLoginModule</class>
    <control-flag>required</control-flag>
    <options>
    <option>
    <name>debug</name>
    <value>true</value>
    </option>
    <option>
    <name>jdbcDriver</name>
    <value>oracle.jdbc.driver.OracleDriver</value>
    </option>
    <option>
    <name>application_realm</name>
    <value>Online Trainings</value>
    </option>
    <option>
    <name>plsql_procedure</name>
    <value>DBPROCLM.GET_USER_AUTHENTICATION</value>
    </option>
    <option>
    <name>db_schema</name>
    <value>SECURITYTESTER</value>
    </option>
    <option>
    <name>jdbcUrl</name>
    <value>jdbc:oracle:thin:@localhost:1521:xe</value>
    </option>
    <option>
    <name>db_schema_pw</name>
    <value>oracle</value>
    </option>
    <option>
    <name>log_level</name>
    <value>ALL</value>
    </option>
    </options>
    </login-module>
    </login-modules>
    </application>
    </jazn-loginconfig>
    </jazn-data>
    orien-app is here
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application.dtd">
    <orion-application>
    <!--
    <jazn provider="XML"
    default-realm="jazn.com" location="./jazn-data.xml">
    <property name="role.mapping.dynamic" value="true"/>
    <property name="jaas.username.simple" value ="true" />
    </jazn>
    -->
    <jazn provider="XML" location="./jazn-data.xml">
    <property name="custom.loginmodule.provider" value="true"/>
    <property name="role.mapping.dynamic" value="true"/>
    </jazn>
    </orion-application>
    My application.xml
    has
    <?xml version = '1.0' standalone = 'yes'?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd" autocreate-tables="true" default-data-source="jdbc/OracleDS" schema-major-version="10" schema-minor-version="0">
    <web-module id="defaultWebApp" path="../default-web-app"/>
    <library path="C:\jdevstudio10132/j2ee/home/lib/DBLoginModule.jar"/>
    So, why is it not bringing up the custom login module. And, I can't authenticate in this case as well.
    Thanks for your help (and on your help on the non-customized version of my post)

    Hi,
    most likely the reason is that the deployed application name is not the same name you provided when configuring the LoginModule (DBLMTest). Its documented in the paper that comes with the LogiNmodules i wrote
    Frank

  • Save a variant in a custom module-pool.

    Hi all,
    i hope there is someone that can help me.
    My problem is: i've to save a variant in a module-pool custom SAPMZ...ecc.
    Is there a function module or a routine or some specific ABAP istruction to save a variant?
    I ask this because in my custom module-pool i've insert input field in main dynpro.
    Thanks a lot,
    regards,
    Alex.

    Please use below code it works for me:
    What I did was copy the function group SVAR.  When it asked what function module to copy just select
    'RS_VARIANT_SAVE_FROM_SELSCREEN' and renamed it to 'ZS_VARIANT_SAVE_FROM_SELSCR'.
    DATA: lv_screen LIKE sy-dynnr.
      CLEAR: t_rkey, t_screen.
      REFRESH: t_rkey,  t_screen.
      t_rkey-report = sy-repid.
      APPEND t_rkey.
      t_screen-program   = sy-repid.
      t_screen-dynnr     = '0101'.
      t_screen-type      = 4.
      APPEND t_screen.
      lv_screen = '0101'.
      EXPORT lv_screen TO MEMORY ID 'MZ_COMISSION_REPORT_F02_SCREEN'.
      CALL FUNCTION 'ZS_VARIANT_SAVE_FROM_SELSCR'
        EXPORTING
          curr_report          = sy-repid
          vari_report          = sy-repid
        IMPORTING
          variant              = w_variant
        TABLES
           p_screens           = t_screen
         p_sscr               = t_selctab
         p_vari               = t_vari
        EXCEPTIONS
          illegal_variant_name = 1
          not_authorized       = 2
          no_report            = 3
          report_not_existent  = 4
          report_not_supplied  = 5
          OTHERS               = 6.
      t_rkey-variant = w_variant.
      MODIFY t_rkey INDEX 1.
      CALL FUNCTION 'RS_RWSET_SAVE_VARIANT'
        EXPORTING
          rkey    = t_rkey
        TABLES
          selctab = t_selctab.
    Then in program LZSVARF07 function save_as_variant find where it's transfering the screen.
      READ TABLE variscreens WITH KEY dynnr = sy-dynnr.
      IF sy-subrc NE 0.
        IMPORT lv_screen FROM MEMORY ID 'MZ_COMISSION_REPORT_F02_SCREEN'.
        IF lv_screen IS INITIAL.
          variscreens-dynnr = sy-dynnr.
        ENDIF.
      ENDIF.
      PERFORM fill_varidyn TABLES p_dynsfields
                           USING  $rkey space. "Kein import von DYNSFIELDS
    Good luck!
    Edited by: Alex Nguyen on May 2, 2009 1:36 AM
    Edited by: Alex Nguyen on May 5, 2009 5:26 PM

  • How to manipulate records inside customized modules and reflect to the seeded modules

    If we are going to add custom modules inside Oracle EBS that link to Receivables, how do we create/update/delete records inside those custom modules and make them reflect inside Receivables? Are we going to use also the Interface tables and standard APIs? Can anyone help me on this matter or point me to some reading materials.  Actually, I already started reading Oracle Applications Developer's Guide which gave great knowledge on how to start this task.
    Thanks in advance.

    Jon632 wrote:
    If we are going to add custom modules inside Oracle EBS that link to Receivables, how do we create/update/delete records inside those custom modules and make them reflect inside Receivables? Are we going to use also the Interface tables and standard APIs? Can anyone help me on this matter or point me to some reading materials.  Actually, I already started reading Oracle Applications Developer's Guide which gave great knowledge on how to start this task.
    Thanks in advance.
    You can use interface table, or APIs or both.
    All APIs are documented in eTRM website -- http://etrm.oracle.com
    Oracle Receivables: Receipts API Overview, Setup, Sample Scripts and Troubleshooting (Doc ID 1361075.1)
    Oracle Receivables Invoice API: Setup and Sample Scripts (Doc ID 1242202.1)
    Oracle Receivables: Receipts API Known Issues and Patches (Doc ID 1362066.1)
    Oracle Receivables Credit Memo API: Setup and Sample Scripts (Doc ID 1272600.1)
    Oracle Receivables Invoice API: Known Issues and Patches (Doc ID 1306471.1)
    Oracle Receivables: Transactions API Overview (Doc ID 1240573.1)
    Oracle Receivables Credit Memo API: Known Issues and Patches (Doc ID 1316475.1)
    Oracle Receivables Adjustments API: Overview, Sample Scripts, Known Issues (Doc ID 808758.1)
    Oracle Receivables Deposits API: Sample Scripts, Known Issues/Patches (Doc ID 266964.1)
    How to Register a Receivables Application Programming Interface (API) as a Concurrent Request (Doc ID 785369.1)
    Thanks,
    Hussein

  • Updating custom field in table EKKO within user exit when PO is saved

    I am trying to update a custom field in table EKKO when a PO is saved.  I am using FM EXIT_SAPMM06E_013, within enhancement MM06E005.  Since EKKO is not a table that can be updated with this user exit, I am using a technic that I read about on SDN where I assign a field symbol to the calling program variable and then am able to access data within EKKO table.  But when I pass this data back into the field symbol, for some reason this field is not getting saved when the PO is saved.  In debug mode, it looks like this field is getting updated, but when I look in the table after the PO is saved, it is not there.  My code sample is below.  What I am doing wrong?
    data:
      CHAR(50) VALUE '(SAPLMEPO)EKKO-ZHDRCSTCENTER',
      g_zhdrcstcenter like ekko-zhdrcstcenter,
      FIELD-SYMBOLS <F1> type any.
    if i_ekko-ekorg = '5401'.
      ASSIGN (char) to <F1>.
      g_zhdrcstcenter = <F1>.
      move '0000113322' to g_zhdrcstcenter.
      <F1> = g_zhdrcstcenter.
    endif.
    Thanks!
    Sarah Smyth.

    Firstly, have you investigated using EXIT_SAPMM06E_008 to set any custom fields you have added in the EKKO_CI / CI_EKKODB structure?.. that might work more easily.
    In terms of doing an assign back into a calling program's memory, it can work but it's probably worth setting a break point in your code then stepping through watching the values in EKKO - sometimes you can find subsequent code that re-writes an earlier copy of values back into the structure, thereby preventing you doing your change...  SAP does warn this method is for "internal use".  Also check in your debugger that it's SAPLMEPO and not SAPMM06E you need.

  • BADI or User exit  for FB50 to update custom field in table COEP

    Hi all,
    i have added one custom field in table COEP through include CI_COBL .
    when i do posting through sales order(VA02) or purchase order(ME22n) that custom fields in COEP get updated with controlling document
    and through BADI AC_DOCUMENT i m updating that custom field in COEP.
    but when i do manual posting through FB50 controlling document is generated in COEP but i m not able to update that custom field
    because in this case BADI AC_DOCUMENT  is not get triggered.
    is there any BADI or User exit or enhancement spot for FB50 through which i can update that custom field in table COEP

    Hi Sandy,
    Thanks for u r reply,
    RFAVIS01 is not getting triggered through FB50
    and F180A001 ( EXIT_SAPLF048_001) is getting triggered but it doesnt contain COEP field in its parameter
    import - F180A_DOC_HEAD_TAB
                 F180A_DOC_ITEM_TAB
    changing - RELATION_TAB

  • Loading some records into Custom-R/3 table manually

    Hai
    I created one custom R/3 table. One of my friend load some records into that cutom table manaully. I want to load some more records manually.
    So how can i load some records into the custom R/3 Table manully . Please let me know
    i ll assing the points
    kumar

    Hi,
    you can do it with SE16 / SE16N or, if exists, via the maintenance tool SM30.
    Out of an excel sheet with the same structure can can copy the entries completey by cut & paste.

  • Replicate a custom R/3 table in XI

    Hi All,
    Need some help!!!!!!
    I need to replicate a custom R/3 table in XI runtime cache (using value mapping replication). But the table in R/3 doesn't have any associated interfaces (BAPI).
    Pls reply with step by step solution.
    Thanks & Regrds,
    Rakesh

    Ravi,
    In order to activate Proxies on your application system, you need to apply some patches and do some configuration settings. Please look at this weblog for the details of the same.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    The following weblogs will give you an idea regarding the implementation of a PROXY.
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    regards,
    Ravi

  • Create a PDF as attachment in custom module in mail receiver adapter

    I'm trying to create a PDF attachment to an email using a custom module with the following codes. The attachment was created and sent, but when I tried to open it, I got the following error message: the file cannot be read either because a invalid encoding or the file is damaged.
    Anybody knew if I did anything wrong in the way I'm opening and creating the PDF attachment below?
    // add a new pdf attachment to the message
    FileInputStream fi = new FileInputStream("c:/ftmailxi.pdf");
    byte[] attachmentContent = new byte[fi.available()];
    Payload attachmentPDF = msg.createPayload();
    attachmentPDF.setName("ftmailxi.pdf");
    attachmentPDF.setContentType("application/pdf");
    attachmentPDF.setContent(attachmentContent);
    //adding our this pdf as an attachment
    msg.addAttachment(attachmentPDF);
    //provide the XI message for returning
    inputModuleData.setPrincipalData(msg);

    This will surly help u
    /people/sravya.talanki2/blog/2006/11/28/e-mail-xml-messages-in-pdf-format-from-sap-xi
    Check this out
    Mail with attachment.
    Regards,
    Prateek

  • Custom Module

    Hi All,
    Is it possible to add custom module to RFC adapter..?  Also using custom module is it possible to convert a payload into attachment in XI..?

    Hi,
    Generally The RfcAdapter will use one which is called 'localejbs/RfcAFBean'. This can be configured in the Integration Directory for each communication channel on the tab 'Module'. If the list is empty on this tab, it defaults to the EJB named above and nothing has to be done. So if no modules should be used, everything will work without a special configuration. If some custom modules are configured to be used, the last module always has to be the RfcAdapter module. This will establish the communication between the adapter and the Adapter Engine.
    Can you go through the below urls which may help you in developing a new module processor:
    /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
    /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
    /people/gowtham.kuchipudi2/blog/2006/01/04/testing-sample-adapter
    Also go through the help which might answer your queries:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/content.htm
    Thanks
    Swarup

  • How to access custom labels in Table?

    In IDML I have set up custom lables inside Table element. How can I access those labels?
    Thx!

    Hi Michael,
    If you just want to retrieve the data, you could use the following code.
    //Get the node which the table is bound to
    IWDNode node = wdContext.nodeTable();
    //iterate thru the elements
    for(int i = 0 ; i<node.size();i++)
      IWDNodeElement ne = node.getElementAt(i);
      Object value = ne.getAttributeValue("<column name>");
      //Here you have the data in the value variable
      //and you can manipulate this now
    Regards,
    Sudeep

  • Customer Module Deployment in PI 7.1

    Hi All,
    We have a custome adapter module developed in PI 7.0 and we have upgraded that to PI 7.1 based on the guidelines from SAP. Now we would like to deploy that upgraded module in new PI 7.1 server. Could any one please tell me how can i deploy the new custom module.
    Please suggest me various methods of doing it.
    Thanks in advance.
    Best Regards,
    Prasad Babu.

    hi,
    refer to:
    http://help.sap.com/saphelp_nw70/helpdata/en/87/4797422930c56ae10000000a155106/content.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00838345-708c-2a10-1199-9514c0b0a91c
    regards,
    ujjwal kumar

Maybe you are looking for