Field is not populating in BDC from Table Control value????

Hi Experts,
After adding a new Quantity (MY_QUANTITY) field to the existing Table control, I populated the data from SAP into it.
Now, the user will change (if he wants) its value, then he clicks the Push Button by expecting the posting of the Document i.e.in other words. the Control encounters the statement of MY_FORM_CREATE_ABAVN_VIA_BDC in my Prog.
But, MY_QUANTITY (changed, even not changed too) value/s is not passing in to my BDC_DATA table/code?
I am doing BDC for ABAVN transaction and wanting the Quantity filed of ''Partial Retirement'' tab to b populated in BDC. So, I am using as,
SAPLAMDP--Screen 100--Field as ANLA-MENGE (its a Subscreen/Tabs of SAP Screen)
So,
1) Problem is with my BDC code?
2) or, ''SAPLAMDP--Screen 100--Field as ANLA-MENGE'' is this wrong?
3) or else any other?
Message was edited by:
        Sridhar
Message was edited by:
        Sridhar
Message was edited by:
        Sridhar

Hai sridhar,
The problem is within the BDC  Code.
Because For the effect of adding the field there is no correspong change in bdc is done.So record one more time use the latest one(After adding the field)
Hope this helps you.
Regds,
Rama.Pammi

Similar Messages

  • Bulk GR posting through BDC from table control - Multiple GRs posted

    Hi all,
    I have a GR interface which is actually a module pool screen containing a table control.Where i give the users an option to select multiple rows and click on a button called 'POST' and i use the contents of the ITAB connected to the table control to fire a BDC on 'POST'' s click.i use a field gate entry no as the primary key and controller of operations in my app.
    Now, The issue i am facing is that once in 500 entries that the user posts. there is a case of multiple GR's being posted in the system.cud not trace it why is it happening.
    Can any one help me out on this.
    Eagerly Waiting,
    Sachin Soni

    any one.please let me knw if i am unclear anywhr

  • Field WTGBTR not contained in nametab for table CE1E_B1 / Message no. KE543

    Hello,
    In a new sandbox, when I'm trying to maintain values for user defined characteristics using KES1, it says it cannot find the maintenance dialog for the table T20XXX.
    Accordingly I executed the program - RKEAGENV to regenerate views for all user defined characteristics, but while doing same, I'm getting the below error, and it comes out.
    Field WTGBTR not contained in nametab for table CE1E_B1
    Message no. KE543
    I have no reference to that field either in COPA data structure.
    I have re-generated/re-activated COPA and executed RKEAGENF and also tried executing RKEREOFC. But still with permuations all these, the error persists.
    May you please help
    Thanks
    Balla

    Hi,
      If you get error msg KE543 i.e 'Field ... not contained in nametab for  table CE1E_B1' then (even if you don't use E_B1)
    Run report RKEAGENF for banking template operating concern E_B1.
    The selection fill up as follows:
    Operating concern: "E_B1"
    Structure: leave blank
    Type of CO-PA: "1"
    Refill? :  "X".
    Then a run of report RKEAGENV should proceed successfully.
    regards
    Waman

  • Field WTGBTR not contained in nametab for table CE1E_B1 / Message no. KE54

    Hello,
    In a new sandbox, when I'm trying to maintain values for user defined characteristics using KES1, it says it cannot find the maintenance dialog for the table T20XXX.
    Accordingly I executed the program - RKEAGENV to regenerate views for all user defined characteristics, but while doing same, I'm getting the below error, and it comes out.
    Field WTGBTR not contained in nametab for table CE1E_B1
    Message no. KE543
    I have no reference to that field either in COPA data structure.
    I have re-generated/re-activated COPA and executed RKEAGENF and also tried executing RKEREOFC. But still with permuations all these, the error persists.
    May you please help
    Thanks
    Balla

    Hello,
    You try follow the instructions in SAP note 872175 and apply solution of the SAP note
    942785 in order to successfully run program RKEAGENV i.e run the program
    RKEAGENV in the debug mode and set the parameter no_jb to 'X'.
    It is not enough to just apply the coding corrections in the notes.
    You also need to follow the instructions mentioned in both the notes.
    1. Activate and Execute report ZJBREOFC
    2. Run report RKEAGENF for banking template operating concern E_B1.
       The selection fill up as follows:
         Operating concern: "E_B1"
         Structure: leave blank
         Type of CO-PA: "1"
         Refill :  "X".
    Then a run of report RKEAGENV should proceed successfully.
    Regards,

  • Deleting the values from table control

    HI,
    I need to remove the selected line from the Table control on my screen.
    The point is that the Internal table does not have any records,.
    for example in the Customer Create screen,
    while entering the bank details we will enter it in a tbale contraol.
    but the records doesnt exist in the database. but the record gets deleted from the table control only if we press delete button.
    please guide me.
    please note : I want to delete the record from Table Control on the screen and I dont have any corresponding database records..
    regards

    Hi..
    The solution to your problem - deleting values from table control.
    Here: it_wizard is the internal table which is holding the value of table control.
             wa_wizard is the work are of the internal table it_wizard.
             it_delete is the internal table which holds the deleted record of table control.
             wa_delete is the work area of the internal table it_delete
    Also here the field ZSEL is the character field which is used to select the entire record in the table control.
    LOOP AT it_wizard into wa_wizard WHERE zsel = 'X'.
           MOVE-CORRESPONDING wa_wizard TO wa_delete.
           APPEND wa_delete TO it_delete.
           delete table it_wizard from wa_wizard.
    DELETE  FROM zfin_goods WHERE ZFG = WA_delete-ZFG.
    ENDLOOP
    if sy-subrc eq 0.
    Message 'Delete Successful' type 'S'.
    endif.
    The above code will delete the record from both the table control.internal table and the database table.
    I think this will help you to great extent.
    Ward regards,
    Bhuvaneswari
    Edited by: BHUVANESWARI THIRUNAVUKKARASU on Jan 7, 2009 10:39 AM

  • Remove vertical scroll bar from table control

    hi,
    i had used table control in my application. i want remove vertical scroll bar from table control.
    At initial time in table control there is no vertical scroll bar. In my table control lines are dependent on internal table which i was used to fill it.
    i was used these code for to set table control lines.
    DESCRIBE TABLE IT_RISK_ZINRISEXC LINES EXC_LINE.
    TC_RISK_EX-LINES =   EXC_LINE .
    Initially there is no data in internal table so there is no vertical scroll bar. After getting value i am filling internal table. and there is scroll bar in my table control. but i does not want that.
    i was not selected RESIZING-VERTICAL OR -HORIZONTAL.

    Hi,
    From Scroll Bars in Table Control
    You can remove the scroll bar in the table control by switching off horizontal and vertical scrolling in the properties of the table control. The properties can be accessed from the screen painter by double clicking on the table control. Regarding the page up and page down functions, I believe you add those buttons in the screen layout and code for them. You can use the standard function code for the page up and page down functions.
    or
    You can get rid of the vertical scroll bars by not setting table control lines. This way the user can only see the visible lines of the table control. As for the horizontal scrollbar, just make sure that your table control doesn't contain too many fields.
    Regards,
    Raj.

  • Sample pgm for moving data from table control to internal table

    Hi Experts,
          I am newbi to ABAP. I don't have good material for Table control . Appreciate if you direct me to some good source of knowledge on Table control.
    The problem at hand : I am trying to move info/data from table control (in screen painter/ input and output mode ) to ITAB but couldn't . Sample pgm if possible.
    <b>Modify ITAB index TC-Current_Line .</b>
    The above statement is not inserting new lines to ITAB . Help me!
    Thanks for your time

    hi,
    do like this...
    <b>PROCESS AFTER INPUT.</b>
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'TAB1'
      LOOP AT itab_det.
        CHAIN.
         FIELD itab_det-comp_code.
          FIELD itab_det-bill_no.
          FIELD itab_det-bill_date.
          FIELD itab_det-vend_cust_code.
          FIELD itab_det-bill_amt.
          MODULE <b>tab1_modify</b> ON CHAIN-REQUEST.
        ENDCHAIN.
        FIELD itab_det-mark
          MODULE tab1_mark ON REQUEST.
      ENDLOOP.
    <b>MODULE tab1_modify INPUT.</b>
      APPEND itab_det.
    <b>ENDMODULE.                    "TAB1_MODIFY INPUT</b>

  • How to save the selected records from Table control in dialog programming

    Hiiiiiiii Every1
    Actually the problem is like this:-
    I have to select some records from table control and then want to save the selected records in DB table.
    Example
    I have some rows having inforamtion bout employees...
    Now what i want is that when i click on 'SAVE' button then these selected rows should be moved into DB table.
    Sachin Dhingra

    see below example, I have added INSERT option after DELETE option.
    REPORT demo_dynpro_tabcont_loop_at.
    CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
    DATA cols LIKE LINE OF flights-cols.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    DATA: itab TYPE TABLE OF demo_conn.
    TABLES demo_conn.
    SELECT * FROM spfli INTO TABLE itab.
    LOOP AT flights-cols INTO cols WHERE index GT 2.
      cols-screen-input = '0'.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
    ENDLOOP.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE read_table_control INPUT.
      MODIFY itab FROM demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'TOGGLE'.
          LOOP AT flights-cols INTO cols WHERE index GT 2.
            IF  cols-screen-input = '0'.
              cols-screen-input = '1'.
            ELSEIF  cols-screen-input = '1'.
              cols-screen-input = '0'.
            ENDIF.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDLOOP.
        WHEN 'SORT_UP'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) ASCENDING.
            cols-selected = ' '.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'SORT_DOWN'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) DESCENDING.
            cols-selected = ' '.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'DELETE'.
          READ TABLE flights-cols INTO cols WITH KEY screen-input = '1'.
          IF sy-subrc = 0.
            LOOP AT itab INTO demo_conn WHERE mark = 'X'.
              DELETE itab.
            ENDLOOP.
          ENDIF.
        WHEN 'INSERT'.
          READ TABLE flights-cols INTO cols WITH KEY screen-input = '1'.
          IF sy-subrc = 0.
            LOOP AT itab INTO demo_conn WHERE mark = 'X'.
              itab1 = itab.
              modify itab1.
            ENDLOOP.
          ENDIF.
          if not itab1 is initial.
            INSERT dbtab FROM TABLE itab1.
          endif.
      ENDCASE.
    ENDMODULE.

  • Take input from table control using wizard

    Dear experts,
    I am trying to take data from table control into internal table using wizard.
    In main report program i defined the internal table and used wizard after  that.
    I could see internal table there and i picked the fields i wanted.
    Also i defined a workarea of same time.Further i made a push button.
    In PAI user command module i specified
    loop at itab. (one used for table control data)
    endloop.
    Here i put break point and find that no data is coming from grid.
    With wizard what additional i have to do ?

    Hi
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_2209.  "do processing
    loop at itab.
       module UPDATE.                           "read from tbl ctl into db table using wa.
    endloop.
    DATA:   itab TYPE TABLE OF YSTUDENT WITH HEADER LINE,
                WA LIKE LINE OF ITAB.
    MODULE UPDATE INPUT.
    WA-ID = YSTUDENT-ID.
    WA-NAME = YSTUDENT-NAME.
    INSERT YSTUDENT FROM WA.  
    ENDMODULE.
    Instead of Insert into table, you can write: APPEND WA TO ITAB.    
    Also YSTUDENT-ID is the name of the column in your tbl ctrl.
    Make sure your PBO also loops thro the itab:
    loop at itab with control tab1.
    endloop.
    Hope this helps
    Regards,
    Jayanthi.K

  • How to create bdc with table control

    hi all.
    please some body tell me how to create bdc with table control
    or suggest any www with screen shots
    thanks in advance ,
    aparna

    Hi AParna,
    Its very Simple.
    ALl you have to do is set up a counter based on the number of lines in the tabke. when the counter reaches the number of lines in the table hit the next page button which is at the top of every screen in SAP.
    Please refer to the following BDC program I had developed using Table control,
    this is for ME01 transaction.
      LOOP AT T_EORD_HED.
        SELECT SINGLE * FROM MARA WHERE MATNR = T_EORD_HED-MATNR.
        IF SY-SUBRC = 0.
          PERFORM BDC_DYNPRO      USING 'SAPLMEOR' '0200'.
          PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                        'EORD-MATNR'.
          PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                        '/00'.
          PERFORM BDC_FIELD       USING 'EORD-MATNR'
                                        T_EORD_HED-MATNR.       "'58335'.
          PERFORM BDC_FIELD       USING 'EORD-WERKS'
                                        T_EORD_HED-WERKS.       "'0253'.
          L_COUNT = 1.
          LOOP AT T_EORD WHERE MATNR = T_EORD_HED-MATNR
                           AND WERKS = T_EORD_HED-WERKS.
            SELECT SINGLE * FROM LFA1 WHERE LIFNR = T_EORD-LIFNR.
            IF SY-SUBRC = 0.
    * Look into the if condition below
              IF L_COUNT = 010.
                L_COUNT = 1.
                PERFORM BDC_DYNPRO      USING 'SAPLMEOR' '0205'.
                PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'EORD-MATNR'.
                PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                       '=NS'.
                L_COUNT = L_COUNT + 1.
              ENDIF.
              PERFORM BDC_DYNPRO      USING 'SAPLMEOR' '0205'.
              PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                            'EORD-AUTET(01)'.
              PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                            '/00'.
              CONCATENATE 'EORD-VDATU' '(' L_COUNT ')' INTO OPR_FIELD.
              WRITE SY-DATUM TO T_EORD-VDATU.
              PERFORM BDC_FIELD       USING OPR_FIELD
                                            T_EORD-VDATU.
              CONCATENATE 'EORD-BDATU' '(' L_COUNT ')' INTO OPR_FIELD.
              WRITE T_EORD-BDATU TO V_BDATU.
              PERFORM BDC_FIELD       USING OPR_FIELD
                                            V_BDATU.
              CONCATENATE 'EORD-LIFNR' '(' L_COUNT ')' INTO OPR_FIELD.
              PERFORM BDC_FIELD       USING OPR_FIELD
                                            T_EORD-LIFNR.
              CONCATENATE 'EORD-EKORG' '(' L_COUNT ')' INTO OPR_FIELD.
              PERFORM BDC_FIELD       USING OPR_FIELD
                                            '0001'.
              CONCATENATE 'EORD-RESWK' '(' L_COUNT ')' INTO OPR_FIELD.
              PERFORM BDC_FIELD       USING OPR_FIELD
                                            T_EORD-RESWK.
              WRITE T_EORD-MEINS TO V_MEINS.
              CONCATENATE 'EORD-MEINS' '(' L_COUNT ')' INTO OPR_FIELD.
              PERFORM BDC_FIELD       USING OPR_FIELD
                                            V_MEINS.
    *          CONCATENATE 'EORD-EBELN' '(' L_COUNT ')' INTO OPR_FIELD.
    *          PERFORM BDC_FIELD       USING 'OPR_FIELD'
    *                                        T_EORD-EBELN.
              CONCATENATE 'EORD-EBELP' '(' L_COUNT ')' INTO OPR_FIELD.
              PERFORM BDC_FIELD       USING OPR_FIELD
                                            T_EORD-EBELP.
              IF T_EORD-FLIFN NE SPACE OR T_EORD-FRESW NE SPACE OR
                 T_EORD-FEBEL NE SPACE.
                CONCATENATE 'RM06W-FESKZ' '(' L_COUNT ')' INTO OPR1_FIELD.
                PERFORM BDC_FIELD       USING OPR1_FIELD
                                              'X'.
              ENDIF.
              IF T_EORD-NOTKZ <> ''.
                CONCATENATE 'EORD-NOTKZ' '(' L_COUNT ')' INTO OPR_FIELD.
                PERFORM BDC_FIELD       USING OPR_FIELD
                                              'X'.
              ENDIF.
              CONCATENATE 'EORD-AUTET' '(' L_COUNT ')' INTO OPR_FIELD.
              PERFORM BDC_FIELD       USING OPR_FIELD
                                            T_EORD-AUTET.
              L_COUNT = L_COUNT + 1.
            ENDIF.
          ENDLOOP.
          PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                        'EORD-MATNR'.
          PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                        '=BU'.
          CALL TRANSACTION 'ME01' USING I_BDCDATA
                        MODE UP_MODE
    *                     optIONS  FROM l_opt
                        MESSAGES INTO I_BDCMSGCOLL.
          PERFORM FORMAT_OUTPUT.
        ENDIF.
      ENDLOOP.

  • Search help (PREM) for personal no. is not coming in ALV grid table control

    hi experts,
    Search help (PREM) for personal no. is not coming in ALV grid table control.
    i have assigned the srch help (prem) to my 'ZFIEXP_PROJALLOC' table for the emp_id.
    but in output it is now showing the help.
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'ZFIEXP_PROJALLOC'.
      ls_fcat-ref_field = 'EMP_ID'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    Then i tried to solve it using the PA0002 . ie.,
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'PA0002'.
      ls_fcat-ref_field = 'PERNR'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    with this it is showing the help in employee code, but, when i click on an empl number, it is not added to my table control and allowing me to add the number by typing them.
    plz help me.
    thanks.

    Hi 
    In the layout give layout-sel_mode  = 'A'.  and
    pass  'A'    to  i_save  exporting parameter to method  set_table_for_first_display.
    The same thing if you are working with function module
    reuse_alv_grid_display.
    Reward points for useful answer.
    Venkat

  • How to delete record from table control in BDC?

    Hello friends,
    I am running a BDC program to delete records.
    I have file with following records and i got these records into t_itab.
    Material     Plant     Start date     End date     Cost
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100004     S002     09/01/2008     09/31/2008     56.00
    MQ100008     S003     09/01/2008     09/31/2008     57.00
    Now, I have BDC transaction in which table control screen which contains following structure.
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100002     S002     09/01/2008     09/31/2008     56.00
    MQ100004     S003     09/01/2008     09/31/2008     47.00     
    MQ100005     S004     09/01/2008     09/31/2008     25.00
    MQ100006     S012     09/01/2008     09/31/2008     76.00
    MQ100007     S033     09/01/2008     09/31/2008     17.00
    MQ100008     S011     09/01/2008     09/31/2008     95.00
    MQ100009     S002     09/01/2008     09/31/2008     46.00
    I have recorded from SHDB in which first record will be delete.
    So, when i loop through t_itab,instead of deleting MQ100001,MQ100004 and MQ100008 from BDC screen,
    it is deleting MQ100001,MQ100002 and MQ100004 (first record for each process ).
    Which i don't want to.
    Is there any facility in BDC to put records on top which i want to delete?
    Please guide me.
    Regards,
    RH

    Hi,
    While doing recording check for Filter button available for the table control, if it available then do the recording for the same.
    Once it is done while passing the data from internal table put the value into Filter field.
    Hope it resolves your issue.
    Thanks & Regards.
    Nagaraj Kalbavi

  • AP Invoice BPEL Process is not populating into Line Interface tables

    Hi
    We are in the process of Creating BPEL Process for AP Invoice. Before we map Supplier incoming XSD, we have created our own XML and XSD and mapped with Standard APInvoice XML Gateway XSD. Transformation is able to populate header information into AP Invoice header Interface tables. And also its populating the Lines information but not the mapped column values. Its populating only Standard Derived values like Invoice_id, Invoice_line_id, Line_number, Line_type_lookup_code. We have mapped the Amount column to one of our incoming Amount column. Those values are not getting populated into Invoice Interface line tables.
    Please find the XML file data
    <?xml version="1.0"?>
    <!-- Generated by Oracle Reports version 6.0.8.20.2 -->
    <G_INVOICE_ID xmlns="NS_31CA8D0F33324F95A0BF15D85539C27E20070209154115_kiran">
    <INVOICE_NUM>CM011907</INVOICE_NUM>
    <INVOICE_TYPE_LOOKUP_CODE>STANDARD</INVOICE_TYPE_LOOKUP_CODE>
    <VENDOR_ID>1</VENDOR_ID>
    <VENDOR_SITE_ID>44</VENDOR_SITE_ID>
    <INVOICE_AMOUNT>2981</INVOICE_AMOUNT>
    <ORG_ID>83</ORG_ID>
    <SOURCE>XML GATEWAY</SOURCE>
    <INVOICE_ID>621</INVOICE_ID>
    <G_INVOICE_ID1>
    <DISTRIBUTION_LINE_NUMBER>1</DISTRIBUTION_LINE_NUMBER>
    <LINE_TYPE_LOOKUP_CODE>ITEM</LINE_TYPE_LOOKUP_CODE>
    <AMOUNT>2980</AMOUNT>
    <ACCOUNTING_DATE>19-JAN-07</ACCOUNTING_DATE>
    <DIST_CODE_COMBINATION_ID>1035</DIST_CODE_COMBINATION_ID>
    <INVOICE_ID1>621</INVOICE_ID1>
    <INVOICE_LINE_ID>1081</INVOICE_LINE_ID>
    </G_INVOICE_ID1>
    </G_INVOICE_ID>
    Transformation code
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="XSD">
    <schema location="ap_invoice.xsd"/>
    <rootElement name="G_INVOICE_ID" namespace="NS_31CA8D0F33324F95A0BF15D85539C27E20070209154115_kiran"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="XSD">
    <schema location="PROCESS_INVOICE_002.xsd"/>
    <rootElement name="PROCESS_INVOICE_002" namespace="http://TargetNamespace.com/ServiceName"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.1.0(build 061009.0802) AT [SUN SEP 30 22:21:07 GMT-05:00 2007]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns0="NS_31CA8D0F33324F95A0BF15D85539C27E20070209154115_kiran"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ns1="http://TargetNamespace.com/ServiceName"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    exclude-result-prefixes="xsl ns0 xs ns1 nxsd xp20 bpws ora ehdr orcl ids hwf">
    <xsl:template match="/">
    <ns1:PROCESS_INVOICE_002>
    <ns1:CNTROLAREA>
    <ns1:BSR>
    <ns1:VERB>
    <xsl:attribute name="value">
    <xsl:value-of select='string("PROCESS")'/>
    </xsl:attribute>
    </ns1:VERB>
    <ns1:NOUN>
    <xsl:attribute name="value">
    <xsl:value-of select='string("INVOICE")'/>
    </xsl:attribute>
    </ns1:NOUN>
    <ns1:REVISION>
    <xsl:attribute name="value">
    <xsl:value-of select='string("002")'/>
    </xsl:attribute>
    </ns1:REVISION>
    </ns1:BSR>
    <ns1:SENDER>
    <ns1:LOGICALID>
    <xsl:value-of select='string("Kiran")'/>
    </ns1:LOGICALID>
    <ns1:COMPONENT>
    <xsl:value-of select='string("BPEL")'/>
    </ns1:COMPONENT>
    <ns1:TASK>
    <xsl:value-of select='string("APINVOICE")'/>
    </ns1:TASK>
    <ns1:REFERENCEID>
    <xsl:value-of select='string("2")'/>
    </ns1:REFERENCEID>
    <ns1:CONFIRMATION>
    <xsl:value-of select='string("3")'/>
    </ns1:CONFIRMATION>
    <ns1:LANGUAGE>
    <xsl:value-of select='string("ENG")'/>
    </ns1:LANGUAGE>
    <ns1:CODEPAGE>
    <xsl:value-of select='string("US7ASCII")'/>
    </ns1:CODEPAGE>
    <ns1:AUTHID>
    <xsl:value-of select='string("APPS")'/>
    </ns1:AUTHID>
    </ns1:SENDER>
    <ns1:DATETIME>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("CREATION")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:YEAR>
    <xsl:value-of select="xp20:year-from-dateTime(xp20:current-dateTime())"/>
    </ns1:YEAR>
    <ns1:MONTH>
    <xsl:value-of select="xp20:month-from-dateTime(xp20:current-dateTime())"/>
    </ns1:MONTH>
    <ns1:DAY>
    <xsl:value-of select="xp20:day-from-dateTime(xp20:current-dateTime())"/>
    </ns1:DAY>
    <ns1:HOUR>
    <xsl:value-of select="xp20:hours-from-dateTime(xp20:current-dateTime())"/>
    </ns1:HOUR>
    <ns1:MINUTE>
    <xsl:value-of select="xp20:minutes-from-dateTime(xp20:current-dateTime())"/>
    </ns1:MINUTE>
    <ns1:SECOND>
    <xsl:value-of select="xp20:seconds-from-dateTime(xp20:current-dateTime())"/>
    </ns1:SECOND>
    <ns1:SUBSECOND>
    <xsl:value-of select='string("356")'/>
    </ns1:SUBSECOND>
    <ns1:TIMEZONE>
    <xsl:value-of select="xp20:timezone-from-dateTime(xp20:current-dateTime())"/>
    </ns1:TIMEZONE>
    </ns1:DATETIME>
    </ns1:CNTROLAREA>
    <ns1:DATAAREA>
    <ns1:PROCESS_INVOICE>
    <ns1:INVHEADER>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("DOCUMENT")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_AMOUNT"/>
    </ns1:VALUE>
    <ns1:NUMOFDEC>
    <xsl:value-of select="number(0.0)"/>
    </ns1:NUMOFDEC>
    <ns1:SIGN>
    <xsl:value-of select='string("+")'/>
    </ns1:SIGN>
    <ns1:CURRENCY>
    <xsl:value-of select='string("USD")'/>
    </ns1:CURRENCY>
    <ns1:DRCR>
    <xsl:value-of select='string("DR")'/>
    </ns1:DRCR>
    </ns1:AMOUNT>
    <ns1:DATETIME>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("ACCOUNTING")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:YEAR>
    <xsl:value-of select="xp20:year-from-dateTime(xp20:current-dateTime())"/>
    </ns1:YEAR>
    <ns1:MONTH>
    <xsl:value-of select="xp20:month-from-dateTime(xp20:current-dateTime())"/>
    </ns1:MONTH>
    <ns1:DAY>
    <xsl:value-of select="xp20:day-from-dateTime(xp20:current-dateTime())"/>
    </ns1:DAY>
    <ns1:HOUR>
    <xsl:value-of select="xp20:hours-from-dateTime(xp20:current-dateTime())"/>
    </ns1:HOUR>
    <ns1:MINUTE>
    <xsl:value-of select="xp20:minutes-from-dateTime(xp20:current-dateTime())"/>
    </ns1:MINUTE>
    <ns1:SECOND>
    <xsl:value-of select="xp20:seconds-from-dateTime(xp20:current-dateTime())"/>
    </ns1:SECOND>
    <ns1:SUBSECOND>
    <xsl:value-of select='string("356")'/>
    </ns1:SUBSECOND>
    <ns1:TIMEZONE>
    <xsl:value-of select="xp20:timezone-from-dateTime(xp20:current-dateTime())"/>
    </ns1:TIMEZONE>
    </ns1:DATETIME>
    <ns1:DOCUMENTID>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_NUM"/>
    </ns1:DOCUMENTID>
    <ns1:DESCRIPTN>
    <xsl:text disable-output-escaping="no">DescriptionLocalDeployment</xsl:text>
    </ns1:DESCRIPTN>
    <ns1:PARTNER>
    <ns1:PARTNRID>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:VENDOR_ID"/>
    </ns1:PARTNRID>
    </ns1:PARTNER>
    <ns1:DOCUMNTREF>
    <ns1:DOCUMENTID>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_NUM"/>
    </ns1:DOCUMENTID>
    </ns1:DOCUMNTREF>
    <ns1:INVALLWNCE>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:QUANTITY>
    <ns1:INVCHARGE>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:QUANTITY>
    </ns1:INVCHARGE>
    </ns1:INVALLWNCE>
    </ns1:INVHEADER>
    <ns1:INVALLWNCE>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:QUANTITY>
    </ns1:INVALLWNCE>
    <ns1:INVCHARGE>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    </ns1:QUANTITY>
    </ns1:INVCHARGE>
    <ns1:INVLINE>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("DOCUMENT")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_AMOUNT"/>
    </ns1:VALUE>
    <ns1:NUMOFDEC>
    <xsl:value-of select="number(0.0)"/>
    </ns1:NUMOFDEC>
    <ns1:SIGN>
    <xsl:value-of select='string("+")'/>
    </ns1:SIGN>
    <ns1:CURRENCY>
    <xsl:value-of select='string("USD")'/>
    </ns1:CURRENCY>
    <ns1:DRCR>
    <xsl:value-of select='string("DR")'/>
    </ns1:DRCR>
    </ns1:AMOUNT>
    <ns1:OPERAMT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("COST")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:G_INVOICE_ID1/ns0:AMOUNT"/>
    </ns1:VALUE>
    <ns1:NUMOFDEC>
    <xsl:value-of select="number(0.0)"/>
    </ns1:NUMOFDEC>
    <ns1:SIGN>
    <xsl:value-of select='string("+")'/>
    </ns1:SIGN>
    <ns1:CURRENCY>
    <xsl:value-of select='string("USD")'/>
    </ns1:CURRENCY>
    <ns1:UOMVALUE>
    <xsl:value-of select='string("EA")'/>
    </ns1:UOMVALUE>
    <ns1:UOMNUMDEC>
    <xsl:value-of select="number(0.0)"/>
    </ns1:UOMNUMDEC>
    <ns1:UOM>
    <xsl:value-of select='string("EA")'/>
    </ns1:UOM>
    </ns1:OPERAMT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:QUANTITY>
    <ns1:LINENUM>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:G_INVOICE_ID1/ns0:DISTRIBUTION_LINE_NUMBER"/>
    </ns1:LINENUM>
    <ns1:DESCRIPTN>
    <xsl:text disable-output-escaping="no">LineDescription</xsl:text>
    </ns1:DESCRIPTN>
    <ns1:INVTAX>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("TAX")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:QUANTITY>
    </ns1:INVTAX>
    </ns1:INVLINE>
    <ns1:INVTAX>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("TAX")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    </ns1:QUANTITY>
    <ns1:INVTAX>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("TAX")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    </ns1:QUANTITY>
    </ns1:INVTAX>
    </ns1:INVTAX>
    </ns1:PROCESS_INVOICE>
    </ns1:DATAAREA>
    </ns1:PROCESS_INVOICE_002>
    </xsl:template>
    </xsl:stylesheet>
    Oracle Standard XSD
    <?xml version="1.0" encoding="UTF-8" ?>
    <!--This Schema has been generated from a DTD. A target namespace has been added to the schema.-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://TargetNamespace.com/ServiceName" xmlns="http://TargetNamespace.com/ServiceName" nxsd:version="DTD" xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd">
    <xs:element name="BOMNAME" type="xs:string"/>
    <xs:element name="LEDGER" type="xs:string"/>
    <xs:element name="VERB">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="value" fixed="PROCESS" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SOSLINENUM" type="xs:string"/>
    <xs:element name="ITEMCATID" type="xs:string"/>
    <xs:element name="DRAWING" type="xs:string"/>
    <xs:element name="POSITION" type="xs:string"/>
    <xs:element name="CLSSLMNTID" type="xs:string"/>
    <xs:element name="RQSLINENUM" type="xs:string"/>
    <xs:element name="SHIPNOTES" type="xs:string"/>
    <xs:element name="USUPINVFG" type="xs:string"/>
    <xs:element name="SHIPPERNUM" type="xs:string"/>
    <xs:element name="TRACKFLG" type="xs:string"/>
    <xs:element name="QTETYPE" type="xs:string"/>
    <xs:element name="MCHDOCTYPE" type="xs:string"/>
    <xs:element name="RECEIPTID" type="xs:string"/>
    <xs:element name="OPSTATUS" type="xs:string"/>
    <xs:element name="CTCHWCONV" type="xs:string"/>
    <xs:element name="POENTITY" type="xs:string"/>
    <xs:element name="RELLOCID" type="xs:string"/>
    <xs:element name="PARENTID" type="xs:string"/>
    <xs:element name="QUALFNTYPE" type="xs:string"/>
    <xs:element name="COUNTY" type="xs:string"/>
    <xs:element name="QTEREVISON" type="xs:string"/>
    <xs:element name="PRODOSTATS" type="xs:string"/>
    <xs:element name="RESORCEUSE" type="xs:string"/>
    <xs:element name="FEATUREID" type="xs:string"/>
    <xs:element name="PRODSEQNUM" type="xs:string"/>
    <xs:element name="PARENTLOT">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="ECOPRIORITY" type="xs:string"/>
    <xs:element name="PRODCTLINE" type="xs:string"/>
    <xs:element name="UNIT" type="xs:string"/>
    <xs:element name="RSBLINENUM" type="xs:string"/>
    <xs:element name="REQLINENUM" type="xs:string"/>
    <xs:element name="COMPREFDES" type="xs:string"/>
    <xs:element name="SIGN" type="xs:string"/>
    <xs:element name="ITEM" type="xs:string"/>
    <xs:element name="CATALGNAME" type="xs:string"/>
    <xs:element name="FAILTYPE" type="xs:string"/>
    <xs:element name="MACHINEID" type="xs:string"/>
    <xs:element name="SCHLINENUM" type="xs:string"/>
    <xs:element name="REGION" type="xs:string"/>
    <xs:element name="ONETIME" type="xs:string"/>
    <xs:element name="MAINTCALID" type="xs:string"/>
    <xs:element name="STEPNUM" type="xs:string"/>
    <xs:element name="PRODSEQBEG" type="xs:string"/>
    <xs:element name="ITEMDEFN" type="xs:string"/>
    <xs:element name="HAZRDMATL" type="xs:string"/>
    <xs:element name="ITEMSTATUS" type="xs:string"/>
    <xs:element name="BUDGSTAT" type="xs:string"/>
    <xs:element name="MAINTLOCID" type="xs:string"/>
    <xs:element name="MACHSUDEP" type="xs:string"/>
    <xs:element name="OPTIONID" type="xs:string"/>
    <xs:element name="MINUTE" type="xs:string"/>
    <xs:element name="SERIALNUM" type="xs:string"/>
    <xs:element name="SHIPMATLID" type="xs:string"/>
    <xs:element name="MACHSTATE" type="xs:string"/>
    <xs:element name="WARRANTY" type="xs:string"/>
    <xs:element name="CTCHWFLAG" type="xs:string"/>
    <xs:element name="USERID" type="xs:string"/>
    <xs:element name="ROUTINGVAR" type="xs:string"/>
    <xs:element name="PAYMETHOD" type="xs:string"/>
    <xs:element name="OPERATNID" type="xs:string"/>
    <xs:element name="PYMTTERM">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="DATETIME"/>
    <xs:element minOccurs="0" ref="DATETIME"/>
    <xs:element minOccurs="0" ref="DATETIME"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="TERMID"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="PARTIALSHP" type="xs:string"/>
    <xs:element name="RFQLNSTAT" type="xs:string"/>
    <xs:element name="FRMITMCLSS" type="xs:string"/>
    <xs:element name="WAGEGROUP" type="xs:string"/>
    <xs:element name="RSPSDLNUM" type="xs:string"/>
    <xs:element name="MSGID" type="xs:string"/>
    <xs:element name="ITMFTVAL" type="xs:string"/>
    <xs:element name="SHPUNITTOT" type="xs:string"/>
    <xs:element name="ECOTYPE" type="xs:string"/>
    <xs:element name="DESCRIPTN" type="xs:string"/>
    <xs:element name="BOMUSAGE" type="xs:string"/>
    <xs:element name="USERAREA">
    <xs:complexType mixed="true">
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:any/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="MOPRIORITY" type="xs:string"/>
    <xs:element name="PARTNRROLE" type="xs:string"/>
    <xs:element name="MSDSID" type="xs:string"/>
    <xs:element name="TELEPHONE">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SHIPPERID" type="xs:string"/>
    <xs:element name="DELIVERTO" type="xs:string"/>
    <xs:element name="EXPIREFLAG" type="xs:string"/>
    <xs:element name="PACKNGDESC" type="xs:string"/>
    <xs:element name="FTDATATYPE" type="xs:string"/>
    <xs:element name="RFQREVISON" type="xs:string"/>
    <xs:element name="PROCESS_INVOICE">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="INVHEADER"/>
    <xs:choice maxOccurs="unbounded">
    <xs:element ref="INVALLWNCE"/>
    <xs:element ref="INVCHARGE"/>
    <xs:element ref="INVLINE"/>
    <xs:element ref="INVTAX"/>
    </xs:choice>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="MACHCLASS" type="xs:string"/>
    <xs:element name="MOSTATUS" type="xs:string"/>
    <xs:element name="QUALIF" type="xs:string"/>
    <xs:element name="NUMOFDEC" type="xs:string"/>
    <xs:element name="GLENTITYD" type="xs:string"/>
    <xs:element name="ROUTEID" type="xs:string"/>
    <xs:element name="BUYERID" type="xs:string"/>
    <xs:element name="XREFTYPEID" type="xs:string"/>
    <xs:element name="POSTALCODE" type="xs:string"/>
    <xs:element name="YEAR" type="xs:string"/>
    <xs:element name="FRGHTTERMS" type="xs:string"/>
    <xs:element name="PICLINENUM" type="xs:string"/>
    <xs:element name="INVENDISP" type="xs:string"/>
    <xs:element name="GLENTITYS" type="xs:string"/>
    <xs:element name="FIXEDASSET" type="xs:string"/>
    <xs:element name="COMMODITY">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SUPERVISOR" type="xs:string"/>
    <xs:element name="APPROVERID" type="xs:string"/>
    <xs:element name="SHPUNITSEQ" type="xs:string"/>
    <xs:element name="RSLINENUM" type="xs:string"/>
    <xs:element name="RFQID" type="xs:string"/>
    <xs:element name="TERMFLAG" type="xs:string"/>
    <xs:element name="OPERATTYPE" type="xs:string"/>
    <xs:element name="BSR">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="VERB"/>
    <xs:element ref="NOUN"/>
    <xs:element ref="REVISION"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="TRAKNGFLAG" type="xs:string"/>
    <xs:element name="RFQTYPE" type="xs:string"/>
    <xs:element name="OVERIDPRIC" type="xs:string"/>
    <xs:element name="WORKORDER" type="xs:string"/>
    <xs:element name="PRODORDER" type="xs:string"/>
    <xs:element name="ACCTTYPE" type="xs:string"/>
    <xs:element name="FLEXBKTID" type="xs:string"/>
    <xs:element name="LINENUM" type="xs:string"/>
    <xs:element name="MCHDOCID" type="xs:string"/>
    <xs:element name="POLNSTATUS" type="xs:string"/>
    <xs:element name="TXANALYSIS" type="xs:string"/>
    <xs:element name="PSCLINENUM" type="xs:string"/>
    <xs:element name="RELMACHID" type="xs:string"/>
    <xs:element name="KANBAN" type="xs:string"/>
    <xs:element name="SOLNSTATUS" type="xs:string"/>
    <xs:element name="TEMPRATURE">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="VALUE"/>
    <xs:element ref="NUMOFDEC"/>
    <xs:element ref="SIGN"/>
    </xs:sequence>
    <xs:attribute name="qualifier" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="ACTUAL"/>
    <xs:enumeration value="DELIVERY"/>
    <xs:enumeration value="LOADING"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="CELSIUS"/>
    <xs:enumeration value="FAHRENHEIT"/>
    <xs:enumeration value="KELVIN"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:complexType>
    </xs:element>
    <xs:element name="OLDITMREV" type="xs:string"/>
    <xs:element name="VALUECLASS" type="xs:string"/>
    <xs:element name="DAY" type="xs:string"/>
    <xs:element name="CONTACT">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="NAME"/>
    <xs:element minOccurs="0" ref="CONTCTTYPE"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="EMAIL"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="FAX"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="NAME"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="TELEPHONE"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="VOUCHER" type="xs:string"/>
    <xs:element name="INVCHARGE">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element ref="CHARGETYPE"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="LINENUM"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="PARTNER"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="OVERTIME" type="xs:string"/>
    <xs:element name="EMPLOYEEID" type="xs:string"/>
    <xs:element name="DENSITYFAC" type="xs:string"/>
    <xs:element name="SALESORDID" type="xs:string"/>
    <xs:element name="ITEMVAR" type="xs:string"/>
    <xs:element name="SHIPPRIOR" type="xs:string"/>
    <xs:element name="CONFIRMATION" type="xs:string"/>
    <xs:element name="STEPTYPE" type="xs:string"/>
    <xs:element name="TAXCODE" type="xs:string"/>
    <xs:element name="ENDITEMID" type="xs:string"/>
    <xs:element name="QUALFNVAL" type="xs:string"/>
    <xs:element name="SAFTYCLASS" type="xs:string"/>
    <xs:element name="LABORID" type="xs:string"/>
    <xs:element name="UOMVALUE" type="xs:string"/>
    <xs:element name="PROXMONTH" type="xs:string"/>
    <xs:element name="REPRTGFLAG" type="xs:string"/>
    <xs:element name="INVLINENUM" type="xs:string"/>
    <xs:element name="ROUTEVAR" type="xs:string"/>
    <xs:element name="SPLITABLE" type="xs:string"/>
    <xs:element name="TITLE" type="xs:string"/>
    <xs:element name="ALLOWTYPE" type="xs:string"/>
    <xs:element name="TOITMCLSS" type="xs:string"/>
    <xs:element name="SOLINENUM" type="xs:string"/>
    <xs:element name="FILENAME" type="xs:string"/>
    <xs:element name="CURRTO" type="xs:string"/>
    <xs:element name="SAFETYTYPE" type="xs:string"/>
    <xs:element name="NOTES">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="COMPLEVEL" type="xs:string"/>
    <xs:element name="RESORCTYP" type="xs:string"/>
    <xs:element name="DOCUMENTID" type="xs:string"/>
    <xs:element name="ROUTELEVEL">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="FRMSITELVL">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="RECEPTDISP" type="xs:string"/>
    <xs:element name="PRODORDID" type="xs:string"/>
    <xs:element name="CLASSLEVEL" type="xs:string"/>
    <xs:element name="REASONCODE" type="xs:string"/>
    <xs:element name="OTELIGIBLE" type="xs:string"/>
    <xs:element name="QUALFNID" type="xs:string"/>
    <xs:element name="RSPREVNUM" type="xs:string"/>
    <xs:element name="INVLINE">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="OPERAMT"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element ref="LINENUM"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="ITEM"/>
    <xs:element minOccurs="0" ref="ITEMTYPE"/>
    <xs:element minOccurs="0" ref="ITEMX"/>
    <xs:element minOccurs="0" ref="OPENITEM"/>
    <xs:element minOccurs="0" ref="PROJACTVTY"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="PROJRESEL"/>
    <xs:element minOccurs="0" ref="UNIT"/>
    <xs:element minOccurs="0" ref="UPC"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="DOCUMNTREF"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVALLWNCE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVLINE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="INDLINENUM" type="xs:string"/>
    <xs:element name="MACHID" type="xs:string"/>
    <xs:element name="RECLINENUM" type="xs:string"/>
    <xs:element name="FRGHTITEM" type="xs:string"/>
    <xs:element name="RFQIDX" type="xs:string"/>
    <xs:element name="TRNSFRTYPE" type="xs:string"/>
    <xs:element name="PARTNRRATG" type="xs:string"/>
    <xs:element name="BOMREVISON" type="xs:string"/>
    <xs:element name="ACTTYPE" type="xs:string"/>
    <xs:element name="SCHEDULEID" type="xs:string"/>
    <xs:element name="REF">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="CONTRACTB" type="xs:string"/>
    <xs:element name="DISCRPTYPE" type="xs:string"/>
    <xs:element name="DOCTYPE" type="xs:string"/>
    <xs:element name="MAINTORDID" type="xs:string"/>
    <xs:element name="LINEFEED" type="xs:string"/>
    <xs:element name="BOMTYPE" type="xs:string"/>
    <xs:element name="CNTCTTYPE" type="xs:string"/>
    <xs:element name="MATCHTYPE" type="xs:string"/>
    <xs:element name="CONTRACTS" type="xs:string"/>
    <xs:element name="EMPCATEGRY" type="xs:string"/>
    <xs:element name="CHARGE">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" ref="OPERAMT"/>
    <xs:element minOccurs="0" ref="CHARGEID"/>
    <xs:element minOccurs="0" ref="CHARGETYPE"/>
    <xs:element minOccurs="0" ref="CHGLINENUM"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="DISTRIBUTN"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="ROUTINGREV" type="xs:string"/>
    <xs:element name="RFQLINENUM" type="xs:string"/>
    <xs:element name="RELITEMID" type="xs:string"/>
    <xs:element name="CLSSELMT">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="MOPARENTID" type="xs:string"/>
    <xs:element name="REVISION">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="value" fixed="002" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SUBLINENUM" type="xs:string"/>
    <xs:element name="ITEMX" type="xs:string"/>
    <xs:element name="OWNRSHPCDE" type="xs:string"/>
    <xs:element name="SHPMTLDESC" type="xs:string"/>
    <xs:element name="PERSONCODE" type="xs:string"/>
    <xs:element name="APPROVE" type="xs:string"/>
    <xs:element name="BOMSTATUS" type="xs:string"/>
    <xs:element name="FAILUREID" type="xs:string"/>
    <xs:element name="ITEMDESC" type="xs:string"/>
    <xs:element name="ROUTINGID" type="xs:string"/>
    <xs:element name="CHARGEID" type="xs:string"/>
    <xs:element name="WAGETYPE" type="xs:string"/>
    <xs:element name="DATETIME">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="YEAR"/>
    <xs:element ref="MONTH"/>
    <xs:element ref="DAY"/>
    <xs:element ref="HOUR"/>
    <xs:element ref="MINUTE"/>
    <xs:element ref="SECOND"/>
    <xs:element ref="SUBSECOND"/>
    <xs:element ref="TIMEZONE"/>
    </xs:sequence>
    <xs:attribute name="qualifier" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="ACCOUNTING"/>
    <xs:enumeration value="ACTEND"/>
    <xs:enumeration value="ACTSTART"/>
    <xs:enumeration value="APPREQ"/>
    <xs:enumeration value="APPROVAL"/>
    <xs:enumeration value="AVAILABLE"/>
    <xs:enumeration value="BKTEND"/>
    <xs:enumeration value="BKTSTART"/>
    <xs:enumeration value="CANCEL"/>
    <xs:enumeration value="CHANGEDATE"/>
    <xs:enumeration value="COMPDATE"/>
    <xs:enumeration value="CONSUME"/>
    <xs:enumeration value="CREATION"/>
    <xs:enumeration value="CUMULATIVE"/>
    <xs:enumeration value="DELIVACT"/>
    <xs:enumeration value="DELIVSCHED"/>
    <xs:enumeration value="DISCNT"/>
    <xs:enumeration value="DOCUMENT"/>
    <xs:enumeration value="DUE"/>
    <xs:enumeration value="EARLSTEFF"/>
    <xs:enumeration value="EARLSTSHIP"/>
    <xs:enumeration value="EFFECTIVE"/>
    <xs:enumeration value="ENGCHG"/>
    <xs:enumeration value="EXECFINISH"/>
    <xs:enumeration value="EXECSTART"/>
    <xs:enumeration value="EXPIRATION"/>
    <xs:enumeration value="FAILDATE"/>
    <xs:enumeration value="FORECASTF"/>
    <xs:enumeration value="FORECASTS"/>
    <xs:enumeration value="FROM"/>
    <xs:enumeration value="GENERATION"/>
    <xs:enumeration value="IMPL"/>
    <xs:enumeration value="INVOICE"/>
    <xs:enumeration value="JOBDUE"/>
    <xs:enumeration value="LABORFINSH"/>
    <xs:enumeration value="LABORSTART"/>
    <xs:enumeration value="LASTUSED"/>
    <xs:enumeration value="LOADING"/>
    <xs:enumeration value="MATCHING"/>
    <xs:enumeration value="MSMENTDATE"/>
    <xs:enumeration value="NEEDDELV"/>
    <xs:enumeration value="OPFINISH"/>
    <xs:enumeration value="OPSTART"/>
    <xs:enumeration value="PAYEND"/>
    <xs:enumeration value="PLANEND"/>
    <xs:enumeration value="PLANSTART"/>
    <xs:enumeration value="PO"/>
    <xs:enumeration value="PROMDELV"/>
    <xs:enumeration value="PROMSHIP"/>
    <xs:enumeration value="PYMTTERM"/>
    <xs:enumeration value="RECEIVED"/>
    <xs:enumeration value="REPORTDATE"/>
    <xs:enumeration value="REPORTNGFN"/>
    <xs:enumeration value="REPORTNGST"/>
    <xs:enumeration value="REQUIRED"/>
    <xs:enumeration value="RESORCDWNF"/>
    <xs:enumeration value="RESORCDWNS"/>
    <xs:enumeration value="RSPDDATE"/>
    <xs:enumeration value="RSPDOCGEN"/>
    <xs:enumeration value="SCHEND"/>
    <xs:enumeration value="SCHSTART"/>
    <xs:enumeration value="SETUPFINSH"/>
    <xs:enumeration value="SETUPSTART"/>
    <xs:enumeration value="SHIP"/>
    <xs:enumeration value="SHIPSCHED"/>
    <xs:enumeration value="STATUSDATE"/>
    <xs:enumeration value="TEARDOWNF"/>
    <xs:enumeration value="TEARDOWNS"/>
    <xs:enumeration value="TO"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="T"/>
    <xs:enumeration value="F"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="index" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="BOMALTID" type="xs:string"/>
    <xs:element name="QTELINENUM" type="xs:string"/>
    <xs:element name="DISPOSITN" type="xs:string"/>
    <xs:element name="CATALOGRV" type="xs:string"/>
    <xs:element name="PROJRESEL">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="TAXEXEMPT" type="xs:string"/>
    <xs:element name="OPTCLSSID" type="xs:string"/>
    <xs:element name="PREFERENCE" type="xs:string"/>
    <xs:element name="WORKCENTER" type="xs:string"/>
    <xs:element name="PRICELSTID" type="xs:string"/>
    <xs:element name="CLSELMLVL" type="xs:string"/>
    <xs:element name="POLINENUM" type="xs:string"/>
    <xs:element name="SAVESETUP" type="xs:string"/>
    <xs:element name="PROPERTY">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SUFFIX" type="xs:string"/>
    <xs:element name="CONDSTATUS" type="xs:string"/>
    <xs:element name="EXCPLINNUM" type="xs:string"/>
    <xs:element name="PMID" type="xs:string"/>
    <xs:element name="TOSITELVL">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="DUNSNUMBER" type="xs:string"/>
    <xs:element name="LOTLEVEL">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="DISTCENTER" type="xs:string"/>
    <xs:element name="RFQSTATUS" type="xs:string"/>
    <xs:element name="TERMID" type="xs:string"/>
    <xs:element name="SHIFT" type="xs:string"/>
    <xs:element name="PARTNRID" type="xs:string"/>
    <xs:element name="NEWITMREV" type="xs:string"/>
    <xs:element name="DAYSNUM" type="xs:string"/>
    <xs:element name="SYNCIND" type="xs:string"/>
    <xs:element name="FTVALIND" type="xs:string"/>
    <xs:element name="FUND" type="xs:string"/>
    <xs:element name="PRODSEQEND" type="xs:string"/>
    <xs:element name="TRACKINGID" type="xs:string"/>
    <xs:element name="LINETYPE" type="xs:string"/>
    <xs:element name="INVTAX">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="LINENUM"/>
    <xs:element minOccurs="0" ref="TAXCODE"/>
    <xs:element minOccurs="0" ref="TAXJRSDCTN"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="CONTAINRID" type="xs:string"/>
    <xs:element name="OPRGRPNAME" type="xs:string"/>
    <xs:element name="CITY" type="xs:string"/>
    <xs:element name="APPROVED" type="xs:string"/>
    <xs:element name="SALESORG">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="NEWREVFLAG" type="xs:string"/>
    <xs:element name="ACCTYEAR" type="xs:string"/>
    <xs:element name="RESORCKIN" type="xs:string"/>
    <xs:element name="BACKORDIND" type="xs:string"/>
    <xs:element name="EMPSTATUS" type="xs:string"/>
    <xs:element name="PRINT" type="xs:string"/>
    <xs:element name="INVALLWNCE">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element ref="ALLOWTYPE"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="LINENUM"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="JPID" type="xs:string"/>
    <xs:element name="QTELNSTAT" type="xs:string"/>
    <xs:element name="CURRENCY" type="xs:string"/>
    <xs:element name="CONSUMPTN" type="xs:string"/>
    <xs:element name="RESORCLVL" type="xs:string"/>
    <xs:element name="SUBSECOND" type="xs:string"/>
    <xs:element name="MANDATORY" type="xs:string"/>
    <xs:element name="BOMID" type="xs:string"/>
    <xs:element name="INQUEUEID" type="xs:string"/>
    <xs:element name="PRICETYPE" type="xs:string"/>
    <xs:element name="EMPQUALIF" type="xs:string"/>
    <xs:element name="CMPRSNID" type="xs:string"/>
    <xs:element name="FTVALQUAL" type="xs:string"/>
    <xs:element name="DOCUMENTRV" type="xs:string"/>
    <xs:element name="FIELDID" type="xs:string"/>
    <xs:element name="QTEID" type="xs:string"/>
    <xs:element name="ITEMCLASSID" type="xs:string"/>
    <xs:element name="LOADPOINT" type="xs:string"/>
    <xs:element name="EMAIL" type="xs:string"/>
    <xs:element name="EXCPTNCODE" type="xs:string"/>
    <xs:element name="COSTTYPE" type="xs:string"/>
    <xs:element name="PRDLINENUM" type="xs:string"/>
    <xs:element name="PLANNERID" type="xs:string"/>
    <xs:element name="EXPORTLIC" type="xs:string"/>
    <xs:element name="WRKSCHDID" type="xs:string"/>
    <xs:element name="CLASSFN">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SOSTATUS" type="xs:string"/>
    <xs:element name="SHPUNITSTS" type="xs:string"/>
    <xs:element name="LANGUAGE" type="xs:string"/>
    <xs:element name="DIVISION" type="xs:string"/>
    <xs:element name="FAILCODE" type="xs:string"/>
    <xs:element name="REQLNSTAT" type="xs:string"/>
    <xs:element name="TOPARTY" type="xs:string"/>
    <xs:element name="COMMENTS" type="xs:string"/>
    <xs:element name="RSLINETYPE" type="xs:string"/>
    <xs:element name="CLSSSCHMID" type="xs:string"/>
    <xs:element name="ITEMTYPE" type="xs:string"/>
    <xs:element name="ADDRESS">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="ADDRLINE"/>
    <xs:element minOccurs="0" ref="ADDRTYPE"/>
    <xs:element minOccurs="0" ref="CITY"/>
    <xs:element minOccurs="0" ref="COUNTRY"/>
    <xs:element minOccurs="0" ref="COUNTY"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="FAX"/>
    <xs:element minOccurs="0" ref="POSTALCODE"/>
    <xs:element minOccurs="0" ref="REGION"/>
    <xs:element minOccurs="0" ref="STATEPROVN"/>
    <xs:element minOccurs="0" ref="TAXJRSDCTN"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="TELEPHONE"/>
    <xs:element minOccurs="0" ref="URL"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="REQUESTER" type="xs:string"/>
    <xs:element name="BUDGVER" type="xs:string"/>
    <xs:element name="CONTCTTYPE" type="xs:string"/>
    <xs:element name="BUDGTXN" type="xs:string"/>
    <xs:element name="DATAAREA">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="PROCESS_INVOICE"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="UPCPKGIND" type="xs:string"/>
    <xs:element name="UPDTWIPFG" type="xs:string"/>
    <xs:element name="NAME">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="OPERATNSEQ" type="xs:string"/>
    <xs:element name="DISPOSITON" type="xs:string"/>
    <xs:element name="EMPNAME" type="xs:string"/>
    <xs:element name="ACCTPERIOD" type="xs:string"/>
    <xs:element name="TIMEZONE" type="xs:string"/>
    <xs:element name="RSPLINNUM" type="xs:string"/>
    <xs:element name="INMRPPLAN" type="xs:string"/>
    <xs:element name="GEOGRAPHY" type="xs:string"/>
    <xs:element name="USEUPITEM" type="xs:string"/>
    <xs:element name="OUTQUEUEID" type="xs:string"/>
    <xs:element name="COSTCENTER" type="xs:string"/>
    <xs:element name="PROJTXTYPE" type="xs:string"/>
    <xs:element name="TAXID" type="xs:string"/>
    <xs:element name="AUTHID" type="xs:string"/>
    <xs:element name="VALUE" type="xs:string"/>
    <xs:element name="INSPECTRID" type="xs:string"/>
    <xs:element name="JEID" type="xs:string"/>
    <xs:element name="PUBLISHER" type="xs:string"/>
    <xs:element name="HRORG">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="DISTRIBUTN">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" ref="OPERAMT"/>
    <xs:element minOccurs="0" ref="BUSNAREA"/>
    <xs:element minOccurs="0" ref="COSTCENTER"/>
    <xs:element minOccurs="0" ref="DEPARTMENT"/>
    <xs:element minOccurs="0" ref="DIVISION"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="ELEMENT"/>
    <xs:element minOccurs="0" ref="FUND"/>
    <xs:element minOccurs="0" ref="GEOGRAPHY"/>
    <xs:element minOccurs="0" ref="GLENTITYS"/>
    <xs:element minOccurs="0" ref="GLNOMACCT"/>
    <xs:element minOccurs="0" ref="PROFITCTR"/>
    <xs:element minOccurs="0" ref="PROJECT"/>
    <xs:element minOccurs="0" ref="UNIT"/>
    <xs:element minOccurs="0" ref="WAREHOUSE"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="FILETYPE" type="xs:string"/>
    <xs:element name="CLASSFNID" type="xs:string"/>
    <xs:element name="PSBLINENUM" type="xs:string"/>
    <xs:element name="JOBCODE" type="xs:string"/>
    <xs:element name="TAXJRSDCTN" type="xs:string"/>
    <xs:element name="TOOLCLASS" type="xs:string"/>
    <xs:element name="OPERAMT">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="VALUE"/>
    <xs:element ref="NUMOFDEC"/>
    <xs:element ref="SIGN"/>
    <xs:element ref="CURRENCY"/>
    <xs:element ref="UOMVALUE"/>
    <xs:element ref="UOMNUMDEC"/>
    <xs:element ref="UOM"/>
    </xs:sequence>
    <xs:attribute name="qualifier" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="COST"/>
    <xs:enumeration value="EXTENDED"/>
    <xs:enumeration value="FREIGHT"/>
    <xs:enumeration value="UNIT"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="T"/>
    <xs:enumeration value="F"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:complexType>
    </xs:element>
    <xs:element name="OPTCLSNAME" type="xs:string"/>
    <xs:element name="DEFLTVALUE" type="xs:string"/>
    <xs:element name="PARTNER">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" ref="NAME"/>
    <xs:element minOccurs="0" ref="ONETIME"/>
    <xs:element minOccurs="0" ref="PARTNRID"/>
    <xs:element minOccurs="0" ref="PARTNRTYPE"/>
    <xs:element minOccurs="0" ref="SYNCIND"/>
    <xs:element minOccurs="0" ref="ACTIVE"/>
    <xs:element minOccurs="0" ref="CURRENCY"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="DUNSNUMBER"/>
    <xs:element minOccurs="0" ref="GLENTITYS"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="NAME"/>
    <xs:element minOccurs="0" ref="PARENTID"/>
    <xs:element minOccurs="0" ref="PARTNRIDX"/>
    <xs:element minOccurs="0" ref="PARTNRRATG"/>
    <xs:element minOccurs="0" ref="PARTNRROLE"/>
    <xs:element minOccurs="0" ref="PAYMETHOD"/>
    <xs:element minOccurs="0" ref="TAXEXEMPT"/>
    <xs:element minOccurs="0" ref="TAXID"/>
    <xs:element minOccurs="0" ref="TERMID"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="ADDRESS"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="ATTCHREF"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="CONTACT"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="PRICELSTRV" type="xs:string"/>
    <xs:element name="FIELDVALUE" type="xs:string"/>
    <xs:element name="TRANSMETHD" type="xs:string"/>
    <xs:element name="UNITTYPE" type="xs:string"/>
    <xs:element name="FRMITMNM" type="xs:string"/>
    <xs:element name="FAX">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="DOCKID" type="xs:string"/>
    <xs:element name="INSLINENUM" type="xs:string"/>
    <xs:element name="GLNOMACCT" type="xs:string"/>
    <xs:element name="RESTRICTN" type="xs:string"/>
    <xs:element name="COUNTRY" type="xs:string"/>
    <xs:element name="LOGICALID" type="xs:string"/>
    <xs:element name="ITEMCLASS" type="xs:string"/>
    <xs:element name="FTGROUP" type="xs:string"/>
    <xs:element name="ABSENCETYP" type="xs:string"/>
    <xs:element name="SHIPPOINT" type="xs:string"/>
    <xs:element name="ITEMRV" type="xs:string"/>
    <xs:element name="MONTH" type="xs:string"/>
    <xs:element name="RATETYPE" type="xs:string"/>
    <xs:element name="IMPORTLIC" type="xs:string"/>
    <xs:element name="CMPRSNTYPE" type="xs:string"/>
    <xs:element name="REQUISTNID" type="xs:string"/>
    <xs:element name="COUNTRYORG" type="xs:string"/>
    <xs:element name="HOUR" type="xs:string"/>
    <xs:element name="CONTNRTYPE" type="xs:string"/>
    <xs:element name="DRCR" type="xs:string"/>
    <xs:element name="BKTYPE" type="xs:string"/>
    <xs:element name="FACTOR" type="xs:string"/>
    <xs:element name="LOTSERIAL">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="LOTLEVEL"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="PARENTLOT"/>
    <xs:element minOccurs="0" ref="PARENTSNUM"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="SERIALNUM"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="TOITMNM" type="xs:string"/>
    <xs:element name="EMPDEPT" type="xs:string"/>
    <xs:element name="EXCLUSIVE" type="xs:string"/>
    <xs:element name="ECOAPPSTAT" type="xs:string"/>
    <xs:element name="UOM" type="xs:string"/>
    <xs:element name="LOTSNFLAG" type="xs:string"/>
    <xs:element name="PROJACTSTS" type="xs:string"/>
    <xs:element name="ACKMODE" type="xs:string"/>
    <xs:element name="BILLOLADNG" type="xs:string"/>
    <xs:element name="UPC" type="xs:string"/>
    <xs:element name="SAFETYID" type="xs:string"/>
    <xs:element name="TOOLID" type="xs:string"/>
    <xs:element name="STEPID" type="xs:string"/>
    <xs:element name="CODEPAGE" type="xs:string"/>
    <xs:element name="ACTIONCODE" type="xs:string"/>
    <xs:element name="INSPECTDOC" type="xs:string"/>
    <xs:element name="QSLINESTAT" type="xs:string"/>
    <xs:element name="FREIGHTCLS" type="xs:string"/>
    <xs:element name="BUSNAREA" type="xs:string"/>
    <xs:element name="PROJSTATUS" type="xs:string"/>
    <xs:element name="DOCUMNTREF">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="DOCTYPE"/>
    <xs:element ref="DOCUMENTID"/>
    <xs:element ref="PARTNRID"/>
    <xs:element ref="PARTNRTYPE"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="DOCUMENTRV"/>
    <xs:element minOccurs="0" ref="LINENUM"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="NOTES"/>
    <xs:element minOccurs="0" ref="SCHLINENUM"/>
    <xs:element minOccurs="0" ref="SUBLINENUM"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="CARRSRVLVL" type="xs:string"/>
    <xs:element name="OILINENUM" type="xs:string"/>
    <xs:element name="DEFAULT" type="xs:string"/>
    <xs:element name="SUBSFLAG" type="xs:string"/>
    <xs:element name="PARTNRTYPE" type="xs:string"/>
    <xs:element name="POSTATUS" type="xs:string"/>
    <xs:element name="RECEIPTYPE" type="xs:string"/>
    <xs:element name="URI" type="xs:string"/>
    <xs:element name="CLSSSCHMRV" type="xs:string"/>
    <xs:element name="INVHEADER">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="AMOUNT"/>
    <xs:element ref="DATETIME"/>
    <xs:element minOccurs="0" ref="AMOUNT"/>
    <xs:element ref="DOCUMENTID"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="DOCTYPE"/>
    <xs:element minOccurs="0" ref="PAYMETHOD"/>
    <xs:element minOccurs="0" ref="REASONCODE"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element maxOccurs="unbounded" ref="PARTNER"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="DOCUMNTREF"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVALLWNCE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="PYMTTERM"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="URL" type="xs:string"/>
    <xs:element name="RESOURCEID" type="xs:string"/>
    <xs:element name="PARENTSNUM" type="xs:string"/>
    <xs:element name="SALESPERSN" type="xs:string"/>
    <xs:element name="ELEMENT">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="QTESTATUS" type="xs:string"/>
    <xs:element name="NOUN">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="value" fixed="INVOICE" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="OPTIONNAME" type="xs:string"/>
    <xs:element name="USAGERESTN" type="xs:string"/>
    <xs:element name="PACKING" type="xs:string"/>
    <xs:element name="UOMNUMDEC" type="xs:string"/>
    <xs:element name="REVITMSTAT" type="xs:string"/>
    <xs:element name="CURRFROM" type="xs:string"/>
    <xs:element name="FEATVAL" type="xs:string"/>
    <xs:element name="ACKREQUEST" type="xs:string"/>
    <xs:element name="OPRGRPTYPE" type="xs:string"/>
    <xs:element name="DAYOFMONTH" type="xs:string"/>
    <xs:element name="ECONAME" type="xs:string"/>
    <xs:element name="PSDLINENUM" type=

    It looks like you dont have the MODIFY statement in the loops where you calculate the QTYDIFF value.
    Try:
    loop at t_hist.
    clear t_hist-qtydiff.
    t_hist-qtydiff = t_hist-qtyrcvd - t_hist-qtyinvd.
    if not s_qty is initial.
    check t_hist-qtydiff in s_qty.
    endif.
    if not s_value is initial.
    check t_hist-valdiff in s_value.
    endif.
    w_hist-valdiff = w_hist-valdiff + t_hist-valdiff.
    <b>MODIFY t_hist from w_hist.</b>
    endloop.
    Do the same for the other t_hist table loop.
    Brad

  • How to read the field value from Table Control

    Hello Experts,
    I am creating my first Table Control Screen. Basically I have to create a screen (102) with a table control which has 2 fields: A_QTY, B_QTY and 2 Buttons: SAVE, EXIT.
    When Clicked on 'SAVE' the data (MATNR) from a previous screen (101)  and the data (A_QTY, B_QTY) from the new screen (102) should be saved into a Z-table.
    Internal table t_data has 3 fields.
    MATNR
    A_QTY
    B_QTY.
    Table Control TC_RACK was declared like this:
    controls tc_rack type tableview using screen 0102.
    I/0 Fields:
    A_QTY type ZQTY.
    B_QTY type ZQTY.
    The screen Flow Logic:
    process before output.
    module status_0102.
      loop at t_data into w_data with control tc_rack.
      endloop.
    process after input.
      module exit_0102 at exit-command.
      loop at tc_rack.
      endloop.
    module user_command_0102.
    module status_0102output.
      set pf-status 'STATUS_102'.
      set titlebar 'TITLE_102'.
      describe table t_rack lines tc_rack-lines.
    endmodule.                 "status_0102 output
    process after input.
    module user_command_0615 input.
    case ok_code.
       when 'SAVE_RK'.
       when others.
    endcase.
    endmodule.                 "user_command_0102 input
    Now for eg, when the users enter values for A_QTY and B_QTY like this:
    A_QTY     B_QTY
    1000         2000
    3000         4000
    How can I read these values and pass them to T_DATA so that I can save it into Z-table?
    I greatly appreciate your help.
    I've gone through some previously posted threads and could not understand because my knowledge in this area is preliminary.
    Thanks a lot.
    Could you please let me know
    Edited by: dev a on Jan 13, 2010 2:46 PM

    Hi dev a
    You should use
      DATA: lv_name(30) TYPE c.
      FIELD-SYMBOLS: <QTY> type ZQTY.
    GET CURSOR FIELD lv_name.   "Get the field name in table control
    check sy-subrc = 0.
    assign  (lv_name) to <QTY>.  "Here you get the value in <QTY>
    check sy-subrc = 0.
    Also use <your table control>-current_line to get the table index uo're currently on.
    Hint: Do not use GET CURSOR LINE if you want to get table index since this gives you the line relative to dialog screen
    Good luck
    Dean Q.
    Edited by: Dean Q on Jan 13, 2010 11:11 PM

  • Amount field is not populating properly

    Expert's,
    Here is an issue where one of the amount field not populating properly.For some opportunities the amount field will be just displyed as'0' but for some opprtunities the amount field is displaying as'$0'.The data we are pulling is from CRM.
    Thanks in advance.
    vasu.

    Hi,
    looks like extenstion of your last thread
    did you already have a look in data in cube?just to make sure,try to display cube's data using List cube transaction .Take this amount field,corresponding Currency Key,and you rmost impotant characteristics...and check whether all records are having entry in 'currency' column?

