BAPI BAPI_GOODSMVT_CREATE import parameter problem

Hi All,
I am using BAPI BAPI_GOODSMVT_CREATE in function module ZQM06_FM_TASK_GOODS_MOVEMENT which is z copy of FM QM06_FM_TASK_GOODS_MOVEMENT. The FM get used in transaction IW52 i.e. Change Notification
Now my query is the BAPI contain import parameter as GOODSMVT_CODE (Assign Code to Transaction for Goods Movement) and i don't know which value to pass to it.
Could you please help me out?
Thanks & Regards,
Parag

Hi,
check the data element GM_CODE documentation for your requirement.
Regards,
Boobalan S

Similar Messages

  • BAPI/FM Import Parameter Error.

    Greetings all,
    Could anyone please advice me, I'm getting syntax error on FM Import parameter.
    please advice and thanks in advance.
    ========================================================================
    TYPES:  ty_header TYPE zapo_gr_header.
    DATA:   ty_item  TYPE zapo_gr_item.
    DATA: t_header TYPE STANDARD TABLE OF ty_header,
          t_item   LIKE STANDARD TABLE OF ty_item,
      PERFORM goodsmvt_post TABLES  t_header
                                    t_item.
    FORM goodsmvt_post  TABLES   P_T_HEADER STRUCTURE zapo_gr_header
                                 P_T_ITEM   STRUCTURE zapo_gr_item.
      CALL FUNCTION 'Z_APO_BAPI_GR_POST'
        EXPORTING
          I_GR_HEADER = P_T_HEADER
          I_GR_ITEM   = P_T_ITEM
        TABLES
          RETURN      = gt_gr_out.
    ENDFORM.                 
    FUNCTION Z_APO_BAPI_GR_POST.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(I_GR_HEADER) TYPE  ZAPO_GR_HEADER
    *"     VALUE(I_GR_ITEM) TYPE  ZAPO_GR_ITEM
      LOOP AT I_GR_HEADER INTO wa_header.
      ENDLOOP.
    **SYNTAX ERROR:****
    ****Function Module Z_APO_BAPI_GR_POST****
    ****"I_GR_HEADER" is neither specified under "TABLES" nor defined as an****
    ****internal table.*========================================================================*

    There may be two causes which u need to check.
    1)  First check that u need to pass the structure to the I_GR_HEADER  parameter
    and it is not table.
    2)  If you are passing the structure correctly,  the problem is with the type specification
    FORM goodsmvt_post  TABLES   P_T_HEADER STRUCTURE zapo_gr_header
    It should not be table.
    Check that.
    Venkat

  • Importing BAPI with Import parameter Type Structure

    Hi All,
    I am importing BAPI as shown below:
    FUNCTION ZTEST_BAPIOC.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(A1) TYPE  ZLEVEL1 OPTIONAL
    *"  EXPORTING
    *"     VALUE(M1) TYPE  CHAR10
    Where ZLEVEL1 is Structure which contains many appended structures.
    ZLEVEL1  (SAP SE11 Structure)
    -ZLEVEL2A
    -ZLEVEL2B
    ZLEVEL2A   (SAP SE11 Structure)
    -ZLEVEL3A
    ZLEVEL2B   (SAP SE11 Structure)
    -FIELD1
    -FIELD2
    ZLEVEL3A   (SAP SE11 Structure)
    -FIELD3
    -FIELD4
    But after importing BAPI in XI I can see only A1 as follows :
    Structure--Category---Type
    ZTEST_BAPIOC------Element   
    A1--Element----ZLEVEL1
    For mapping to target I need whole structure on BAPI & ZLEVEL1.
    <b>Please help how to Import Or Design Strucure of BAPI with Import parameters Type as Structures?</b>
    Thanks & Regards

    Hi,
    Thanks for Reply.
    Actually User ID  I used for importing BAPI having some missing authorization.
    After getting Authorization I can see full structure of BAPI in XI.
    Thanks & Regards

  • Problem with retrieving a value from the import parameter of a method

    Hi Friends,
    I have a problem accessing the field.
    I have a import paramter in the method of my Z class. The import paramter is of type ANY.
    In my method I get the value of this import paramter as
    . In this I have a field Catalog Id which is a z field.
    How should I retrieve the value of this catalog Id from this importing parameter?
    Regards,
    Raju

    Hi Friends
    Can anyone tell me whether this is a structure or a Class refernce, so that I can access the field in that.
    Regards,
    Raju

  • Problem using BAPI--BAPI_GOODSMVT_CREATE

    Hi Gurus,
    I am trying to use the BAPI--BAPI_GOODSMVT_CREATE for performing goods reciepts but it is giving the Error "No stock posting possible for this material", When i try to use the MIGO for the same the posting is done. Can any one please suggest me what is the problem with the BAPI and how to correct it?
    Thanks in advance
    Anoop

    Hi Jurgen,
    I have done that still it is giving the same error, any other suggestions??
    Regards
    Anoop

  • Problem with import parameter

    Our GetDetail function has an import parameter that we need to use to filter the returned dataset.  The parameter, MTRANTY, shows up correctly in the "Import" section of our GetDetail in the Mapping Screen of merep_sbuilder.  What I am not seeing is any reference to MTRANTY in the generated meRepMeta.xml file.  In the "Import" section of the mapping screen is does show "Link to Key Field of TOP: MTRANTY" in the Mapping Description.
    When I bring up the filtering criteria of our syncbo it shows another field, CUSTOMER, as "Filter Field 1", but I can't seem to be able to change it to MTRANTY as I think it should be.
    So, my question is, do the filter field and the import parameter have any connection?  Is there something else I need to do to make MTRANTY available in the meRepMeta.xml definition?  Or do I just set the key field of TOP (SYNC_KEY from the xml file) to my desired value and perform the synchronization?
    On a related note, in the xml file on the "SyncBO id" line, the parameter "reqDirectSync" is set to false.  Will this prevent me from initiating a synchronization using SyncManager.synchronizeWithBackend()?
    Thanks,
    Adam

    Hi Adam,
    The main thing here are ,
    <u>1)Metadata definition (XML file: Client view of SyncBO)</u>
    (meRepMeta.xml )
    The data structure used for the data exchange between  the mobile clients and the MI Server Component can be specified by defining the metadata for the SyncBO.
    This XML document will be used by the MI JAVA APIs to access and manipulate the local SyncBO data downloaded from Smart Synchronization.
    <b>A client application developer typically looks into the generated XML document for implementing the data access layer of a client application.</b>
    <u>2)Default value setting</u>
    It might not be necessary to expose some fields to the clients; how ever, the fields can be mandatory fields when the BAPI wrappers are called (mainly in create and change functions). In such cases, the field can be set as “default“ and its default value can be assigned. <b>The default values also need to be assigned for the selection criteria parameter(s) of the GetList BAPI
    wrapper function, which is used to pre-filter data being stored in the replica database.</b>
    <u>3)Filter setting</u>
    <b>To reduce the number of records on client devices, for example, to avoid downloading unnecessary data, the data filtering function can be used to filter the <b>data downloaded from the replica database</b></b>.
    Filtering is possible on these levels:
    a)At SyncBO level
    b)At Mobile ID level
    c) Mobile group Level.
        During synchronization,
    associated with each sync bo ...
    Getlist populate the Header Instances.
    --  for each Header instance getdetail is executed.
      so in the importing mapping part ,
    the mapped fields are only necessary for the  server at runtime.(here u can create value ids corresponding to each importing parameter and set values .)
    if u want to filter the header instances by means of user who is syncing .. then u ca directly give the default value of Value ID as ME-SYNC_USER against ur importing parameter.
    [In the client  we need only the header details and item details only].
       The relation bw  filtering of ITEM (Getdetail) is maintained  through the key fields in the ImportParam of Getdetail.(which are internally linked through the Header populated in Getlist ..)
    (Key fields of Getlist  is a subset of fields in the Header Structure).
    <<So, my question is, do the filter field and the import parameter have any connection? >>
    As i mentioned above  ,  Getlist is executed using the import params , and the replica BD is populated with the output from  getList. <b>Filters filter data from Replica DB to the Client  Device...</b>
                                   Regards
                                   Kishor Gopinathan

  • Problem in passing import parameter to SAP Widget

    Dear experts,
    I have a widget which shows me important information by passing date as a parameter
    on eclipse plugin.
    I am able to see data only if i give date as YYYYMMDD as standard SAP format.
    I want to pass sysdate in this way ,what should i write.
    Controller.showMain_View({"INPUT_DATE":               });
    If input_Date is import parameter then how should i pass the value. ?
    Thanx in advance.

    hi,
    First check whether you have any predefined functions in the widget library..else create a java script and call it in your widget...
    you can use this  Java script code and modify the output according to your usage using string functions:
    use date function to get the system date...
    also include the js file in your .kon file...
    thanks
    jaideep srinivasan

  • Problem with BAPI "BAPI_GOODSMVT_CREATE"

    Hi experts,
    I am using BAPI "BAPI_GOODSMVT_CREATE" for posting goods issue document. I am Providing following fields in the BAPI(According as in my system) :
    *GOODSMVTHEADER*_
            PSTNG_DATE                     27.02.2008
    *GOODSMVTCODE*_
            GM_CODE                        03
    and in tables:
    *GOODSMVTITEM*_
               MATERIAL                       PM-001
               PLANT                             0001
               STGE_LOC                      0001
               MOVE_TYPE                   261
               ENTRY_QNT                    9,000
               ENTRY_UOM_ISO            EA
               RESERV_NO                   0000000026
               RES_ITEM                       0003
    But when i check through transaction "mmbe" it seems BAPI is not working. However there is no return message in BAPI. What could be the error. please help.
    Thanks and Regards,
    Vaibhav Tiwari.

    Hi Vaibhav,
    Running a function module from SE37 is called test run. And a BAPI absolutely needs a COMMIT WORK after it runs because one of the fundamental rules of a BAPI is that there is no COMMIT done internally.
    And to write the changes to database, you need a commit work,
    Hence unfortunately you will have to call the function module BAPI_TRANSACTION_COMMIT.
    Ok, to try it out, you can call BAPI_TRANSACTION_COMMIT immediately after the goods movement BAPI by:
    Go to SE37 -> Shift + F8 -> Enter the two function modules in sequence (first goods movement then commit FM)
    Then run and check.
    Cheers
    Edited by: Aditya Laud on Feb 28, 2008 5:18 AM

  • Goods issue using bapi  BAPI_GOODSMVT_CREATE getting error E M7

    HI  consultants,
    While  posting goods issue using bapi BAPI_GOODSMVT_CREATE . Running the batch job(zprogram) to post the goods issue . The goods issue is been posted by passing  goods receipt data's.
    while processing 3 goods receipt , 2 works fine one goods receipt getting  E M 7 300 NO ITEMS ARE TRANSFERED error.
    when i  processing one by one all the 3 goods receipt is working fine and process sucessfully. While processing in bulk ,i am getting this issue.
    If anybody faces this same problem or knows the solution .Please post the answer.
    The way i am passing the parameter to bapi given bellow.
        WA_GOODSMVT_CODE-GM_CODE = C_03.
    *--populate header data
        WA_GOODSMVT_HEADER-DOC_DATE   = WA_MKPF-BLDAT.
        WA_GOODSMVT_HEADER-PSTNG_DATE = WA_MKPF-BUDAT.
    *--populate item data      
    *-- call the bapi for posting goods issue
                 IT_GOODSMVT_ITEM-NETWORK     = WA_RESBP-AUFNR.
                IT_GOODSMVT_ITEM-RESERV_NO   = WA_RESBP-RSNUM.
                IT_GOODSMVT_ITEM-RES_ITEM    = WA_RESBP-RSPOS.
                IT_GOODSMVT_ITEM-ACTIVITY    = WA_RESBP-VORNR.
                IT_GOODSMVT_ITEM-MOVE_TYPE   = C_281.
                IT_GOODSMVT_ITEM-ENTRY_QNT   = WA_RESBP-NET.
    *--get the item details
                  IT_GOODSMVT_ITEM-MATERIAL   = WA_MSEG-MATNR.
                  IT_GOODSMVT_ITEM-PLANT      = WA_MSEG-WERKS.
                  IT_GOODSMVT_ITEM-STGE_LOC   = WA_MSEG-LGORT.
                  IT_GOODSMVT_ITEM-ENTRY_UOM  = WA_MSEG-ERFME.
                  CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT'
                    EXPORTING
                      INPUT  = WA_MSEG-PS_PSP_PNR
                    IMPORTING
                      OUTPUT = WA_PSPHI_TEMP.
                  IT_GOODSMVT_ITEM-WBS_ELEM   = WA_PSPHI_TEMP.
                  APPEND IT_GOODSMVT_ITEM.  
                CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
                  EXPORTING
                    GOODSMVT_HEADER  = WA_GOODSMVT_HEADER
                    GOODSMVT_CODE    = WA_GOODSMVT_CODE
                  IMPORTING
                    MATERIALDOCUMENT = WA_MATERIALDOCUMENT
                  TABLES
                    GOODSMVT_ITEM    = IT_GOODSMVT_ITEM
                    RETURN           = IT_RETURN.
    With Regards,
    Ambrose Mohandoss.

    Problem solved.

  • How to post Excise Invoice in GR using BAPI BAPI_GOODSMVT_CREATE ?

    Hi,
    I want to post Goods Receipt job (MB01) through BAPI 'BAPI_GOODSMVT_CREATE'.
    But is there any parameter to post 'Excise Information' through (this/any) BAPI ?
    Pls...... answer me soon.
    thanks by advance.

    SEE THE FOLLOWING EXAMPLE
    report zbapi_goodsmovement.
    parameters: p-file like rlgrap-filename default
                                     'c:\sapdata\TEST.txt'.
    parameters: e-file like rlgrap-filename default
                                     'c:\sapdata\gdsmvterror.txt'.
    parameters: xpost like sy-datum default sy-datum.
    data: begin of gmhead.
            include structure bapi2017_gm_head_01.
    data: end of gmhead.
    data: begin of gmcode.
            include structure bapi2017_gm_code.
    data: end of gmcode.
    data: begin of mthead.
            include structure bapi2017_gm_head_ret.
    data: end of mthead.
    data: begin of itab occurs 100.
            include structure bapi2017_gm_item_create.
    data: end of itab.
    data: begin of errmsg occurs 10.
            include structure bapiret2.
    data: end of errmsg.
    data: wmenge like iseg-menge,
          errflag.
    data: begin of pcitab occurs 100,
            ext_doc(10),           "External Document Number
            mvt_type(3),           "Movement Type
            doc_date(8),           "Document Date
            post_date(8),          "Posting Date
            plant(4),              "Plant
            material(18),          "Material Number
            qty(13),               "Quantity
            recv_loc(4),           "Receiving Location
            issue_loc(4),          "Issuing Location
            pur_doc(10),           "Purchase Document No
            po_item(3),            "Purchase Document Item No
            del_no(10),            "Delivery Purchase Order Number
            del_item(3),           "Delivery Item
            prod_doc(10),          "Production Document No
            scrap_reason(10),      "Scrap Reason
            upd_sta(1),            "Update Status
          end of pcitab.
    call function 'WS_UPLOAD'
      exporting
        filename                      = p-file
        filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = pcitab
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      OTHERS                        = 6
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      exit.
    endif.
    gmhead-pstng_date = sy-datum.
    gmhead-doc_date = sy-datum.
    gmhead-pr_uname = sy-uname.
    gmcode-gm_code = '01'.   "01 - MB01 - Goods Receipts for Purchase Order
    loop at pcitab.
      itab-move_type  = pcitab-mvt_type.
      itab-mvt_ind    = 'B'.
      itab-plant      = pcitab-plant.
      itab-material   = pcitab-material.
      itab-entry_qnt  = pcitab-qty.
      itab-move_stloc = pcitab-recv_loc.
      itab-stge_loc   = pcitab-issue_loc.
      itab-po_number  = pcitab-pur_doc.
      itab-po_item    = pcitab-po_item.
      concatenate pcitab-del_no pcitab-del_item into itab-item_text.
      itab-move_reas  = pcitab-scrap_reason.
      append itab.
    endloop.
    loop at itab.
      write:/ itab-material, itab-plant, itab-stge_loc,
              itab-move_type, itab-entry_qnt, itab-entry_uom,
              itab-entry_uom_iso, itab-po_number, itab-po_item,
                                                  pcitab-ext_doc.
    endloop.
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
      TESTRUN                     = ' '
    IMPORTING
        goodsmvt_headret            = mthead
      MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
        return                      = errmsg
    clear errflag.
    loop at errmsg.
      if errmsg-type eq 'E'.
        write:/'Error in function', errmsg-message.
        errflag = 'X'.
      else.
        write:/ errmsg-message.
      endif.
    endloop.
    if errflag is initial.
      commit work and wait.
      if sy-subrc ne 0.
        write:/ 'Error in updating'.
        exit.
      else.
        write:/ mthead-mat_doc, mthead-doc_year.
        perform upd_sta.
      endif.
    endif.
          FORM UPD_STA                                                  *
    form upd_sta.
      loop at pcitab.
        pcitab-upd_sta = 'X'.
        modify pcitab.
      endloop.
      call function 'WS_DOWNLOAD'
        exporting
          filename                      = p-file
          filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
        tables
          data_tab                      = pcitab
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      OTHERS                        = 6
    ENDFORM.

  • Usage of Import parameter DUE_DATE of BAPI_OUTB_DELIVERY_CREATE_SLS

    Hello experts,
    Can I ask how one of the import parameter "DUE_DATE" works?
    Documentation on BAPI says that:
       Delivery creation date (DUE_DATE)
       The delivery creation date selected is December 12 9999, unless specified otherwise.
    However, it does not change any date within LIKP - for example, LIKP-BLDAT.
    I searched around some more and wonder if it is used as selection parameter to create deliveries.
    Then I tested by creating sales order where delivery date is today (quantity is confiemed on today's date) and tried the BAPI again with some patterns.
    If I input the sales order for SALES_ORDER_ITEMS-REF_DOC, delivery is created anyway regardless the date in DUE_DATE.
    Then I deleted SALES_ORDER_ITEMS-REF_DOC, and tried with DUE_DATE only - past date, today's date, and future date.
    But delivery was not created in all the case.
    My assumptionwas sales order is picked and delivery is created if DUE_DATE is today or so even though SALES_ORDER_ITEMS-REF_DOC is not filled.
    So I'm confused
    Do any of you know how this parameter is used?
    Thank you very much and best regards,
    Midori

    Hi Sampath,
    I tried both the FM's and couldn't work, I was looking all the user exits and BADI's(there were some posts in SDN with all user exits and BAID's ) and non seems to be talking about this problem. Could you please suggest me if you know something?
    I tried in service market place and couldn't find any notes also.
    and one more question you have written i should try IMPLICTLEY for User exit. could you please tell me what does this mean?
    Thanks
    SB

  • Optional import parameter in abap webservice

    I am using ECC 6.40. I have generated a webservice for a function module. In this function module i have an import parameter refering to a structure defined in data dictionary (SE11).
    The import parameter is optional. I see this in the virtual interface of the webservice. But i would also like to make each field of the structure optional. Goal is that the WSDL will have nillable fields or minoccurs = 0.
    What i would like to have is like the wsdl from the bapi BAPI_CUSTOMER_CREATEFROMDATA1
    <xsd:element name="PI_COMPANYDATA" minOccurs="0" type="s0:BAPIKNA106" />
    - <xsd:complexType name="BAPIKNA106">
    - <xsd:sequence>
    - <xsd:element name="TITLE" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="30" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="TITLE_KEY" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="4" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    In my case i get for the my defined structure ZcvClientfilterRec:
    <xsd:element name="FilterLow" minOccurs="0" type="tns:ZcvClientfilterRec" />
    - <xsd:complexType name="ZcvClientfilterRec">
    - <xsd:sequence>
      <xsd:element name="Clientno" type="n0:char10" />
      <xsd:element name="Clientgroup" type="n0:char2" />
      <xsd:element name="Clientstatus" type="n0:char3" />
    Can anyone help me with this or tell my how i can generate the wsdl so it looks like the standard bapi

    Hi everyone,
    Just faced the same problem, and while it's almost 2013, SAP doesn't have a solution for this problem, as stated in note 1341947.
    Cheers, Fred

  • Field to MIGO cert.enclosed in the BAPI BAPI_GOODSMVT_CREATE

    Hi All,
    I am doing Good Receipt for Purchase Order.
    In MIGO we have Cert.enclosed (Quality) value Yes or No.
    I want to insert the Cert.enclosed (Quality) using BAPI BAPI_GOODSMVT_CREATE.
    Please let me know which field in BAPI_GOODSMVT_CREATE, I can insert the Cert.enclosed (Quality) value.
    Thanks in Advance.
    Debopriya G

    Please take a look at SAP KBA- 0001718791. Kindly mark if helpful.
    SAP Knowledge Base Article
    Symptom
    There is no import parameter in BAPI_GOODSMVT_CREATE that you can use to confirm the QM certificate.
    Environment
    SAP Release Independent
    Reproducing the Issue
    1. In T-code SE37, execute the function module BAPI_GOODSMVT_CREATE
    2. In the import tab and tables tab, check all the parameters, there is no place to enter the QM certificate (COA)
    Cause
    Missing functionality in BAPI_GOODSMVT_CREATE
    Resolution
    Please use BDC (batch input) for MB** transactions (MB01, MB0A, MB1A, MB1B, MB1C, etc.) instead.
    Keywords
    QCERT_MIGO-ANSWER, QBCK_QM_GR_CHECK
    Header Data
    Product
    This document is not restricted to a product or product version
    References
    This document refers to:
    CSS SAP Notes
    1718791 - Certificate of Analysis (COA) in BAPI_GOODSMVT_CREATE
    Version 1 Validity: 05/15/2012 - active Language English
    Released On 02/12/2013 02:32:24
    Release Status Released to Customer
    Component MM-IM-GF-BAPI BAPIs for Goods Movements
    QM-CA Quality Certificates
    Priority Normal
    Category How To
    304122 MIGO: Batch input and CATT not supported
    Other Components

  • BAPI BAPI_GOODSMVT_CREATE for Transaction MB01

    Hi All,
    I am using BAPI BAPI_GOODSMVT_CREATE for transaction MB01.
    I have one problem while passing the value in BAPI.
    Goods receipts for Schedule Agreements are not allow for delivery schedule lines with delivery date in the future.
    Manual turn around for transaction MB01 is to check field "Suggest Zero Lines" from main selection screen:
    I am not able to get the field name in BAPI for filling the value for check field "Suggest Zero Lines".
    Kindly help me to find out the field name.
    Thanks in advance.
    Piyush Mathur

    data flag(1) value 'X'.
    set parameter ID 'NUL' field flag.
    u can set the parameter 'Suggest zero lines' as 'X' by default and then call ur bapi..see if tht field is X now or not?
    otherwise it can be possible tht u r not using the correct BAPI
    amit

  • JCA: how to find out that import parameter is structure?

    Hello,
    I'm using JCA to obtain import parameter of some function (com.sapportals.connector.metadata.functions.IParameter). Now, I'd like to switch program flow depend on kind of this import parameter (scalar, structure, table). Especially, I'm interested in finding out that import parameter is structure. In API I was only locate getStructure() method in IParameter. I tried to compare with null value, but it didn't solve my problem.
    Best Regards,
    Josef Motl

    I have come along this post so many times that now that I have solved it myself I will have to reply to it, even after 5 years.
    MappedRecord output = (MappedRecord) ix.execute(ixspec, input);
    //Now we want to read the output.
    //If we deal with a structure, we get an IRecord Object
    IRecord addressStructure = (IRecord) output.get("ADDRESS");
    //Otherwise we would get an IRecordSet Object (Field)
    I hope it will help all those searching as well.
    BR
    Sigi

Maybe you are looking for