Interface Auditing requirements

We have mainly IDoc to IDoc scenarios to configure. One Idoc contains only one transaction. In Auditing, Once we process Idoc, we have to pass the success, warning or error message details with transaction/error/ interface details to java API. Or call Java API to record this messages. Using this messages Java API will generate some Auditing reports over time period for that particular Interface. This Auditing report will have total number of IDoc processed over time, Successful IDocs, Warning IDocs, Fetal error IDocs etc.
Queries are:-
G-  How we can pass message for error/ success or warning to API. This message should be generated at the completion of processing.
H-  Or can we call Java API at any of XI components to catch these requirements.
I-  We have to pass set of process ID’s to API ( ID’s like project if, Interface id, message id, error id, etc.). How we can pass those to API
J-  Do we have any way to collect auditing data over time period. (I mean any XI table where we have it and using this we can prepare auditing report)

Have you checked this <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/0e/ddf63d0cfa46dba4390846352f6c0f/frameset.htm">SAP Help</a> ?
~Suresh

Similar Messages

  • IT audit Requirement

    Customers have IT audit requirement to monitor the date and time of user access to the system.
    Currently I only know that SAP B1 keeps the last logon date information. So no way a regular job can track user time of access.
    Is there a feature in 2007B to retrieve user access logon information?

    Hi,
    it is another point to log the windows logon and the B1 logon. I do not know, how to solve this issue by B1. But you can solve it by using a VB or batch script for starting B1.
    In batch it could look like this (you just need to edit the pathes for login.txt and B1):
    echo %username%;%Date%;%time% >> login.txt
    c:
    cd\
    cd Programme\SAP\SAP Business One\
    SAPBus~1.exe
    In VB it would be better, cause you can set multiple parameters. For security reasons you should restrict the access for the scripts and log files.
    Regards Steffen

  • DMS interface program required

    Dear all,
    We are implenting DMS in our organisation for which , I have a requirement where in I need to make a program (interface) which can attach & send  the scanned image of objects (Ex: Invoice) to a specific location on DMS server.
    The data on DMS will be archived data.
    Any help in the designig of the program will be of great help from any of you.
    Regards
    Ankur

    Hi,
    In the DMS interface I did, I used FM: 'BAPI_DOCUMENT_CREATE2'.
    And there is a Note: Note 504692, you could check it out, in this Note, you can find the sample code below:
    CALL FUNCTION 'BAPI_DOCUMENT_CHANGE2'
    EXPORTING
    DOCUMENTTYPE = ls_draw-dokar
    DOCUMENTNUMBER = ls_draw-doknr
    DOCUMENTPART = ls_draw-doktl
    DOCUMENTVERSION = ls_draw-dokvr
    DOCUMENTDATA = ls_Doc
    DOCUMENTDATAX = ls_docx
    HOSTNAME =
    DOCBOMCHANGENUMBER =
    DOCBOMVALIDFROM =
    DOCBOMREVISIONLEVEL =
    SENDCOMPLETEBOM = ' '
    PF_FTP_DEST = 'SAPFTPA'
    PF_HTTP_DEST = 'SAPHTTPA'
    CAD_MODE = ' '
    IMPORTING
    RETURN = ls_return
    TABLES
    CHARACTERISTICVALUES =
    CLASSALLOCATIONS =
    DOCUMENTDESCRIPTIONS =
    OBJECTLINKS =
    DOCUMENTSTRUCTURE =
    DOCUMENTFILES = lt_documentfiles_new
    LONGTEXTS =
    COMPONENTS =
    IF ls_return-type CA 'EA'.
    ROLLBACK WORK.
    MESSAGE ID '26' TYPE 'I' NUMBER '000'
    WITH ls_return-message.
    ELSE.
    COMMIT WORK and wait.
    ENDIF.
    Cheers

  • Interface code required........................IDOC

    I need some sample code so as how to update data using IDOC for inbound interface.
    Step by step procedure willl be very helpful starting from very basic...........................................AS I AM VERY NEW TO IT.

    Hi,
    Inbound IDOC Status Report for Sales Orders 
    Requirement:
    Sales Orders are being created through inbound IDocs using FM 'EDI_DATA_INCOMING'. Now a Report is required to check the status of these Inbound IDocs along with Sales Orders generated against customer Purchase Orders.
    Processing:
    The report selects, 'ORDERS' IDoc numbers & status, generated between given time range, from table EDIDC. Further, it calls Function Module 'IDOC_READ_COMPLETELY' to get the IDoc details. Then required information is extracted by reading relevant field data of IDoc segments.
    REPORT  Z_EDI_FILE_LOAD_STATUS_REPORT           .
    Staus Report for Inbound IDOCs ( Sales Orders )
    Program        : Z_EDI_FILE_LOAD_STATUS_REPORT
    Presented By   : www.rmtiwari.com
    TABLES : EDIDC.
    ALV stuff
    TYPE-POOLS: SLIS.
    DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
          GS_LAYOUT   TYPE SLIS_LAYOUT_ALV,
          GT_SORT     TYPE SLIS_T_SORTINFO_ALV,
          GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
    DATA : BEGIN OF T_REPORT OCCURS 0,
             IDOC_NO       TYPE EDI_DOCNUM,
             IDOC_DATE     TYPE SY-DATUM,
             IDOC_TIME     TYPE SY-UZEIT,
             SORDER_NO     TYPE VBELN,
             STP_NO        TYPE KNA1-KUNNR,
             STP_NAME(35)  TYPE C,
             STP_PHONE(12) TYPE C,
             PO_NO(15)     TYPE C,
             STATUS        TYPE C,
             S_TEXT(70)    TYPE C,
             ERROR(70)     TYPE C,
           END OF T_REPORT.
    --PARAMETER--
    selection-screen begin of block date with frame title TEXT-S01.
    select-options: UDATE for  EDIDC-UPDDAT
                          default SY-datum obligatory,    "Changed On
                    UTIME for  EDIDC-UPDTIM .             "Changed Time
    selection-screen end   of block date.
    INITIALIZATION.
    START-OF-SELECTION.
    PERFORM SHOW_STATUS_REPORT.
    *&      Form  alv_grid
          text
    -->   p1        text
    < --  p2        text
    FORM ALV_GRID.
      IF GT_FIELDCAT[] IS INITIAL.
        PERFORM FIELDCAT_INIT.
        PERFORM LAYOUT_INIT.
        PERFORM SORT_INIT.
      ENDIF.
      PERFORM GRID_DISPLAY.
    ENDFORM.                    "alv_grid
    *&      Form  layout_init
    FORM LAYOUT_INIT.
      GS_LAYOUT-ZEBRA             = 'X'.
      GS_LAYOUT-CELL_MERGE        = 'X'.
      GS_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
      GS_LAYOUT-NO_VLINE          = ' '.
      GS_LAYOUT-TOTALS_BEFORE_ITEMS = ' '.
    ENDFORM.                    " layout_init
    *&      Form  fieldcat_init
    FORM FIELDCAT_INIT.
      DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
       CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'IDOC_NO'.
      LS_FIELDCAT-KEY          = 'X'.
      LS_FIELDCAT-REPTEXT_DDIC = 'IDOC'.
      LS_FIELDCAT-OUTPUTLEN    = 10.
    Fix for ALV print bug, which puts 'N/A' over last digit
    Set inttype to 'N' to stop corruption of printed ALV cell.
      LS_FIELDCAT-INTTYPE = 'N'.
      APPEND LS_FIELDCAT TO GT_FIELDCAT.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'IDOC_DATE'.
      LS_FIELDCAT-REPTEXT_DDIC = 'Creation Date'.
      LS_FIELDCAT-OUTPUTLEN    = 10.
      APPEND LS_FIELDCAT TO GT_FIELDCAT.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'IDOC_TIME'.
      LS_FIELDCAT-REPTEXT_DDIC = 'Creation Time'.
      LS_FIELDCAT-OUTPUTLEN    = 8.
      APPEND LS_FIELDCAT TO GT_FIELDCAT.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'STATUS'.
      LS_FIELDCAT-REPTEXT_DDIC = 'St'.
      LS_FIELDCAT-OUTPUTLEN    = 2.
      APPEND LS_FIELDCAT TO GT_FIELDCAT.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'ERROR'.
      LS_FIELDCAT-REPTEXT_DDIC = 'Message'.
      LS_FIELDCAT-OUTPUTLEN    = 70.
      APPEND LS_FIELDCAT TO GT_FIELDCAT.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'STP_NO'.
      LS_FIELDCAT-REPTEXT_DDIC = 'S.T.Party No'.
      LS_FIELDCAT-OUTPUTLEN    = 10.
      APPEND LS_FIELDCAT TO GT_FIELDCAT.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'STP_NAME'.
      LS_FIELDCAT-REPTEXT_DDIC = 'Sold to Party Name'.
      LS_FIELDCAT-OUTPUTLEN    = 35.
      APPEND LS_FIELDCAT TO GT_FIELDCAT.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'PO_NO'.
      LS_FIELDCAT-REPTEXT_DDIC = 'Purch Order'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      APPEND LS_FIELDCAT TO GT_FIELDCAT.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'STP_PHONE'.
      LS_FIELDCAT-REPTEXT_DDIC = 'S.T.Party Phone'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      APPEND LS_FIELDCAT TO GT_FIELDCAT.
    ENDFORM.                    "fieldcat_init
    *&      Form  sort_init
    FORM SORT_INIT.
      DATA: LS_SORT TYPE SLIS_SORTINFO_ALV.
      CLEAR LS_SORT.
      LS_SORT-FIELDNAME = 'IDOC_DATE'.
      LS_SORT-SPOS      = 1.
      LS_SORT-UP        = 'X'.
      APPEND LS_SORT TO GT_SORT.
      CLEAR LS_SORT.
      LS_SORT-FIELDNAME = 'IDOC_TIME'.
      LS_SORT-SPOS      = 2.
      LS_SORT-UP        = 'X'.
      APPEND LS_SORT TO GT_SORT.
      CLEAR LS_SORT.
      LS_SORT-FIELDNAME = 'STATUS'.
      LS_SORT-SPOS      = 3.
      LS_SORT-UP        = 'X'.
      APPEND LS_SORT TO GT_SORT.
      CLEAR LS_SORT.
      LS_SORT-FIELDNAME = 'IDOC_NO'.
      LS_SORT-SPOS      = 4.
      LS_SORT-UP        = 'X'.
      APPEND LS_SORT TO GT_SORT.
    ENDFORM.                    "sort_init
    *&      Form  grid_display
    FORM GRID_DISPLAY.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          IS_LAYOUT     = GS_LAYOUT
          IT_FIELDCAT   = GT_FIELDCAT
          IT_SORT       = GT_SORT
          i_callback_program      = SY-REPID
          I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
          I_DEFAULT     = ' '
          I_SAVE        = 'X'
        TABLES
          T_OUTTAB      = T_REPORT
        EXCEPTIONS
          PROGRAM_ERROR = 1
          OTHERS        = 2.
    ENDFORM.                    "grid_display
    *&      Form  COMMENT_BUILD
          Processing of listheader
    FORM COMMENT_BUILD USING P_FK_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
      DATA: LS_LINE TYPE SLIS_LISTHEADER.
      REFRESH P_FK_LIST_TOP_OF_PAGE.
    List Heading : Typ H
      CLEAR LS_LINE.
      LS_LINE-TYP  = 'H'.
      LS_LINE-INFO  = 'Sales Order Interface: Z_EDI_FILE_LOAD'.
      APPEND LS_LINE TO P_FK_LIST_TOP_OF_PAGE.
    List : Typ S
      clear LS_LINE.
      LS_LINE-typ  = 'S'.
      LS_LINE-key  = 'Date Range:'.
      LS_LINE-info  = UDATE-low.
      if not UDATE-high is initial.
        write ' To ' to  LS_LINE-info+30.
        LS_LINE-info+36 = UDATE-high.
      endif.
      APPEND LS_LINE TO P_FK_LIST_TOP_OF_PAGE.
    ENDFORM.                               " COMMENT_BUILD
          FORM TOP_OF_PAGE                                              *
          Ereigniss TOP_OF_PAGE                                       *
          event     TOP_OF_PAGE
    FORM TOP_OF_PAGE.
      PERFORM COMMENT_BUILD  USING gt_LIST_TOP_OF_PAGE[].
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  show_status_report
    FORM SHOW_STATUS_REPORT .
    Report to show status.
      DATA: BEGIN OF T_TEDS2 OCCURS 0.
              INCLUDE STRUCTURE TEDS2.
      DATA: END OF T_TEDS2.
      DATA: BEGIN OF T_IDOC_CONTROL_TMP OCCURS 0.
              INCLUDE STRUCTURE EDIDC.
      DATA: END OF T_IDOC_CONTROL_TMP.
      CONSTANTS: C_STATUS_IN_IDOC_POSTED       LIKE EDIDC-STATUS VALUE '53'.
      DATA : T_EDIDS TYPE STANDARD TABLE OF EDIDS WITH HEADER LINE.
      DATA : T_EDIDD TYPE STANDARD TABLE OF EDIDD WITH HEADER LINE.
      DATA : GV_PARTNER_SEG TYPE E1EDKA1,
             GV_PO_REF_SEG  TYPE E2EDK02.
    Get text for status values
      SELECT * FROM TEDS2 INTO TABLE T_TEDS2 WHERE LANGUA = SY-LANGU.
    Read the IDoc's status after processing
      SELECT * FROM EDIDC
        INTO TABLE T_IDOC_CONTROL_TMP
       WHERE UPDDAT IN UDATE
         AND UPDTIM IN UTIME
         AND MESTYP = 'ORDERS'.
      LOOP AT T_IDOC_CONTROL_TMP.
      IDoc has been processed, since control record changed.
        READ TABLE T_TEDS2 WITH KEY STATUS = T_IDOC_CONTROL_TMP-STATUS.
        T_REPORT-IDOC_NO = T_IDOC_CONTROL_TMP-DOCNUM.
        T_REPORT-IDOC_DATE = T_IDOC_CONTROL_TMP-CREDAT.
        T_REPORT-IDOC_TIME = T_IDOC_CONTROL_TMP-CRETIM.
        T_REPORT-S_TEXT = T_TEDS2-DESCRP.
        IF T_IDOC_CONTROL_TMP-STATUS = C_STATUS_IN_IDOC_POSTED.
        ok status
          T_REPORT-STATUS = 'S'.
        ELSE.
        error status
          T_REPORT-STATUS = 'E'.
        ENDIF.
        Get IDoc details.
        CALL FUNCTION 'IDOC_READ_COMPLETELY'
          EXPORTING
            DOCUMENT_NUMBER         = T_REPORT-IDOC_NO
          TABLES
            INT_EDIDS               = T_EDIDS
            INT_EDIDD               = T_EDIDD
          EXCEPTIONS
            DOCUMENT_NOT_EXIST      = 1
            DOCUMENT_NUMBER_INVALID = 2
            OTHERS                  = 3.
      Get Error status
        READ TABLE T_EDIDS WITH KEY STATUS = T_IDOC_CONTROL_TMP-STATUS.
        IF SY-SUBRC EQ 0.
          REPLACE FIRST OCCURRENCE OF '&1' IN T_EDIDS-STATXT
                                WITH T_EDIDS-STAPA1.
          REPLACE FIRST OCCURRENCE OF '&2' IN T_EDIDS-STATXT
                                WITH T_EDIDS-STAPA2.
          REPLACE FIRST OCCURRENCE OF '&3' IN T_EDIDS-STATXT
                                WITH T_EDIDS-STAPA3.
          REPLACE FIRST OCCURRENCE OF '&4' IN T_EDIDS-STATXT
                                WITH T_EDIDS-STAPA4.
          REPLACE FIRST OCCURRENCE OF '&' IN T_EDIDS-STATXT
                                WITH T_EDIDS-STAPA1.
          REPLACE FIRST OCCURRENCE OF '&' IN T_EDIDS-STATXT
                                WITH T_EDIDS-STAPA2.
          REPLACE FIRST OCCURRENCE OF '&' IN T_EDIDS-STATXT
                                WITH T_EDIDS-STAPA3.
          REPLACE FIRST OCCURRENCE OF '&' IN T_EDIDS-STATXT
                                WITH T_EDIDS-STAPA4.
          T_REPORT-ERROR = T_EDIDS-STATXT.
        ENDIF.
        LOOP AT T_EDIDD.
          CASE T_EDIDD-SEGNAM.
            WHEN 'E1EDKA1'.
              GV_PARTNER_SEG = T_EDIDD-SDATA.
              CLEAR : T_REPORT-STP_NAME.
              CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                EXPORTING
                  INPUT  = GV_PARTNER_SEG-PARTN
                IMPORTING
                  OUTPUT = T_REPORT-STP_NO.
              SELECT SINGLE NAME1 TELF1
                INTO (T_REPORT-STP_NAME,T_REPORT-STP_PHONE)
                FROM KNA1
               WHERE KUNNR = T_REPORT-STP_NO.
            WHEN 'E1EDK02'.
              GV_PO_REF_SEG = T_EDIDD-SDATA.
              T_REPORT-PO_NO = GV_PO_REF_SEG-BELNR.
          ENDCASE.
        ENDLOOP.
        APPEND T_REPORT.
      ENDLOOP .
      SORT T_REPORT BY STATUS IDOC_NO.
    Show Report
      PERFORM ALV_GRID.
    ENDFORM.                    " show_status_report
    Pls reward all helpful points.
    Regards,
    Ameet

  • Software and Interface card required for DNP3 communication with a protection relay?

    I am looking to build a SCADA Master to perform DNP3 communication between the Master and an Outstation device. I would like to know apart from the Ni - Industrial comm software is there any other Interface card I require to accomplish this task?

    According to this article, that’s all you need. Just make sure you run applications as an administrator and that you don’t have any type of network restrictions. Since you have it installed, I encourage you to test the functionality/connectivity through the shipping examples, which are located on your hard disc at ...LabVIEW XXX\examples\DNP3 folder (also visible at the NI Example Finder). You can modify an example VI to fit an application, or you can copy and paste from one or more examples into a VI that you create.
    Alejandro | Academic Program Engineer | National Instruments

  • SAS 70 Audit Requirements

    Hi
    I have to propose a network which is in compliance with SAS 70 Audit.
    The network is very simple. Internet Link will terminate on my ASA 5505 and from there the wires will go into my 1200 APs.The network consists only of Laptops.I will be using 802.1X authentication and would use encryption.
    Also in ASA a IPSec VPN connection to my US office will terminate. Now this network as said would undergo security audit.
    So my problem is that I am clueless. Is ACS server required for SAS 70?or will the current setup is OK. IF anyone has done this then please help.
    Thanks in advance
    Regards
    JD

    Hi,
    These are very basic questions, you should check GRC configuration and security guide to get the same information.
    Thanks
    Sunny

  • File to File interface - Help Required

    Hello All,
    We have the below business requirement:
    In the source directory, we would receive multiple .dat and one .txt files. Before picking up any of the file, we need to check whether the .txt file exists in the folder or not.
    If the .txt file exists, only then pick the .dat files and move them to target directory, else dont do any action until the .txt files comes into the folder.
    Also, the dat and txt files have to be moved to the target directory in a sequence(i.e. first the dat files have to be moved and then finally txt file has to be moved).
    Please help in providing an approach preferably with the standard sender file channel options.
    Thanks in advance.
    Regards,
    Subbu

    Try this option
    Source Directory: /yourSourceDir
    FileName : File1.xml
    In Additional Files:
    File List: File2.xml
    File2.xml.namePart - "File1.xml" = "File2.xml"
    File2.xml.optional - NO
    File2.xml.type - xml
    by having this settings, File1 will be picked only when File2 is placed in the folder.
    Regards

  • Evaluation Paths for Audit Requirements

    Hi,
    For requirements, which belong to the "Subrequirements" requirements category, is "A500" typically the value that one would specify for this?
    Thank you,
    Eric

    Yesterday, I defined the evaluation path as you suggested. I am still seeing problems, so I assume that I must have something misconfigured or unconfigured somewhere else. This implies that I'm probably not done bothering the forum yet....
    As far as getting the "SC" requirement selection into 4.72, it is not much of an issue for me, since we are supposed to be upgrading fairly soon, and for testing purposes, I should be able to use an eval path. I might still post an OSS message, as you suggest.
    One thing that would be nice would be a complete "changelog" to view somewhere. I can see the release notes for my version in the implementation guide, but it would be nice to see the release notes for all versions. This would allow someone to make a quick determination about what became available and when. If such a changelog already exists, can you tell me where to access it?
    Thanks again for your help, Joachim.
    Best,
      Eric

  • Interface Mappings required?

    Hey,
    trying <a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit blog</a> but with a web service instead of RFC. Using the same WSDL data type for file input and SOAP request and for SOAP response and file output.
    Because of using the same data type, do I have to create any interface mappings or message mappings?
    My graphical BPM monitoring in sxmb_moni shows that he gets until synchronous sending of soap message, but there he stops with following error:
      <SAP:Code area="UNKNOWN">ModuleUnknownException</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.mp.module.ModuleException: com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE: caused by: com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE: at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1111) at
    thx
    chris

    Christian,
    You can skip the message and interface mapping for the mappings betwwen the file and bpm and bpm to file..
    but in tne case of the syncronous rfc or soap in ur case, u wud b reqd to have the mapping.
    regards,
    Vishal

  • SQLData interface help required please

    Hi,
    i need some help with the following problem.
    I have an object with a lot of data elements (100ish), some of them scalar (varchar2's etc), some are "type table of varchar2" and some are "type table of sql_object". I want to write a java stored procedure (SQLData interface?) that can update the values in this object.
    I can, of course, populate the values from pl/sql no problem BUT as im populating the data values from a large XML source (i.e. multiple xpath operations) it takes time in pl/sql (takes abount 1 sec which is too long for our buisness need here). I am attributing to slowness due to the large amount of context switches from pl/sql to java).
    i have tried making a small sample object to prove the concept of the SqlData in dealing with objects that have nested objects and arrays but i am getting problems in getting it to work with nested objects!.
    my noddy example:
    ------------------- inner.java ---------------
    import java.sql.*;
    import java.io.*;
    import oracle.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.oracore.*;
    import oracle.jdbc2.*;
    import java.math.*;
    public class inner implements SQLData {
    // Implement the attributes and operations for this type.
    private BigDecimal id;
    public String name;
    public static void wages(inner e[]) {
    e[0].name = "55"; // just update the name element to prove the point.
    // Implement SQLData interface.
    private String sql_type;
    public String getSQLTypeName() throws SQLException {
    return sql_type;
    public void readSQL(SQLInput stream, String typeName)
    throws SQLException {
    sql_type = typeName;
    id = stream.readBigDecimal();
    name = stream.readString();
    public void writeSQL(SQLOutput stream) throws SQLException {
    stream.writeBigDecimal(id);
    stream.writeString(name);
    ------------------- outer.java ---------------
    import java.sql.*;
    import java.io.*;
    import oracle.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.oracore.*;
    import oracle.jdbc2.*;
    import java.math.*;
    public class outer implements SQLData {
    // Implement the attributes and operations for this type.
    private BigDecimal id;
    private String name;
    public inner inn;
    public static void wages(outer e[]) {
    e[0].name = "54";
    e[0].inn.name = "55";// just update the name element to prove the point.
    // Implement SQLData interface.
    private String sql_type;
    public String getSQLTypeName() throws SQLException {
    return sql_type;
    public void readSQL(SQLInput stream, String typeName)
    throws SQLException {
    sql_type = typeName;
    id = stream.readBigDecimal();
    name = stream.readString();
    inn = (inner)(SQLData)stream.readObject();
    public void writeSQL(SQLOutput stream) throws SQLException {
    stream.writeBigDecimal(id);
    stream.writeString(name);
    stream.writeObject((SQLData)inn);
    SQL> drop type outer
    2 /
    Type dropped.
    SQL> create or replace type inner as object(
    2 id number(20),
    3 name varchar2(2000)
    4 );
    5 /
    Type created.
    SQL> create or replace type outer as object(
    2 id number(20),
    3 name varchar2(2000),
    4 inn inner
    5 );
    6 /
    Type created.
    SQL> drop procedure wages
    2 /
    Procedure dropped.
    SQL> CREATE OR REPLACE procedure wages (e in out inner) AS
    2 LANGUAGE JAVA
    3 NAME 'inner.wages(inner[])';
    4 /
    Procedure created.
    SQL> CREATE OR REPLACE procedure wages2 (e in out outer) AS
    2 LANGUAGE JAVA
    3 NAME 'outer.wages(outer[])';
    4 /
    Procedure created.
    SQL> declare
    2 i inner := inner(1,'ee');
    3
    4 begin
    5 dbms_output.put_line(i.name);
    6 wages(i);
    7 dbms_output.put_line(i.id||';'||i.name); -- should have changed the name element
    8 end;
    9 /
    ee
    1;55
    PL/SQL procedure successfully completed.
    SQL> declare
    2 i inner := inner(1,'ee');
    3 o outer := outer(1,'ee2', i);
    4
    5 begin
    6 dbms_output.put_line(o.id||';'||o.name||';'||o.inn.name);
    7 wages2(o);
    8 dbms_output.put_line(o.id||';'||o.name||';'||o.inn.name);-- should have changed the INNER name element
    9 end;
    10 /
    1;ee2;ee
    declare
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected IN Conversion failed
    Note all wanted to do in the "inner" example is change the value of name...this worked as expected. In the second example i wanted to change the value of my inner objects name value...this fails with IN conversion failed.
    I would be grateful if someone could tell me if this kind of operation is supported in SQLData? (or perhaps another way of doing it?).
    im my REAL object its even more complex as i have stuff like:
    -- nested types...
    type varchar2_tab is table of varchar2(4000);
    type product is object (
    id number(1),
    name varchar2(200)
    type products is table of product;
    -- my main type that i want to perform java ops on
    type my_main_obj is object(
    id number,
    name varchar2(2000),
    array1 varchar2_tab,
    prod products,
    ........lots more elements of the above kinds
    and its on my_main_obj that i want to run a Jproc to populate my variables.
    the kind of pl/sql code thats doing this, at the moment, is:
    -- scalar types.........
    outstCplntInd := xpath_utilities.valueOf(r_dom_node,'outstCplntInd');
    -- scalar array types.....
    xpath_utilities.valueof(r_dom_node, 'names/name',
    p_array_in_out => names);
    -- and object array types.......
    r_dom_node_list := spg_xpath_utilities.selectNodes(r_dom_node,
    'bills/bill');
    for idx in 1..sys.xmldom.getlength(r_dom_node_list)
    loop
    if (prods is null)
    then
    prods := products(null);
    else
    prods.extend;
    end if;
    prods(prods.last) := product(
    xpath_utilities.valueof(
    xmldom.item(r_dom_node_list,idx-1), 'prodTyp'),
    xpath_utilities.valueof(
    xmldom.item(r_dom_node_list,idx-1),
    'prodSerNr'),
    xpath_utilities.valueof(
    xmldom.item(r_dom_node_list,idx-1),
    'prodDate'));
    end loop;
    ....etc
    (the xpath_utilites pacakge is a helper package i got out of Steve Muenchs oracle XML book).
    Thanks for any suggestions!
    Daz.
    Oracle version 8.1.7.4 with the latest java + pl/sql XML XDKs installed.

    Hi AM_Kidd.
    Thanks for your reply.
    I have done a complete uninstall and re install of iTunes and all related apple programs from my laptop through control panel, add remove programs and also by going through program files and deleting all tracers of any left over folders remove programs may have missed.
    My apologies for forgetting to add this in my original post.
    Thanks again

  • How do i query the module object for the interface of the module-specific interface I require

    Hi there.
    Currently using LabVIEW 2012/TestStand 2012.
    I am attempting to edit the LabVIEW Text Sequence Translator, and in the CreateStep.vi I am trying to create a step that is of type WIS_Sequence_Call (a custom version of NI_Types.ini-->SequenceCall).
    I need to set the file pathname, sequence name and parameter values in the step.  I believe I need to get access to the SequenceCallModule class to do this.
    This help file SequenceCallModule states in the description: "To access the properties and methods of a specific module class, query the Module object for the interface of the module-specific interface you want to acquire.".
    What exactly is meant by "query" here?  It looks like "Specify" might be what I am after, but I want this done programmatically, ie no dialog boxes.
    See my snippet below.
    Thanks.

    Thanks for the reply Charles.
    I have been using the 2012 version of the poster.
    I can get access to the Module class from the Step Class as shown in the snippet above, but I can't see how to get to SequenceCallModule? The "To more specific class" VI doesn't seem to work for TS refs. Is there no way to derive the SequenceCallModule from this?
    Also I can use the TSAdp.SequenceCallModule reference, but I need to link this to the relevant step that I've just created.  Can NI please provide me with a link to any examples on this?
    Thanks

  • How do i query the module object for the interface of the module-spe​cific interface I require

    Hi there.
    Currently using LabVIEW 2012/TestStand 2012.
    I am attempting to edit the LabVIEW Text Sequence Translator, and in the CreateStep.vi I am trying to create a step that is of type WIS_Sequence_Call (a custom version of NI_Types.ini-->SequenceCall).
    I need to set the file pathname, sequence name and parameter values in the step.  I believe I need to get access to the SequenceCallModule class to do this.
    This help file SequenceCallModule states in the description: "To access the properties and methods of a specific module class, query the Module object for the interface of the module-specific interface you want to acquire.".
    What exactly is meant by "query" here?  It looks like "Specify" might be what I am after, but I want this done programmatically, ie no dialog boxes.
    See my snippet below.
    Thanks.
    Christopher Farmer
    Certified LabVIEW Architect
    Certified TestStand Developer
    http://wiredinsoftware.com.au
    Solved!
    Go to Solution.

    Thanks for the reply Charles.
    I have been using the 2012 version of the poster.
    I can get access to the Module class from the Step Class as shown in the snippet above, but I can't see how to get to SequenceCallModule? The "To more specific class" VI doesn't seem to work for TS refs. Is there no way to derive the SequenceCallModule from this?
    Also I can use the TSAdp.SequenceCallModule reference, but I need to link this to the relevant step that I've just created.  Can NI please provide me with a link to any examples on this?
    Thanks
    Christopher Farmer
    Certified LabVIEW Architect
    Certified TestStand Developer
    http://wiredinsoftware.com.au

  • Interface help required. Pls advice urgent

    Hi All,
    My scenario is:
    I received a response from some System back to XI.
    So currently I am in XI.
    Now I need to map my above response to WebService of System A(synchronous in nature).
    The WebService of System A response will be Yes or No.
    It means I will receive response (Yes or No) back in XI.
    If it is Yes then I need to send to System B and
    If it No then I need to send to another System C .
    How to make this Interface.
    Regards

    Henry,
    Do you have a structure for your response...if you do then you can do extended reciever det with sync/async..shouldent matter, i just tried it and i dont get any error.
    in your reciever determination..Check the box for standard rec det then add your first condition..of the value of a field to true..then send to A..
    then you select add condition..and add for second reciever..that should be it, you shouldent need a bpm for such a simple scenario..it definetly is an overkill.
    Regards
    Ravi Raman

  • WiSM interface vlan requirement

    Can anyone tell me why the AP-Manager and Management interfaces have to be on the same VLAN? I'm probably missing something about WiSM operations but if I'd appreciate the input.
    thanks
    js

    That is the only supported way. Any other way will not work. This goes for any WLC configuration and not just the WiSM. The management interface so you can manange the wlc it is aslo the defaut interface used when an ap first joins the wlc and then the ap-manager is used for the lwapp tunnel. If you have the management and ap-manager interfaces on a different subnet, then you will see a vlan mismatch on the switch. Also it is important to note that both these interfaces need to be native vlan on the trunk port.

  • Question for GR IR functionality - audit requirement (three-way) match

    Hello,
    I have a question in regards to three way match functionality in SAP (matching of PO, GR and IR).  Auditors asked us if  GR-IV indicator is checked for every PO, and for our company this indicator cannot be checked for every PO due to drop shipments, LC terms, etc.  However, AP is ensuring that GR document is posted prior to posting IR for all POs.  In this case, even though GR-IV indicator is not checked at PO item level, does SAP enforce automatic three way matching based on the tolerance key set (DQ and PP), or does SAP not perform three way match since the GR-IV indicator was not set in the first place? 
    Please share some insight.  Thank you.  

    Hi,
    As you know three ways match related to PO-GR-IV but in your case you want pay drop shipments and LC terms to vendor where you need two way match which is with PO-IV. The disadvantage in two way match, you never know whether the whole PO amount is delivered or not in your system (in real scenario). For two way match, select those vendors in t.code:XK02 and do not select check box of “GR-Based Inv. Verif.” in Control data segment in Purchasing data view & then save.
    Now create a new PO and go for directly invoice verification WRT new PO.
    For more refer threeway match details
    SAP Threeway Match Functionality & configuration
    Regards,
    Biju K

Maybe you are looking for

  • PO Line item attachments going along with the PO o/p to Vendor!

    Hi all, We are on SRM 5.0 ECS SP 13. I had one question regarding the attachments in the PO line items.If I attach documents at the PO Line item and sent the PO o/p to vendior through e-mail,then all the attachments at the PO line item also go along

  • Can't logon to Windows XP to deleted some registry

    I use Malwarebytes Antimalware regularly http://www.malwarebytes.org/mbam.php and havent had an infection found. In about a year. Yesterday i scanned after about a month and i saw 12 infections ! MBAM said it could not clean a few infections: Malware

  • Location Based Security application?

    Hello everyone, I've been searching the App World for a 'Location Based' Security app, but can't seem to find what Im looking for. I like the security that is native to the Blackberry, but when I am at work or at home, I like to not to have to use th

  • REUSE_ALV_GRID_DISPLAY IT_FIELDCAT change after I_CALLBACK_USER_COMMAND

    Hi. I changed the FIELDCAT after I_CALLBACK_USER_COMMAND, but the same fieldcat is displayed. The internal table can be changed, but not the FIELDCAT? I'm adding comments column after update... Can this be done?

  • SSRS 2008 R2 Map doesn't render (won't display when you preview it)

    I'm trying to create a map where it displays the count of people in my DB for each state. There are 126,000 records in the dataset.  I've looked at a dozen videos and gone through step by step instructions to make sure I'm not missing something.  The