Assign not working

Hi,
The below assign statement is not working. I am checking whether billToMasterAccount is equal to the OfflineAccountNbr, then i am assigning the value to the target variable BillToAccount. Actually i am not supposed to use switch to check this condition.
*<copy>*
*<from variable="Invoke_WS_MW_OUT_MwWebService_getVistaAgreements_OutputVariable"*
part="parameters"
*query="/ns10:getVistaAgreementsResponse/ns10:getVistaAgreementsReturn[ns11:billToMasterAccount=bpws:getVariableData('Invoke_OSB_BSOA_OUT_Services_process_OutputVariable','payload','/ns1:ORDER/Company/OfflineAccountNbr')]"/>*
*<to variable="BillToAccount"*
*part="parameters"*
*query="/ns10:getVistaAgreementsResponse/ns10:getVistaAgreementsReturn"/>*
*</copy>*
I am getting the following error.
*Error in evaluate <from > expression at line "688". The result is empty for the XPATH expression : "/ns10:getVistaAgreementsResponse/ns10:getVistaAgreementsReturn[ns11:billToMasterAccount=bpws:getVariableData('Invoke_OSB_BSOA_OUT_Services_process_OutputVariable','payload','/ns1:ORDER/Company/OfflineAccountNbr')]"*
*"{http://schemas.xmlsoap.org/ws/2003/03/business-process}selectionFailure" has been thrown.*
*<selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">*
*<part name="summary">*
*<summary>empty variable/expression result.*
*xpath variable/expression expression "/ns10:getVistaAgreementsResponse/ns10:getVistaAgreementsReturn[ns11:billToMasterAccount=bpws:getVariableData('Invoke_OSB_BSOA_OUT_Services_process_OutputVariable','payload','/ns1:ORDER/Company/OfflineAccountNbr')]" is empty at line 688, when attempting reading/copying it.*
*Please make sure the variable/expression result "/ns10:getVistaAgreementsResponse/ns10:getVistaAgreementsReturn[ns11:billToMasterAccount=bpws:getVariableData('Invoke_OSB_BSOA_OUT_Services_process_OutputVariable','payload','/ns1:ORDER/Company/OfflineAccountNbr')]" is not empty.*
*Possible reasons behind this problems are: some xml elements/attributes are optional or the xml data is invalid according to XML Schema.*
*To verify whether XML data received by a process is valid, user can turn on validateXML switch at the domain administration page.*
*</summary>*
*</part>*
*</selectionFailure>*

Hi,
Looks like the variable/s you are comparing donot have any value to be compared.
If you are using a select and populating the output to these variables, have a check after the select to see if it is a empty variable and then do a compare.
Regards,
Aasta

