Second level child rows not getting updated by a web service call

hi,
I have a web service that takes a Header object (type: Header). Below is the part of the WS schema:
<xsd:complexType name="Header">
<xsd:sequence>
<xsd:element name="Segment1" type="xsd:string" minOccurs="0"/>
<xsd:element name="SoldtoBuId" type="xsd:long" minOccurs="0" nillable="true"/>
<xsd:element name="ChangeAcceptedFlag" type="xsd:string" minOccurs="0" nillable="true"/>
<xsd:element name="Lines" type="Line" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Line">
<xsd:sequence>
<xsd:element name="LineNum" type="xsd:long" minOccurs="0" nillable="true"/>
<xsd:element name="ChangeAcceptedFlag" type="xsd:string" minOccurs="0" nillable="true"/>
<xsd:element name="Schedules" type="Schedule" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Schedule">
<xsd:sequence>
<xsd:element name="ScheduleNum" type="xsd:long" minOccurs="0" nillable="true"/>
<xsd:element name="ChangeAcceptedFlag" type="xsd:string" minOccurs="0" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
So a header element can have one or more lines and a line can have one or more schedules.
Each of those entities have are based on tables (via EO & VO).
Header table has primary key of HeaderId,
Line table has primary key of LineId,
Schedule table has primary key of ScheduleId,
These primary keys are not part of the schema however they are there in the VOs.
A Header can be uniquely identified by combination of Segment1 & SoldToBu which are part of the header element and they are added as a Altkey on the HeaderVO,
For a given header a line can be uniquely identified by the LineNum which is added as Alt key on LineVo,
And for a given line a schedule can be uniquely identified by the ScheduleNum which is added as Alt key on ScheduleVo.
LineVO is added to the Service AM under HeaderVO via a ViewLink and similarly ScheduleVO is added below LineVO via viewLink.
When I invoke the webservice the service identifies the header and line rows and updates them. It also identifies schedule rows but they are not getting updated.
Any Idea what the prob. can be.
Thanks in Advance!!
Anil

Hi Juhani,
Do you try to execute the Web Service with SoapUI or XMLSpy??
I think that is not a problem with abap side, but with java. I recomend to you use the following prefix in function modules:
IMPORTING: I_
EXPORTING: E_
TABLES: T_
Regards,
Edson Thomaz

