CA02 Routing change with /SAPMP/BAPI_ROUTING_PROCESS

Hello ,
I am using /SAPMP/BAPI_ROUTING_PROCESS BAPI to change Standard values VGW02 field , I m getting the below errors ,
Operation cannot be locked (lock management error)
Operation cannot be locked (lock management error)
Please advise about what am i missing in passing parameters to BAPI.
Thanks

Hi,
Are you uploading using program or lsmw.In some bapis there is an issue like locking.Please check using lsmw.
Regards,
Madhu.

Similar Messages

  • Require Operation Increment fiels as optional in ca02(Routing change)

    Dear Friends,
    I have a business requiremnt for which i require *Operation Increment(plpod-vintv)*  field as optional  instead of mandatory .
    This field come at the time of changing Routing in CA02 while assigning the reference operation set to material.
    Due to this the operation number in the Routing deferred from the operation number in the reference operation set .
    Please suggest me possible way to overcome this problem.

    Tran - SPO
    Go to Production > Basic Data > Routing > Control Data > Field Selection.
    Here you can make fields as optional.
    Regards
    RAJESH DANGLE
    do reward if problem solved.

  • Lock management error in bapi /SAPMP/BAPI_ROUTING_PROCESS of ECC 6.0 system

    Hello Experts,
    I am trying to use this bapi /SAPMP/BAPI_ROUTING_PROCESS for changing the routing. Am marking the change mode in import parameters of this bapi and filling the task, material allocation, sequence and operation tables with tasklist and group.
    On executing this bapi, i am getting several errors like "Header cannot be locked(lock management error) in task table and "Operation cannot be locked(lock management error) in operation table.
    Please help me out of this issue.
    Regards,
    Vijayalakshmi

    You have to fill parameter WORKAREA with the value from tcode op77

  • Mass change on Backflushing box in Routing change when several Alt. BOM

    Hello Gurus,
    Is there a standard program to tick the box Backflushing in Routing change ?
    It tried to manage it with LSMW but unfortunately there is one major difficulty: more than one Alternative BOM.
    When I click on CompAlloc, SAP displays a list of all Alternative BOM existing for the selection.
    We can manage this list only with mouse click which LSMW doesn't manage properly.
    Second problem is to tick in one shot all the box item.
    Scenario I used:
    Transaction CA02.
    Enter Material / Plant / Group.
    Diplay List of Operations.
    Click on CompAlloc.
    Click on one Alternative BOM -> Here is the problem 1
    Display List of Material Component Overview.
    Tick Backflushing for all items displayed -> Here is the problem 2
    Many thanks.
    Stéphane

    Hello Veerabathiran Suresh,
    My situation is slightly different.  I have a ONE specific material that needs to be backflushed on the MANY materials it is being consumed by.  Using CEWB I call all the BOM's that are using this material.  Unfortunately CEWB only allows me to view only one material assignment and BOM it belongs to at a time for this specific material. 
    I am assuming the individual that started this thread needed MANY materials for ONE specific BOM backflushed.  One material assignment needs to be viewed in this scenario.
    Can it be done in mass, in my situation explained above (MANY BOM's using this ONE material and changing those backflush indicators)?

  • Matching Route Patterns with standard Local Route group and Specific Route Group

    Hi
    I have a customer with CUCM 8.6 with few branches
    couple of branches in UK and few in Europe and middle east.
    I configured route patterns with Standard local route group, but using their own Voice gateway, everything was working fine until adding the recent branch with matching pattern 
    UK has a mobile pattern with 9.07XXXXXXXXX (11 digits)
    One Branch has a mobile with 9.07XXXXXXXX (10 digits)
    When branch call 907X..(10digit) number there was a delay and I ticked the Urgent priority to process it quicker, but later realized the UK branch cannot dial 907x.. (11Digit) mobile.
    I created Route List for branch and added the 10 digit pattern to that but still the UK cannot call 11 digit. so i believe when you call out it will check the pattern first and the Route-List and Route-Group and gateway play a part.
    Is there a way to get 07 -10digit call out quickly also allowing the 07 -11digit pattern as well ( without changing the T302 timer)
    Really appreciate your support
    thanks
    shameer

    Yes, they key to managing overlapping centralized dial plans is to be really good with patterns, partitions, and CSSs. You can have 3 different 9.0[2-9]XX-[2-9]XX-XXXX patterns and assign them a different partition, and then assign that to the branch CSS. This will only work if each Branch has a different CSS.
    For example:
    9.0[2-9]XX-[2-9]XX-XXXX @ Egypt-PT ->Routes to Local route group of Egypt.
    9.0[2-9]XX-[2-9]XX-XXX @ UK-PT -> Routes to Local route group of UK
    9.0[2-9]XX-[2-9]XX-XXX @ Germany-PT -> Routes to Local Route group of Germany.
    //PT = partition//
    Then have Egypt-CSS that contains 9.0[2-9]XX-[2-9]XX-XXXX @ Egypt-PT. 
    UK-CSS contains 9.0[2-9]XX-[2-9]XX-XXX @ UK-PT
    Germany- CSS contains 9.0[2-9]XX-[2-9]XX-XXX @ UK-PT
    The other patterns will be invisible to your sites because they are in a different partition that is not in their CSS. 2 overlapping patterns in the same PT will cause you to wait for the inter-digit timeout unless you press #.
    Thanks,
    Frank

  • SLS as Router: Trouble with internal hosts connecting to external IP.

    I was hijacking [http://discussions.apple.com/message.jspa?messageID=12200257] long enough, so I'm moving this to my own question.
    Setup: SLS 10.6.4 on Mac Mini(2010).
    GigE en2 is connected to an internal network (hereafter 'lan')
    USB Ethernet en0 (MacBookAir adapter) is connected to the external network (hereafter 'WAN').
    Server has Two IP addresses, 'lan.lan.lan.2' and 'WAN.WAN.WAN.WAN'. Default route for server is 'WAN.WAN.WAN.GW'.
    Server is serving NAT, DHCP, Firewall
    Internal clients (such as 'lan.lan.lan.lan') trying to connect to 'WAN.WAN.WAN.WAN' (any port, any service) take about 13 SECONDS before they receive a reply.
    External clients connecting to the WAN IP get served right away. ("The cobbler's children go barefoot").
    Internal clients connecting to the internal IP (lan.lan.lan.2) are connected right away, also.
    If I run 'route monitor' on the server during the 13 second connection, I see this:
    bash-3.2# route monitor -n
    got message of size 124 on Wed Sep 1 21:21:16 2010
    RTM_LOSING: Kernel Suspects Partitioning: len 124, pid: 0, seq 0, errno 0, ifscope 0, flags:<UP,GATEWAY,HOST,DONE,WASCLONED,IFSCOPE>
    locks: inits:
    sockaddrs: <DST,GATEWAY>
    lan.lan.lan.lan WAN.WAN.WAN.GW
    Yes, it would be a losing route to try to reply out the WAN.WAN.WAN.GW for the internal address!
    Furthermore, "traceroute -s WAN.WAN.WAN.WAN lan.lan.lan.lan" shows a route going OUT which of course fails.
    Traceroutes of the LAN and WAN port on the server, show indeed that for the first several seconds, (until the RTM_LOSING message appears) the server tries to reply out the WAN port.
    I've tried all sorts of static routes… to no avail
    One odd thing: Why is the RTM_LOSING route IFSCOPEd to the external interface?
    Any help is appreciated.
    Yes, I'm definitely considering using a hardware router instead. But I'm really trying to avoid that- trying to save on space, power, heat here. The Mac is really a great box… If I can only get this fixed.
    Thanks in advance to anyone who looks at this.
    packet trace below: combined lan and [WAN] trace
    Client on "lan.lan.lan.lan" port 50592
    trying to connect to external IP WAN.WAN.WAN.WAN.80
    [WAN] indicates replies sent out on the WAN port!
    Note: also uploaded this to [http://pastebin.com/7hjfGUKH]
    17:59:40.368696 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [S], seq 3990700560, win 65535, options [mss 1460,nop,wscale 1,nop,nop,TS val 649354945 ecr 0,sackOK,eol], length 0
    17:59:40.368977 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: [WAN] Flags [S.], seq 702390106, ack 3990700561, win 65535, options [mss 1460,nop,wscale 2,nop,nop,TS val 899983692 ecr 649354945,sackOK,eol], length 0
    17:59:40.912337 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: [WAN] Flags [S.], seq 702390106, ack 3990700561, win 65535, options [mss 1460,nop,wscale 2,nop,nop,TS val 899983697 ecr 649354945,sackOK,eol], length 0
    17:59:41.319955 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [S], seq 3990700560, win 65535, options [mss 1460,nop,wscale 1,nop,nop,TS val 649354954 ecr 0,sackOK,eol], length 0
    17:59:41.320185 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: [WAN] Flags [.], ack 1, win 65535, options [nop,nop,TS val 899983702 ecr 649354954], length 0
    17:59:41.513346 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: [WAN] Flags [S.], seq 702390106, ack 3990700561, win 65535, options [mss 1460,nop,wscale 2,nop,nop,TS val 899983703 ecr 649354954,sackOK,eol], length 0
    17:59:42.321320 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [S], seq 3990700560, win 65535, options [mss 1460,nop,wscale 1,nop,nop,TS val 649354964 ecr 0,sackOK,eol], length 0
    17:59:42.321546 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: [WAN] Flags [.], ack 1, win 65535, options [nop,nop,TS val 899983712 ecr 649354964], length 0
    17:59:43.322294 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [S], seq 3990700560, win 65535, options [mss 1460,nop,wscale 1,nop,nop,TS val 649354974 ecr 0,sackOK,eol], length 0
    17:59:43.322464 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: [WAN] Flags [.], ack 1, win 65535, options [nop,nop,TS val 899983722 ecr 649354974], length 0
    17:59:44.323703 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [S], seq 3990700560, win 65535, options [mss 1460,nop,wscale 1,nop,nop,TS val 649354984 ecr 0,sackOK,eol], length 0
    17:59:44.323931 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: [WAN] Flags [.], ack 1, win 65535, options [nop,nop,TS val 899983732 ecr 649354984], length 0
    17:59:45.325059 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [S], seq 3990700560, win 65535, options [mss 1460,nop,wscale 1,nop,nop,TS val 649354994 ecr 0,sackOK,eol], length 0
    17:59:45.325235 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: [WAN] Flags [.], ack 1, win 65535, options [nop,nop,TS val 899983742 ecr 649354994], length 0
    17:59:45.521364 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: [WAN] Flags [S.], seq 702390106, ack 3990700561, win 65535, options [mss 1460,nop,wscale 2,nop,nop,TS val 899983743 ecr 649354994,sackOK,eol], length 0
    17:59:47.327098 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [S], seq 3990700560, win 65535, options [mss 1460,nop,wscale 1,nop,nop,TS val 649355014 ecr 0,sackOK,eol], length 0
    17:59:47.327279 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: [WAN] Flags [.], ack 1, win 65535, options [nop,nop,TS val 899983762 ecr 649355014], length 0
    17:59:51.330558 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [S], seq 3990700560, win 65535, options [mss 1460,sackOK,eol], length 0
    17:59:51.330772 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: [WAN] Flags [.], ack 1, win 65535, options [nop,nop,TS val 899983801 ecr 649355014], length 0
    17:59:53.537006 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: Flags [S.], seq 702390106, ack 3990700561, win 65535, options [mss 1460,nop,wscale 2,nop,nop,TS val 899983823 ecr 649355014,sackOK,eol], length 0
    17:59:53.538328 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [.], ack 1, win 65535, length 0
    17:59:53.538420 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: Flags [.], ack 1, win 65535, options [nop,nop,TS val 899983824 ecr 649355014], length 0
    17:59:53.556404 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [P.], seq 1:164, ack 1, win 65535, length 163
    17:59:53.556490 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: Flags [.], ack 164, win 65535, options [nop,nop,TS val 899983824 ecr 649355014], length 0
    17:59:53.576007 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: Flags [.], seq 1:1449, ack 164, win 65535, options [nop,nop,TS val 899983824 ecr 649355014], length 1448
    17:59:53.631457 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [.], ack 1449, win 65535, length 0
    17:59:53.631541 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: Flags [P.], seq 1449:1527, ack 164, win 65535, options [nop,nop,TS val 899983824 ecr 649355014], length 78
    17:59:53.632619 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [.], ack 1527, win 65535, length 0
    17:59:53.656753 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [F.], seq 164, ack 1527, win 65535, length 0
    17:59:53.656840 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: Flags [.], ack 165, win 65535, options [nop,nop,TS val 899983825 ecr 649355014], length 0
    17:59:53.656920 IP WAN.WAN.WAN.WAN.80 > lan.lan.lan.lan.50592: Flags [F.], seq 1527, ack 165, win 65535, options [nop,nop,TS val 899983825 ecr 649355014], length 0
    17:59:53.658263 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [.], ack 1527, win 65535, length 0
    17:59:53.658383 IP lan.lan.lan.lan.50592 > WAN.WAN.WAN.WAN.80: Flags [.], ack 1528, win 65535, length 0
    Message was edited by: the bee

    Thank you for replying… ( +No, that's not the sound of desperation in my keystrokes…+ )
    Anthony Bugera wrote:
    First I created the file sysctl.conf (copy of sysctl.conf.default) in the /etc directory and added the following line:
    net.inet.ip.scopedroute=0
    I thought that's basically what I did, from the command line, but…
    Second I installed Applejack 1.6, booted the server in single user mode, and issued the following command:
    applejack auto restart
    I wasn't sure what the purpose of AppleJack <http://applejack.sourceforge.net/> was here, but reading on…
    Everything has been stable for over 3 hours. I did the scopedroute change with the conf file and rebooted because other people in other discussions have had limited success modifying the setting while the server was running (without *clearing the caches, aka applejack*, and rebooting).
    Aha! There's probably a simple command line way to do this while running… somewhere… But, I'm willing to try it. I've already made the Mac our site's perimeter router, and I'm not quite ready to switch to a separate hardware router as the shiny new Mini ought to work.
    But, some sort of cache being out of date, is a plausible reason for it "only working for a little while".
    On the plus side, I'm getting a great TCP/IP re-education in the meanwhile.

  • In version 3.6 I can not open a website link from original page, I keep getting a new window that is blank and asking me to put in a web address. What has changed with the new version?

    When on a page if I click on a web link I get a new window that is blank and asks me enter a web address. This started happening with the new 3.6 version. It seems to have something to do with what I choose for the location in my privacy settings as the window changes with each setting but I still cannot get to the new site. Any ideas? I have no problem with this in IE and I have to keep opening IE when I encounter the problem on Firefox which is annoying.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • HT1918 I can't seem to update my apps or make any purchases on from my account. Nothing has changed with my credit card information and for some reason the iTunes Store tells me my information is incorrect. What do I do?

    I can't seem to update my apps or make any purchases on from my account. Nothing has changed with my credit card information and for some reason the iTunes Store tells me my information is incorrect. What do I do?

    Yes, it's frustrating.
    I don't have my iPod with me but, as I recall, the change is done in Settings/Store.  That change will apply to NEW purchases.  However, be aware that all purchases are permanently associated with the Apple ID that was originally used.  Generally, it's only a problem when you need to update an app.  IF you do your updating from iTunes and your logged in to the "wrong" ID, you'll need to log out and back in again.  It's easier from the iPod as you do not need to log out/in but you do need to know the password.
    Unfortunately, you can not merge IDs nor can you transfer purchases from one ID to another.  Go here to find out exactly what you have.  I have the same problem so I deliberately made both passwords identical to make things slightly easier for me.

  • Routing Issue with Telia

    I think verizon has a routing issue with Telia.

    thought I would share this,   Telia has admited an issue on their network
    Twitter / Telia_service: @Ungvall routing problem? This ...
    https://twitter.com/Telia_service/status/179661595276881921
    Cached
    Similar
    Share
    View shared post
    BTW Apparently @Telia_service had routing problems on both the latest iOS and ... DNS problem and we are working with Akamai for a sollution to this problem

  • Routing Issue with 3550

    I am having a routing issue with a 3550 switch. I have 5 vlans and I need one of the vlans to access a different router based on destination IP rather than our edge router. I have entered a static route on the 3550 that points to the secondary router whenever a certain network is tried to be accessed. My problem is I can't seem to get the traffic to flow correctly. When I trace route an address on the Internet the path shows as expected, the 3550 then my firewall then my edge router. When I trace an address that is on the other side of the secondary router I get the 3550 as the first hop, then nothing. I can ping the address so I know the path is up. What could be the issue? Thanks in advance.

    Hello,
    in addition to Mahmood´s post, what do you have defined as the next hop for the default route to the secondary router ? If you use an interface on the 3550 as the next hop, make sure that whatever is connected is in the same subnet, otherwise use the IP address of the next hop. So, let´s say your remote network is 192.168.1.0, and the secondary router is connected to FastEthernet0/1, your default route should look like this if the secondary router is in the same subnet (in this example, the IP address of the secondary router would be 172.16.1.2):
    interface FastEthernet0/1
    no switchport
    ip address 172.16.1.1 255.255.255.252
    ip route 192.168.1.0 0.0.0.255 FastEthernet0/0
    Otherwise, try:
    ip route 192.168.1.0 0.0.0.255 172.16.1.2
    where 172.16.1.2 would be the address of the secondary router.
    Does that make sense ?
    Regards,
    GNT

  • I have a 3rd generation iPod Touch and just did the update to IOS 5. Now I can't connect to my Netgear wifi router. My iPhone connects fine along with all of my other laptops etc. I have the router set with WPA-PSK [TKIP] security and an access list.

    I have a 3rd generation iPod Touch and just did the update to IOS 5. Now I can't connect to my Netgear wifi router. My iPhone connects fine along with all of my other laptops etc. I have the router set with WPA-PSK [TKIP] security and an access list. I've confirmed the mac address is included on that list and that the password is correct. Under choses netwrok I select the network and it just goes into a spin. I have tried removing the password and the access list settings and it still will not complete the connection to the router thus no internet access. The routers firmware is also up to date. This thing worked fine before this update and I've already tried to restore from backup. Any ideas or is the wifi nic bad in this thing with the new apple firmware update? Any fix?

    Thanks Bob, I don't know why but it all of a sudden worked a few days later. It's a mystery but at least problem solved.

  • Trying to get a 3rd Party Router working with BT I...

    Hi,
    I'm trying to move away from the HHub5 on our FTTC BT Infinity connection (40Mb/s). Eventually I settled on a TP-Link WDR 3600 N600 - the flavour which is happy to talk to cable modems and take an OpenWRT install.
    So far I've hooked up a BT OpenReach "white box" modem using the HHub's RJ11 lead, going from the DSL filter into the OpenReach modem's DSL socket.  The modem's DSL LED lights up solid green - which I presume is good?  The TP-Link router is up & running fine with OpenWRT installed, I can connect to it over WiFi and I've hooked up its WAN connection to the OpenReach modem's LAN1 socket (LAN2 is blanked out).
    But whatever I put in the router's PPPoE settings I just can't get an internet connection to come up.  So far I've used '[email protected] (as it's set on the HHub) and a few other suggestions from the forums including 'anything you like' @btinternet.com and @btbroadband.com - nothing seems to get the connection going.
    Is there something I've missed or can anyone suggest a solution?
    Many thanks,
    Steve
    Solved!
    Go to Solution.

    Sorry to answer my own question, but in case it helps anyone in the future:
    I had to put my username in the username AND password fields - same details in both.  I've not seen this written  anywhere online, everyone says to leave the password field blank as it's unused.
    So to recap - this is what got my TP-LINK WDR3600 (OpenWRT based) router working with Infinity: stick [email protected] in the PPPoE usernamd AND password fields.
    Steve

  • I cannot install iTunes updates as of today.  Does anyone have any idea what changed with iTunes?

    The question apparently needs to be typed in twice...  good work.  Here it is again:
    I cannot install iTunes updates as of today.  Does anyone have any idea what changed with iTunes?

    Is this a distinct issue from the 42404?
    If so, are you getting an error message when you try to install iTunes? If so, what does it say? (Precise text, please.)

  • How do I put the page number in my header so the header changes with every page

    I need to write a paper for my english class and I need the header to contain the page number so it changes with each consecutive page.
    I need to know ASAP! Thank you!

    Click in your header > Menu > Insert > Page Number
    Peter

  • Trying to get a WRT54GX2 wireless router working with a W...

    Trying to get a WRT54GX2 wireless router working with a WPC54G wireless card. The laptop and desktop both will access the Internet and work when hardwired through the router's Ethernet ports. When trying to access wireless, the Laptop shows to be connected to the router and also to Internet, but Internet Explorer can not access any websites.  Suggestions? Thanks.

    what ip address does the laptop get ?? ensure that the laptop is not set for a static ip add....and it gets an ip add from the router ..

Maybe you are looking for

  • Using iPhoto does it double up on memory space with pictures ?

    Using iPhoto on the pad does it double up on memory due to all photos on pictures and iPhoto. It seems I am using a lot of memory due to photos

  • Load Balancing Linux servers with CSS 11050 series

    We would like to load balance Linux FTP and Web servers with a CSS 11050 series device. Does the content switch use SNMP to load balance the servers? If so, which MIBs need to be loaded on the servers?

  • Setting security manager

    Hi, I have a typical requirement which asks me to have a security manager which applies to only a part of the code and not to the whole code. I will try to explain it. Lets say I have a class A which does something (may be it accesses files, open soc

  • Imp triggers fails

    hello during a project to migrate a database from 9.0 on win server 2003 to 10g r2 on AIX 5.2, i used export/import with the followinf steps: -create a database 10gR2 on the destination server , with the same name as the original database -create tab

  • How do I parse "dc:format" from XMP?

    Clearly, I'm new to XMP/XML for Photoshop. I'm building a script to handle illustrator files differently than PS files, and would like to do this through the XMP as it seems to be more stable than simply File("blah.txt").type, and the other methods r