Maybe you are looking for

  • Editing sales doc in R/3 that was created in CRM

    Hi all CRM Gurus I am in the process of cofiguring the CRM system to enable the creation of sales documents. All is working fine, I can create the sales doc is CRM, this them replicates through to R/3 without any errors, but I cant edit the sales doc

  • Adding one song to playlist

    What I am currently doing (when I download a song and it is NOT going into itunes) is move the song to itunes, then search for it in my music library, then add it to a playlist. IS there an easier way to do this? Thanks!

  • IDOC_ADAPTER.ATTRIBUTE_BE_NOT_SUPP Only asynchronous processing supported

    Hello Expert, Error while send IDOC " IDOC_ADAPTER.ATTRIBUTE_BE_NOT_SUPP Only asynchronous processing supported for IDOC Adapter" is returned. Please suggest Thulasi

  • Oracle validated rpm on RHEL4? RHEL5?

    Can I use the Oracle Validated rpm on RHEL4? RHEL5? Note:579101.1 Linux OS Installation with Reduced Set of Packages for Running Oracle Database Server without ULN/RHN The above metalink note only talks about OEL...

  • Sort and Object array of Arrays

    Hi, I have an object array that contains a String[] and an int[]. Object[String[], int[]] The values in the Strings array must be in the same position in the array as those in the int array i.e String [0] is the string representation of int[0]. Its f