General doubt with recording

Hi all,
i want to know the programs in which the Recording was used . can anyone tell me how to go about this
Thanks

Hi,
see this program
report ZMSV1_BDC_CALL
       no standard page heading line-size 255.
*include bdcrecx1.
*parameters: dataset(132) lower case.
   DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***
  If it is nessesary to change the data section use the rules:
  1.) Each definition of a field exists of two lines
  2.) The first line shows exactly the comment
      '* data element: ' followed with the data element
      which describes the field.
      If you don't have a data element use the
      comment without a data element name
  3.) The second line shows the fieldname of the
      structure, the fieldname must consist of
      a fieldname and optional the character '_' and
      three numbers and the field length in brackets
  4.) Each field must be type C.
Generated data section with specific formatting - DO NOT CHANGE  ***
data: begin of record,
data element: BUKRS
        BUKRS_001(004),
data element: KTOKK
        KTOKK_002(004),
data element: NAME1_GP
        NAME1_003(035),
data element: SORTL
        SORTL_004(010),
data element: ORT01_GP
        ORT01_005(035),
data element: LAND1_GP
        LAND1_006(003),
data element: SPRAS
        SPRAS_007(002),
data element: BANKS
        BANKS_01_008(003),
data element: BANKK
        BANKL_01_009(015),
data element: BANKN
        BANKN_01_010(018),
      end of record.
End generated data section ***
data: itab like record occurs 0 .
data: it_bdc type bdcdata occurs 0 with header line.
data: it_msg type bdcmsgcoll occurs 0 with header line.
parameter p_file type rlgrap-filename default 'c:\vendor.txt' obligatory
start-of-selection.
perform open_dataset using p_file.
perform open_group.
*perform close_group.
*perform close_dataset using dataset.
*&      Form  open_dataset
      text
     -->P_P_FILE  text
form open_dataset  using    p_p_file.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
  CODEPAGE                      = ' '
  FILENAME                      = p_file
  FILETYPE                      = 'DAT'
  HEADLEN                       = ' '
  LINE_EXIT                     = ' '
  TRUNCLEN                      = ' '
  USER_FORM                     = ' '
  USER_PROG                     = ' '
  DAT_D_FORMAT                  = ' '
IMPORTING
  FILELENGTH                    =
  TABLES
    data_tab                      = itab
EXCEPTIONS
  CONVERSION_ERROR              = 1
  FILE_OPEN_ERROR               = 2
  FILE_READ_ERROR               = 3
  INVALID_TYPE                  = 4
  NO_BATCH                      = 5
  UNKNOWN_ERROR                 = 6
  INVALID_TABLE_WIDTH           = 7
  GUI_REFUSE_FILETRANSFER       = 8
  CUSTOMER_ERROR                = 9
  NO_AUTHORITY                  = 10
  OTHERS                        = 11
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform.                    " open_dataset
*&      Form  open_group
      text
-->  p1        text
<--  p2        text
form open_group .
loop at itab into record.
perform bdc_dynpro      using 'SAPMF02K' '0105'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF02K-KTOKK'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'RF02K-BUKRS'
                              record-BUKRS_001.
perform bdc_field       using 'RF02K-KTOKK'
                              record-KTOKK_002.
perform bdc_dynpro      using 'SAPMF02K' '0110'.
perform bdc_field       using 'BDC_CURSOR'
                              'LFA1-ORT01'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'LFA1-NAME1'
                              record-NAME1_003.
perform bdc_field       using 'LFA1-SORTL'
                              record-SORTL_004.
perform bdc_field       using 'LFA1-ORT01'
                              record-ORT01_005.
perform bdc_field       using 'LFA1-LAND1'
                              record-LAND1_006.
perform bdc_field       using 'LFA1-SPRAS'
                              record-SPRAS_007.
perform bdc_dynpro      using 'SAPMF02K' '0120'.
perform bdc_field       using 'BDC_CURSOR'
                              'LFA1-KUNNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMF02K' '0130'.
perform bdc_field       using 'BDC_CURSOR'
                              'LFBK-KOINH(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_field       using 'LFBK-BANKS(01)'
                              record-BANKS_01_008.
perform bdc_field       using 'LFBK-BANKL(01)'
                              record-BANKL_01_009.
perform bdc_field       using 'LFBK-BANKN(01)'
                              record-BANKN_01_010.
perform bdc_dynpro      using 'SAPMF02K' '0130'.
perform bdc_field       using 'BDC_CURSOR'
                              'LFBK-BANKS(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_dynpro      using 'SAPMF02K' '0210'.
