Sample/example for explicit mapping for m:n (m-n) CMR

I found examples for explicit mapping 1:n, but no complete example for m:n cmr explicit mapping.
Is there any out there for oc4j?
Thanks,
- nik.

Here is an example for employee-projects relationship
<entity-deployment name="EmpBean" location="EmpBean"
table="EmpBean_ormap_ormap_ejb" data-source="jdbc/OracleDS" >
<entity-deployment name="EmpBean" table="EMP">
<primkey-mapping>
<cmp-field-mapping name="empNo" persistence-name="EMPNO" />
</primkey-mapping>
<cmp-field-mapping name="empName" persistence-name="ENAME" />
<cmp-field-mapping name="salary" persistence-name="SAL" />
<cmp-field-mapping name="projects">
<collection-mapping table="PROJECT_EMP">
<primkey-mapping>
<cmp-field-mapping name="empNo">
<entity-ref home="EmpBean">
<cmp-field-mapping name="empNo"
persistence-name="EMPLOYEE_NO" />
</entity-ref>
</cmp-field-mapping>
</primkey-mapping>
<value-mapping type="hr.ProjectLocal">
<cmp-field-mapping name="projectNo">
<entity-ref home="ProjectBean">
<cmp-field-mapping name="projectNo"
persistence-name="PROJECT_NO" />
</entity-ref>
</cmp-field-mapping>
</value-mapping>
</collection-mapping>
</cmp-field-mapping>
</entity-deployment>
<entity-deployment name="ProjectBean" location="ProjectBean"
table="ProjectBean_ormap_ormap_ejb" data-source="jdbc/OracleDS" >
<primkey-mapping>
<cmp-field-mapping name="projectNo" persistence-name="PROJECTNO" />
</primkey-mapping>
<cmp-field-mapping name="projectName" persistence-name="PNAME" />
<cmp-field-mapping name="employees">
<collection-mapping table="PROJECT_EMP">
<primkey-mapping>
<cmp-field-mapping name="projectNo">
<entity-ref home="ProjectBean">
<cmp-field-mapping name="projectNo"
persistence-name="PROJECT_NO" />
</entity-ref>
</cmp-field-mapping>
</primkey-mapping>
<value-mapping type="hr.EmpLocal">
<cmp-field-mapping name="empNo">
<entity-ref home="EmpBean">
<cmp-field-mapping name="empNo"
persistence-name="EMPLOYEE_NO" />
</entity-ref>
</cmp-field-mapping>
</value-mapping>
</collection-mapping>
</cmp-field-mapping>
regards
debu