Similar Messages

  • Product ID is not getting updated in SC Goods /Service field

    Hi Gurus,
    While creating shopping carts in EBP, we are able to find the Product ID from the Good/Service find option, but when we select the Product ID in the search, it's not getting updated in the SC Goods/Service field.Also when we try to find the Cost center / WBS using find button it's not going to the search area after software upgrade.
    Could you please suggest us why system is behaving like this.
    Thanks
    Sada

    Hi Gurus,
    Any Idea on this.
    Also few of the Product ID's are getting updated from the search help to Goods /Service field of the SC and some are not getting updated. while debug the SC , we are geeting the error message as BBP_SC006, Its relavant to catlog. But we are not transfering the Product from catlog to SC item.
    The error mesage as: Good/Service & does not exist.
    Thanks & regards
    Sada

  • Contact person Rel.ship Data not getting updated in B2B Web User Mngt

    Hi CRM Gurus,
    Need some help on Web User Management functionality.
    Sub: Contact person Relationship data not getting updated when we change the company (to wich contact person belong to) in ISA CRM 5.0 Web User Management.
    we are currently on CRM ISA 5.0 and using Web User Managment for our B2B scenario. New creation of users is working fine. But when we want to change the company (Sold to pary) for the existing contact person, the relationship data in CRM is not getting updated and the below are the details.
    Contact person No: XXXX (has a Relationship: "Is contac person for YYYY company in CRM)
    Company/Sold to Party: YYYY (has a relationship "Has contact person XXXX in CRM).
    When I chage the contact person's (XXXX) company  from  YYYY to ZZZZ,
    - Relationships of the new assignment for ZZZZ in CRM not getting updated.
    - Old Records in YYYY is not getting deleted (i.e. relationships.
    - There is No relationship data appear in XXXX.
    Appreciate any inputs on the same.
    Thanks,
    Rahul >>>

    Hi Rahul,
    I'd suggest you running a session trace / ABAP debugging to see if some information is not getting passed from the Java stack onto the ABAP stack. An alternate move would be to create a new OSS customer message.
    Cheers,
    Ashok.

  • ADF Issue with Tree Table , Child Row not getting rendered.

    Hi All,
    I am trying to show a single Level Master-Detail Table via ADF Tree Table.
    I have MasterVO : InventoryVO (1 SubInventoryCode)
    DetailVO: SubInventoryVO (n :SubInventoryCode)
    Both VOs are SQL query based VO with bindVariables.
    I have a viewLink between MasterVO and ChildVO (1:n relationship)
    I dragged and drop the MasterVO as a tree Table. I added the Rule in the Tree Binding too.
    I have the Tree table under a Tab , I execute the AM impl method when the Tab is clicked where I set the bindvariables of the MasterVO and ChildVO and execute it.
    when I run the Page , the VO query gets executed but the I am able to see only the MasterVO Datas, and when I click MasterVO ROW , the Table doesnt expand and it doesnt render any ChildVO ROws.
    Please find the Page Definition and Jspx Page Code Below
    Page Definition Code
    <tree IterBinding="ItemsLocatorIterator" id="ItemsLocator">
          <nodeDefinition DefName="xxplp.oracle.adf.items.model.view.ItemsLocatorVO"
                          Name="ItemsLocator0">
            <AttrNames>
              <Item Value="SubinventoryCode"/>
              <Item Value="Openorderqty"/>
              <Item Value="Openwoqty"/>
              <Item Value="Qoh"/>
            </AttrNames>
            <Accessors>
              <Item Value="ItemSubInventoryVO"/>
            </Accessors>
          </nodeDefinition>
          <nodeDefinition DefName="xxplp.oracle.adf.items.model.view.ItemSubInventoryVO"
                          Name="ItemsLocator1">
            <AttrNames>
              <Item Value="Locator"/>
            </AttrNames>
          </nodeDefinition>
        </tree>Jspx Page Code
    <af:treeTable value="#{bindings.ItemsLocator.treeModel}"
                                          var="node"
                                          selectionListener="#{bindings.ItemsLocator.treeModel.makeCurrent}"
                                          rowSelection="single" id="tt2"
                                          styleClass="AFStretchWidth"
                                          rowDisclosureListener="#{backingBeanScope.TabListenerBean.LocationTableRowDisclosureListener}">
                              <f:facet name="nodeStamp">
                                <af:column id="c110">
                                  <af:outputText value="#{node.SubinventoryCode}" id="ot116"/>
                                </af:column>
                              </f:facet>
                              <f:facet name="pathStamp">
                                <af:outputText value="#{node}" id="ot117"/>
                              </f:facet>
                              <af:column id="c111"
                                         headerText="#{bindings.ItemsLocator.hints.Qoh.label}">
                                <af:outputText value="#{node.Qoh}" id="ot118"/>
                              </af:column>
                              <af:column id="column1"
                                         headerText="#{bindings.ItemsLocator.hints.Openorderqty.label}">
                                <af:outputText value="#{node.Openorderqty}"
                                               id="outputText1"/>
                              </af:column>
                              <af:column id="column2"
                                         headerText="#{bindings.ItemsLocator.hints.Openwoqty.label}">
                                <af:outputText value="#{node.Openwoqty}"
                                               id="outputText2"/>
                              </af:column>
                              <af:column id="column3"
                                         headerText="Locator">
                                <af:outputText value="#{node.Locator}"
                                               id="outputText3"/>
                              </af:column>
                            </af:treeTable>

    I was able to find the issue which is causing the problem, both the VOs are SQL Query Based VOs.
    The ChildVO (SubInventoryVO) is has a bindvariable in its Query, which is losing its value when the viewlink accessor query gets appended to it.
    Please find the query below
    SELECT * FROM (SELECT MOTV.ORGANIZATION_CODE, MOTV.SUBINVENTORY_CODE  
    FROM MTL_ONHAND_TOTAL_V MOTV
    WHERE INVENTORY_ITEM_ID = :P_INVENTORY_ITEM_ID) QRSLT  WHERE ORGANIZATION_CODE = :Bind_OrganizationCode Though I am setting the VO query before the Table is rendered, ":P_INVENTORY_ITEM_ID".
    Its Losing its value, when the above whereclause "ORGANIZATION_CODE = :Bind_OrganizationCode " gets appended to it.
    I am thinking to use ExecuteWithParams Operation on SelectionListener method of the Tree Table to set the ":P_INVENTORY_ITEM_ID" bind variable, but I also want the viewLinkAccessor rule also to be applied ..
    Please suggest me how to retain the implicit bindVariable of the Query.

  • Not getting updates and horrible customer service

    I ordered service on 3/26 for 3-bureau monitoring service and received my report and scores. Since then, I've had 2 major things happen to my credit reports. A 90% UTI credit card (nearly 4k) was paid off, and posted to all 3 of my credit reports as $0 balance, and a collection has fallen off of my Transunion report. I have confirmed on all of reports that the events took place through fresh credit pulls from other means.  I call up today to find out why my I'm not being alerted to the changes and the customer service agent said that she doesn't know when alerts are suppose to happen. She then said I don't get them right away and I have to wait a few days for them to pop up, and I have to wait until the credit bureaus send the information to myFico before I'm alerted and it could take days. This doesn't make sense, the point of alerts is to notify me immediately when a change occurs so that I can take corrective action if something's wrong with my report and to keep up with my scores. This is the way it worked when I paid for SW a couple years ago. I purchased this so as I apply for some loans with HPs and pay off my bills I can keep track of my score and be notified when the HPs happen and keep an eye out for identity theft. Obviously according the customer service agent, this is not how the system works, so I'm lost at why I would pay $25/mo for the service. Additionally, the customer service agent was rude and unprofessional, has no clue how the system works, and is a detriment to your company. I cancelled my account, and she made it well known that she was perfectly fine with that. Apparently, you guys don't want my business.

    Hello amc926
    Your issue has been escalated to a Verizon agent. Before the agent can begin assisting you, they will need to collect further information from you.
    Please go to your profile page for the forum, and look in the middle, right at the top where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under “My Support Cases” you will find a link to the private board where you and the agent may exchange information. This should be checked on a frequent basis as the agent may be waiting for information from you before they can proceed with any actions.
    To ensure you know when they have responded to you, at the top of your support case there is a drop down menu for support case options. Open that and choose "subscribe".
    Please keep all correspondence regarding your issue in the private support portal.

  • JTable containing checkbox column is not getting updated

    My application has a JTable and the first column is made up of checkboxes I have added a mouse listener for this table and implementd mousePressed(MouseEvent) method also. So when the user presses the mouse on these checkboxes I will update my loca data structure. Now the problem is this, when the user presses and drags the mouse to some other place(out of the current cell) then the table is not getting updated(the cell is not changing its value). But my local data structure is getting updated as the event is already fired. Please suggest me a solution for this.
    Thanks in advance
    Varun

    thanks for your information. Actually I have seen this tutorial before but I think my case is little different. Sorry for not explaining it completely. My table has got a checkbox column header and another checkbox which is not part of the table. The second column in the table contains a user object. User can select rows by clicking on the checkbox header (select all rows/ deselect all rows), by clicking on individual cells or by clicking on the third checkbox provided for a specific purpose. So whenever the user does this "selection" operation I update one member variable in the user object which is in the second column. I tried putting my code in the setValueAt() method of my table model but couldn't make it work because of my lack of experience in swing or programming. So please tell me whether what you have suggested is valid or not. I added a mouse listener because there was a requirement to show some information to the user when he do a double click on one column of the table.

  • The currency is not getting updated in the table VBAP

    Hi ,
    The currency is not getting updated in the table VBAP. The currency was suppossed to be copied from the header table VBAK for a Sales Order. When the user creating a Sales Order the currency WAERK is not shown in VBAP table. VBAK-WAERk is in EUR . Does anyone know why is this happenning?
    Currency is maintained in the Customer Master, Material Master and Sales Org. Any suggestions?.
    Also it is happened for only one line item in a set of line items , Other line items did display the currency field.
    The net Value has data in it .
    The system is ECC 5.0
    Regards,
    Senthil

    Dear Senthil,
    Please apply the following notes (if they apply to your support pack level) and retest:
    1460621 VBAP-WAERK is deleted after the sold-to party is changed
    1426441 VBAP-WAERK deleted for subitems
    1493998 VBAP-WAERK deleted for subitems
    This should resolve the issue. I hope this helps.
    Best regards,
    Ian Kehoe

  • Data is not getting updated in DB table

    hi all
    i am doing IDOC to jdbc scenario
    i am triggering idoc from R/3 and the data is going into DB table
    sender side:       ZVendorIdoc
    receiver side:
    DT_testVendor
      Table
        tblVendor
          action       UPDATE_INSERT
          access      1:unbounded
            cVendorName 1
            cVendorCode 1
         fromdate    1
         todate      1
          Key
            cVendorName  1
    if i trigger idoc for example vendor 2005,2006 and 2010 data is getting updated in the table
    but again if i trigger idoc for same vendor nos data does not get updated in DB table while message is successfull in moni and RWB both
    plz suggest if any change need to be done to update the data
    Regards
    sandeep sharma

    Hi Ravi
    you are right, vendor no is my key field . problem is when i send data again then it should Update the data but it's not updating the data again
    i did on exp with this : i deleted all the record from the table and then  triggered idoc for vendor 2005 , 2006,2010 after this data is updated in the table i deleted the rows for vendor no 2006 and 2010 and kept the row for vendor 2005
    then i again trigered the idoc for vendor no 2005,2006 and 2010 now this should update and it should insert rows for vendor no 2006 and 2010 but i am surprised its not updating the data
    Thanks
    sandeep

  • Not getting updating in a table....

    Hi friends,
    Currently i working on integration of apex with ebs R12.....And i have successfully integrated following the rod west document....
    I created one DB application in my sample schema that is associated with apex 4.0.....
    Application details:
    *) login page(where i will be giving username and password)
    *) page 1 (consist of several form fields, like
    --->name:
    --->module:
    --->projects:
    ----->email:
    the above are the fields, if i put any entries in the above field means, it will get automatically inserting in the report column, which is also in the same page consist of the above fields in the table manner...
    since this report table consist of an edit icon in front, if i clicked the edit icon of an one row means, it will go to another page..
    *) i.e. page 3(consist of the same fields with entries in it automatically corresponding to the each and every row, suppose if i want to update any changes means i can update in it....
    this is my application that i developed it is working well with in the sample schema apex 4.0..
    What i did is i created a new workspace with APPS schema in it...and i have imported my application that i developed in sample schema to APPS schema....
    Since after importing to APPS schema...when i tried to open the application, it is not showing any datas in it...That is due to the tables that are supporting the application is not in APPS schema, so what i did is i have given grant privilege to the respective tables and also i have created a synonym for accessing the table in APPS schema for supporting the application.....
    Now if i tried to put any entries in the form in page 2, it is getting inserting in the report column which is also in the page2....
    But my problem starts here, if i clicked the edit icon symbol in each and every row of the report column it is going to the page 3 which has a respective form fields, but it is not showing any entries in it automatically, and if i tried to put any entry in it, it is not getting updating in the report table......
    why this problem occurred for my application in APPS schema....But my application works very well within the sample schema......why it is not showing any entries in the form automatically soon after i clicked the edit icon in each and every row.....
    i couldn't know what is the real problem behind this..... help me friends,
    Thanks in Advance..
    Regards,
    Harry...

    Goodmorning,
    Have you had a look for notes, Depending on the release and industry sollution you can find several notes on this subject (start looking for message RW 022).
    Annemarie de Bruijn

  • Open sales order not getting updated in FD32

    HI
    We are configuring Credit management, and found that the open sales orders are not getting updated in FD32.
    I have checked all the settings in OVA8 and all are working fine. This is a Static credit check and system is blocking the customer in case, the limit is exceeded. But the values are not getting reflected in FD32, for open sale orders, that are not blocked.
    Info structure S066  in OMO1 all are configured perfectly. I have run F.28 and no log was issued.
    Request to suggest other reasons for not getting updated in the table.
    I have gone thru the previous threads, but cud not find any solution.
    Regards
    Vamsi Javaji.

    Hi Vamsi Javaji
    First of all check in OVA8 wheather you have checked Open sales orders feild or not . Secondly check in your pricing procedure wheather you have maintained Subtotal A or not for the Net Value .Also check wheather you have assigned to your sales document type correctly or not  Finally check in OMO1 wheather S066 has been assigned correctly or not
    Check wheather you have assigned the Credit control area to the customer in CMR , in sales tab
    Regards
    Srinath

  • Serial number is not getting updated in GR

    Problem: Serial number in not getting updated GR document (in stock) while going GR for production order.
    We are using u201CBAPI_GOODSMVT_CREATEu201D to do production order GR in one development. And we have used serial number profile in which we kept GR as optional. Please fine details of serial number profile as below. We have a restriction that we can not make GR mandatory in serial number profile.
    MMSL     Maintain goods receipt and issue doc.     02     02
    PPAU     Serial numbers in PP order     02     01
    PPRL     PP order release     04     01
    PPSF     Serial nos in repetitive manufacturing     03     01
    QMSL     Maintain inspection lot     02     01
    SDAU     Serial numbers in SD order     01     01
    SDCC     Completness check for delivery     02     01
    SDCR     Completion check IR delivery     02     01
    SDLS     Maintain delivery     02     01
    SDRE     Maintain returns delivery     02     02
    As we are passing serial number in BAPI while doing GR but still is not getting updated in GR document. When we check stock in MMBE, it is not showing any serial number.
    Please suggest solution.
    Thank you.

    Hi Chetan,
    Since your MMSL procedure is optional, you cannot carry assignment of Serial Numbers against goods Movement. Though you are passing serial numbers during GR, but Serial Numbers are linked only upto Production Order Level, not upto the Stock. The only option to display the Serial numbers against Stock can be done using MMSL procedure as 3. We also faced the similer situation, whenever ur doing automatic goods movement with MMSL as 02 [Auto GR], One possible solution, is to create a custom program to complete ur GR like using Call Transaction BDC -MB32, not as standard SAP Auto GR, & need to make MMSL as 3...so that both purpose gets served [ Serial number linking to stock & Automatic GR using custom program]
    Please share, if you get any better idea
    Krishna Kulkarni

  • Error in Proxy- Table not getting updated

    Hi,
    This is an Interface between Oracle and SAP SRM. The Middleware used is
    SAP XI.XI is fetching the data based on the SQL condition in the JDBC Adapter. The SAP XI JDBC Adapter picks up the
    data with a poll interval of 600 seconds and do the required mapping
    transformation in SAP XI and it gives XML to SAP SRM. The
    receiver XI Adapter used is XI Adapter since there is a Inbound Proxy
    program in the SRM system which when receives the XML from SAP X,
    updates table . The data which is getting updated is of Bid
    Invitation in SRM. I am able to see xml messages in SXMB_MONI in SRM system. But data is not getting updated in the tables.Any idea why this happening.
    Thanks

    have you created  the sales order through  BDC .... or manually ....check  first ...
    if it is  through BDC  ...then error in the Program ...
    if it is throught  Manual   check with  function People  in  SD they would have  defined in the Customisation  upto 130 lines  of  Line  item ...
    orelse   the  patch should  be  applied ...
    if  you ask anydoubt in this  message  ....please mention your  sap version which you are working ...
    Girish

  • Table not getting updated

    Hi
    I'm having a problem with updating an item which is not a database item.
    I have about 8 fields , Items 1-7 belong to table A and item 8 belongs to table B
    I have block level triggers like post-insert, pre-update and pre-delete to take care of the insert, update and delete which are all working fine.
    Except when I update Item 8 ONLY , table B does not get updated and I get the message frm-40401 - No Changes To Save
    I'm not able to figure out what else is needed. Pls help.
    Thanx

    There may be a better answer, but try setting the Lock Record property to Yes on the non-base-table item.
    If that doesn't work, in the item's when-validate-item trigger, set one of the first seven items values to itself:
    :Blk.Itm1 := :Blk.Itm1;
    This will cause the record status to be CHANGED, so the record update will take place.

  • KINAK field in Table KONV not getting updated with value W

    Hi,
    I have a PO where I am deleting a line item.
    After I delet line item the field KINAK in table KONV gets updated with value W.
    But I am getting instance where in some cases the field KINAK is not getting updated.
    The result is deleted line item is getting populated in PO output also.
    Regards
    Nandiini

    KINAK is updated only when a Condition is inactive ! So when a item is deleted the condition becomes inactive and gets updated with 'W' which means statistical(not to be counted)
    A     Condition exclusion item
    K     Inactive due to calculation basis/shipping material type
    L     Condition exclusion header or inactive at header level
    M     Inactive due to manual entry
    T     Inactive at header level
    W     The document item is statistical
    X     Inactive via formulae of incorrect
    X     Inactive via formulae of incorrect
    Y     Inactive because of subsequent price

  • Matlab workspace not getting updated while labview mex file is running

    Hi,
    Let me start from the overview of the system for better understanding.
    The system is to acquire data from a DAQ6070e using labview 7.1 . this data is then to be used in matlab for processing. All this needs to happen in real time hence the data is to be acquired from labview and outputted into matlab in real time.
    in order to do this we generated the labview and the matlab codes seperately. After days of hard work we managed to import the labview vi into matlab using a math interface toolkit, but now have run into another interesting problem.
    the workspace in matlab is not getting updated during the time the labview vi is running inside matlab. it only updates after the vi has run . for example if i need to monitor the system for 300 seconds then ideally the labview vi should output the samples for each acquisition and output it to matlab, what actually is happening is that the labview keeps running for 300 seconds without outputting any data during those 300 seconds and only outputs the last set of acquisition values at the end of the 300 seconds. Which beats the purpose of the whole program.
    Kindly help
    Regards
    Manuj

    Thanks Mate,
    What you said about "MEX file will not be able to "store" data between runs" ,i realised in the morning. as a result i dont think your suggestion of for loop will also be effective as labview mex file will not acquire data during matalb code execution and vice versa.
    Hence i have decided to do it the other way...we will now try to run the matlab code in labview.
    this leads to other problem
    As this is a real time operation i need to find out a way of storing the data into computer memory and then reading from it(when i say memory i do not mean writing it to a file and readin from it as that is slow) becasue i think the buffer i am specifying in my AI config is not big enough.
    I was thinking maybe i should use a RT FIFO queue but then i have not been able to find out the difference between buffer memory and fifo memory. ie is buffer memory supposed to be the ram memory or is it the hard disk memory?
    I am posting the vi here for easy understanding
    All help is very much appreciated
    Attachments:
    RT-loop2ver21.vi ‏231 KB

Maybe you are looking for

  • Multiple constraints cause exception and I don't understand why;

    Hi: I am using a 10.2.0.3 DB to look at some code that to the best of my knowledge works in 8i. The combination of constraints they put on the table end up preventing a user from inserting records in 10g due to a constraint violation. Caveats: NOT MY

  • Lsmw Idoc  ......

    Hi friends,   I am working on LSMW Idoc ....after uploading the data ...The idoc got created with 53 staus successfully .   after succesfull creation Of Idoc , when i check the data in the database  its not going to updating the data base. is there a

  • Mail Sync

    Anyone else have a problem receiving e-mail on their iPhone 4? My last update was this morning at 6:36. I know that I have received e-mail on my accounts, just not showing up on my iPhone.

  • How do I permanently delte purchased songs from my iTunes library without Match?

    How do I permanently delte purchased songs from my iTunes library without Match? iTunes is automatically syncing songs I purchased years ago to my iPhone without me asking it to. I have not and am not going to pay for Match. I want to get of of these

  • How to recovery MSE 3310

    Hi ALL     MSE can not boot.MSE show error log INIT: cannot execute "/sbin/mingetty" INIT: cannot execute "/sbin/mingetty" INIT: cannot execute "/sbin/mingetty"cannot execute "/sbin/mingetty" INIT: cannot execute "/sbin/mingetty" INIT: cannot execute