perform bdc_field       using 'BDC_CURSOR'
                              'LFB1-AKONT'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMF02K' '0215'.
perform bdc_field       using 'BDC_CURSOR'
                              'LFB1-ZTERM'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPMF02K' '0220'.
perform bdc_field       using 'BDC_CURSOR'
                              'LFB5-MAHNA'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_dynpro      using 'SAPLSPO1' '0300'.
perform bdc_field       using 'BDC_OKCODE'
                              '=YES'.
call transaction 'FK01' using it_bdc mode 'A' update 'S'
                             messages into it_msg.
  write:/ sy-subrc.
    perform message_formatwrite.
refresh it_bdc.
clear it_bdc.
endloop.
endform.                    " open_group
*&      Form  message_formatwrite
      text
-->  p1        text
<--  p2        text
form message_formatwrite .
data:l_msg(10).
loop at it_msg.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
   ID              = SY-MSGID
   LANG            = sy-langu
   NO              = SY-MSGNO
   V1              = SY-MSGV1
   V2              = SY-MSGV2
   V3              = SY-MSGV3
   V4              = SY-MSGV4
IMPORTING
   MSG             = l_msg
EXCEPTIONS
   NOT_FOUND       = 1
   OTHERS          = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endloop.
endform.                    " message_formatwrite
*&      Form  bdc_dynpro
      text
     -->P_0112   text
     -->P_0113   text
form bdc_dynpro  using    value(p_0112)
                          value(p_0113).
it_bdc-program = p_0112.
  it_bdc-dynpro = p_0113.
  it_bdc-dynbegin = 'X'.
  append it_bdc.
  clear it_bdc.
endform.                    " bdc_dynpro
*&      Form  bdc_field
      text
     -->P_0117   text
     -->P_0118   text
form bdc_field  using    value(p_0117)
                         value(p_0118).
it_bdc-fnam = p_0117.
  it_bdc-fval = p_0118.
  append it_bdc.
  clear it_bdc.
endform.                    " bdc_field
regards,
sreevani.

