Skip to Content
avatar image
Former Member

server proxy...

we have configured the scenario file to proxy to update ZTABLE in R/3. The problem is XI some times not able to update ZTABLES. If repeat FTPing same file 2 or 3 times, then updating the Z tables. how can we proceed to solve this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Feb 12, 2008 at 12:17 PM

    Hi,

    Check this Debugging the proxies

    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

    Regards

    Seshagiri

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 12, 2008 at 12:19 PM

    if you repeat the same file again and again then i dont think Proxy will update the same data in Ztable because its a duplicate again with same Key field.

    if you will change the Key Field in table then i think proxy will add that data in new records.

    BR,

    Kasturika

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 12, 2008 at 12:32 PM

    Hi,

    be careful: you can update a SAP table only if nobody work on it during the same time. cf locked table !

    Also you can use a ENQUEUE and DEQUEUE to lock the table when you do your update. This will lock the table when your program is running. But this does not resolve the problem if somebody already use the table. That's means in your abap program you need to check the sy-subrc after your UPDATE, INSERT or DELETE, and (at least !) generate an error message in a log like "Table is locked by another one, data cannot be updated".

    Moreover, if your XI interface is used several times in parallel, your are exactly in the situation describe above with 1st treatment lock the 2nd one, and so on until 1st is finished.

    Regards.

    Mickael

    Edited by: Mickael Huchet on Feb 12, 2008 12:33 PM

    Add comment
    10|10000 characters needed characters exceeded