Similar Messages

  • Another FPN Thread: Remote role assignment not working

    Hi all,
    We have successfully implemented FPN for use in our ESS and BW environment and we are experiencing very little problems with it. We now want to start implementing it for our eRecruitment and SRM systems (as producers). For some reason we are not able to use the Remote Role Assignement functionality.
    We have set up trust for the systems and use SSO.
    Connection test for the producer is successfull.
    We can see the Producer content in the pcd on the consumer.
    Server times are the same.
    As far as I know I have correctly set permissions on producer and consumer.
    Possible cause: We are in the process of upgrading our consumer Portal to NW 7.0 SPS15 and have encountered some problems. The system is partially upgraded, so some components are SP15 and some others are still SP13. This is currently under investigation by SAP. Can this be an issue as our producer portals all are still on SP13?
    I hope to hear from you soon. Please ask if you need any screenshots. Thanks in advance.
    Best regards,
    Jan Laros

    Hi Jan,
    if remote role assignment not works, you can also use remote delta links. I only work with remote delta links because i have more options   and a better performance.
    If your connection works you can go to Content Administration ->Portal Content-> NetWeaver-Content-Producer. Hier you can see your remote system. Now you can copy the role and add it to your portal-content.
    If you can not see the content make sure that you have the same user  on both sides also check the premissions on the portal-content of your remote system. To test the connection it is easier to add Everyone group to the content of your remote system.
    regards,
    Sharam

  • Location Assignment not working

    Hi Guys - Have I gone mad
    I am trying to get Location Assignment working and appear to be having some problems.
    My environment is Server Windows 2008 R2, Workstations XP SP3.
    I have performed the following tasks.
    Created a Corporate Location
    Created a Network Environment and assigned it to the above Location
    Created matching criteria in the Network Environment which at the moment is the IP Address of my test Workstation.
    Create a Location Assignment Policy and Assigned to my test Devices
    When I look at the client agent, as I have permitted the Locations to be manually changeable, I can see both the Unknown Location and the Corporate Location. However no matter what Network Environment Settings I use I cannot get the Workstation to match my Corporate Location and the Agent always assigns Unknown for the Security Location and Unknown for the Configuration Location.
    Am I missing a step or have I gone mad. Please help Im going round in circles.
    Regards
    Chris

    Originally Posted by arothe
    Hi Shaun,
    we have a similar problem. Created a new Location and new Location environment. Our minimum match is only 1. The interesting thing is that it is working on our "old" fujitsu workstations, but not on our "new" hp dc7900 sff workstations. So the settings must be ok and we think it is hardware related. Tried different network drivers for the hp workstation but no change. Also compared the services that are running, no change. We are using german win xp sp3 on our clients. No matter if novell client is used or not. Our Primaries are running on sles 10 sp3.
    The hp clients always show ~unknown~ in confiigurationlocation in agent status.
    Any suggestions?
    Andr
    I found out that this problem is NIC-related.
    This is the NIC which is not working:
    Intel(R) 82567LM-3 Gigabit Network Connection (HP DC7900 Small From Factor)
    I then used this "Intel(R) Pro/100+ Management Adapter" in the same workstation and disabled the integrated NIC. That did the trick, the location was right now.
    So this is a hardware-related bug.
    What NIC are you using Chris? Maybe its the same one...
    Cheers
    Andr

  • Assignment not working

    Hi
    data: temp(30) type c.
    Field-symbols: <fieldname> type any
    LOOP AT li_output INTO ls_output.
      temp = ls_output-atnam.
      assign (temp) to <fieldname>.
    if sy-subrc = 0.
    endif.
    unassign <fieldname>.
    endloop.
    Assign statement is not working. Please suggest.
    Regards
    Aditya

    Hi aditya,
    Try this...
    data: temp(30) type c.
    Field-symbols: <fieldname> type any
    LOOP AT li_output INTO ls_output.
    temp = 'lS_OUTPUT-ATNAM'.
    assign (temp) to <fieldname>.
    if sy-subrc = 0.
    endif.
    unassign <fieldname>.
    endloop.
    Reward points if Helpful.
    Regards,
    Sachin M M

  • FPN - error trying to lookup object - remote role assignment not working

    Hello everyone,
    We have implemented a Federated Portal Network connection in our landscape between our portals.
    We use only remote role assignment functionality.
    Everything was working fine, but since 2 days we encounter the following error in the Default trace.
    Error trying to lookup object: alias: <role name>
    It is possible to open the producer portal in the Portal Content Administration and also searching for the Producer portal roles is possible in User administration. But when we assign the remote role the tab is not displayed in the portal only the above mentioned error is shown in the default trace. Our portals run SP 12 and BI Java SP14.
    Is there a solution or workaround for this issue ?
    Martin

    Hi,
    I have the same issue as you, I cannot see role tabs in Consumer portal and I get the same error in the defaulttrace as you.
    What did you do to resolve this issue?
    Many thanks
    Gordon

  • Security-role and security-role-assignment not working in WL7.0

    Hello all..
    Some EJB components that worked fine in WebLogic 6.1 no longer work in
    WL7.0. It has to do with the security-role and security-role-assignment
    descriptor elements no longer allowing anonymous users to be included in the
    authorization for a bean.
    For example, in WL6.1 placing these items in ejb-jar.xml:
    <assembly-descriptor>
    <security-role>
    <role-name>Employees</role-name>
    </security-role>
    <method-permission>
    <role-name>Employees</role-name>
    <method>
    <ejb-name>CustomerEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    </method-permission>
    and mapping WebLogic default users to this role in weblogic-ejb-jar.xml:
    <security-role-assignment>
    <role-name>Employees</role-name>
    <principal-name>guest</principal-name>
    <principal-name>system</principal-name>
    </security-role-assignment>
    worked fine for clients creating their context using a simple
    InitialContext() constructor without specifying SECURITY_PRINCIPAL or
    SECURITY_CREDENTIALS. These users were basically "guest" to WebLogic, and
    the security-role-assignment element above told WebLogic that "guest" was in
    the Employees role for purposes of this EJB archive.
    Worked in WL6.1, no longer works in WL7.0. Client receives typical
    permission exception:
    java.rmi.AccessException: Security violation: insufficient permission to
    access method 'create'
    If I explicity connect as "system" things are fine, or I can create a new
    user in the default realm in WebLogic, put a matching <principal-name>
    element in the section above, and connect as that user. Note that if I leave
    off the <security-role> section completely, or set the required role name to
    "everyone", the anonymous access works fine. Apparently the anonymous user
    is a member of "everyone" behind the scenes even though "everyone" does not
    appear in the realm list of groups or roles.
    So, my question boils down to this: Is there a "magic" username in WL7 like
    "guest" was in WL6.1 that can be mapped to the required role name, or must
    every client connection use a true weblogic-created user with appropriate
    role assignments used to map it to the required role name.
    -Greg
    P.S. Note that none of the EJB examples provided with WL used
    <security-role>..
    Check out my WebLogic 6.1 Workbook for O'Reilly EJB Third Edition
    www.amazon.com/exec/obidos/ASIN/1931822468 or www.titan-books.com

    Below are the screen shots for PFCG:

  • Role assignment not working

    Hi everyone,
    I am trying to assign different roles to different users for GRC - Risk Management 10.0; however it seems like standard roles don't have any affect on type of activity. I have maintained various levels of roles (e.g. risk owner, risk expert, risk manager, etc) using PFCG and assigned almost every role to the users; but it doesn't give them the authorization to create or edit anything, they can only display.
    The only workaround for this was assigning a role with the authorization object GRFN_USER (with 02 Change value enabled) or assigning SAP_GRC_FN_ALL (Power user role which also contains object GRFN_USER). However this would allow users to do "anything" they want which obviously isn't what I seek.
    I have tried changing customization options such as Maintain Custom Agent Determination Rules and Maintain Entity Role Assignment, it hasn't solved anything so far.
    I urgently require your assistance on this issue. Thank you.
    Regards,
    Seckin

    Hi,
    I 'm facing same kind of problem.
    Case 1:
    I tried with:
                      Assigning users to group (abap role) which didn't worked.
                      Assigning UME Role to group (abap role) which worked. Then i assigned the user to the UME Role, but the user is not getting the backend authorizations.
                      Assigning the portal role to the group (abap role), then when i assiged a user to the abap role from R/3 automatically the user is getting the portal role.
    How can i do the same from portal?
    Case2:     
    While distributing the portal roles to the ABAP system (System Administrator -> Permissions -> SAP Authorizations), the status is showing as "Role transfer compleated". but when i checked from the R/3 transaction WP3R, there are no portal roles.
    Why are the portal roles not getting transfered even though the status is green?
    Mr.Chowdary

  • Custom Auth. Object with Profile and role assignment not working

    Hi,
    I have created custom Authorization Object with field ACTVT with allowed values - 01,02, 03. Now test it with custom program using AUTHORITY-CHECK OBJECT 'Z_AUTHORIZ' it is working fine and returning sy-subrc 12. At this point i have not created any role using this Auth Object.
    Now I have created custom role ZPM_**** and assigned above Auth object to it with value ACTVT 03. Assigned this role to user.
    When I try to test the above custom program with any ACTVT value it is giving sy-subrc as 0. Used below custom code in program.
    AUTHORITY-CHECK OBJECT 'Z_AUTHORIZ'
                ID 'ACTVT'  FIELD '01'.
    Am I missing anything? The profiles are generated correctly. 
    Best Regards,
    Nilesh

    Below are the screen shots for PFCG:

  • IAS dot1x dynamic VLAN assignment not working

    I have a windows 2003 server with AD and IAS configured. IAS uses AD for authentication. I have AAA login configured and working. I have AAA dot1x configured on the 3550 switch. IAS has a Wired Ethernet policy configured for PEAM and is send back attributes tunnel-type = VLAN, tunnel-medium-type = 802, and tunnel-pvt-group-id = 210. My XP supplicant has dot1x enabled and is authenticating through the switch and IAS.
    Using Ethereal I can see the both the Radius request and accept packets. I can see that radius is sending the above attributes through ethereal as well. Using the Debug Radius command I can see that the attributes are getting to the switch. When I use the show VLAN command the switch port is still in VLAN 1. I want it to be in VLAN 210.
    I have upgraded the IOS in the 3550 switch. This fixed a previous problem of the switch not sending the NAS port type of Ethernet. It as sending a port type of Asynch.
    I also have service pack 2 on the Windows 2003 server.
    Has anyone else had this problem? If so how do I fix it.
    Here is my debug code:
    06:56:45: RADIUS: Tunnel-Medium-Type [65] 6 00:ALL_802 [6]
    06:56:45: RADIUS: Tunnel-Private-Group[81] 5 "210"
    06:56:45: RADIUS: Tunnel-Type [64] 6 00:VLAN [13]
    Here is my switch code:
    aaa new-model
    aaa authentication login default group radius local
    aaa authentication dot1x default group radius local
    aaa session-id common
    interface FastEthernet0/1
    switchport mode access
    dot1x pae authenticator
    dot1x port-control auto
    radius-server host 10.1.1.254 auth-port 1645 acct-port 1646 key test
    radius-server deadtime 60

    You're missing this:
    aaa authorization network default group radius
    I assume "everything works" other than VLAN-Assignment itself.
    This should get you squared away,

  • Search help for Acct Assignment not working

    Hi,
       When I create a PO and go into the account assignment tab at the item level and try to bring up the search help by clicking on the Binoculars , nothing happens. The backend has been upgraded to ERP2005. We are on SRM 5.0
    Any thoughts on why this could happen?
    Can you shed some light on how I could investigate this issue.
    Your help is appreciated.
    Joe

    Hi
    This is a bug in the System.  Are you talking of customer fields / standard fields - search help ?
    You need to raise an OSS message with SAP on this.
    Meanwhile, try these SAP OSS notes.
    <u>Note 739509 BBPPO01: SEARCH FOR ACCOUNT ASSIGNMENT CATEGORY DOESN'T WORK
    Note 746788 - Back-end system search help for cost center
    Note 656633 - Search help requires dialog users
    Note 907016 - Error when you select search help</u>
    Also ensure, proper authorization objects are provided by BASIS team.
    Let me know incase you need any assistance.
    Regards
    - Atul

  • ABAP centered role assignment not working

    I have been trying to implement ABAP centered role assignment for our users but not really having much luck in gettng it to work. I've been trying to make sense of it by using [the help guide|http://help.sap.com/saphelp_nwmobile71/helpdata/en/d2/3e3842b23d690de10000000a155106/frameset.htm] but I must be doing someting wrong. Here are the steps that  take.
    1. Create a single ABAP role - A single role with no menu or authorizatons
    2. Create a UME Group - I name the group exactly the same as the ABAP single role from the previous step
    3. Assign UME Group to Portal Role
    4. Assign mapped user to ABAP role
    Supposedly the ABAP role assingment is supposed to reflect through to the UME group membership so the portal user then sees the associated portal tab.
    Can you enlighten me?
    Thanks in advance

    Hi,
    I 'm facing same kind of problem.
    Case 1:
    I tried with:
                      Assigning users to group (abap role) which didn't worked.
                      Assigning UME Role to group (abap role) which worked. Then i assigned the user to the UME Role, but the user is not getting the backend authorizations.
                      Assigning the portal role to the group (abap role), then when i assiged a user to the abap role from R/3 automatically the user is getting the portal role.
    How can i do the same from portal?
    Case2:     
    While distributing the portal roles to the ABAP system (System Administrator -> Permissions -> SAP Authorizations), the status is showing as "Role transfer compleated". but when i checked from the R/3 transaction WP3R, there are no portal roles.
    Why are the portal roles not getting transfered even though the status is green?
    Mr.Chowdary

  • Key Commands - Assignment not working?

    I'm trying to add key commands to have everything 'at hand' but they get listed and don't work.
    Example:
    I open key commands, search for 'automation', select "View Track Automation" and assign it 'Control + T'. It's in there, it is also in the arrange window's view menu. But when I type 'Control + T' nothing happens.
    Still works in the pull down menu.
    Am I missing something?

    Im having a similar problem. i assign apple space to the 'play from beginning' command but it doesnt work. im following the instructions in a the martin sitter logic pro book so i dont believe im doing it wrong.
    if it was already assigned to something else then why would it let you assign it to a different command?
    anyhow, its clearly not in my case - when i press the keys all that happens is the cursors toggles to scissors. in fact it does that when only press the apple key. So its just ignoring my assignment, is it?
    of course, i know it doesnt 'ignore' it in the irrational sense i imply - there must be a reason. i want to know what it is.

  • Static IP Assignment Not Working With Hostname Entry on Client Machines

    Hello:
    I'm working through the Oreilly OSX Server book to get my server skills up and, hopefully, to prep for the certification exam. I'm running into a weird little problem though. I have gone through the forums here and I've checked other resources for Mac help and nothing matches the problem I've found.
    I have the latest versions of everything (10.4.9), I've set up the static IP assignments in the Server Admin application, and everything is assigned as desired so long as I don't have any entry in the DHCP Client ID window in the client's Network Control Panel. If I don't have an ID there the Clients panel in Server Admin doesn't show the connection.
    I do plan to do a local DNS as well and I'm suspecting this might be another piece of my uncompleted puzzle but I'm not sure. It just seems terribly weird that a client ID would change a MAC Address specific ip assignment, DNS or not.
    I'm also curious, as a secondary and substantially less important issue, is there a way to flush out the DHCP list for clients that are no longer connected?
    Thank you for your time.
    G4 Tower as Server   Mac OS X (10.4.9)  

    You are correct about an entry in the client ID field disabling static ip assignment. I've no idea why this is as I have not found any relation between this and bootpd's static assignment method (in 'man bootpd' at least).
    A local DNS does not seem to affect anything in bootpd. Indeed, you can forget about any thoughts of combining named & bootpd (e.g., getting bootpd to dynamically update ip addresses for hostnames in the dns zone files).
    /var/db/dhcpd_leases contains all leases handed out from the dynamic pool. You can safely (in my experience) delete the whole file or individual entries. The IP addresses are stored there even after the lease has expired (hence increasing number of "Current DHCP Clients" in the Overview pane). However, this behaviour of bootpd seems to allow 'virtual' static IPs, even if the lease time is short, as bootpd will still try to re-assign the same IP at every opportunity, using the expired info in this file. From the bootpd man page...
    The server tries to give the same address back to a client by remembering
    the binding even after it has expired. The server removes an expired
    lease entry only when it runs out of addresses, and needs to reclaim an
    address in order to fulfill a new request.
    http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/bootpd.8 .html
    Static mappings are stored in the local netinfo database (not dhcpd_leases file) and can be viewed there under 'machines' in Netinfo Manager or with Workgroup Manager's 'All Records' inspector. Bootpd stores most of its own setup info in netinfo and looks there first when an IP address is requested. Which brings us back to your question... why doesn't it find a relevant static mapping in netinfo just because there is something in the client ID field?
    -david

  • Variable assignment not working?

    Hello All, I am having a difficult time getting the value from an xpath to assign to a variable.
    I posted this question before and thought I got a good answer but to my surprise it doesn't work.
    I have created a variable 'CustNo' with the following xpath in the input field.
    /Msg/Body/Payload[2]/NAXML-Transportation/TransmissionHeader/TransmissionReceiver/normalize-space()
    The xpath shows the expected value when I evaluate it in XMLSpy against the rectest msg; however, when I test my scenario there is no value assigned to the 'CustNo' variable.
    All help is deeply appreciated.
    Mike

    Mike,
    I replied to you via email.
    Eddy

  • Additional Account Assignment not working

    Dear all,
    I implemented Functional Area as additional account assignment. Then I entered Functional area in asset master record. When I post depreciation using AFAB, I can NOT see functional area. What would be the reason?
    Best regards,
    Onur

    Hi Onur,
    It is necessary to activate the accounting object FKBER in customizing.                                                                               
    CU                                                                               
    ->Financial Accounting
    -> Asset Accounting
    -> Integration with the General Ledger
    -> Additional Account Assignment Objects
    -> Specify Account Assignment Types for Account Assignment Objects
    -> chose Company code  and area                                                                               
    Here it is necessary to enter one additional entry for object FKBER,  transaction type * and assignment type 02 (depreciation run). Please do not  forget to activate the flag AcctAssgnt!                                                                               
    With these settings the functional area can be derived early during the creation of the documents and will be shown in the list of RAPOST2000.    
    Regards Bernhard

Maybe you are looking for