Similar Messages

  • Toolbox tutorial and sample examples for OAF

    Hi all ,please help me to get Toolbox tutorial and sample examples for OAF , and Jdeveloper 9i download link,
    please give me to get the above stuff. Thanks
    Thanks & Regs

    Hi,
    Looks like you are not in 11.5.9, your instance is 11.5.10.
    You can download the Patch 4573517 Oracle9i JDeveloper with OA Extension for 11.5.10 CU2
    from metalink, search with platform as Windows Clinet 32 bit.
    Then you can develop pages for your instance.
    Btw: what is the output for the following query,
    Select bug_number from ad_bugs where bug_number in ('4334965','4125550','4676589','5473858');
    Thanks.
    With Regards,
    Kali.

  • API & sample examples for the data integration to Oracle WMS.

    Hi All,
    Is there any API support for the data integration to Oracle WMS?
    and after that, we want to take the data from WMS to Oracle E-Business Suite..
    Please send the link from where we can find the API and sample examples..
    Any help would be highly appreciated
    Thanks,

    Hi Sanjitanand,
    Thanks for your reply.
    What i are trying is;
    I want to develop generic interfaces using Oracle API; which will help us in sending the RFID related data to WMS and then to EBS.
    My input will be xml or flat files, i'll parse that; get the data and want to send this RFID data to WMS and from WMS to EBS..
    If you have any sample examples/ docs / code etc , pls send me same..
    Any help would be highly appreciated
    Thanks,

  • Bar Code Sample Example for Usage in Smarform

    Dear Experts,
    We are trying to print the barcode on the Manufacturing Sheet and should contain the PART code, Serial Number and the Mfg. Date embeded in the bar code.
    Can somebody share the sample  Bar Code Example for Usage in Smarforms.
    I never got a chance to work on such development. We are getting different answers from our development partner and sould like to excersize this on my own.
    Appreciate your help
    Regards,
    Ravati

    Hi Ravati,  It's simple!!
    Follow the example below for printing barcode in smartform .
    There are some SAP standard barcodes(for ex.ARTNR,AUFNR ..etc) and also we can create our own barcode for it by using transaction code SE73.
    1. Steps for using existing barcode in Smartform
    For Printing Barcode in Smartform, you need to have the style with barcode active in it. So define new style where the standard settings should define the barcode that you want to use in the smartform.
    For example, For product information display I use the Style as ZMFG_BARCODE.
    Create paragraph & character format as "P1 - Product Description". In standard setting of character format P1, select the standard or custom defined barcode. This will ensure the printing of Product Information in Barcode format.
    Now Create Smartform with output options specifying style name which you have created with Barcode active.
    Complete your smartform coding, and when you want to display the information in barcode, concatinate all the required information and enclose that text in character format like,
    for Product Code assuming the technical field name as mara-matnr, it should be printed as below:
    <P1>&mara-matnr&</>
    2. Steps to create new barcode using SE73 - SAPScript Font Maintenance.
    In SE73, Select radio button "System barcode" to create new barcode.  While creation of this barcode, you have to describe the new barcode, select technology new, barcode symbology and barcode alignment.
    You may also chage the barcode parameter if required.
    Now follow the same steps to implement this new barcode.
    Hope this will help you.
    Regards,
    Pravin

  • Sample example for Agentry

    Hi,
    i am working on the Android Mobile Application Development based on SMP using Agentry Plugin.i am new to this environment, i want to know how it works,and need a sample example to understand the structure.as of now i don't want to connect with any back end services. simple example like creating hello world in java.
    so please guide me on this? is there any link or any sample program ?
    Message was edited by: Michael Appleby

    These documents might help you:
    How-to Build an Agentry based mobile app from scratch connecting to an SAP back-end Part1
    Agentry - Build your own Apps
    Regards,
    Midhun VP

  • Sample example for with check box in iterator.

    Hi,
    I have a requirement where 5 to line items would be displayed with an iterator.
    I am able to display the output with checkbox in the iterator.
    In the next page i need to display the check items.
    How do i identify the checkbox is checked or not.
    Would be greatful if u can provide an sample example.
    Promise to reward point
    Regards,
    Jose

    data: loc_table_event type ref to cl_htmlb_event_tableview.
    Data: loc_cnt type i,
             loc_indx type 1.
    describe TABLE int_table .
    loc_cnt = sy-tfill.
    call method cl_hrrcf_iterator=>get_tv_attr
        exporting
          p_tv_id               = 'TV'
          p_component_id        = me->component_id
          po_request            = me->request
        importing
          p_visible_first_index = me->visible_first_row
          pt_selected_keys      = me->lt_selectedkeytab
          po_tv_event           = loc_table_event.
    *loc_cnt have number of records in intarnaltable, that you displayed in Table view.
    loc_indx = 1.
    do loc_cnt TIMES.
    wf   = loc_table_event->get_cell_value(
                                             row_index     = loc_indx
                                            column_index  = 1 ).
    /*  by using this you can get the value of chexk box in to wf . if wf is 'X' then that record is selected.
      /* you can fetch the record form intarnal table by using index(loc_indx)
    loc_indx = loc_indx + 1.
    enddo.
    vijay

  • For each sample example  in OSB without Split join

    Hi,
    Any body have sample example for For each in OSB without Split join......Thanks in advance

    I know this is an old thread, but I just ran into this same problem. Wow! That's a crappy 'feature'. I wasted 4 hours this morning on this thinking it was me doing something wrong in my xpath, but nope, you need to cast the counter to an int .......
    I hope they fix things like this in the next major release.
    Thanks for the solution.

  • Sample example of publish in OSB

    Hi can any body send links for sample examples for publish in OSB

    In OSB there are two types of services:
    Proxy Service - Used for inbound transport i.e. these services are either invokes my a message polled (reading a file, polling from DB, reading a message from JMS queue) or an external application sending a request to this service. A Proxy service is essentially like a service to start a message flow in OSB. Just like a web service.
    Business Service - Used for outbound transport i.e. these services make a call from an already running OSB message flow to an external entity(writing a file, insert in DB, Publishing a message on JMS queue) or making a call to an external application for ex calling an external web service. Business service in this sense is like a Web Service client.
    Hence to publish a message to JMS (an outbound operation) you will create a Business Service in OSB. SOA Suite is no where involved in this.
    To publish a message on JMS from HelloWorld Proxy you need to do following:
    1. Create a Business Service of messaging type and JMS transport.
    2. Create a HelloWorld Proxy which receives a message over HTTP. In the message flow of this Proxy create a Publish action(its an action to send a one way message to a Business/Proxy servicing from within a Proxy) in request pipeline or Route to action in Route Node and select the JMS Business Service as target.
    When you invoke the HelloWorld Proxy it will send a message to Business Service which will then publish the message on Queue.

  • Graphical message mapping examples for JDBC and RFC lookup

    hi, can any body provide me graphical message mapping examples for the "JDBC Lookup" function and "RFC Lookup" function?
    I'm now studying the graphical message mapping and want to try those 2 functions. thank you.
    I expect the examples to be simple enoung, not need to set up much.

    >
    Madhu_1980 wrote:
    > can u check this link:
    >
    > PI 7.0 & 7.1 Mapping - Blogs,Articles,Wiki,Code Samples and Videos Collections https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=79955426  
    >
    > it contains a link : SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
    May be I'm too foolish to follow those links, I got issues of each links.
    What I really want is an example from step0
    Swarup:
    Refer the Lookup document - Easy Lookup in Process Integration 7.1
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20befc9a-aa72-2b10-ae9b-b0988791d457
    The first step is "Create an RFC Enabled Function Module for look up", but where can I create the function module? Should I use ESB, IB? or use transaction 'SE11' ?
    Kulkarni:
    Very good links for RFC lookup with 7.0/3.0
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70d90a91-3cf4-2a10-d189-bfd37d9c3231&overridelayout=true
    At page6 "PI Development/Configuration", it saies "You are on the design maintenance screen in the Integration Builder.Expand the subnodes for the software component version for which you want to import interfaces".
    What is "design maintenance screen" ? My IB version is: Service Pack:08 Release:NW07_08_REL.
    When I open IB, it display a screen titled with "Configuration: Intergation Builder", I did not find "software component version" node on the left tree.
    Madhu_1980 :
    it contains a link : SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
    The Prerequisites state:
    The JDBC channel to be used for the lookup must be configured and activated in the Integration Directory.
    The definition of the table used for the lookup must already be imported into the ES Repository as an external definition
    But I don't know how to create a JDBC channel and define the table.

  • Mapviewer svg jsp - example for enableFeatureSelect ?

    hi,
    can anybody give me a simple example for enableFeatureSelect/getSelectedIdList (or even for enablePolygonSelect to get some highway-id's)? in the demo mapinit.jsp with svg you can zoomin and recenter.
    i want to create a new radio button for clicking on the svg and not to zoomin or recenter, but for selecting and highlighting a county.
    how can i select a county so it changes its color and i can get the id for this county?
    greetings
    thomas

    There is a SVG Territory Manager Demo that comes with MapViewer that can be downloaded from OTN. It alows you to select a county on the map and it uses the enableFeatureSelect and getSelectedIdList functioins. If you have not downloaded the latest 10.1.2 mapviewer and the demo data, you can download it from here, http://www.oracle.com/technology/software/products/mapviewer/index.html.
    Basically you need to do the following things to make it work.
    1. In the XML base map definition, set "selectable_in_svg" attribute and onclick function for the theme on which you want feature selection to be enabled . Here is an example,
    <?xml version="1.0" standalone="yes"?>
    <map_definition>
    <theme name="STATES" min_scale="50.0" max_scale="4.0"/>
    <theme name="COUNTIES" min_scale="4.0" max_scale="0.0" min_dist="0.5" selectable_in_svg="true" onclick="selectCounty"/>
    <theme name="STATES_LINE" min_scale="4.0" max_scale="0.0"/>
    <theme name="HIGHWAYS" min_dist="1.0"/>
    <theme name="CITIES" min_scale="1.2" max_scale="0.0" />
    </map_definition>
    2. Define the onclick javascript function in your jsp/html page where the svg map is embedded. For example, if you have created a base map using the sample XML shown above, you should define a javacript function called "selectCounty" to handle the mouse click event when the feature is clicked. Inside this javascript function, you can call getSelectedIdList to get the id of the clicked feature.
    3. In your jsp/html page, call javascript function enableFeatureSelect to enable single feature selection.

  • JSP example for Tree requirement

    hi, I can find many Java application example about the Tree in the internet, does any one know where I can find an example for show out a Tree in JSP?
    Regards

    There is a SVG Territory Manager Demo that comes with MapViewer that can be downloaded from OTN. It alows you to select a county on the map and it uses the enableFeatureSelect and getSelectedIdList functioins. If you have not downloaded the latest 10.1.2 mapviewer and the demo data, you can download it from here, http://www.oracle.com/technology/software/products/mapviewer/index.html.
    Basically you need to do the following things to make it work.
    1. In the XML base map definition, set "selectable_in_svg" attribute and onclick function for the theme on which you want feature selection to be enabled . Here is an example,
    <?xml version="1.0" standalone="yes"?>
    <map_definition>
    <theme name="STATES" min_scale="50.0" max_scale="4.0"/>
    <theme name="COUNTIES" min_scale="4.0" max_scale="0.0" min_dist="0.5" selectable_in_svg="true" onclick="selectCounty"/>
    <theme name="STATES_LINE" min_scale="4.0" max_scale="0.0"/>
    <theme name="HIGHWAYS" min_dist="1.0"/>
    <theme name="CITIES" min_scale="1.2" max_scale="0.0" />
    </map_definition>
    2. Define the onclick javascript function in your jsp/html page where the svg map is embedded. For example, if you have created a base map using the sample XML shown above, you should define a javacript function called "selectCounty" to handle the mouse click event when the feature is clicked. Inside this javascript function, you can call getSelectedIdList to get the id of the clicked feature.
    3. In your jsp/html page, call javascript function enableFeatureSelect to enable single feature selection.

  • Example for 4 or 3 level Hierarchail Seq ALV report?

    i need the example for 4 or 3 level heirarchial sequential ALV report. ?

    Hi,
    Hierarchail Seq ALV may not support 3rd 4th levels.For this type of requirement you may go to tree report.
    Refer the below links for tree report.
    [http://www.****************/Tutorials/ALV/ALVTreeDemo/demo.htm|http://www.****************/Tutorials/ALV/ALVTreeDemo/demo.htm]
    DWDM -  transaction for sample/demo programs for controls
    sample Program
    BCALV_TREE_01                  ALV Tree Control: Build Up the Hierarchy Tree
    BCALV_TREE_02                  ALV Tree Control: Event Handling
    BCALV_TREE_03                  ALV Tree Control: Use an Own Context Menu
    BCALV_TREE_04                  ALV Tree Control: Add a Button to the Toolbar
    BCALV_TREE_05                  ALV Tree Control: Add a Menu to the Toolbar
    BCALV_TREE_06                  ALV tree control: Icon column and icon for nodes/items
    BCALV_TREE_DEMO                Demo for ALV tree control
    BCALV_TREE_DND                 ALV tree control: Drag & Drop within a hierarchy tree
    BCALV_TREE_DND_MULTIPLE        ALV tree control: Drag & Drop within a hierarchy tree
    BCALV_TREE_EVENT_RECEIVER      Include BCALV_TREE_EVENT_RECEIVER
    BCALV_TREE_EVENT_RECEIVER01
    BCALV_TREE_ITEMLAYOUT          ALV Tree: Change Item Layouts at Runtime
    BCALV_TREE_MOVE_NODE_TEST      Demo for ALV tree control
    BCALV_TREE_SIMPLE_DEMO         Program BCALV_TREE_SIMPLE_DEMO
    BCALV_TREE_VERIFY              Verifier for ALV Tree and Simple ALV Tree
    Reward if found helpful.
    Regards,
    Boobalan Suburaj

  • PAPI Web Service (PAPI-WS) Example for Oracle BPM Studio

    Here is the location of a step-by-step explanation on how to use PAPI Web Service (PAPI-WS) to create a work item instance and then run the instance inside an activity in a process running on Oracle BPM Studio.
    http://www.4shared.com/file/128256802/f20abc7a/PAPI-WS_for_Oracle_BPM_Studio.html
    Be sure to use the project that is in the zip file for this example.
    If you need an example of how to use PAPI-WS on Oracle BPM Enterprise, go to this thread: PAPI Web Service (PAPI-WS) Example for Oracle BPM Enterprise Standalone
    If you need a step-by-step example of how to use PAPI (the Java API) go to this thread: Creating a new work item instance in a process using PAPI
    Hope this helps,
    Dan

    Hi,
    Is there any sample code showing PAPI-WS with VS 2008? AFAIK, there is a sample using VS 2005 and WSE 3.0, but I'm interested in using VS 2008/WCF.
    Regards,

  • Sample Data for OWB 10gR2

    Hi All,
    Can i find some example for 10gR2 which I can import into the respository? I heard about Global Sample data but could not find it. Does anyone has the link??
    Thanks in advance.
    Regards,
    Sam.

    Hi Sam,
    Try this page: http://www.oracle.com/technology/obe/10gr2_owb/10gr2_owb_extend/index.html
    It contains some tutorials for 10gR2.
    Regards,
    Ed

  • Hi guys please give me sample code for call transaction that handles error

    hi guys, please give me sample code for call transaction that handles error,
    please send me the sample code in which there should be all decleration part and everything, based on the sample code i will develop my code.
    please do help me as it is urgent.
    thanks and regards.
    prasadnn.

    Hi Prasad,
    Check this code.
    Source Code for BDC using Call Transaction
    *Code used to create BDC
    *& Report  ZBDC_EXAMPLE                                                *
    *& Example BDC program, which updates net price of item 00010 of a     *
    *& particular Purchase order(EBELN).                                   *
    REPORT  ZBDC_EXAMPLE  NO STANDARD PAGE HEADING
                          LINE-SIZE 132.
    Data declaration
    TABLES: ekko, ekpo.
    TYPES: BEGIN OF t_ekko,
        ebeln TYPE ekko-ebeln,
        waers TYPE ekko-waers,
        netpr TYPE ekpo-netpr,
        err_msg(73) TYPE c,
    END OF t_ekko.
    DATA: it_ekko  TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko  TYPE t_ekko,
          it_error TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_error TYPE t_ekko,
          it_success TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_success TYPE t_ekko.
    DATA: w_textout            LIKE t100-text.
    DATA: gd_update TYPE i,
          gd_lines TYPE i.
    *Used to store BDC data
    DATA: BEGIN OF bdc_tab OCCURS 0.
            INCLUDE STRUCTURE bdcdata.
    DATA: END OF bdc_tab.
    *Used to stores error information from CALL TRANSACTION Function Module
    DATA: BEGIN OF messtab OCCURS 0.
            INCLUDE STRUCTURE bdcmsgcoll.
    DATA: END OF messtab.
    *Screen declaration
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME
                                        TITLE text-001. "Purchase order Num
    SELECT-OPTIONS: so_ebeln FOR ekko-ebeln OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK block1.
    SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME
                                        TITLE text-002. "New NETPR value
    PARAMETERS:  p_newpr(14)   TYPE c obligatory.  "LIKE ekpo-netpr.
    SELECTION-SCREEN END OF BLOCK block2.
    *START-OF-SELECTION
    START-OF-SELECTION.
    Retrieve data from Purchase order table(EKKO)
      SELECT ekkoebeln ekkowaers ekpo~netpr
        INTO TABLE it_ekko
        FROM ekko AS ekko INNER JOIN ekpo AS ekpo
          ON ekpoebeln EQ ekkoebeln
       WHERE ekko~ebeln IN so_ebeln AND
             ekpo~ebelp EQ '10'.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Check data has been retrieved ready for processing
      DESCRIBE TABLE it_ekko LINES gd_lines.
      IF gd_lines LE 0.
      Display message if no data has been retrieved
        MESSAGE i003(zp) WITH 'No Records Found'(001).
        LEAVE TO SCREEN 0.
      ELSE.
      Update Customer master data (instalment text)
        LOOP AT it_ekko INTO wa_ekko.
          PERFORM bdc_update.
        ENDLOOP.
      Display message confirming number of records updated
        IF gd_update GT 1.
          MESSAGE i003(zp) WITH gd_update 'Records updated'(002).
        ELSE.
          MESSAGE i003(zp) WITH gd_update 'Record updated'(003).
        ENDIF.
    Display Success Report
      Check Success table
        DESCRIBE TABLE it_success LINES gd_lines.
        IF gd_lines GT 0.
        Display result report column headings
          PERFORM display_column_headings.
        Display result report
          PERFORM display_report.
        ENDIF.
    Display Error Report
      Check errors table
        DESCRIBE TABLE it_error LINES gd_lines.
      If errors exist then display errors report
        IF gd_lines GT 0.
        Display errors report
          PERFORM display_error_headings.
          PERFORM display_error_report.
        ENDIF.
      ENDIF.
    *&      Form  DISPLAY_COLUMN_HEADINGS
          Display column headings
    FORM display_column_headings.
      WRITE:2 ' Success Report '(014) COLOR COL_POSITIVE.
      SKIP.
      WRITE:2 'The following records updated successfully:'(013).
      WRITE:/ sy-uline(42).
      FORMAT COLOR COL_HEADING.
      WRITE:/      sy-vline,
              (10) 'Purchase Order'(004), sy-vline,
              (11) 'Old Netpr'(005), sy-vline,
              (11) 'New Netpr'(006), sy-vline.
      WRITE:/ sy-uline(42).
    ENDFORM.                    " DISPLAY_COLUMN_HEADINGS
    *&      Form  BDC_UPDATE
          Populate BDC table and call transaction ME22
    FORM bdc_update.
      PERFORM dynpro USING:
          'X'   'SAPMM06E'        '0105',
          ' '   'BDC_CURSOR'      'RM06E-BSTNR',
          ' '   'RM06E-BSTNR'     wa_ekko-ebeln,
          ' '   'BDC_OKCODE'      '/00',                      "OK code
          'X'   'SAPMM06E'        '0120',
          ' '   'BDC_CURSOR'      'EKPO-NETPR(01)',
          ' '   'EKPO-NETPR(01)'  p_newpr,
          ' '   'BDC_OKCODE'      '=BU'.                      "OK code
    Call transaction to update customer instalment text
      CALL TRANSACTION 'ME22' USING bdc_tab MODE 'N' UPDATE 'S'
             MESSAGES INTO messtab.
    Check if update was succesful
      IF sy-subrc EQ 0.
        ADD 1 TO gd_update.
        APPEND wa_ekko TO it_success.
      ELSE.
      Retrieve error messages displayed during BDC update
        LOOP AT messtab WHERE msgtyp = 'E'.
        Builds actual message based on info returned from Call transaction
          CALL FUNCTION 'MESSAGE_TEXT_BUILD'
               EXPORTING
                    msgid               = messtab-msgid
                    msgnr               = messtab-msgnr
                    msgv1               = messtab-msgv1
                    msgv2               = messtab-msgv2
                    msgv3               = messtab-msgv3
                    msgv4               = messtab-msgv4
               IMPORTING
                    message_text_output = w_textout.
        ENDLOOP.
      Build error table ready for output
        wa_error = wa_ekko.
        wa_error-err_msg = w_textout.
        APPEND wa_error TO it_error.
        CLEAR: wa_error.
      ENDIF.
    Clear bdc date table
      CLEAR: bdc_tab.
      REFRESH: bdc_tab.
    ENDFORM.                    " BDC_UPDATE
          FORM DYNPRO                                                   *
          stores values to bdc table                                    *
    -->  DYNBEGIN                                                      *
    -->  NAME                                                          *
    -->  VALUE                                                         *
    FORM dynpro USING    dynbegin name value.
      IF dynbegin = 'X'.
        CLEAR bdc_tab.
        MOVE:  name TO bdc_tab-program,
               value TO bdc_tab-dynpro,
               'X'  TO bdc_tab-dynbegin.
        APPEND bdc_tab.
      ELSE.
        CLEAR bdc_tab.
        MOVE:  name TO bdc_tab-fnam,
               value TO bdc_tab-fval.
        APPEND bdc_tab.
      ENDIF.
    ENDFORM.                               " DYNPRO
    *&      Form  DISPLAY_REPORT
          Display Report
    FORM display_report.
      FORMAT COLOR COL_NORMAL.
    Loop at data table
      LOOP AT it_success INTO wa_success.
        WRITE:/      sy-vline,
                (10) wa_success-ebeln, sy-vline,
                (11) wa_success-netpr CURRENCY wa_success-waers, sy-vline,
                (11) p_newpr, sy-vline.
        CLEAR: wa_success.
      ENDLOOP.
      WRITE:/ sy-uline(42).
      REFRESH: it_success.
      FORMAT COLOR COL_BACKGROUND.
    ENDFORM.                    " DISPLAY_REPORT
    *&      Form  DISPLAY_ERROR_REPORT
          Display error report data
    FORM display_error_report.
      LOOP AT it_error INTO wa_error.
        WRITE:/      sy-vline,
                (10) wa_error-ebeln, sy-vline,
                (11) wa_error-netpr CURRENCY wa_error-waers, sy-vline,
                (73) wa_error-err_msg, sy-vline.
      ENDLOOP.
      WRITE:/ sy-uline(104).
      REFRESH: it_error.
    ENDFORM.                    " DISPLAY_ERROR_REPORT
    *&      Form  DISPLAY_ERROR_HEADINGS
          Display error report headings
    FORM display_error_headings.
      SKIP.
      WRITE:2 ' Error Report '(007) COLOR COL_NEGATIVE.
      SKIP.
      WRITE:2 'The following records failed during update:'(008).
      WRITE:/ sy-uline(104).
      FORMAT COLOR COL_HEADING.
      WRITE:/      sy-vline,
              (10) 'Purchase Order'(009), sy-vline,
              (11) 'Netpr'(010), sy-vline,
              (73) 'Error Message'(012), sy-vline.
      WRITE:/ sy-uline(104).
      FORMAT COLOR COL_NORMAL.
    ENDFORM.                    " DISPLAY_ERROR_HEADINGS
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

Maybe you are looking for

  • BAPI/FM to create idoc based from another(Just like WE19)...

    Hello Experts, Are there any BAPI to create a new idoc based on an existing one just like the functionality of WE19? Thank you guys!

  • In TMS, can you have routes from a dev to multiple consolidation systems?

    My developers want to be able to choose from a list of target systems when creating a transport so that transport would go to a target group, or individual systems. Currently, I have my my ECC 6.0 Dev system transport routes configured to send to a t

  • Not Solved: I'm no longer in Dover, can I change my screen name?

    I've updated the post so it's right below. Please read I'm no longer in Dover, can I change my screen name? and you'll see I'm still waiting and that it's still this way after being assured it would be fixed. It's not so much it wasn't done but that

  • Table style alignment ignored?

    TCS 2.0, linking FrameMaker 9 (unstructured) files to RH8. My FrameMaker files have several one-cell right-aligned tables. I mapped all the tables to a table style called "Product" in RoboHelp. The table properties in style mapping are set to be righ

  • Pro tools 7 le or Logic Pro 7 ?

    I saw the video of Pro tools 7 le and it does seem to have good midi editing capability. Midi is what I've heard people complain about in Pro tools. What do you think of Pro tools 7 le compared to Logic Pro 7?