Similar Messages

  • General doubt with statement

    Hi ,
    I have a work area with 10 fields.
    I want to check whether each field has a value.
    so i have to like this
    if  ( wa-fld1 is initial or
         wa-fld2 is initial or
    wa-fld10 is initial )
    or there a better way where with single statment i can check whether all fields of the wa have values.
    Thanks
    preeti

    You can try something like this.  This way if you add more fields to WA, you don't have to change your logic to check for initial.
    report zrich_0001.
    data: begin of wa,
          fld1 type c,
          fld2 type c,
          fld3 type c,
          fld4 type c,
          end of wa.
    data: error type c.
    field-symbols: <fs>.
    wa-fld1 = 'A'.
    wa-fld2 = 'B'.
    wa-fld3 = ' '.
    wa-fld4 = 'D'.
    do .
      assign component sy-index of structure wa to <fs>.
      if sy-subrc <> 0.
        exit.
      endif.
      if <fs> is initial.
        error = 'X'.
        exit.
      endif.
    enddo.
    if error = 'X'.
      write:/ 'There is at least one field that is initial'.
    else.
      write:/ 'All is well'.
    endif.
    Regards,
    Rich Heilman
    Message was edited by:
            Rich Heilman

  • Doubt with set_item_property

    Hi all,
    I am trying to use set_item_property in when-validate item trigger,but whenever i am trying to write the below code i am getting an error too many declarations of set_item_property match this  call
    Can someone kindly guide me how to overcome the error
    BEGIN
    IF :RHCCUSTDET.range_type = 'Bill To'
         THEN
         SET_ITEM_PROPERTY(:RHCCUSTDET.range_from,LOV_NAME,'BILL_FROM_LOV');
    ELSE     
         SET_ITEM_PROPERTY(:RHCCUSTDET.range_from,LOV_NAME,'DELIVERY_FROM_LOV');
    END IF;
    END;     Btw,my form builder version is 10.1.2.0.2
    Any help is appreciated,
    Thanks in advance!!
    Edited by: sandy on Jan 27, 2012 10:16 AM

    sandy wrote:
    Thanks for the reply.
    I do have some doubts with your explanation..Generally we keep a database item as a bind variable in Forms.But,here you are giving a single quote over here *'RHCCUSTDET.range_from'*It's not my opinion. It's from forms syntax. Here it is
    SET_ITEM_PROPERTY
      (item_name  VARCHAR2, property   NUMBER, value      VARCHAR2);So, what u'r putting for value field ? In a single quote or without ? Hope understand.. If you wish you can use Item_id in place of item_name data type of number.
    So,i have put the below code for two text items in when validate item trigger..but now i am getting error as unable to resolve reference RHCCUSTDET.customer_number.Some other reason. I don't see the RHCCUSTDET.customer_number in your code.
    The logic behind behind the dynamic LOV is..there are 6 list of values for a column Range Type..So,if one selects Bill to the corresponding details should pop up in range_from and range_to fieldsHere i have question. Does it comes from same sql ? just difference in where condition ?
    If yes. No need to create two different lov just create two record group(same sql, without where condition and with condition) and dynamically assign them to LOV.
    Hope you understand...
    If someone's response is helpful or correct, please mark it accordingly.

  • Unable to set node credentials for /LDAPv3/127.0.0.1 with record name n`.

    When starting Server Preferences, I receive a window with the following text:Unable to set node credentials for /LDAPv3/127.0.0.1 with record name n`. There may be an error with the Open Directory Service.
    This started to occur after I used the command changeip to change the ip of the service.
    I've tried (Re)starting Open Directory Service, but that doesn't resolve it.
    Does anyone know how I can resolve this error? I'd like to be able to user Server Preferences again!

    One of our servers (10.6.8)  that had been running for months suddenly started generating that error message when trying to access Server Preferences.  Workgroup Manager, which seems to use the same login information, accessed just fine. We tried deleting access information in Keychain, to no avail. What finally worked for US was:
    - Via Server Admin, (in Open Directory > Settings > General) change the Role: Open Directory from Master to Standalone
    - This (for us) then restored access to Server Prefs
    - Use Server Admin to change the Role back to Master
    Warnings - 1)  backup first  2) you will have to reinstall the master password, and  3) ALL accounts were lost and had to be recreated.

  • General doubt about devices and java applets

    I have one general doubt abt devices.
    Do all devices come with an SDK so that any language can interact with them?.
    Whats does it mean if i say that i need to build a CAB file for the devices
    and use them in my html object tag.
    Can programming languages like java(applets) or asp interact with devices
    once if we specify the classid and the cab file location(codebase)

    Let me make it more clear
    What i need is if we r using an ActiveX Component then we pack the .ocx and inf file into a cab file and give the location of the CAb file in the codebase attribute of object tag.
    When the browser renders the page, it will look into the classid attribute of object tag to see whether there is an entry in registry if not it will go to the location specified in the codebase and get it registered locally.
    As you know ActiveX works on windows.
    I want to implement the same thing in a platform independent way.
    So i chose java applets.
    Now i don't know what to do in this codebase part.
    i need to install the device driver files and all from the server once a person view the web page.
    when we use activex the classid field represents the device's entry but when we use applets thats the version of java being installed.
    Can any one suggest an idea to move.

  • Transporting General ledger master record to QA server-urgent

    Dear all,
    Can anyone say how to transport General ledger master record to QA server?
    I will award good points.
    Thanks in advance.
    Regards,
    Ar

    Hi
    Using TCODE : BD18
    Use the Message type GLCORE / GLMAST to upload
    you can transport the GL master data - - - this is through the ALE set up. ABAPer has to set up the ALE set up
    As a testing part before setting up the client you just try this in the sending server you will get created with IDoc for the above Messge type
    VVR

  • Error while saving dynamic row values of datagrid with record.

    hi friends,
    i am trying to add dynamic row in datagrid and save that value with record.i succeeded in first part while i am saving the record the error show like this.
    errro:Property fromAmount not found on com.ci.view.Task and there is no default value.
    how i resolve this error.
    any suggession welcom
    thanks in advance.
    B.venkatesan
    code:
    package:
    package com.ci.view
        [Bindable]
        public class Task
            public function Task(frmAmount:String,toAmount:String,commissionPercentage:String)
                this.frmAmount=frmAmount;
                this.toAmount=toAmount;
                this.commissionPercentage=commissionPercentage;
            public var frmAmount:String;
            public var toAmount:String;
            public var commissionPercentage:String;
    main mxml:
    [Bindable]
                private var tasks:ArrayCollection;
                private static const ADD_TASK:String= "";
                private function init():void
                    tasks = new ArrayCollection();
                    tasks.addItem(new Task("0","1000","0"));
                    tasks.addItem({frmAmount:ADD_TASK});
                private function checkEdit(e:DataGridEvent):void
                    // Do not allow editing of Add Task row except for
                    // "Click to Add" column
                    if(e.rowIndex == tasks.length - 1 && e.columnIndex != 0)
                        e.preventDefault();
                private function editEnd(e:DataGridEvent):void
                    // Adding a new task
                    if(e.rowIndex == tasks.length - 1)
                        var txtIn:TextInput =TextInput(e.currentTarget.itemEditorInstance);
                        var txtIn1:TextInput =TextInput(e.currentTarget.itemEditorInstance);
                        var txtIn2:TextInput =TextInput(e.currentTarget.itemEditorInstance);
                        var dt:Object = e.itemRenderer.data;
                        // Add new task
                        if((txtIn.text) != ADD_TASK)
                            var x:String=String(txtIn.text);
                            tasks.addItemAt(new Task("", "", ""), e.rowIndex);
                        // Destroy item editor
                        commPlanDetGrid.destroyItemEditor();
                        // Stop default behavior
                        e.preventDefault();

    Venktesan,
    You are trying compare String and int..! which is not possible try to case the txtIn.text to int using parseInt(txtIn.text).
    ORIGINAL:
    if(txtIn.text != ADD_TASK).---->error : Comparison between a value with static type String and a possibly unrelated type int
                        tasks.addItemAt(new Task(txtIn.text, 0, ""), e.rowIndex);----> error:Implicit coercion of a value of type String to an unrelated type int.
    EDITED:
    if(parseInt(txtIn.text) != ADD_TASK).---->error : Comparison between a value with static type String and a possibly unrelated type int
                        tasks.addItemAt(new Task(parseInt(txtIn.text), 0, ""), e.rowIndex);----> error:Implicit coercion of a value of type String to an unrelated type int.
    Thanks
    Pradeep

  • Doubt with creation of Model in the application Webdynpro Java

    Good Morning,
    I have the following doubts with the fields when i am creating a models in WebDynpro Java
    Model Package
    Source Fólder
    Default logical system name for model instances
    Default logical system name for RFC metadata
    Logical Dictionary
    Dictionary Type Package.
    Can Help me?
    Kind Regards

    Hi,
        Please check this link:
    [https://wiki.sdn.sap.com/wiki/display/WDJava/FAQ%20-%20Models%20-%20Adaptive%20Web%20Service]
    Thanks and Regards

  • Fill in form with records from a database

    hi using adobe live cycle desginer could some one guide me or tell me what to look for so i can:
    populate my pdf form with records from a ms access database
    my site is in asp
    thanks

    This [url http://forum.java.sun.com/thread.jsp?forum=57&thread=497641]thread should get you started.

  • Anybody generally familiar with laptop monitor sync ranges?

    After having been happy with arch linux on my desktop for almost 12 hours, I'm now configuring it for my laptop. I'm now working on my XFree86 configuration, and I've hit a snafu. I have no idea what the horizontal & vertical sync ranges ought to be. I never got any monitor documentation with my laptop, and the technical specifications provided by gateway (the manufacturer; not very OSS friendly hardware, and I wouldn't recommend it to anyone getting a new computer) (on the other hand, the boxes are very pretty) are a little bit lacking.
    Consequently, here is everything I can dig up. Is there anyone generally familiar with the kind of frequencies that modern laptop monitors can handle, who can give me a good idea of some values to use?
    We've got:
    15.0-inch active matrix (TFT) LCD color display
    Maximum panel resolution: 1024 × 768
    Maximum color depth: 32-bit (16.7 million colors)
    LCD supported video modes: XGA
    LCD maximum refresh rate: 60 Hz
    Thanks!

    my lcd-config looks like this:
    Section "Monitor"
    Option "CalcAlgorithm" "CheckDesktopGeometry"
    DisplaySize 305 230
    HorizSync 28-95
    Identifier "LCD"
    ModelName "FlexView 1600X1200"
    VendorName "IBM"
    VertRefresh 52-82
    # UseModes "Modes[0]"
    ModeLine "1600x1200/60Hz" 162 1600 1664 1856 2160 1200 1201 1204
    1250 +HSync +VSync
    Option "DPMS
    EndSection
    but the data i got from the manual, so it's not guessing but knowing
    you can try the refresh and sync rates i use  if nobody answers specific for your machine --- i know this settings work on 4 different lcd's for sure and never heard that they made trouble
    instead of the Modeline (i use), i suggest you to write modelines and then just include the Modes-section you wrote to the monitor section (the out-commented line i added)
    would be better you get other replys specific on your hardware - mine is more general, sorry

  • Help with recording measurement

    Hi all,
    I'm trying to take voltage/current/resistance measurements from a Keithely sourcemeter and plot them on charts. There's also the option to record the measurements upon pressing the "record" button, which then would prompt the user for a path name. After the 'record' button is pressed again, the file is saved and closed. During the entire process of openning file, recording, and closing the file, the measurements should be plotted onto the charts uninterrupted.
    I've used a state machine pattern, with the value of the 'record' button as input to decide the state transitions, used in a "select" gate. However, when I run the VI, the state transitions never happens, pausing the execution and probing the value of the button yields that its output stays the same regardless of the state of the button.
    I've set the operation of the button to "switch when pressed". 
    I know this is a common task, but I'm pretty stumped about how to fix this. The VI file is attached, any pointer is appreciated.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    read_current_save.vi ‏36 KB

    The typedef enum will solve the problem of the names.  Once all sources (controls or constants) connected to the state wire in every case and outside the loop are all copies of the same typedef, the names will return.
    What happened was that you changed one of the enums or created a new one.  It had a different data type.  Yes, it was still an enum and still produced a U16 integer, but because the items in it were different, it was considered a different data type.  When two different data types are connected to the wire going to the selector terminal, the case structure attempts to find the common "denominator", in this case a U16 integer, but not the enum.
    I converted the enum constant you had with "record" and other values to a type def and copied it several times.  When I replaced all the other state enums with that type def enum, the names came back.
    Lynn

  • Doubt with a Insert query!

    hi friends i have a doubt with a query in sql here is the following code.
    INSERT INTO
                         (SELECT employee_id, last_name,
                                      email, hire_date, job_id, salary,
                                      department_id
                           FROM employees
                          WHERE department_id = 50)
               VALUES (99999, 'Taylor', 'DTAYLOR',
                            TO_DATE('07-JUN-99', 'DD-MON-RR'),
                             'ST_CLERK', 5000, 50);The same insert statement can be achieved with
    INSERT INTO EMPLOYEES (employee_id, last_name,
                                      email, hire_date, job_id, salary,
                                      department_id)
                        VALUES (99999, 'Taylor', 'DTAYLOR',
                            TO_DATE('07-JUN-99', 'DD-MON-RR'),
                             'ST_CLERK', 5000, 50);What advantage does the first query have over the second one.
    Thanks in advance to everyone.
    Regards,
    Manoj

    Those two statements are identical.
    However this one would be different:
    INSERT INTO
      (SELECT employee_id, last_name,
            email, hire_date, job_id, salary,
            department_id
       FROM employees
       WHERE department_id = 50
       with check option )
    VALUES (99999, 'Taylor', 'DTAYLOR', TO_DATE('07-JUN-99', 'DD-MON-RR'), 'ST_CLERK', 5000, 50);The "WITH CHECK OPTION" would guarantee that only employees for department 50 are inserted.
    see also:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_10002.htm#i2066598
    Edited by: Sven W. on Mar 17, 2011 7:22 PM - typo correction

  • Issue with recorder

    hi all,
    i am encountering a strange issue.
    i m trying to post transaction FBRA (Reset cleared items). when i run the transaction normally, supplying the doc. no. , comp code and fiscal year...i click on save and a popup message comes up which asks to either only reset the documents or to reverse them as well...no issues so far...
    the issue however comes when i try and record this transaction....there is no pop up at all...?? why so??
    although i went in the code and found out the screen no. and okcode value to code my bdc but i would like to know why such sort of a thing would occur....as per my knowledge...this cannot be a limitation with recorder...or is it?
    any knowledge sharing will be appreciated...

    Is this popup to get some kind of Profile?
    I'm thinking that this is your problem,  I did a search in that program for SY-BINPT , this is a system value which is set to "X" when in Batch Input or BDC mode.  I think that this is why you are not getting your popup.
      IF NOT ls_message IS INITIAL
        <b>AND SY-BINPT = SPACE</b>.
        CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET'
             IMPORTING
                  e_s_display_profile = ls_display_profile.
        ls_display_profile-use_grid   = 'X'.
        CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'
          EXPORTING
            i_s_display_profile          = ls_display_profile
          EXCEPTIONS
            profile_inconsistent         = 1
            internal_error               = 2
            no_data_available            = 3
            no_authority                 = 4
            OTHERS                       = 5
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CALL FUNCTION 'BAL_LOG_REFRESH'
          EXPORTING
              i_log_handle = ls_handle.
      ENDIF.
    Regards,
    Rich Heilman

  • Record for spouse overlaps with record for domestic partner

    Hi Experts
    When we are creating Spouse record we are getting following error in portal.
    "Record for spouse overlaps with record for domestic partner"
    I have deleted the Plans for Domestic Partner and I have deleted the Domestic Partner from Portal and after that I am trying to create the spouse. I could able to create spouse in BACK END system (HCM) after I deleted  the Domestic Partner from portal. But I can't able to create Domestic Partner from the Portal.
    If I delete DP instead of Delimit from the backend I could able to create the Spouse from portal. But If I Delimit I can't create the record from Portal.
    Could you please suggest us.
    Thanks
    Sowmya

    You cant overlap these records you need to use differnt subtype

  • SQLJ calling PL/SQL with records and tables as parameters

    Has anyone used sqlj to to call procedures with records and
    tables as IN, OUT, or INOUT as parameters? If so how do you
    assign values to the IN parameter in the record/tables, and get
    values out of the record/table when it is passed back? Might
    anyone have any syntax?
    null

    One thing I forgot to mention: If you're an 8i client, then in
    8.1.6 you'll be able to use JPublisher to solve this problem,
    since it'll generate these wrappers for you.
    Pierre
    Oracle Product Development Team wrote:
    : Hi,
    : The key issue is that no part of Oracle code except PL/SQL is
    : aware of the PL/SQL Record types and PL/SQL "index-by" table
    : types.
    : So the only way to call a PL/SQL procedure with args of a
    RECORD
    : or "index-by" table types is from another PL/SQL routine.
    : In most cases, it's possible to work-around this by wrappering
    : your PL/SQL method with another which doesn't have this issue.
    : For example, if you're trying to call procedure proc01 in:
    : package pack01 is
    : type rec01 is record(n1 number, d1 date);
    : procedure proc01 (r rec01);
    : end;
    : you can create a wrapper method:
    : package pack01_wrapper is
    : procedure proc01_wrapper (n1 number, d1 date);
    : end;
    : package body pack01_wrapper is
    : procedure proc01_wrapper (n1 number, d1 date) is
    : r pack01.rec01;
    : begin
    : r.n1 := n1;
    : r.d1 := d1;
    : pack01.proc01;
    : end;
    : end;
    : If you're a 7.3 client, that's about all you can do. The Fix
    was
    : introduced in 8.0, where new structured types (ADT's) and new
    : table types (VARRAY's and Nested tables) were introduced. So
    if
    : you're an 8.0 client, your 'wrapper' package could use an ADT
    : which has the same attributes as the record, rather than
    : 'exploding' the record into its individual components as I
    showed
    : above.
    : Hope this helps!
    : Pierre
    : Thomas Richardson (guest) wrote:
    : : Has anyone used sqlj to to call procedures with records and
    : : tables as IN, OUT, or INOUT as parameters? If so how do you
    : : assign values to the IN parameter in the record/tables, and
    get
    : : values out of the record/table when it is passed back? Might
    : : anyone have any syntax?
    : Oracle Technology Network
    : http://technet.oracle.com
    Oracle Technology Network
    http://technet.oracle.com
    null

Maybe you are looking for

  • Mac Book Pro 15" inch late 2011 airdrop not showing up

    Hi everyone, I hope someone can help me... I have recently bought a late 2011 mbp 15" I was trying to use airdrop, but I'd didn't appeared on the sidebar and nor in the finder preferences. Please help me !! Thanks...

  • Print too small to read from printer with Page shrink on 30%

    When printing some emails on Xerox 7225 the print is too small to read even with page shrink on 30%. latest email is from an AOL account and header lines do wrap. This problem is new.

  • Is it possible to add additional fonts when creating an iPhoto book?

    Is it possible to add additional fonts when creating an iPhoto book? I have some additional fonts that would add a lot to the overall appearance of my i Photo book but cannot find a method for installing them into iPhoto. Thanks for your assistance.

  • Map R/3 contact person address to CRM contact person address

    Hi, Does anyone know how to enhance the middleware so that the business address of contact person in R/3 can be mapped/downloaded to the BP standard address (shown up in BP transaction) in CRM ? The business address of the contact person in R/3 is cu

  • BPS layout - Error SOFFICEINTEGRATION143

    Hi friends... I'm trying to open a BPS layout and it gives me the SOFFICEINTEGRATION143 error.. The message is "Error while openning document"... I have microsoft office professional 2003 and 640 Final Release Patch 29 Version 6405.5.29.1035 Does any